forked from zoeyfyi/TeX-Match
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add Norwegian Bokmål translations and set up translation …
…infrastructure (#1)
- Loading branch information
1 parent
9189da0
commit 458aeac
Showing
5 changed files
with
168 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
de | ||
nb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <EMAIL@ADDRESS>, 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 <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" | ||
"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 <email@example.com>", no quotes) | ||
#: src/about_window.rs:39 | ||
msgid "translator-credits" | ||
msgstr "" | ||
|
||
#: src/window.rs:315 | ||
msgid "Copied “{}”" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <EMAIL@ADDRESS>, 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 <bragefuglseth@gnome.org>\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 <email@example.com>", 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |