forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/14.0'
Change-Id: If26b4607afe758e81feb334b7628797f8fd9c016
This commit is contained in:
@@ -90,28 +90,28 @@
|
|||||||
\li Operation
|
\li Operation
|
||||||
\li Description
|
\li Description
|
||||||
\row
|
\row
|
||||||
\li addAbiFlavor
|
\li \l {addAbiFlavor}
|
||||||
\li Add a system architecture (ABI).
|
\li Add a system architecture (ABI).
|
||||||
\row
|
\row
|
||||||
\li \c {addCMake}
|
\li \l {addCMake}
|
||||||
\li Add the path to a CMake tool.
|
\li Add the path to a CMake tool.
|
||||||
\row
|
\row
|
||||||
\li \c {addDebugger}
|
\li \l {addDebugger}
|
||||||
\li Add a debugger.
|
\li Add a debugger.
|
||||||
\row
|
\row
|
||||||
\li \c {addDev}
|
\li \l {addDev}
|
||||||
\li Add a device.
|
\li Add a device.
|
||||||
\row
|
\row
|
||||||
\li \c {addKeys}
|
\li \c {addKeys}
|
||||||
\li Add settings as \c {<KEY> <TYPE>:<VALUE>} key-value pairs.
|
\li Add settings as \c {<KEY> <TYPE>:<VALUE>} key-value pairs.
|
||||||
\row
|
\row
|
||||||
\li \c {addKit}
|
\li \l {addKit}
|
||||||
\li Add a build and run kit.
|
\li Add a build and run kit.
|
||||||
\row
|
\row
|
||||||
\li \c {addQt}
|
\li \l {addQt}
|
||||||
\li Add a Qt version.
|
\li Add a Qt version.
|
||||||
\row
|
\row
|
||||||
\li \c {addTC}
|
\li \l {addTC}
|
||||||
\li Add a compiler.
|
\li Add a compiler.
|
||||||
\row
|
\row
|
||||||
\li \c {find}
|
\li \c {find}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
set(languages cs da de fr hr ja pl ru sl uk zh_CN zh_TW)
|
set(languages cs da de en fr hr ja pl ru sl uk zh_CN zh_TW)
|
||||||
set(bad_languages hu) # Fix these before including them in languages!
|
set(bad_languages hu) # Fix these before including them in languages!
|
||||||
|
|
||||||
find_package(Python3 COMPONENTS Interpreter)
|
find_package(Python3 COMPONENTS Interpreter)
|
||||||
|
50
share/qtcreator/translations/qtcreator_en.ts
Normal file
50
share/qtcreator/translations/qtcreator_en.ts
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
This file is created by hand and should only be used to fix
|
||||||
|
spelling errors in the default english texts.
|
||||||
|
Do NOT use this file to change the meaning of strings,
|
||||||
|
because changes made in this file are NOT visible to translators
|
||||||
|
into other languages, which would result in the wrong meaning
|
||||||
|
still being translated into other languages.
|
||||||
|
|
||||||
|
The changes done in this file should be transferred to the tr()
|
||||||
|
calls before the string freeze for the next version of Qt Creator.
|
||||||
|
The source tags in existing translations should be adapted accordingly
|
||||||
|
to not loose the translation.
|
||||||
|
-->
|
||||||
|
<!DOCTYPE TS>
|
||||||
|
<TS version="2.1" language="en">
|
||||||
|
|
||||||
|
<!-- test entry
|
||||||
|
<context>
|
||||||
|
<name>QtC::Core</name>
|
||||||
|
<message>
|
||||||
|
<source>Edit</source>
|
||||||
|
<translation>TEST!!!</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<context>
|
||||||
|
<name>QtC::Lua</name>
|
||||||
|
<message>
|
||||||
|
<source>Allow the extension "%1" to fetch datafrom the following URL:
|
||||||
|
|
||||||
|
</source>
|
||||||
|
<translation>Allow the extension "%1" to fetch data from the following URL:
|
||||||
|
|
||||||
|
</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>QtC::RemoteLinux</name>
|
||||||
|
<message>
|
||||||
|
<source>Enable debugging on remote targes which cannot expose gdbserver ports.
|
||||||
|
The ssh tunneling is used to map the remote gdbserver port to localhost.
|
||||||
|
The local and remote ports are determined automatically.</source>
|
||||||
|
<translation>Enable debugging on remote targets which cannot expose gdbserver ports.
|
||||||
|
The SSH tunneling is used to map the remote gdbserver port to localhost.
|
||||||
|
The local and remote ports are determined automatically.</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
|
</TS>
|
@@ -785,11 +785,13 @@ int main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Q_UNUSED(translator.load(QString())); // unload()
|
Q_UNUSED(translator.load(QString())); // unload()
|
||||||
} else if (locale == QLatin1String("C") /* overrideLanguage == "English" */) {
|
} else if (
|
||||||
// use built-in
|
locale == QLatin1String("C") /* overrideLanguage == "English" */
|
||||||
break;
|
|| locale.startsWith(QLatin1String("en")) /* "English" is built-in */) {
|
||||||
} else if (locale.startsWith(QLatin1String("en")) /* "English" is built-in */) {
|
// Load any spelling fixes that might have been done temporarily after string freeze,
|
||||||
// use built-in
|
// for the rest use the built-in source text
|
||||||
|
if (translator.load("qtcreator_en", creatorTrPath))
|
||||||
|
app.installTranslator(&translator);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user