Skip to content

Commit

Permalink
Support NC 25
Browse files Browse the repository at this point in the history
  • Loading branch information
ACTom committed Nov 14, 2022
1 parent 12acea9 commit 25ecb0d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source_dir=$(build_dir)/source
sign_dir=$(build_dir)/sign
package_name=$(app_name)
cert_dir=$(CURDIR)/../../key
version+=0.0.26
version+=0.0.27

all: appstore

Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>Mind Map</name>
<summary>A Mind map editor</summary>
<description><![CDATA[This application enables Nextcloud users to open, save and edit mind map files in the web browser. If enabled, an entry in the New button at the top of the web browser the Mindmap file entry appears. When clicked, a new mindmap file opens in the browser and the file can be saved into the current Nextcloud directory.]]></description>
<version>0.0.26</version>
<version>0.0.27</version>
<licence>agpl</licence>
<author mail="i@actom.me" homepage="https://actom.me">Jingtao Yan</author>
<namespace>Files_MindMap</namespace>
Expand All @@ -18,7 +18,7 @@
<screenshot small-thumbnail="https://raw.githubusercontent.com/ACTom/files_mindmap/master/screenshots/2-small.png">https://raw.githubusercontent.com/ACTom/files_mindmap/master/screenshots/2.png</screenshot>
<screenshot small-thumbnail="https://raw.githubusercontent.com/ACTom/files_mindmap/master/screenshots/3-small.png">https://raw.githubusercontent.com/ACTom/files_mindmap/master/screenshots/3.png</screenshot>
<dependencies>
<nextcloud min-version="14" max-version="24"/>
<nextcloud min-version="14" max-version="25"/>
</dependencies>
<repair-steps>
<install>
Expand Down
8 changes: 4 additions & 4 deletions l10n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"New mind map.km": "Neue Mindmap.km",
"Main Topic": "Zentrales Thema",
"Saving...": "Speichere ...",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "Diese Datei ist keine gültige Mind Map-Datei und kann zu Dateibeschädigungen führen, wenn Sie mit der Bearbeitung fortfahren.",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "Diese Datei ist keine gültige Mind Map-Datei und kann zu Dateibeschädigungen führen, wenn Du mit der Bearbeitung fortfährst.",
"Load file fail!": "Datei laden fehlgeschlagen!",
"File Saved": "Datei gespeichert",
"Save failed": "Speichern fehlgeschlagen",
"Export": "Exportieren",
"Export to PNG": "Exportieren als PNG",
"Export to SVG": "Exportieren als SVG",
"You are not permission to write this file": "Sie haben keine Berechtigung in diese Datei zu schreiben.",
"You are not permission to write this file": "Du hast keine Berechtigung in diese Datei zu schreiben.",
"File not found": "Datei nicht gefunden.",
"The file is locked.": "Die Datei ist gesperrt.",
"Share not found": "Share wurde nicht gefunden",
"You are not authorized to open this share": "Sie haben keine Berechtigung dieses Share zu öffnen",
"You are not authorized to open this share": "Du hast keine Berechtigung dieses Share zu öffnen",
"Could not write to file.": "Konnte Datei nicht speichern.",
"Export to Markdown": "Exportieren als Markdown",
"Export to Text": "Exportieren als Text",
Expand All @@ -26,7 +26,7 @@
"AutoSave": "AutoSave",
"Does not support saving {extension} files.": "Speichern für den Dateityp {extension} nicht unterstützt.",
"Unsupported file type: {mimetype}": "Nicht unterstützter Dateityp: {mimetype}",
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "Jemand hat in der Zwischenzeit die Datei aktualisiert, daher kannst du deine Änderungen leider nicht speichern. Bitte lade die Datei neu, um weiteren Datenverlust zu vermeiden."
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "Jemand hat in der Zwischenzeit die Datei aktualisiert, daher kannst Du Deine Änderungen leider nicht speichern. Bitte lade die Datei neu, um weiteren Datenverlust zu vermeiden."
},
"pluralForm": "nplurals=1; plural=0;"
}
8 changes: 4 additions & 4 deletions l10n/de_DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ OC.L10N.register(
"New mind map.km": "Neue Mindmap.km",
"Main Topic": "Zentrales Thema",
"Saving...": "Speichere ...",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "Diese Datei ist keine gültige Mind Map-Datei und kann zu Dateibeschädigungen führen, wenn Sie mit der Bearbeitung fortfahren.",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "Diese Datei ist keine gültige Mind Map-Datei und kann zu Dateibeschädigungen führen, wenn Du mit der Bearbeitung fortfährst.",
"Load file fail!": "Datei laden fehlgeschlagen!",
"File Saved": "Datei gespeichert",
"Save failed": "Speichern fehlgeschlagen",
"Export": "Exportieren",
"Export to PNG": "Exportieren als PNG",
"Export to SVG": "Exportieren als SVG",
"You are not permission to write this file": "Sie haben keine Berechtigung in diese Datei zu schreiben.",
"You are not permission to write this file": "Du hast keine Berechtigung in diese Datei zu schreiben.",
"File not found": "Datei nicht gefunden.",
"The file is locked.": "Die Datei ist gesperrt.",
"Share not found": "Share wurde nicht gefunden",
"You are not authorized to open this share": "Sie haben keine Berechtigung dieses Share zu öffnen",
"You are not authorized to open this share": "Du hast keine Berechtigung dieses Share zu öffnen",
"Could not write to file.": "Konnte Datei nicht speichern.",
"Export to Markdown": "Exportieren als Markdown",
"Export to Text": "Exportieren als Text",
Expand All @@ -27,6 +27,6 @@ OC.L10N.register(
"AutoSave": "AutoSave",
"Does not support saving {extension} files.": "Speichern für den Dateityp {extension} nicht unterstützt.",
"Unsupported file type: {mimetype}": "Nicht unterstützter Dateityp: {mimetype}",
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "Jemand hat in der Zwischenzeit die Datei aktualisiert, daher kannst du deine Änderungen leider nicht speichern. Bitte lade die Datei neu, um weiteren Datenverlust zu vermeiden."
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "Jemand hat in der Zwischenzeit die Datei aktualisiert, daher kannst Du Deine Änderungen leider nicht speichern. Bitte lade die Datei neu, um weiteren Datenverlust zu vermeiden."
}, "nplurals=1; plural=0;"
);
12 changes: 6 additions & 6 deletions l10n/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"New mind map.km": "新增心智圖.km",
"Main Topic": "中心主題",
"Saving...": "正在儲存...",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "這個檔案心智圖格式,若繼續編輯可能使檔案損毀",
"Load file fail!": "載入檔案失敗",
"This file is not a valid mind map file and may cause file corruption if you continue editing.": "這個檔案不是正確的心智圖格式,若繼續編輯可能造成檔案損毀",
"Load file fail!": "載入檔案失敗",
"File Saved": "檔案已儲存",
"Save failed": "儲存失敗",
"Export": "匯出",
Expand All @@ -23,10 +23,10 @@
"Save": "儲存",
"The file has not been saved. Is it saved?": "檔案尚未儲存,是否儲存?",
"Unsaved file": "尚未儲存的檔案",
"AutoSave": "自动儲存",
"Does not support saving {extension} files.": "不支持儲存 {extension} 类型的檔案!",
"Unsupported file type: {mimetype}": "不支持的檔案类型:{mimetype}",
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "您无法保存当前文件,因为您在您编辑这个文件期间这个文件已被其他人更新,请重新加载当前页面以重新启用更新"
"AutoSave": "自動儲存",
"Does not support saving {extension} files.": "不支援儲存為 {extension} 檔案類型",
"Unsupported file type: {mimetype}": "不支援的檔案類型:{mimetype}",
"The file you are working on was updated in the meantime. You cannot save your progress as saving would overwrite these changes. Please reload the page.": "您無法儲存目前的檔案,因為您在編輯檔案的過程中這個檔案已經被其它人更新過,請重新載入網頁以取得最新的內容"
},
"pluralForm": "nplurals=1; plural=0;"
}
2 changes: 1 addition & 1 deletion templates/viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/** @var array $_ */
/** @var OCP\IURLGenerator $urlGenerator */
$urlGenerator = $_['urlGenerator'];
$version = \OCP\App::getAppVersion('files_mindmap');
$version = \OC::$server->getAppManager()->getAppVersion('files_mindmap');
$lang = $_['lang'];
if (method_exists(\OC::$server, 'getContentSecurityPolicyNonceManager')) {
$nonce = \OC::$server->getContentSecurityPolicyNonceManager()->getNonce();
Expand Down

0 comments on commit 25ecb0d

Please sign in to comment.