Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatrick <patrick@westberliner.net>2021-02-27 18:15:12 +0300
committerpatrick <patrick@westberliner.net>2021-02-27 18:15:12 +0300
commit398f347b54beb174160db612bd61d060ab967c24 (patch)
tree75d728544ac22300863d955fbcec2192234ae827
parenta7b6d5eaa319574de35fd60fecf216fedb5ff015 (diff)
Adding possibility to translate via transifex.
-rw-r--r--.l10nignore3
-rw-r--r--.tx/config9
-rw-r--r--l10n/.gitkeep0
-rw-r--r--translationfiles/templates/checksum.pot47
4 files changed, 59 insertions, 0 deletions
diff --git a/.l10nignore b/.l10nignore
new file mode 100644
index 0000000..697c83e
--- /dev/null
+++ b/.l10nignore
@@ -0,0 +1,3 @@
+#webpack bundled files
+js/
+README.md
diff --git a/.tx/config b/.tx/config
new file mode 100644
index 0000000..2177e7f
--- /dev/null
+++ b/.tx/config
@@ -0,0 +1,9 @@
+[main]
+host = https://www.transifex.com
+lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja
+
+[nextcloud.checksum]
+file_filter = translationfiles/<lang>/checksum.po
+source_file = translationfiles/templates/checksum.pot
+source_lang = en
+type = PO
diff --git a/l10n/.gitkeep b/l10n/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/l10n/.gitkeep
diff --git a/translationfiles/templates/checksum.pot b/translationfiles/templates/checksum.pot
new file mode 100644
index 0000000..6a57dc1
--- /dev/null
+++ b/translationfiles/templates/checksum.pot
@@ -0,0 +1,47 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the Nextcloud package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: Nextcloud 3.14159\n"
+"Report-Msgid-Bugs-To: translations\\@example.com\n"
+"POT-Creation-Date: 2021-02-27 16:07+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"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: lib/Controller/ChecksumController.php:69
+#, php-format
+msgid "The algorithm type \"%s\" is not a valid or supported algorithm type."
+msgstr ""
+
+#: lib/Controller/ChecksumController.php:89
+msgid "File not found."
+msgstr ""
+
+msgid "Checksum"
+msgstr ""
+
+msgid "Creating a hash checksum of a file."
+msgstr ""
+
+msgid ""
+"Allows users to create a hash checksum of a file.\n"
+" Possible algorithms are md5, sha1, sha256, sha384, sha512 and "
+"crc32.\n"
+"\n"
+" Just open the details view of the file (Sidebar). There should be a "
+"new tab called \"Checksum\".\n"
+" Select a algorithm and it will try to generate a hash.\n"
+" If you want an other algorithm, just click on the reload button."
+msgstr ""
+
+msgid "Choose Algorithm"
+msgstr ""