Add CMakeL10n rules.

Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 6 years ago
parent b197bb1e72
commit cd615bbae6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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( )

@ -1 +1,6 @@
# 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( )

@ -1,13 +1,11 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-02-21 12:13+0100\n"
"POT-Creation-Date: 2018-12-11 15:31+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"
@ -15,13 +13,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: _translatorinfo.cpp:1
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#: _translatorinfo.cpp:3
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
@ -31,209 +29,209 @@ msgstr ""
msgid "Ready."
msgstr ""
#: knutclient.cpp:218 knutclient.cpp:219
#: knutclient.cpp:217 knutclient.cpp:218
msgid "The connection was renewed."
msgstr ""
#: knutclient.cpp:285
#: knutclient.cpp:284
msgid "The connection failed. The next connection will make after %1 sec."
msgstr ""
#: knutclient.cpp:546
#: knutclient.cpp:547
msgid "upsd > 1.2 doesn't support UDP. Connection is switched to TCP"
msgstr ""
#: knutclient.cpp:688 knutclient.cpp:689
#: knutclient.cpp:689 knutclient.cpp:690
msgid "Data OK"
msgstr ""
#: knutclient.cpp:781 knutclient.cpp:782
#: knutclient.cpp:782 knutclient.cpp:783
msgid "The connection was closed by the second side (upsd)."
msgstr ""
#: knutclient.cpp:798 knutclient.cpp:799
#: knutclient.cpp:799 knutclient.cpp:800
msgid "UPS is off."
msgstr ""
#: knutclient.cpp:802 knutclient.cpp:803
#: knutclient.cpp:803 knutclient.cpp:804
msgid "UPS is back on."
msgstr ""
#: knutclient.cpp:808 knutclient.cpp:809
#: knutclient.cpp:809 knutclient.cpp:810
msgid "Power is back online."
msgstr ""
#: knutclient.cpp:814 knutclient.cpp:815
#: knutclient.cpp:815 knutclient.cpp:816
msgid "UPS is on battery."
msgstr ""
#: knutclient.cpp:820 knutclient.cpp:821
#: knutclient.cpp:821 knutclient.cpp:822
msgid "UPS battery is low."
msgstr ""
#: knutclient.cpp:824 knutclient.cpp:825
#: knutclient.cpp:825 knutclient.cpp:826
msgid "UPS battery is OK."
msgstr ""
#: knutclient.cpp:830 knutclient.cpp:831
#: knutclient.cpp:831 knutclient.cpp:832
msgid "UPS battery is bad and needs be replaced."
msgstr ""
#: knutclient.cpp:836 knutclient.cpp:837
#: knutclient.cpp:837 knutclient.cpp:838
msgid "UPS is overloaded."
msgstr ""
#: knutclient.cpp:840 knutclient.cpp:841
#: knutclient.cpp:841 knutclient.cpp:842
msgid "UPS isn't overloaded."
msgstr ""
#: knutclient.cpp:846 knutclient.cpp:847 knutdock.cpp:449
#: knutclient.cpp:847 knutclient.cpp:848 knutdock.cpp:458
msgid "UPS is performing calibration"
msgstr ""
#: knutclient.cpp:850 knutclient.cpp:851
#: knutclient.cpp:851 knutclient.cpp:852
msgid "Calibration of UPS is ended."
msgstr ""
#: knutclient.cpp:856 knutclient.cpp:857
#: knutclient.cpp:857 knutclient.cpp:858
msgid "UPS is boosting incoming voltage."
msgstr ""
#: knutclient.cpp:860 knutclient.cpp:861
#: knutclient.cpp:861 knutclient.cpp:862
msgid "Boosting of UPS is ended."
msgstr ""
#: knutclient.cpp:866 knutclient.cpp:867
#: knutclient.cpp:867 knutclient.cpp:868
msgid "UPS is trimming incoming voltage."
msgstr ""
#: knutclient.cpp:870 knutclient.cpp:871
#: knutclient.cpp:871 knutclient.cpp:872
msgid "Trimming of UPS is ended."
msgstr ""
#: knutclient.cpp:887 knutclient.cpp:954 knutclient.cpp:963
#: knutclient.cpp:888 knutclient.cpp:955 knutclient.cpp:964
msgid "Switched"
msgstr ""
#: knutclient.cpp:1103 knutdock.cpp:640 knutmainwindow.cpp:781
#: knutclient.cpp:1104 knutdock.cpp:649 knutmainwindow.cpp:781
msgid "Reconnect"
msgstr ""
#: knutdock.cpp:419 knutdock.cpp:469 knutfrontpanel.cpp:192
#: knutdock.cpp:428 knutdock.cpp:478 knutfrontpanel.cpp:192
#: knutnewupsdlg.cpp:69 knutprintupsvar.cpp:78
msgid "Name"
msgstr ""
#: knutdock.cpp:420 knutnewupsdlg.cpp:83
#: knutdock.cpp:429 knutnewupsdlg.cpp:83
msgid "UPS name"
msgstr ""
#: knutdock.cpp:421 knutnewupsdlg.cpp:77
#: knutdock.cpp:430 knutnewupsdlg.cpp:77
msgid "UPS address"
msgstr ""
#: knutdock.cpp:422 knutdock.cpp:443 knutdock.cpp:446 knutdock.cpp:449
#: knutdock.cpp:452 knutdock.cpp:455 knutdock.cpp:458
#: knutdock.cpp:431 knutdock.cpp:452 knutdock.cpp:455 knutdock.cpp:458
#: knutdock.cpp:461 knutdock.cpp:464 knutdock.cpp:467
msgid "Status : "
msgstr ""
#: knutdock.cpp:425 knutvardata.cpp:209
#: knutdock.cpp:434 knutvardata.cpp:209
msgid "Connection doesn't exist."
msgstr ""
#: knutdock.cpp:429 knutfrontpanel.cpp:80
#: knutdock.cpp:438 knutfrontpanel.cpp:80
msgid "UPS On line"
msgstr ""
#: knutdock.cpp:433 knutfrontpanel.cpp:95
#: knutdock.cpp:442 knutfrontpanel.cpp:95
msgid "UPS On battery"
msgstr ""
#: knutdock.cpp:437
#: knutdock.cpp:446
msgid "UPS Of line"
msgstr ""
#: knutdock.cpp:443
#: knutdock.cpp:452
msgid "UPS Battery is low"
msgstr ""
#: knutdock.cpp:446 knutfrontpanel.cpp:138
#: knutdock.cpp:455 knutfrontpanel.cpp:138
msgid "Replace battery"
msgstr ""
#: knutdock.cpp:452
#: knutdock.cpp:461
msgid "UPS is Overload"
msgstr ""
#: knutdock.cpp:455
#: knutdock.cpp:464
msgid "UPS is trimming voltage"
msgstr ""
#: knutdock.cpp:458
#: knutdock.cpp:467
msgid "UPS is boosting voltage"
msgstr ""
#: knutdock.cpp:464
#: knutdock.cpp:473
msgid "Error : "
msgstr ""
#: knutdock.cpp:467 knutfrontpanel.cpp:182
#: knutdock.cpp:476 knutfrontpanel.cpp:182
msgid "Manufac. : "
msgstr ""
#: knutdock.cpp:471
#: knutdock.cpp:480
msgid "Serial"
msgstr ""
#: knutdock.cpp:473
#: knutdock.cpp:482
msgid "Firmware"
msgstr ""
#: knutdock.cpp:477 knutfrontpanel.cpp:233
#: knutdock.cpp:486 knutfrontpanel.cpp:233
msgid "Runtime"
msgstr ""
#: knutdock.cpp:477
#: knutdock.cpp:486
msgid " : %1:%2 min"
msgstr ""
#: knutdock.cpp:482 knutvardata.cpp:45
#: knutdock.cpp:491 knutvardata.cpp:45
msgid "Battery Charge"
msgstr ""
#: knutdock.cpp:487 knutvardata.cpp:48
#: knutdock.cpp:496 knutvardata.cpp:48
msgid "UPS Load"
msgstr ""
#: knutdock.cpp:513 knutmainwindow.cpp:663
#: knutdock.cpp:522 knutmainwindow.cpp:663
msgid "Are you sure ?"
msgstr ""
#: knutdock.cpp:636 knutmainwindow.cpp:748
#: knutdock.cpp:645 knutmainwindow.cpp:748
msgid "&Showing UPS variables and commands"
msgstr ""
#: knutdock.cpp:637 knutmainwindow.cpp:749
#: knutdock.cpp:646 knutmainwindow.cpp:749
msgid "&Running instant commands"
msgstr ""
#: knutdock.cpp:638 knutmainwindow.cpp:750
#: knutdock.cpp:647 knutmainwindow.cpp:750
msgid "Setting R&W variables"
msgstr ""
#: knutdock.cpp:642
#: knutdock.cpp:651
msgid "&Preferences"
msgstr ""
#: knutdock.cpp:644
#: knutdock.cpp:653
msgid "&About KNutClient"
msgstr ""
#: knutdock.cpp:646
#: knutdock.cpp:655
msgid "&Minimize"
msgstr ""
#: knutdock.cpp:648
#: knutdock.cpp:657
msgid "&Exit"
msgstr ""
@ -313,31 +311,31 @@ msgstr ""
msgid "Selected UPS values"
msgstr ""
#: knutnewupsdlg.cpp:134
#: knutnewupsdlg.cpp:137
msgid "UPS Variables"
msgstr ""
#: knutnewupsdlg.cpp:255
#: knutnewupsdlg.cpp:258
msgid "No Name or UPS address"
msgstr ""
#: knutnewupsdlg.cpp:263
#: knutnewupsdlg.cpp:266
msgid "This Name exist"
msgstr ""
#: knutnewupsdlg.cpp:270
#: knutnewupsdlg.cpp:273
msgid "Delay must be number"
msgstr ""
#: knutnewupsdlg.cpp:276
#: knutnewupsdlg.cpp:279
msgid "Port must be number"
msgstr ""
#: knutnewupsdlg.cpp:281
#: knutnewupsdlg.cpp:284
msgid "Port must be from 1025 until 65535"
msgstr ""
#: knutnewupsdlg.cpp:286
#: knutnewupsdlg.cpp:289
msgid "Delay is too small"
msgstr ""
@ -385,6 +383,14 @@ msgstr ""
msgid "Show message window, when program reports error"
msgstr ""
#: knutprefdlg.cpp:541
msgid "Yes"
msgstr ""
#: knutprefdlg.cpp:542
msgid "No"
msgstr ""
#: knutprefdlg.cpp:543
msgid "Auto"
msgstr ""
@ -425,6 +431,14 @@ msgstr ""
msgid "&Add"
msgstr ""
#: knutprefdlg.cpp:647
msgid "&Edit"
msgstr ""
#: knutprefdlg.cpp:648
msgid "&Delete"
msgstr ""
#: knutprefdlg.cpp:667
msgid "Dock bar"
msgstr ""
@ -513,6 +527,10 @@ msgstr ""
msgid "&Manufac. + Model"
msgstr ""
#: knutprefdlg.cpp:851
msgid "Fonts"
msgstr ""
#: knutprefdlg.cpp:851
msgid "Setting Fonts"
msgstr ""
@ -829,8 +847,17 @@ msgstr ""
msgid "KNutClient"
msgstr ""
#. i18n: file ./knutclientui.rc line 13
#: rc.cpp:9
#: knutclientui.rc:4
#, no-c-format
msgid "&File"
msgstr ""
#: knutclientui.rc:9
#, no-c-format
msgid "&Settings"
msgstr ""
#: knutclientui.rc:13
#, no-c-format
msgid "&Connection"
msgstr ""

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "knutclient" )
Loading…
Cancel
Save