Let QT translate keyboard shortcuts. Fixes #308

This way QT also translates default UI buttons like yes, no, ok, cancel,
ect...
This commit is contained in:
Thomas Cujé 2019-03-01 20:14:55 +01:00
parent e81a37bc5a
commit fd29f37d11
6 changed files with 234 additions and 1369 deletions

File diff suppressed because it is too large Load diff

View file

@ -58,7 +58,7 @@ void lcResetDefaultMouseShortcuts()
void lcKeyboardShortcuts::Reset() void lcKeyboardShortcuts::Reset()
{ {
for (int CommandIdx = 0; CommandIdx < LC_NUM_COMMANDS; CommandIdx++) for (int CommandIdx = 0; CommandIdx < LC_NUM_COMMANDS; CommandIdx++)
mShortcuts[CommandIdx] = qApp->translate("Shortcut", gCommands[CommandIdx].DefaultShortcut); mShortcuts[CommandIdx] = gCommands[CommandIdx].DefaultShortcut;
} }
bool lcKeyboardShortcuts::Save(const QString& FileName) bool lcKeyboardShortcuts::Save(const QString& FileName)

View file

@ -125,9 +125,23 @@ int main(int argc, char *argv[])
{ {
lcApplication Application(argc, argv); lcApplication Application(argc, argv);
QTranslator QtTranslator;
if (QtTranslator.load(QLocale::system(), "qt", "_", QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
{
Application.installTranslator(&QtTranslator);
}
QTranslator QtBaseTranslator;
if (QtBaseTranslator.load("qtbase_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
{
Application.installTranslator(&QtBaseTranslator);
}
QTranslator Translator; QTranslator Translator;
Translator.load(QString("leocad_") + QLocale::system().name().section('_', 0, 0) + ".qm", ":/resources"); if (Translator.load(QString("leocad_") + QLocale::system().name().section('_', 0, 0) + ".qm", ":/resources"))
{
Application.installTranslator(&Translator); Application.installTranslator(&Translator);
}
qRegisterMetaTypeStreamOperators<QList<int> >("QList<int>"); qRegisterMetaTypeStreamOperators<QList<int> >("QList<int>");

View file

@ -1089,7 +1089,7 @@
<message> <message>
<location filename="../common/lc_commands.cpp" line="9"/> <location filename="../common/lc_commands.cpp" line="9"/>
<source>&amp;New</source> <source>&amp;New</source>
<translation>&amp;Neu</translation> <translation type="unfinished">&amp;Neu</translation>
</message> </message>
<message> <message>
<location filename="../common/lc_commands.cpp" line="16"/> <location filename="../common/lc_commands.cpp" line="16"/>
@ -2264,389 +2264,6 @@
<translation>Spezialfarben</translation> <translation>Spezialfarben</translation>
</message> </message>
</context> </context>
<context>
<name>Shortcut</name>
<message>
<location filename="../common/lc_commands.cpp" line="11"/>
<source>Ctrl+N</source>
<translation>Strg+N</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="18"/>
<source>Ctrl+O</source>
<translation>Strg+O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="32"/>
<source>Ctrl+S</source>
<translation>Strg+S</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="179"/>
<source>Ctrl+Z</source>
<translation>Strg+Z</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="186"/>
<source>Ctrl+Y</source>
<translation>Strg+Y</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="193"/>
<source>Ctrl+X</source>
<translation>Strg+X</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="200"/>
<source>Ctrl+C</source>
<translation>Strg+C</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="207"/>
<source>Ctrl+V</source>
<translation>Strg+V</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="214"/>
<source>Ctrl+F</source>
<translation>Strg+F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="221"/>
<source>F3</source>
<translation>F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="228"/>
<source>Shift+F3</source>
<translation>Shift+F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="235"/>
<source>Ctrl+A</source>
<translation>Strg+A</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="249"/>
<source>Ctrl+I</source>
<translation>Strg+I</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="312"/>
<source>0</source>
<translation>0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="319"/>
<source>1</source>
<translation>1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="326"/>
<source>2</source>
<translation>2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="333"/>
<source>3</source>
<translation>3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="340"/>
<source>4</source>
<translation>4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="347"/>
<source>5</source>
<translation>5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="354"/>
<source>6</source>
<translation>6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="361"/>
<source>7</source>
<translation>7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="368"/>
<source>8</source>
<translation>8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="375"/>
<source>9</source>
<translation>9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="382"/>
<source>Ctrl+Shift+0</source>
<translation>Strg+Shift+0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="389"/>
<source>Ctrl+Shift+1</source>
<translation>Strg+Shift+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="396"/>
<source>Ctrl+Shift+2</source>
<translation>Strg+Shift+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="403"/>
<source>Ctrl+Shift+3</source>
<translation>Strg+Shift+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="410"/>
<source>Ctrl+Shift+4</source>
<translation>Strg+Shift+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="417"/>
<source>Ctrl+Shift+5</source>
<translation>Strg+Shift+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="424"/>
<source>Ctrl+Shift+6</source>
<translation>Strg+Shift+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="431"/>
<source>Ctrl+Shift+7</source>
<translation>Strg+Shift+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="438"/>
<source>Ctrl+Shift+8</source>
<translation>Strg+Shift+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="445"/>
<source>Ctrl+Shift+9</source>
<translation>Strg+Shift+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="459"/>
<source>Shift+0</source>
<translation>Shift+0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="466"/>
<source>Shift+1</source>
<translation>Shift+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="473"/>
<source>Shift+2</source>
<translation>Shift+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="480"/>
<source>Shift+3</source>
<translation>Shift+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="487"/>
<source>Shift+4</source>
<translation>Shift+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="494"/>
<source>Shift+5</source>
<translation>Shift+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="501"/>
<source>Shift+6</source>
<translation>Shift+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="508"/>
<source>Shift+7</source>
<translation>Shift+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="515"/>
<source>Shift+8</source>
<translation>Shift+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="522"/>
<source>Shift+9</source>
<translation>Shift+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="662"/>
<source>Esc</source>
<translation>Esc</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="676"/>
<source>+</source>
<translation>+</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="683"/>
<source>-</source>
<translation>-</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="746"/>
<source>F</source>
<translation>F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="753"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="760"/>
<source>T</source>
<translation>T</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="767"/>
<source>O</source>
<translation>O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="774"/>
<source>L</source>
<translation>L</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="781"/>
<source>R</source>
<translation>R</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="788"/>
<source>H</source>
<translation>H</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="921"/>
<source>Alt+Up</source>
<translation>Alt+Hoch</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="928"/>
<source>Alt+Left</source>
<translation>Alt+Links</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="935"/>
<source>Alt+Right</source>
<translation>Alt+Rechts</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="942"/>
<source>Alt+Down</source>
<translation>Alt+Runter</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1005"/>
<source>Ctrl+W</source>
<translation>Strg+W</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1047"/>
<source>Insert</source>
<translation>Einfügen</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1054"/>
<source>Delete</source>
<translation>Löschen</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1061"/>
<source>Ctrl+D</source>
<translation>Strg+D</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1096"/>
<source>Down</source>
<translation>Runter</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1103"/>
<source>Up</source>
<translation>Hoch</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1110"/>
<source>Right</source>
<translation>Rechts</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1117"/>
<source>Left</source>
<translation>Links</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1124"/>
<source>PgUp</source>
<translation>Bild auf</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1131"/>
<source>PgDown</source>
<translation>Bild ab</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1138"/>
<source>Shift+Down</source>
<translation>Shift+Runter</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1145"/>
<source>Shift+Up</source>
<translation>Shift+Hoch</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1152"/>
<source>Shift+Right</source>
<translation>Shift+Rechts</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1159"/>
<source>Shift+Left</source>
<translation>Shift+Links</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1166"/>
<source>Shift+PgUp</source>
<translation>Shift+Bild auf</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1173"/>
<source>Shift+PgDown</source>
<translation>Shift+Bild ab</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1229"/>
<source>Ctrl+G</source>
<translation>Strg+G</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1236"/>
<source>Ctrl+U</source>
<translation>Strg+U</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1264"/>
<source>Ctrl+H</source>
<translation>Strg+H</translation>
</message>
</context>
<context> <context>
<name>Status</name> <name>Status</name>
<message> <message>

View file

@ -2264,389 +2264,6 @@
<translation>Couleurs spéciales</translation> <translation>Couleurs spéciales</translation>
</message> </message>
</context> </context>
<context>
<name>Shortcut</name>
<message>
<location filename="../common/lc_commands.cpp" line="11"/>
<source>Ctrl+N</source>
<translation>Ctrl+N</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="18"/>
<source>Ctrl+O</source>
<translation>Ctrl+O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="32"/>
<source>Ctrl+S</source>
<translation>Ctrl+S</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="179"/>
<source>Ctrl+Z</source>
<translation>Ctrl+Z</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="186"/>
<source>Ctrl+Y</source>
<translation>Ctrl+Y</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="193"/>
<source>Ctrl+X</source>
<translation>Ctrl+X</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="200"/>
<source>Ctrl+C</source>
<translation>Ctrl+C</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="207"/>
<source>Ctrl+V</source>
<translation>Ctrl+V</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="214"/>
<source>Ctrl+F</source>
<translation>Ctrl+F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="221"/>
<source>F3</source>
<translation>F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="228"/>
<source>Shift+F3</source>
<translation>Maj+F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="235"/>
<source>Ctrl+A</source>
<translation>Ctrl+A</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="249"/>
<source>Ctrl+I</source>
<translation>Ctrl+I</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="312"/>
<source>0</source>
<translation>8x {0?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="319"/>
<source>1</source>
<translation>8x {1?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="326"/>
<source>2</source>
<translation>8x {2?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="333"/>
<source>3</source>
<translation>8x {3?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="340"/>
<source>4</source>
<translation>8x {4?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="347"/>
<source>5</source>
<translation>8x {5?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="354"/>
<source>6</source>
<translation>8x {6?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="361"/>
<source>7</source>
<translation>8x {7?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="368"/>
<source>8</source>
<translation>8x {8?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="375"/>
<source>9</source>
<translation>8x {9?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="382"/>
<source>Ctrl+Shift+0</source>
<translation>Ctrl+Maj+0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="389"/>
<source>Ctrl+Shift+1</source>
<translation>Ctrl+Maj+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="396"/>
<source>Ctrl+Shift+2</source>
<translation>Ctrl+Maj+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="403"/>
<source>Ctrl+Shift+3</source>
<translation>Ctrl+Maj+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="410"/>
<source>Ctrl+Shift+4</source>
<translation>Ctrl+Maj+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="417"/>
<source>Ctrl+Shift+5</source>
<translation>Ctrl+Maj+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="424"/>
<source>Ctrl+Shift+6</source>
<translation>Ctrl+Maj+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="431"/>
<source>Ctrl+Shift+7</source>
<translation>Ctrl+Maj+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="438"/>
<source>Ctrl+Shift+8</source>
<translation>Ctrl+Maj+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="445"/>
<source>Ctrl+Shift+9</source>
<translation>Ctrl+Maj+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="459"/>
<source>Shift+0</source>
<translation>Maj+0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="466"/>
<source>Shift+1</source>
<translation>Maj+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="473"/>
<source>Shift+2</source>
<translation>Maj+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="480"/>
<source>Shift+3</source>
<translation>Maj+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="487"/>
<source>Shift+4</source>
<translation>Maj+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="494"/>
<source>Shift+5</source>
<translation>Maj+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="501"/>
<source>Shift+6</source>
<translation>Maj+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="508"/>
<source>Shift+7</source>
<translation>Maj+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="515"/>
<source>Shift+8</source>
<translation>Maj+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="522"/>
<source>Shift+9</source>
<translation>Maj+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="662"/>
<source>Esc</source>
<translation>Échap</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="676"/>
<source>+</source>
<translation>+</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="683"/>
<source>-</source>
<translation>-</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="746"/>
<source>F</source>
<translation>F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="753"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="760"/>
<source>T</source>
<translation>T</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="767"/>
<source>O</source>
<translation>O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="774"/>
<source>L</source>
<translation>L</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="781"/>
<source>R</source>
<translation>R</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="788"/>
<source>H</source>
<translation>H</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="921"/>
<source>Alt+Up</source>
<translation>Alt+Up</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="928"/>
<source>Alt+Left</source>
<translation>Alt+Left</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="935"/>
<source>Alt+Right</source>
<translation>Alt+Right</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="942"/>
<source>Alt+Down</source>
<translation>Alt+Down</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1005"/>
<source>Ctrl+W</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1047"/>
<source>Insert</source>
<translation>Inser</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1054"/>
<source>Delete</source>
<translation>Suppr</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1061"/>
<source>Ctrl+D</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1096"/>
<source>Down</source>
<translation>Bas</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1103"/>
<source>Up</source>
<translation>Haut</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1110"/>
<source>Right</source>
<translation>Droite</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1117"/>
<source>Left</source>
<translation>Gauche</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1124"/>
<source>PgUp</source>
<translation>Page préc</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1131"/>
<source>PgDown</source>
<translation>Page suiv</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1138"/>
<source>Shift+Down</source>
<translation>Maj+Bas</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1145"/>
<source>Shift+Up</source>
<translation>Maj+Haut</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1152"/>
<source>Shift+Right</source>
<translation>Maj+Droite</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1159"/>
<source>Shift+Left</source>
<translation>Maj+Gauche</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1166"/>
<source>Shift+PgUp</source>
<translation>Maj+Page préc</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1173"/>
<source>Shift+PgDown</source>
<translation>Maj+Page suiv</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1229"/>
<source>Ctrl+G</source>
<translation>Ctrl+G</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1236"/>
<source>Ctrl+U</source>
<translation>Ctrl+U</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1264"/>
<source>Ctrl+H</source>
<translation>Ctrl+H</translation>
</message>
</context>
<context> <context>
<name>Status</name> <name>Status</name>
<message> <message>

View file

@ -2264,389 +2264,6 @@
<translation>Cores Especiais</translation> <translation>Cores Especiais</translation>
</message> </message>
</context> </context>
<context>
<name>Shortcut</name>
<message>
<location filename="../common/lc_commands.cpp" line="11"/>
<source>Ctrl+N</source>
<translation>Ctrl+N</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="18"/>
<source>Ctrl+O</source>
<translation>Ctrl+O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="32"/>
<source>Ctrl+S</source>
<translation>Ctrl+S</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="179"/>
<source>Ctrl+Z</source>
<translation>Ctrl+Z</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="186"/>
<source>Ctrl+Y</source>
<translation>Ctrl+Y</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="193"/>
<source>Ctrl+X</source>
<translation>Ctrl+X</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="200"/>
<source>Ctrl+C</source>
<translation>Ctrl+C</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="207"/>
<source>Ctrl+V</source>
<translation>Ctrl+V</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="214"/>
<source>Ctrl+F</source>
<translation>Ctrl+F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="221"/>
<source>F3</source>
<translation>F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="228"/>
<source>Shift+F3</source>
<translation>Shift+F3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="235"/>
<source>Ctrl+A</source>
<translation>Ctrl+A</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="249"/>
<source>Ctrl+I</source>
<translation>Ctrl+I</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="312"/>
<source>0</source>
<translation>8x {0?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="319"/>
<source>1</source>
<translation>8x {1?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="326"/>
<source>2</source>
<translation>8x {2?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="333"/>
<source>3</source>
<translation>8x {3?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="340"/>
<source>4</source>
<translation>8x {4?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="347"/>
<source>5</source>
<translation>8x {5?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="354"/>
<source>6</source>
<translation>8x {6?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="361"/>
<source>7</source>
<translation>8x {7?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="368"/>
<source>8</source>
<translation>8x {8?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="375"/>
<source>9</source>
<translation>8x {9?}</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="382"/>
<source>Ctrl+Shift+0</source>
<translation>Ctrl+Shift+0</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="389"/>
<source>Ctrl+Shift+1</source>
<translation>Ctrl+Shift+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="396"/>
<source>Ctrl+Shift+2</source>
<translation>Ctrl+Shift+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="403"/>
<source>Ctrl+Shift+3</source>
<translation>Ctrl+Shift+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="410"/>
<source>Ctrl+Shift+4</source>
<translation>Ctrl+Shift+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="417"/>
<source>Ctrl+Shift+5</source>
<translation>Ctrl+Shift+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="424"/>
<source>Ctrl+Shift+6</source>
<translation>Ctrl+Shift+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="431"/>
<source>Ctrl+Shift+7</source>
<translation>Ctrl+Shift+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="438"/>
<source>Ctrl+Shift+8</source>
<translation>Ctrl+Shift+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="445"/>
<source>Ctrl+Shift+9</source>
<translation>Ctrl+Shift+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="459"/>
<source>Shift+0</source>
<translation></translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="466"/>
<source>Shift+1</source>
<translation>Shift+1</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="473"/>
<source>Shift+2</source>
<translation>Shift+2</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="480"/>
<source>Shift+3</source>
<translation>Shift+3</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="487"/>
<source>Shift+4</source>
<translation>Shift+4</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="494"/>
<source>Shift+5</source>
<translation>Shift+5</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="501"/>
<source>Shift+6</source>
<translation>Shift+6</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="508"/>
<source>Shift+7</source>
<translation>Shift+7</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="515"/>
<source>Shift+8</source>
<translation>Shift+8</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="522"/>
<source>Shift+9</source>
<translation>Shift+9</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="662"/>
<source>Esc</source>
<translation>Esc</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="676"/>
<source>+</source>
<translation>+</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="683"/>
<source>-</source>
<translation>-</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="746"/>
<source>F</source>
<translation>F</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="753"/>
<source>B</source>
<translation>B</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="760"/>
<source>T</source>
<translation>T</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="767"/>
<source>O</source>
<translation>O</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="774"/>
<source>L</source>
<translation>L</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="781"/>
<source>R</source>
<translation>R</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="788"/>
<source>H</source>
<translation>H</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="921"/>
<source>Alt+Up</source>
<translation>Alt+Up</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="928"/>
<source>Alt+Left</source>
<translation>Alt+Left</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="935"/>
<source>Alt+Right</source>
<translation>Alt+Right</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="942"/>
<source>Alt+Down</source>
<translation>Alt+Down</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1005"/>
<source>Ctrl+W</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1047"/>
<source>Insert</source>
<translation>Insert</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1054"/>
<source>Delete</source>
<translation>Delete</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1061"/>
<source>Ctrl+D</source>
<translation>Ctrl+D</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1096"/>
<source>Down</source>
<translation>Down</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1103"/>
<source>Up</source>
<translation>Up</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1110"/>
<source>Right</source>
<translation>Right</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1117"/>
<source>Left</source>
<translation>Left</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1124"/>
<source>PgUp</source>
<translation>PgUp</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1131"/>
<source>PgDown</source>
<translation>PgDown</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1138"/>
<source>Shift+Down</source>
<translation>Shift+Down</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1145"/>
<source>Shift+Up</source>
<translation>Shift+Up</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1152"/>
<source>Shift+Right</source>
<translation>Shift+Right</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1159"/>
<source>Shift+Left</source>
<translation>Shift+Left</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1166"/>
<source>Shift+PgUp</source>
<translation>Shift+PgUp</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1173"/>
<source>Shift+PgDown</source>
<translation>Shift+PgDown</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1229"/>
<source>Ctrl+G</source>
<translation>Ctrl+G</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1236"/>
<source>Ctrl+U</source>
<translation>Ctrl+U</translation>
</message>
<message>
<location filename="../common/lc_commands.cpp" line="1264"/>
<source>Ctrl+H</source>
<translation>Ctrl+H</translation>
</message>
</context>
<context> <context>
<name>Status</name> <name>Status</name>
<message> <message>