diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-11 16:23:18 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-11 16:23:34 +0100 |
commit | 177e7abe33226fca2fa8f5cfc060361da6c1194e (patch) | |
tree | 855164d2e593ac12d7bb613d9889aab748ea6b37 | |
parent | 222e249afa57499f1e02d6f775cb3c86d7722989 (diff) | |
download | ksensors-177e7abe33226fca2fa8f5cfc060361da6c1194e.tar.gz ksensors-177e7abe33226fca2fa8f5cfc060361da6c1194e.zip |
Add CMakeL10n rules.
Update translation template.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6cd3fcf3c4a17f214aa86d8932f386a04c6e56fa)
-rw-r--r-- | CMakeL10n.txt | 23 | ||||
-rw-r--r-- | po/CMakeLists.txt | 7 | ||||
-rw-r--r-- | po/cs.gmo | bin | 2019 -> 0 bytes | |||
-rw-r--r-- | po/de.gmo | bin | 4629 -> 0 bytes | |||
-rw-r--r-- | po/es.gmo | bin | 3828 -> 0 bytes | |||
-rw-r--r-- | po/fr.gmo | bin | 4711 -> 0 bytes | |||
-rw-r--r-- | po/ksensors.pot | 322 | ||||
-rw-r--r-- | po/nl.gmo | bin | 3340 -> 0 bytes | |||
-rw-r--r-- | src/CMakeL10n.txt | 3 |
9 files changed, 238 insertions, 117 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 0000000..a525b71 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,23 @@ +################################################# +# +# (C) 2018 Slávek Banko +# slavek.banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 2.8 ) + + +##### include our cmake modules ################# + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEL10n ) + + +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index f5a2e1b..46fba83 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1 +1,6 @@ -tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} ) +# build translations if some are already available + +file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) +if( _srcs ) + tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} ) +endif( ) diff --git a/po/cs.gmo b/po/cs.gmo Binary files differdeleted file mode 100644 index 5293615..0000000 --- a/po/cs.gmo +++ /dev/null diff --git a/po/de.gmo b/po/de.gmo Binary files differdeleted file mode 100644 index d56fe0c..0000000 --- a/po/de.gmo +++ /dev/null diff --git a/po/es.gmo b/po/es.gmo Binary files differdeleted file mode 100644 index 03a2c6b..0000000 --- a/po/es.gmo +++ /dev/null diff --git a/po/fr.gmo b/po/fr.gmo Binary files differdeleted file mode 100644 index 48687ea..0000000 --- a/po/fr.gmo +++ /dev/null diff --git a/po/ksensors.pot b/po/ksensors.pot index 0f05659..fd9cc34 100644 --- a/po/ksensors.pot +++ b/po/ksensors.pot @@ -1,21 +1,30 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2004-08-18 23:19+0200\n" +"POT-Creation-Date: 2018-12-11 16:11+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: _translatorinfo:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#: _translatorinfo:2 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "" + #: hdsensorslist.cpp:36 msgid "Hard Disks" msgstr "" @@ -52,19 +61,31 @@ msgstr "" msgid "Voltage" msgstr "" -#: lmsensorsdock.cpp:62 +#: lmsensorsdock.cpp:68 +msgid "&KSensors Handbook" +msgstr "" + +#: lmsensorsdock.cpp:69 msgid "&About KSensors" msgstr "" -#: lmsensorsdock.cpp:64 lmsensorsdock.cpp:124 +#: lmsensorsdock.cpp:73 +msgid "&Configure" +msgstr "" + +#: lmsensorsdock.cpp:75 +msgid "&Help" +msgstr "" + +#: lmsensorsdock.cpp:77 lmsensorsdock.cpp:137 msgid "&Minimize" msgstr "" -#: lmsensorsdock.cpp:64 lmsensorsdock.cpp:124 +#: lmsensorsdock.cpp:77 lmsensorsdock.cpp:137 msgid "&Restore" msgstr "" -#: lmsensorsdock.cpp:65 +#: lmsensorsdock.cpp:78 msgid "&Exit" msgstr "" @@ -80,332 +101,401 @@ msgstr "" msgid "Show splash screen." msgstr "" -#: main.cpp:43 rc.cpp:5 +#: aboutcfgdesign.ui:1343 main.cpp:43 +#, no-c-format msgid "KSensors" msgstr "" -#: rc.cpp:1 -msgid "C&ustom" +#: systemcfg.cpp:47 +msgid "CPU Speed" +msgstr "" + +#: systemcfg.cpp:48 +msgid "CPU State" +msgstr "" + +#: systemcfg.cpp:49 +msgid "RAM Used" +msgstr "" + +#: systemcfg.cpp:50 +msgid "SWAP Used" +msgstr "" + +#: systemcfg.cpp:51 +msgid "Up Time" msgstr "" -#: rc.cpp:2 +#: aboutcfgdesign.ui:21 +#, no-c-format msgid "AboutCfgDesign" msgstr "" -#: rc.cpp:3 +#: aboutcfgdesign.ui:335 +#, no-c-format msgid "KSensors configuration" msgstr "" -#: rc.cpp:4 +#: aboutcfgdesign.ui:826 +#, no-c-format msgid "Monitoring your motherboard" msgstr "" -#: rc.cpp:6 +#: aboutcfgdesign.ui:1363 +#, no-c-format msgid "" "Welcome to the KSensors configuration window. Click on the left to select a " "configuration option." msgstr "" -#: rc.cpp:7 +#: generalcfgdesign.ui:16 +#, no-c-format msgid "GeneralCfg" msgstr "" -#: rc.cpp:8 +#: generalcfgdesign.ui:37 +#, no-c-format msgid "Panels size" msgstr "" -#: rc.cpp:9 +#: generalcfgdesign.ui:54 +#, no-c-format msgid "64 x 64" msgstr "" -#: rc.cpp:10 +#: generalcfgdesign.ui:65 +#, no-c-format msgid "56 x 56" msgstr "" -#: rc.cpp:11 +#: generalcfgdesign.ui:73 +#, no-c-format msgid "48 x 48" msgstr "" -#: rc.cpp:12 rc.cpp:55 rc.cpp:59 rc.cpp:91 +#: generalcfgdesign.ui:89 lmsensorscfgdesign.ui:512 +#: lmsensorscfgdesign.ui:619 systemcfgdesign.ui:175 +#, no-c-format msgid "Colors" msgstr "" -#: rc.cpp:13 +#: generalcfgdesign.ui:101 +#, no-c-format msgid "Startup" msgstr "" -#: rc.cpp:14 +#: generalcfgdesign.ui:118 +#, no-c-format msgid "Autostart KSensors on TDE startup" msgstr "" -#: rc.cpp:15 +#: ksensorsui.rc:4 +#, no-c-format +msgid "C&ustom" +msgstr "" + +#: lmsensorscfgdesign.ui:22 +#, no-c-format msgid "LMSensorsCfgDesign" msgstr "" -#: rc.cpp:16 +#: lmsensorscfgdesign.ui:57 +#, no-c-format msgid "Sensors" msgstr "" -#: rc.cpp:17 +#: lmsensorscfgdesign.ui:86 +#, no-c-format msgid "General" msgstr "" -#: rc.cpp:19 +#: lmsensorscfgdesign.ui:140 +#, no-c-format msgid "Description" msgstr "" -#: rc.cpp:21 +#: lmsensorscfgdesign.ui:168 +#, no-c-format msgid "Values" msgstr "" -#: rc.cpp:23 +#: lmsensorscfgdesign.ui:198 +#, no-c-format msgid "Current" msgstr "" -#: rc.cpp:24 +#: lmsensorscfgdesign.ui:209 +#, no-c-format msgid "Maximum" msgstr "" -#: rc.cpp:25 +#: lmsensorscfgdesign.ui:221 +#, no-c-format msgid "+1%" msgstr "" -#: rc.cpp:26 +#: lmsensorscfgdesign.ui:226 +#, no-c-format msgid "+2%" msgstr "" -#: rc.cpp:27 +#: lmsensorscfgdesign.ui:231 +#, no-c-format msgid "+3%" msgstr "" -#: rc.cpp:28 +#: lmsensorscfgdesign.ui:236 +#, no-c-format msgid "+4%" msgstr "" -#: rc.cpp:29 +#: lmsensorscfgdesign.ui:241 +#, no-c-format msgid "+5%" msgstr "" -#: rc.cpp:30 +#: lmsensorscfgdesign.ui:246 +#, no-c-format msgid "+10%" msgstr "" -#: rc.cpp:31 +#: lmsensorscfgdesign.ui:251 +#, no-c-format msgid "+15%" msgstr "" -#: rc.cpp:32 +#: lmsensorscfgdesign.ui:256 +#, no-c-format msgid "+20%" msgstr "" -#: rc.cpp:33 +#: lmsensorscfgdesign.ui:261 +#, no-c-format msgid "+30%" msgstr "" -#: rc.cpp:34 +#: lmsensorscfgdesign.ui:266 +#, no-c-format msgid "+40%" msgstr "" -#: rc.cpp:35 +#: lmsensorscfgdesign.ui:271 +#, no-c-format msgid "+50%" msgstr "" -#: rc.cpp:36 +#: lmsensorscfgdesign.ui:289 +#, no-c-format msgid "Multiplier" msgstr "" -#: rc.cpp:37 +#: lmsensorscfgdesign.ui:302 +#, no-c-format msgid "Ideal" msgstr "" -#: rc.cpp:38 +#: lmsensorscfgdesign.ui:310 +#, no-c-format msgid "Minimum" msgstr "" -#: rc.cpp:39 +#: lmsensorscfgdesign.ui:321 +#, no-c-format msgid "Addition" msgstr "" -#: rc.cpp:41 +#: lmsensorscfgdesign.ui:340 +#, no-c-format msgid "-1%" msgstr "" -#: rc.cpp:42 +#: lmsensorscfgdesign.ui:345 +#, no-c-format msgid "-2%" msgstr "" -#: rc.cpp:43 +#: lmsensorscfgdesign.ui:350 +#, no-c-format msgid "-3%" msgstr "" -#: rc.cpp:44 +#: lmsensorscfgdesign.ui:355 +#, no-c-format msgid "-4%" msgstr "" -#: rc.cpp:45 +#: lmsensorscfgdesign.ui:360 +#, no-c-format msgid "-5%" msgstr "" -#: rc.cpp:46 +#: lmsensorscfgdesign.ui:365 +#, no-c-format msgid "-10%" msgstr "" -#: rc.cpp:47 +#: lmsensorscfgdesign.ui:370 +#, no-c-format msgid "-15%" msgstr "" -#: rc.cpp:48 +#: lmsensorscfgdesign.ui:375 +#, no-c-format msgid "-20%" msgstr "" -#: rc.cpp:49 +#: lmsensorscfgdesign.ui:380 +#, no-c-format msgid "-30%" msgstr "" -#: rc.cpp:50 +#: lmsensorscfgdesign.ui:385 +#, no-c-format msgid "-40%" msgstr "" -#: rc.cpp:51 +#: lmsensorscfgdesign.ui:390 +#, no-c-format msgid "-50%" msgstr "" -#: rc.cpp:52 +#: lmsensorscfgdesign.ui:451 +#, no-c-format msgid "Panel" msgstr "" -#: rc.cpp:54 rc.cpp:58 rc.cpp:90 +#: lmsensorscfgdesign.ui:494 lmsensorscfgdesign.ui:576 +#: systemcfgdesign.ui:157 +#, no-c-format msgid "Visible" msgstr "" -#: rc.cpp:56 +#: lmsensorscfgdesign.ui:539 +#, no-c-format msgid "Dock" msgstr "" -#: rc.cpp:60 +#: lmsensorscfgdesign.ui:630 +#, no-c-format msgid "Alarm" msgstr "" -#: rc.cpp:63 +#: lmsensorscfgdesign.ui:728 +#, no-c-format msgid "Normal" msgstr "" -#: rc.cpp:64 +#: lmsensorscfgdesign.ui:745 +#, no-c-format msgid "Alarms" msgstr "" -#: rc.cpp:65 +#: lmsensorscfgdesign.ui:756 +#, no-c-format msgid "On reach alarm value:" msgstr "" -#: rc.cpp:66 +#: lmsensorscfgdesign.ui:767 +#, no-c-format msgid "Apply to all sensors" msgstr "" -#: rc.cpp:67 +#: lmsensorscfgdesign.ui:795 +#, no-c-format msgid "Do nothing" msgstr "" -#: rc.cpp:68 +#: lmsensorscfgdesign.ui:809 +#, no-c-format msgid "Test" msgstr "" -#: rc.cpp:69 +#: lmsensorscfgdesign.ui:820 +#, no-c-format msgid "Play alarm sound" msgstr "" -#: rc.cpp:70 +#: lmsensorscfgdesign.ui:834 +#, no-c-format msgid "Run command" msgstr "" -#: rc.cpp:71 rc.cpp:92 +#: lmsensorscfgdesign.ui:948 systemcfgdesign.ui:204 +#, no-c-format msgid "Preferences" msgstr "" -#: rc.cpp:72 +#: lmsensorscfgdesign.ui:959 +#, no-c-format msgid "Temperatures scale" msgstr "" -#: rc.cpp:73 +#: lmsensorscfgdesign.ui:976 +#, no-c-format msgid "Fahrenheit" msgstr "" -#: rc.cpp:74 +#: lmsensorscfgdesign.ui:986 +#, no-c-format msgid "Celsius" msgstr "" -#: rc.cpp:75 +#: lmsensorscfgdesign.ui:997 +#, no-c-format msgid "Kelvin" msgstr "" -#: rc.cpp:76 rc.cpp:93 +#: lmsensorscfgdesign.ui:1024 systemcfgdesign.ui:227 +#, no-c-format msgid "Update interval" msgstr "" -#: rc.cpp:77 rc.cpp:94 +#: lmsensorscfgdesign.ui:1038 systemcfgdesign.ui:248 +#, no-c-format msgid "s" msgstr "" -#: rc.cpp:78 +#: palettecfgdesign.ui:24 +#, no-c-format msgid "PaletteCfg" msgstr "" -#: rc.cpp:79 rc.cpp:84 +#: palettecfgdesign.ui:328 palettecfgdesign.ui:385 +#, no-c-format msgid "Title" msgstr "" -#: rc.cpp:80 +#: palettecfgdesign.ui:349 +#, no-c-format msgid "+3.5V" msgstr "" -#: rc.cpp:81 +#: palettecfgdesign.ui:369 +#, no-c-format msgid "Default colors" msgstr "" -#: rc.cpp:82 +#: palettecfgdesign.ui:375 +#, no-c-format msgid "Background" msgstr "" -#: rc.cpp:85 +#: palettecfgdesign.ui:380 +#, no-c-format +msgid "Border" +msgstr "" + +#: palettecfgdesign.ui:390 +#, no-c-format msgid "Value" msgstr "" -#: rc.cpp:87 +#: systemcfgdesign.ui:16 +#, no-c-format msgid "SystemCfgDesign" msgstr "" -#: rc.cpp:88 +#: systemcfgdesign.ui:45 +#, no-c-format msgid "System Panels" msgstr "" - -#: systemcfg.cpp:47 -msgid "CPU Speed" -msgstr "" - -#: systemcfg.cpp:48 -msgid "CPU State" -msgstr "" - -#: systemcfg.cpp:49 -msgid "RAM Used" -msgstr "" - -#: systemcfg.cpp:50 -msgid "SWAP Used" -msgstr "" - -#: systemcfg.cpp:51 -msgid "Up Time" -msgstr "" - -#: _translatorinfo.cpp:1 -msgid "" -"_: NAME OF TRANSLATORS\n" -"Your names" -msgstr "" - -#: _translatorinfo.cpp:3 -msgid "" -"_: EMAIL OF TRANSLATORS\n" -"Your emails" -msgstr "" diff --git a/po/nl.gmo b/po/nl.gmo Binary files differdeleted file mode 100644 index 42b77e3..0000000 --- a/po/nl.gmo +++ /dev/null diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..b527e4d --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "ksensors" ) |