-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from MIERUNE/feat/multilanguage
Feat/multilanguage
- Loading branch information
Showing
10 changed files
with
367 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS><TS version="2.0"> | ||
<context> | ||
<name>Dialog</name> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="14"/> | ||
<source>Dialog</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="20"/> | ||
<source>Layers to export</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="42"/> | ||
<source>Map parameters</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="51"/> | ||
<source>Output Scale</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="73"/> | ||
<source>Select the output folder and execute</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="80"/> | ||
<source>Cancel</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="87"/> | ||
<source>Help</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="20"/> | ||
<source>Processing...</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="44"/> | ||
<source>%v/%m</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="51"/> | ||
<source>Text</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="69"/> | ||
<source>Abort</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>MainDialog</name> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="194"/> | ||
<source>Error</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="168"/> | ||
<source>Process completed</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="175"/> | ||
<source>The following layers contains unsupported symbols</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="176"/> | ||
<source>and have been converted to simple symbols.</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="181"/> | ||
<source>Failed to export the following layers.</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="183"/> | ||
<source>Completed</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="194"/> | ||
<source>Failed to delete the temporary folder. Please delete it manually.</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="100"/> | ||
<source>An error occured.</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="170"/> | ||
<source>Output folder</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>ProgressDialog</name> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="28"/> | ||
<source>Initializing process...</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="32"/> | ||
<source>Cancel</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="41"/> | ||
<source>Check</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="41"/> | ||
<source>Are you sure to abort the process?</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="51"/> | ||
<source>Aborting...</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="68"/> | ||
<source>Processing: </source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
</TS> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS> | ||
<TS version="2.1" language="ja"> | ||
<context> | ||
<name>Dialog</name> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="14"/> | ||
<source>Dialog</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="20"/> | ||
<source>Layers to export</source> | ||
<translation type="unfinished">レイヤー設定</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="42"/> | ||
<source>Map parameters</source> | ||
<translation type="unfinished">マップ設定</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="51"/> | ||
<source>Output Scale</source> | ||
<translation type="unfinished">出力縮尺</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="73"/> | ||
<source>Select the output folder and execute</source> | ||
<translation type="unfinished">出力フォルダーを選択して実行</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="80"/> | ||
<source>Cancel</source> | ||
<translation type="unfinished">キャンセル</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.ui" line="87"/> | ||
<source>Help</source> | ||
<translation type="unfinished">ヘルプ</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="20"/> | ||
<source>Processing...</source> | ||
<translation type="unfinished">処理中...</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="44"/> | ||
<source>%v/%m</source> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="51"/> | ||
<source>Text</source> | ||
<translation type="unfinished">テキスト</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.ui" line="69"/> | ||
<source>Abort</source> | ||
<translation type="unfinished">中断</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>MainDialog</name> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="194"/> | ||
<source>Error</source> | ||
<translation type="unfinished">エラー</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="168"/> | ||
<source>Process completed</source> | ||
<translation type="unfinished">処理が完了しました。</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="175"/> | ||
<source>The following layers contains unsupported symbols</source> | ||
<translation type="unfinished">以下レイヤに対応不可なシンボロジがあるため、</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="176"/> | ||
<source>and have been converted to simple symbols.</source> | ||
<translation type="unfinished">シンプルシンボルに変換しました。</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="181"/> | ||
<source>Failed to export the following layers.</source> | ||
<translation type="unfinished">以下のレイヤーは出力できませんでした。</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="183"/> | ||
<source>Completed</source> | ||
<translation type="unfinished">完了</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="194"/> | ||
<source>Failed to delete the temporary folder. Please delete it manually.</source> | ||
<translation type="unfinished">一時フォルダの削除に失敗しました。手動で削除してください。</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="100"/> | ||
<source>An error occured.</source> | ||
<translation type="unfinished">エラーが発生しました。</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/main_dialog.py" line="170"/> | ||
<source>Output folder</source> | ||
<translation type="unfinished">出力先</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>ProgressDialog</name> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="28"/> | ||
<source>Initializing process...</source> | ||
<translation type="unfinished">処理開始中...</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="32"/> | ||
<source>Cancel</source> | ||
<translation type="unfinished">中断</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="41"/> | ||
<source>Check</source> | ||
<translation type="unfinished">確認</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="41"/> | ||
<source>Are you sure to abort the process?</source> | ||
<translation type="unfinished">処理を中断し、以降の処理をスキップしてよろしいですか?</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="51"/> | ||
<source>Aborting...</source> | ||
<translation type="unfinished">中断待機中...</translation> | ||
</message> | ||
<message> | ||
<location filename="../ui/progress_dialog.py" line="68"/> | ||
<source>Processing: </source> | ||
<translation type="unfinished">処理中:</translation> | ||
</message> | ||
</context> | ||
</TS> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SOURCES += qgis2plugx.py \ | ||
ui/main_dialog.py \ | ||
ui/progress_dialog.py | ||
|
||
FORMS += ./ui/main_dialog.ui ./ui/progress_dialog.ui | ||
|
||
TRANSLATIONS = ./i18n/QGIS2PlugX_ja.ts ./i18n/QGIS2PlugX_en.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.