1
0
Fork 0

GUI+PROJECT: fixed something with translations

This commit is contained in:
mrexodia 2016-06-11 20:07:39 +02:00
parent 99e5b6d581
commit 8d8c949050
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
4 changed files with 97 additions and 42 deletions

View File

@ -2,4 +2,5 @@
echo Run this to update translation templates after the source is modified. Be sure to set Qt path in setenv.bat
call setenv.bat x64
"lupdate.exe" src/gui/x64dbg.pro
lupdate src/gui/x64dbg.pro
lrelease src/gui/x64dbg.pro

View File

@ -303,60 +303,75 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="81"/>
<source>Keep Size</source>
<location filename="../Src/Gui/AssembleDialog.ui" line="54"/>
<source>Keep &amp;Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="88"/>
<source>Fill with NOP&apos;s</source>
<location filename="../Src/Gui/AssembleDialog.ui" line="61"/>
<source>&amp;Fill with NOP&apos;s</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="136"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="68"/>
<source>&amp;XEDParse</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="78"/>
<source>&amp;Keystone</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="104"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="143"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="111"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="166"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="132"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction decoding error&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="116"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction decoding error : %1&lt;/b&gt;&lt;/font&gt;</source>
<location filename="../Src/Gui/AssembleDialog.cpp" line="119"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction encoding error : %1&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="126"/>
<source>&lt;font color=&apos;red&apos;&gt;&lt;b&gt;Instruction bigger by %1 %2&lt;/b&gt;&lt;/font&gt;</source>
<location filename="../Src/Gui/AssembleDialog.cpp" line="127"/>
<source>&lt;font color=&apos;red&apos;&gt;&lt;b&gt;Instruction bigger by %1 %2...&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="128"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="138"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="129"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="139"/>
<source>byte</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="128"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="138"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="129"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="139"/>
<source>bytes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="136"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction smaller by %1 %2&lt;/b&gt;&lt;/font&gt;</source>
<location filename="../Src/Gui/AssembleDialog.cpp" line="137"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction smaller by %1 %2...&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="146"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction is same size&lt;/b&gt;&lt;/font&gt;</source>
<location filename="../Src/Gui/AssembleDialog.cpp" line="147"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction is same size!&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="155"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction encoded successfully!&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -303,61 +303,100 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="81"/>
<source>Keep Size</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="88"/>
<source>Fill with NOP&apos;s</source>
<translation>NOP填充多余字节</translation>
<translation type="vanished">NOP填充多余字节</translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="136"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="54"/>
<source>Keep &amp;Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="61"/>
<source>&amp;Fill with NOP&apos;s</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="68"/>
<source>&amp;XEDParse</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="78"/>
<source>&amp;Keystone</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="104"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="143"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="111"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.ui" line="166"/>
<location filename="../Src/Gui/AssembleDialog.ui" line="132"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction decoding error&lt;/b&gt;&lt;/font&gt;</source>
<translation>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;&lt;/b&gt;&lt;/font&gt;</translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="116"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction decoding error : %1&lt;/b&gt;&lt;/font&gt;</source>
<translation>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;: %1&lt;/b&gt;&lt;/font&gt;</translation>
<translation type="vanished">&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;: %1&lt;/b&gt;&lt;/font&gt;</translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="126"/>
<source>&lt;font color=&apos;red&apos;&gt;&lt;b&gt;Instruction bigger by %1 %2&lt;/b&gt;&lt;/font&gt;</source>
<translation>&lt;font color=&apos;red&apos;&gt;&lt;b&gt; %1 %2&lt;/b&gt;&lt;/font&gt;</translation>
<translation type="vanished">&lt;font color=&apos;red&apos;&gt;&lt;b&gt; %1 %2&lt;/b&gt;&lt;/font&gt;</translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="128"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="138"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="119"/>
<source>&lt;font color=&apos;orange&apos;&gt;&lt;b&gt;Instruction encoding error : %1&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="127"/>
<source>&lt;font color=&apos;red&apos;&gt;&lt;b&gt;Instruction bigger by %1 %2...&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="129"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="139"/>
<source>byte</source>
<translation></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="128"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="138"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="129"/>
<location filename="../Src/Gui/AssembleDialog.cpp" line="139"/>
<source>bytes</source>
<translation></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="136"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction smaller by %1 %2&lt;/b&gt;&lt;/font&gt;</source>
<translation>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt; %1 %2&lt;/b&gt;&lt;/font&gt;</translation>
<location filename="../Src/Gui/AssembleDialog.cpp" line="137"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction smaller by %1 %2...&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="147"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction is same size!&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="155"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction encoded successfully!&lt;/b&gt;&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction smaller by %1 %2&lt;/b&gt;&lt;/font&gt;</source>
<translation type="vanished">&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt; %1 %2&lt;/b&gt;&lt;/font&gt;</translation>
</message>
<message>
<location filename="../Src/Gui/AssembleDialog.cpp" line="146"/>
<source>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;Instruction is same size&lt;/b&gt;&lt;/font&gt;</source>
<translation>&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;&lt;/b&gt;&lt;/font&gt;</translation>
<translation type="vanished">&lt;font color=&apos;#00cc00&apos;&gt;&lt;b&gt;&lt;/b&gt;&lt;/font&gt;</translation>
</message>
</context>
<context>
@ -3598,7 +3637,7 @@ run</translation>
<message>
<location filename="../Src/Gui/MainWindow.cpp" line="60"/>
<source>x32dbg</source>
<translation type="unfinished"></translation>
<translation type="unfinished">x64dbg {32d?}</translation>
</message>
<message>
<location filename="../Src/Gui/MainWindow.cpp" line="77"/>

View File

@ -285,7 +285,7 @@ FORMS += \
Src/Gui/ColumnReorderDialog.ui
TRANSLATIONS = \
Translations/x64dbg.ts
Translations/x64dbg.ts \
Translations/x64dbg_zh_CN.ts
##