aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorMatias Linares <matias.linares@comprandoengrupo.net>2024-10-31 09:51:24 -0300
committerMatias Linares <matias.linares@comprandoengrupo.net>2024-10-31 09:52:04 -0300
commitc2c0192561bc50c4c774e42642074e11bee1b1b6 (patch)
tree1412a59f2966aa4125c9022c12596904f8bd7c89 /po
parent10d04e65085712fe9206c08ac9600109a4bcfc8e (diff)
downloadkodereviewer-c2c0192561bc50c4c774e42642074e11bee1b1b6.tar.gz
Add translations
Diffstat (limited to 'po')
-rw-r--r--po/es.po80
-rw-r--r--po/infiles.list19
-rw-r--r--po/merge.sh27
-rw-r--r--po/template.po79
4 files changed, 205 insertions, 0 deletions
diff --git a/po/es.po b/po/es.po
new file mode 100644
index 0000000..bccdac9
--- /dev/null
+++ b/po/es.po
@@ -0,0 +1,80 @@
+# Translation of in es
+# Copyright (C) 2024
+# This file is distributed under the same license as the package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2024-10-31 09:24-0300\n"
+"PO-Revision-Date: 2024-10-31 09:26-0300\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 3.4.2\n"
+
+#: kodereviewer/qml/Main.qml
+msgid "Info"
+msgstr "Info"
+
+#: kodereviewer/qml/Main.qml
+msgid "Comments"
+msgstr "Comentarios"
+
+#: kodereviewer/qml/Main.qml
+msgid "Files"
+msgstr "Archivos"
+
+#: kodereviewer/qml/Main.qml
+msgid "Reviews"
+msgstr "Revisiones"
+
+#: kodereviewer/qml/PullRequestDescription.qml
+msgid "Yes"
+msgstr "Si"
+
+#: kodereviewer/qml/PullRequestDescription.qml
+msgid "No"
+msgstr "No"
+
+#: kodereviewer/qml/ReviewDialog.qml
+msgctxt "@title:window"
+msgid "Review changes"
+msgstr "Revisar cambios"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "General"
+msgstr "General"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "About Kode Reviewer"
+msgstr "Acerca Kode Reviewer"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@title:group"
+msgid "About"
+msgstr "Acerca"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "About KDE"
+msgstr "Acerca KDE"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Welcome to Kode Reviewer"
+msgstr "Bienvenido a Kode Reviewer"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Add new project"
+msgstr "Agregar nuevo projecto"
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Settings"
+msgstr "ConfiguraciĆ³n"
diff --git a/po/infiles.list b/po/infiles.list
new file mode 100644
index 0000000..6a0d0da
--- /dev/null
+++ b/po/infiles.list
@@ -0,0 +1,19 @@
+kodereviewer/qml/AddRepositoryPage.qml
+kodereviewer/qml/CommentDelegate.qml
+kodereviewer/qml/CommentPage.qml
+kodereviewer/qml/Editor.qml
+kodereviewer/qml/FilesChangedPage.qml
+kodereviewer/qml/FilesDrawer.qml
+kodereviewer/qml/FilesView.qml
+kodereviewer/qml/Main.qml
+kodereviewer/qml/MarkdownLabel.qml
+kodereviewer/qml/MarkdownTextArea.qml
+kodereviewer/qml/ProjectListPage.qml
+kodereviewer/qml/PullRequestDescriptionPage.qml
+kodereviewer/qml/PullRequestDescription.qml
+kodereviewer/qml/PullRequestFilesDrawer.qml
+kodereviewer/qml/ReviewDialog.qml
+kodereviewer/qml/ReviewListPage.qml
+kodereviewer/qml/ReviewList.qml
+kodereviewer/qml/SettingsPage.qml
+kodereviewer/qml/WelcomePage.qml
diff --git a/po/merge.sh b/po/merge.sh
new file mode 100644
index 0000000..68dc352
--- /dev/null
+++ b/po/merge.sh
@@ -0,0 +1,27 @@
+#/bin/bash
+DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
+packageRoot="kodereviewer"
+echo "[merge] Extracting messages"
+packageName="org.deprecated.kodereviewer"
+find "${packageRoot}" -name '*.py' -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' -o -name '*.js' | sort > "${DIR}/infiles.list"
+
+
+echo "[merge] Merging messages"
+catalogs=`find . -name '*.po' | sort`
+for cat in $catalogs; do
+ echo "[merge] $cat"
+ catLocale=`basename ${cat%.*}`
+ msgmerge \
+ --width=400 \
+ --add-location=file \
+ --no-fuzzy-matching \
+ -o "$cat.new" \
+ "$cat" "${DIR}/template.po"
+ sed -i 's/# SOME DESCRIPTIVE TITLE./'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
+ sed -i 's/# Translation of '"${widgetName}"' in LANGUAGE/'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
+ sed -i 's/# Copyright (C) YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/'"# Copyright (C) $(date +%Y)"'/' "$cat.new"
+
+ mv "$cat.new" "$cat"
+done
+
+echo "[merge] Done merging messages"
diff --git a/po/template.po b/po/template.po
new file mode 100644
index 0000000..71d0d46
--- /dev/null
+++ b/po/template.po
@@ -0,0 +1,79 @@
+# Translation of in template
+# Copyright (C) 2024
+# This file is distributed under the same license as the package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2024-10-31 09:24-0300\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"
+
+#: kodereviewer/qml/Main.qml
+msgid "Info"
+msgstr ""
+
+#: kodereviewer/qml/Main.qml
+msgid "Comments"
+msgstr ""
+
+#: kodereviewer/qml/Main.qml
+msgid "Files"
+msgstr ""
+
+#: kodereviewer/qml/Main.qml
+msgid "Reviews"
+msgstr ""
+
+#: kodereviewer/qml/PullRequestDescription.qml
+msgid "Yes"
+msgstr ""
+
+#: kodereviewer/qml/PullRequestDescription.qml
+msgid "No"
+msgstr ""
+
+#: kodereviewer/qml/ReviewDialog.qml
+msgctxt "@title:window"
+msgid "Review changes"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "General"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "About Kode Reviewer"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@title:group"
+msgid "About"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgctxt "@action:button"
+msgid "About KDE"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Welcome to Kode Reviewer"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Add new project"
+msgstr ""
+
+#: kodereviewer/qml/WelcomePage.qml
+msgid "Settings"
+msgstr ""