diff --git a/Languages.qrc b/Languages.qrc index c6dc76c..38cee77 100644 --- a/Languages.qrc +++ b/Languages.qrc @@ -22,5 +22,7 @@ qt_fr.qm language_pt_BR.qm qt_pt_BR.qm + language_ja.qm + qt_ja.qm - + \ No newline at end of file diff --git a/SASM.pro b/SASM.pro index 3a77418..4c0b585 100644 --- a/SASM.pro +++ b/SASM.pro @@ -112,4 +112,5 @@ TRANSLATIONS += language_ru.ts \ language_es.ts \ language_pt_PT.ts \ language_fr.ts \ - language_pt_BR.ts + language_pt_BR.ts \ + language_ja.ts diff --git a/language_ja.qm b/language_ja.qm new file mode 100644 index 0000000..1441f17 Binary files /dev/null and b/language_ja.qm differ diff --git a/language_ja.ts b/language_ja.ts new file mode 100644 index 0000000..9b7d27f --- /dev/null +++ b/language_ja.ts @@ -0,0 +1,1124 @@ + + + + + DebugAnyCommandWidget + + + GDB command: + GDBコマンド: + + + + Perform + 実行 + + + + Print + 出力 + + + + DebugTableWidget + + + Variable or expression + 変数、または式 + + + + Value + + + + + Type + タイプ + + + + Memory + メモリ + + + + Register + レジスタ + + + + Hex + 16進数 + + + + Info + 情報 + + + + Registers + レジスタ一覧 + + + + + Add variable... + 値を追加... + + + + Wrong variable or address: "%1" + 間違った変数またはアドレス: "%1" + + + + Delete watch + 監視を削除 + + + + Debugger + + + + GDB error + + GDB エラー + + + + + An error has occurred in the debugger. Please check the names of the sections. + デバッカーでエラーが発生しました。セクション名を確認してください。 + + + + Entry point was not found! Entry point should have label "main" (if gcc linker is used) or "start" (otherwise). + エントリーポイントが見つかりません! エントリーポイントは、gccリンカーを使っている場合は"main"、それ以外の場合は"start"という名前にしてください。 + + + + Executable sections were not found! + 実行可能なセクションが見つかりません! + + + + For correct debugging executable sections should have name ".text" or ".code" (for MASM only). + 正しくデバックするには、実行可能セクションの名前を".text"、MASMを使っている場合は".code"のどれか必要があります + + + + FindDialog + + + + Find what: + 検索: + + + + + Replace with: + 置き換える: + + + + Match case + 大文字小文字を区別する + + + + Find next + 次を検索 + + + + Find all + 全て検索 + + + + Replace + 置き換える + + + + Replace all + 全て置き換え + + + + Close + 閉じる + + + + Find and replace + 見つけて置き換える + + + + GetStartedWidget + + + Welcome to the SASM! + SASMへようこそ! + + + + Create new project + プロジェクトを新規作成 + + + + Open project + プロジェクトを開く + + + + Restore last session + 最後のセッションを復元 + + + + MASM + + + + Error! + エラー! + + + + MASM is available on Windows only. + MASMはWindowsでのみ利用できます。 + + + + Only 32-bit version of MASM is available. + 32ビットバージョンのMASMのみ使用可能です。 + + + + MainWindow + + + Build log: + ビルドログ: + + + + + File + ファイル + + + + + Edit + 編集 + + + + + Build + ビルド + + + + + + + Debug + デバック + + + + + Settings + 設定 + + + + + + Help + ヘルプ + + + + + New + 新規 + + + + Open + 開く + + + + Close file + ファイルを閉じる + + + + Save + 保存 + + + + Save as + 名前を付けて保存 + + + + Save .exe + 実行可能ファイルとして保存 + + + + Exit + 終了 + + + + Find and replace + 見つけて置き換える + + + + Undo + 元に戻す + + + + Redo + やり直し + + + + Cut + カット + + + + Copy + コピー + + + + Paste + ペースト + + + + Delete + 削除 + + + + Select all + すべて選択 + + + + Comment + コメント + + + + Remove comment + コメントを削除 + + + + Indent + インデント + + + + Remove indent + インデントを削除 + + + + Build this + ビルド + + + + Build and run + ビルドして実行 + + + + Run in new window + 新しいウィンドウで実行 + + + + Stop + 停止 + + + + Step over + ステップオーバー + + + + Step into + ステップイン + + + + Toggle breakpoint + トグル ブレイクポイント + + + + Show registers + レジスタ一覧を表示 + + + + Show memory + メモリを表示 + + + + About + 説明 + + + + Open file + ファイルを開く + + + + Assembler source files (*.asm);;All files (*) + Assembler source files (*.asm);;All files (*.*) + アセンブラーソースファイル (*.asm);;すべてのファイル (*.*) + + + + Save file + ファイルを保存 + + + + Assembler source files (*.asm *.S *.s);;All files (*) + アセンブラーソースファイル (*.asm *.S *.s);;すべてのファイル (*) + + + + Save .exe file + 実行可能ファイルを保存 + + + + Execution files (*.exe);;All files (*.*) + 実行可能ファイル (*.exe);;すべてのファイル (*.*) + + + + + Yes + はい + + + + No + いいえ + + + + + Cancel + キャンセル + + + + + Save changes? + 変更を保存しますか? + + + + Build started... + ビルド開始... + + + + Error! Program directory does not exist. Please reinstall the program. + エラー! プログラムディレクトリが存在しません。プログラムを再インストールしてください。 + + + + Error! + エラー! + + + + Directory NASM does not exist. Please reinstall the program. + NASMディレクトリが存在しません。プログラムを再インストールしてください + + + + Unable to start assembler. Check your settings. + アセンブラーを開始できませんでした。設定を確認してください。 + + + + Unable to start linker. Check your settings. + リンカーを開始できませんでした。設定を確認してください。 + + + + Warning! Errors have occurred in the build: + 警告! ビルドでエラーが発生しました: + + + + Built successfully. + ビルド成功。 + + + + The program is already running. + プログラムは既に実行されています。 + + + + The program is executing... + プログラムを実行中... + + + + The program finished normally. Execution time: %1 s + プログラムは正常に終了しました。 実行タイム: %1 秒 + + + + The program crashed! Execution time: %1 s + プログラムがクラッシュしました! 実行タイム: %1 秒 + + + + The program stopped. + プログラムは停止されました。 + + + + The program is not running. + プログラムは実行されていません。 + + + + Before debugging you need to build the program. + デバッグをする前にプログラムをビルドする必要があります。 + + + + Debugging started... + デバック開始... + + + + Pause + 一時停止 + + + + + + Continue + 続ける + + + + Memory + メモリ + + + + Registers + レジスタ一覧 + + + + Debugging finished. + デバッグ終了。 + + + + In the previous session was not open any of the saved tabs! + 前回のセッションでは保存されたタブが何も開かれませんでした! + + + + Please set path to MASM assembler (ml.exe) and linker (link.exe) on your computer + MASMアセンブラーとリンカーのPATHを設定してください + + + + in fields "Assembler path" and "Linker path" above. + 上記の "アセンブラのパス" および " リンカのパス " の項目に。 + + + + Warning! + 警告! + + + + All settings will be deleted and all unsaved data will be lost. Are you sure? + すべての設定が削除され、保存されていないデータもすべて失われます。よろしいですか? + + + + Close help + ヘルプを閉じる + + + + About SASM + SASMの説明 + + + + SASM (SimpleASM) + SASM (SimpleASM) + + + + simple Open Source IDE for NASM, MASM, GAS and FASM assembler languages. + NASM、MASM、GAS、FASM 向けのシンプルなオープンソースIDE。 + + + + Licensed under the GNU GPL v3.0 + GNU GPL v3.0 ライセンスのもとで提供されています。 + + + + Based on the Qt. + Qt をベースにしています。 + + + + Copyright (c) 2013 Dmitriy Manushin + + + + + Development and idea - Dmitriy Manushin + 開発とアイデア - Dmitriy Manushin + + + + Icon and advices - Alick Gaybullaev + アイコンとアドバイス - Alick Gaybullaev + + + + Wishes and error messages are sent to the e-mail: Dman1095@gmail.com + ご要望やエラーメッセージは、以下のメールアドレスまでお送りください: Dman1095@gmail.com + + + + More information on the site: http://dman95.github.io/SASM/ + 更なる詳細はこちら: http://dman95.github.io/SASM/ + + + + Donate: + 寄付: + + + + PayPal - Dman1095@gmail.com + + + + + WMZ - Z282016332582 + + + + + WMR - R331674303467 + + + + + RuQPlainTextEdit + + + Comment + コメント + + + + Remove comment + コメントを削除 + + + + Undo + 元に戻す + + + + Redo + やり直し + + + + Cut + カット + + + + Copy + コピー + + + + Paste + ペースト + + + + Delete + 削除 + + + + Select all + 全て選択 + + + + Watch '%1' + '%1'を監視する + + + + RuQTextEdit + + + Undo + 元に戻す + + + + Redo + やり直し + + + + Cut + カット + + + + Copy + コピー + + + + Paste + ペースト + + + + Delete + 削除 + + + + Select all + 全て選択 + + + + Clear + クリア + + + + SettingsWindow + + + Settings + 設定 + + + + SASM Options + SASMオプション + + + + + + Common + 一般 + + + + On start: + 開始時: + + + + Open get started window + 開始ウィンドウを開く + + + + Restore previous session + 以前のセッションを復元 + + + + Language: + 言語: + + + + + + To apply the changes require a restart! + 変更を適用するには再起動が必要です! + + + + Show all registers in debug: + デバッグ時に全てのレジスタを表示する: + + + + Yes + はい + + + + No, show only general purpose + いいえ、汎用レジスタのみ表示 + + + + Insert debug string: + デバッグ文字列を挿入: + + + + Code editor + コードエディター + + + + + Font: + フォント: + + + + Size: + サイズ: + + + + Default code editor text: + デフォルトのコードエディターテキスト: + + + + Reset all (need a restart)... + 全てリセット(再起動が必要)... + + + + Colors + + + + + Preset color theme: + プリセットテーマ: + + + + Light + ライト + + + + Dark + ダーク + + + + Syntax highlighting + 構文の強調表示 + + + + System: + システム: + + + + Bold: + 太字: + + + + Italic: + 斜体: + + + + Foreground: + 前景色: + + + + Keywords: + キーワード: + + + + + Background: + 背景色: + + + + Numbers: + 数字: + + + + Labels: + ラベル: + + + + Comments: + コメント: + + + + Quotation: + 引用: + + + + Memory: + メモリ: + + + + I/O macro: + I/Oマクロ: + + + + Registers: + レジスタ一覧: + + + + Enable highlighting + ハイライトを有効にする + + + + Current line: + 現在の行: + + + + Debugging line: + デバッグ中の行: + + + + Line number panel: + 行番号: + + + + Line number font: + 行番号のフォント: + + + + Build + ビルド + + + + Mode: + モード: + + + + x86 + x86 + + + + x64 + x64 + + + + Assembler: + アセンブラー: + + + + NASM + NASM + + + + GAS + GAS + + + + FASM + FASM + + + + MASM + MASM + + + + Assembly options: + アセンブリのオプション: + + + + Linking options: + リンカーのオプション: + + + + Assembler path: + アセンブラーの場所: + + + + Linker path: + リンカーの場所: + + + + Object file name: + オブジェクトファイル名: + + + + Disable linking: + リンカーを無効にする: + + + + Build in current directory: + ビルドインのカレントディレクトリ: + + + + Tab + + + Input + 入力 + + + + Output + 出力 + + + + WatchSettingsWidget + + + Address + アドレス + + + + Array size + 配列のサイズ + + + + Smart + スマート + + + + Hex + 16進数 + + + + Bin + Bin + + + + Char + Char + + + + Int + Int + + + + UInt + UInt + + + + Float + Float + + + + d + d + + + + w + w + + + + b + b + + + + q + q + + + diff --git a/main.cpp b/main.cpp index dffc204..b3367ac 100644 --- a/main.cpp +++ b/main.cpp @@ -98,7 +98,8 @@ int main(int argc, char *argv[]) items << QString("Русский") << QString("English") << QString("Türk") << QString("中国") << QString("Deutsch") << QString("Italiano") << QString("Polski") << QString("עברית") << QString("Español") << - QString("Português") << QString("Français") << QString("Português brasileiro"); + QString("Português") << QString("Français") << QString("Português brasileiro") << + QString("日本語"); bool ok = false; QString selected = QInputDialog::getItem(0, QString("Choose language"), QString("Language:"), items, 0, false, &ok); @@ -179,6 +180,12 @@ int main(int argc, char *argv[]) addTranslator.load(":/translations/qt_pt_BR.qm"); a.installTranslator(&addTranslator); + } else if (settings.value("language", 0).toInt() == 12) { // japanese language + translator.load(":/translations/language_ja.qm"); + a.installTranslator(&translator); + + qtTranslator.load(":/translations/qt_ja.qm"); + a.installTranslator(&qtTranslator); } MainWindow w(a.arguments()); diff --git a/qt_ja.qm b/qt_ja.qm new file mode 100644 index 0000000..aa0e9a6 Binary files /dev/null and b/qt_ja.qm differ diff --git a/settings.ui b/settings.ui index 5489652..7a39d39 100644 --- a/settings.ui +++ b/settings.ui @@ -193,6 +193,11 @@ Português brasileiro + + + 日本語 + +