Browse Source

Added translations rules and generated templates.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
master
Mavridis Philippe 7 months ago
parent
commit
18673eca6f
Signed by: blu.256
GPG Key ID: F8D2D7E2F989A494
  1. 23
      CMakeL10n.txt
  2. 8
      src/CMakeL10n.txt
  3. 32
      translations/desktop_files/tdetimer.desktop/tdetimer.desktop.pot
  4. 40
      translations/messages/tdetimer.pot

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

8
src/CMakeL10n.txt

@ -0,0 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/tdetimer" )
tde_l10n_create_template(
CATALOG "desktop_files/tdetimer.desktop/"
SOURCES tdetimer.desktop
)

32
translations/desktop_files/tdetimer.desktop/tdetimer.desktop.pot

@ -0,0 +1,32 @@
# 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: 2021-11-14 21:02+0200\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Comment
#: tdetimer.desktop:5
msgid "A little but handy timer"
msgstr ""
#. Name
#: tdetimer.desktop:7
msgid "TDE Timer"
msgstr ""
#. GenericName
#: tdetimer.desktop:8
msgid "Timer"
msgstr ""

40
translations/messages/tdetimer.pot

@ -0,0 +1,40 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2021-11-14 21:02+0200\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=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: tdetimer.cpp:51
msgid "TDE Timer"
msgstr ""
#: tdetimer.cpp:71
msgid "Are you sure you want to reset the timer and steps?"
msgstr ""
#: tdetimer.cpp:72
msgid "Confirm Reset"
msgstr ""
Loading…
Cancel
Save