diff --git a/po/LINGUAS b/po/LINGUAS index 7673daa..27e468c 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1 +1,2 @@ de +nb \ No newline at end of file diff --git a/po/de.po b/po/de.po index f6bdfd8..69f98d6 100644 --- a/po/de.po +++ b/po/de.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Hieroglyphic\n" -"Report-Msgid-Bugs-To: https://github.com/FineFindus/Hieroglyphic\n" -"POT-Creation-Date: 2024-03-05 13:34+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-03-06 22:52+0100\n" "PO-Revision-Date: 2024-03-05 15:19+0100\n" "Last-Translator: FineFindus \n" "Language-Team: \n" @@ -44,8 +44,8 @@ msgid "" "LaTeX symbols by sketching." msgstr "" "LaTeX-Nutzer wissen, wie herausfordernd es sein kann, sich die Namen aller " -"Symbole zu merken. Mit Hieroglyphic ist es möglich in über 1000 " -"verschiedene LaTeX-Symbole durch Skizzieren suchen." +"Symbole zu merken. Mit Hieroglyphic ist es möglich in über 1000 verschiedene " +"LaTeX-Symbole durch Skizzieren suchen." #: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:25 msgid "Main Window" diff --git a/po/hieroglyphic.pot b/po/hieroglyphic.pot new file mode 100644 index 0000000..a40d42e --- /dev/null +++ b/po/hieroglyphic.pot @@ -0,0 +1,73 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the hieroglyphic package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hieroglyphic\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-03-06 22:53+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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" + +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:3 +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:8 +#: src/about_window.rs:33 src/main.rs:23 +msgid "Hieroglyphic" +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:4 +msgid "Search through over 1000 different LaTeX symbols by sketching" +msgstr "" + +#. Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:10 +msgid "GTK;Tools;LaTeX;TeX;Symbols;" +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:9 +msgid "Find LaTeX symbols" +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:19 +msgid "" +"If you work with LaTeX, you know its difficult to memorize the names of all " +"the symbols. Hieroglyphic allows you to search through over 1000 different " +"LaTeX symbols by sketching." +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:25 +msgid "Main Window" +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:29 +msgid "Main Window (Adwaita-Dark)" +msgstr "" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:45 +msgid "Initial release" +msgstr "" + +#: data/resources/ui/window.ui:28 +msgid "About" +msgstr "" + +#: data/resources/ui/window.ui:85 +msgid "_Clear" +msgstr "" + +#. Translators: This should not be translate, Please enter your credits here instead (format: "Name https://example.com" or "Name ", no quotes) +#: src/about_window.rs:39 +msgid "translator-credits" +msgstr "" + +#: src/window.rs:315 +msgid "Copied “{}”" +msgstr "" diff --git a/po/nb.po b/po/nb.po new file mode 100644 index 0000000..7f39c07 --- /dev/null +++ b/po/nb.po @@ -0,0 +1,78 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the hieroglyphic package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hieroglyphic\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-03-06 22:53+0100\n" +"PO-Revision-Date: 2024-03-06 23:10+0100\n" +"Last-Translator: Brage \n" +"Language-Team: \n" +"Language: nb\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" + +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:3 +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:8 +#: src/about_window.rs:33 src/main.rs:23 +msgid "Hieroglyphic" +msgstr "Hieroglyphic" + +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:4 +msgid "Search through over 1000 different LaTeX symbols by sketching" +msgstr "Finn riktig spesialtegn" + +#. Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! +#: data/io.github.finefindus.Hieroglyphic.desktop.in.in:10 +msgid "GTK;Tools;LaTeX;TeX;Symbols;" +msgstr "LaTeX;tegn;spesialtegn;symbol;sett inn;innsetting;TeX;" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:9 +msgid "Find LaTeX symbols" +msgstr "Finn riktig spesialtegn" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:19 +msgid "" +"If you work with LaTeX, you know its difficult to memorize the names of all " +"the symbols. Hieroglyphic allows you to search through over 1000 different " +"LaTeX symbols by sketching." +msgstr "" +"Hieroglyphic lar deg jobbe med LaTeX uten å måtte pugge en endeløs rekke " +"med navn. Bare strek opp tegnet du trenger på skjermen, og la Hieroglyphic " +"søke etter det i en imponerende samling på over 1000 forskjellige " +"spesialtegn." + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:25 +msgid "Main Window" +msgstr "Hovedvindu" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:29 +msgid "Main Window (Adwaita-Dark)" +msgstr "Hovedvindu i mørk modus" + +#: data/io.github.finefindus.Hieroglyphic.metainfo.xml.in.in:45 +msgid "Initial release" +msgstr "Første utgivelse" + +#: data/resources/ui/window.ui:28 +msgid "About" +msgstr "Om Hieroglyphic" + +#: data/resources/ui/window.ui:85 +msgid "_Clear" +msgstr "_Tøm" + +#. Translators: This should not be translate, Please enter your credits here instead (format: "Name https://example.com" or "Name ", no quotes) +#: src/about_window.rs:39 +msgid "translator-credits" +msgstr "Brage Fuglseth https://bragefuglseth.dev" + +#: src/window.rs:315 +msgid "Copied “{}”" +msgstr "«{}» kopiert til utklippstavlen" diff --git a/update-translations.sh b/update-translations.sh new file mode 100755 index 0000000..fb3947f --- /dev/null +++ b/update-translations.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +BUILD_DIR="translation-build/" +if [ -d "$BUILD_DIR" ]; then + rm -r translation-build +fi + +meson translation-build +meson compile -C translation-build hieroglyphic-pot +meson compile -C translation-build hieroglyphic-update-po + +rm -r translation-build