mirror of
https://github.com/riuson/lcd-image-converter.git
synced 2026-02-19 17:11:29 +01:00
Russian translation brought to uniformity and fixed
Changed: Russian translation file name. Fixed: Russian translation.
This commit is contained in:
@@ -382,7 +382,7 @@ win32 {
|
||||
OTHER_FILES += \
|
||||
resources/image.tmpl \
|
||||
resources/font.tmpl \
|
||||
resources/lcd-image-converter-ru.ts \
|
||||
resources/lcd-image-converter-ru_RU.ts \
|
||||
resources/lcd-image-converter-zh_CN.ts \
|
||||
win-res.rc \
|
||||
README \
|
||||
@@ -429,15 +429,13 @@ QMAKE_EXTRA_TARGETS += version
|
||||
PRE_TARGETDEPS += git_revision
|
||||
|
||||
# compile translation
|
||||
LANGUAGES = ru zh_CN
|
||||
LANGUAGES = ru_RU zh_CN
|
||||
# parameters: var, prepend, append
|
||||
defineReplace(prependAll) {
|
||||
for(a,$$1):result += $$2$${a}$$3
|
||||
return($$result)
|
||||
}
|
||||
|
||||
|
||||
|
||||
TRANSLATIONS = $$prependAll(LANGUAGES, $$PWD/resources/lcd-image-converter-, .ts)
|
||||
|
||||
TRANSLATIONS_FILES =
|
||||
|
||||
@@ -5,6 +5,17 @@
|
||||
<sha1>current</sha1>
|
||||
<date>current</date>
|
||||
</commit>
|
||||
<changes>
|
||||
<item category="added">Chinese translation.</item>
|
||||
<item category="changed">Generation of translations at build time.</item>
|
||||
<item category="changed">Russian transation name.</item>
|
||||
</changes>
|
||||
</record>
|
||||
<record>
|
||||
<commit>
|
||||
<sha1>e3ba1ed9e922bc37f78ff7615c6f7b203755740a</sha1>
|
||||
<date>2025-01-31 18:27:03 +0500</date>
|
||||
</commit>
|
||||
<changes>
|
||||
<item category="added">Escaping for font's selected characters.</item>
|
||||
<item category="added">2, 8, 10 and 16 numeral systems for pixel's data.</item>
|
||||
|
||||
@@ -1111,7 +1111,7 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/fonts/font-new/dialogfontselect.ui" line="63"/>
|
||||
<source>Style:</source>
|
||||
<translatorcomment>Стиль шрифта</translatorcomment>
|
||||
<extracomment>Style of font</extracomment>
|
||||
<translation>Стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -1294,7 +1294,7 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/fonts/font-editor/editortabfont.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translatorcomment>не используется</translatorcomment>
|
||||
<extracomment>Not used</extracomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
@@ -1303,7 +1303,7 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/images/editortabimage.ui" line="16"/>
|
||||
<source>Form</source>
|
||||
<translatorcomment>не ипользуется</translatorcomment>
|
||||
<extracomment>Not used</extracomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
@@ -1515,7 +1515,7 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/main/mainwindow.ui" line="48"/>
|
||||
<source>Recent</source>
|
||||
<translatorcomment>Список последних открытых файлов</translatorcomment>
|
||||
<extracomment>List of lastly opened files</extracomment>
|
||||
<translation>Последнее</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -1734,7 +1734,7 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/main/mainwindow.ui" line="424"/>
|
||||
<source>To Grayscale</source>
|
||||
<translatorcomment>Преобразовать изображение из цветного в градации серого</translatorcomment>
|
||||
<extracomment>Convert image from color to grayscale</extracomment>
|
||||
<translation>В градации серого</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -1766,13 +1766,13 @@ Qt: %4</translation>
|
||||
<message>
|
||||
<location filename="../controls/main/mainwindow.ui" line="304"/>
|
||||
<source>English</source>
|
||||
<translatorcomment>не переводить</translatorcomment>
|
||||
<extracomment>Do not translate this string</extracomment>
|
||||
<translation>English</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../controls/main/mainwindow.cpp" line="91"/>
|
||||
<source>langName</source>
|
||||
<translatorcomment>название языка в который переводим</translatorcomment>
|
||||
<extracomment>Translated (to original) name of current language</extracomment>
|
||||
<translation>Русский</translation>
|
||||
</message>
|
||||
</context>
|
||||
@@ -1906,7 +1906,7 @@ Only minimal amount (%3) will be imported.</source>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../controls/setup/parts/font/setuptabfont.ui" line="79"/>
|
||||
<source>Preifx:</source>
|
||||
<source>Prefix:</source>
|
||||
<translation>Префикс:</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -2124,6 +2124,7 @@ Only minimal amount (%3) will be imported.</source>
|
||||
<message>
|
||||
<location filename="../controls/setup/parts/prepare/scanning/setuptabpreparescanning.ui" line="168"/>
|
||||
<source> s</source>
|
||||
<extracomment>seconds (time)</extracomment>
|
||||
<translation> с</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -2134,6 +2135,7 @@ Only minimal amount (%3) will be imported.</source>
|
||||
<message>
|
||||
<location filename="../controls/setup/parts/prepare/scanning/setuptabpreparescanning.ui" line="187"/>
|
||||
<source> ms</source>
|
||||
<extracomment>milliseconds (time)</extracomment>
|
||||
<translation> мс</translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -2247,13 +2249,13 @@ Only minimal amount (%3) will be imported.</source>
|
||||
<message>
|
||||
<location filename="../controls/images/widgetbitmapeditor.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translatorcomment>не используется</translatorcomment>
|
||||
<extracomment>Not used</extracomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../controls/images/widgetbitmapeditor.ui" line="44"/>
|
||||
<source>TextLabel</source>
|
||||
<translatorcomment>не используется</translatorcomment>
|
||||
<extracomment>Not used</extracomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
@@ -11,8 +11,8 @@
|
||||
<file alias="gpl3">gpl-3.0-standalone.html</file>
|
||||
</qresource>
|
||||
<qresource prefix="/translations">
|
||||
<file alias="ru">lcd-image-converter-ru.qm</file>
|
||||
<file alias="zh_CN">lcd-image-converter-zh_CN.qm</file>
|
||||
<file alias="ru">lcd-image-converter-ru_RU.qm</file>
|
||||
<file alias="zh_CN">lcd-image-converter-zh_CN.qm</file>
|
||||
</qresource>
|
||||
<qresource prefix="/demos">
|
||||
<file alias="scanning_background">demos/scanning_background.png</file>
|
||||
|
||||
Reference in New Issue
Block a user