From ad554b48e7dc355d9b33eede98f4e3e829fd867e Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 31 Dec 2024 14:30:16 +0000 Subject: switch to my own translations system i really don't like gettext --- locale/digitigrade.pot | 62 ------------------------- locale/en_GB.json | 17 +++++++ locale/en_GB/LC_MESSAGES/digitigrade.mo | Bin 1270 -> 0 bytes locale/en_GB/LC_MESSAGES/digitigrade.po | 77 -------------------------------- locale/fr_FR.json | 12 +++++ locale/fr_FR/LC_MESSAGES/digitigrade.mo | Bin 839 -> 0 bytes locale/fr_FR/LC_MESSAGES/digitigrade.po | 75 ------------------------------- 7 files changed, 29 insertions(+), 214 deletions(-) delete mode 100644 locale/digitigrade.pot create mode 100644 locale/en_GB.json delete mode 100644 locale/en_GB/LC_MESSAGES/digitigrade.mo delete mode 100644 locale/en_GB/LC_MESSAGES/digitigrade.po create mode 100644 locale/fr_FR.json delete mode 100644 locale/fr_FR/LC_MESSAGES/digitigrade.mo delete mode 100644 locale/fr_FR/LC_MESSAGES/digitigrade.po (limited to 'locale') diff --git a/locale/digitigrade.pot b/locale/digitigrade.pot deleted file mode 100644 index 5fe4841..0000000 --- a/locale/digitigrade.pot +++ /dev/null @@ -1,62 +0,0 @@ -#: templates/actor_profile.php:7 -#, php-format -msgid "Joined on %s" -msgstr "" - -#: templates/actor_profile.php:12 -msgid "Open remote profile page" -msgstr "" - -#: templates/actor_profile.php:19 -msgid "This user hasn't written a bio yet." -msgstr "" - -#: templates/actor_profile_page.php:14 -msgid "This user hasn't posted anything yet." -msgstr "" - -#: templates/global_timeline.php:1 -msgid "Global timeline" -msgstr "" - -#: templates/global_timeline.php:5 -msgid "This timeline shows all known public indexable notes." -msgstr "" - -#: templates/interaction_button.php:4 -msgid "Like" -msgstr "" - -#: templates/interaction_button.php:5 -msgid "Dislike" -msgstr "" - -#: templates/interaction_button.php:6 -msgid "Reshare" -msgstr "" - -#: templates/local_timeline.php:1 -msgid "Local timeline" -msgstr "" - -#: templates/local_timeline.php:5 -msgid "" -"This timeline shows all public indexable notes posted by users on this " -"server." -msgstr "" - -#: templates/placeholder_text.php:1 -msgid "There's nothing here." -msgstr "" - -#: templates/skeleton.php:17 -msgid "Global" -msgstr "" - -#: templates/skeleton.php:18 -msgid "Local" -msgstr "" - -#: templates/skeleton.php:20 -msgid "Digitigrade" -msgstr "" diff --git a/locale/en_GB.json b/locale/en_GB.json new file mode 100644 index 0000000..67a4ec5 --- /dev/null +++ b/locale/en_GB.json @@ -0,0 +1,17 @@ +{ + "user.profile.createdAt": "Joined on %s", + "user.profile.openRemote": "Open remote profile page", + "user.profile.bio.placeholder": "This user hasn't written a bio yet.", + "user.notes.placeholder": "This user hasn't posted anything yet.", + "timeline.global": "Global timeline", + "timeline.global.description": "This timeline shows all known public indexable notes.", + "note.action.like": "Like", + "note.action.dislike": "Dislike", + "note.action.reshare": "Reshare", + "timeline.local": "Local timeline", + "timeline.local.description": "This timeline shows all public indexable notes posted by users on this server.", + "placeholder": "There's nothing here.", + "timeline.global.shortName": "Global", + "timeline.local.shortName": "Local", + "digitigrade": "Digitigrade" +} diff --git a/locale/en_GB/LC_MESSAGES/digitigrade.mo b/locale/en_GB/LC_MESSAGES/digitigrade.mo deleted file mode 100644 index 13b2645..0000000 Binary files a/locale/en_GB/LC_MESSAGES/digitigrade.mo and /dev/null differ diff --git a/locale/en_GB/LC_MESSAGES/digitigrade.po b/locale/en_GB/LC_MESSAGES/digitigrade.po deleted file mode 100644 index 3c5d38a..0000000 --- a/locale/en_GB/LC_MESSAGES/digitigrade.po +++ /dev/null @@ -1,77 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: \n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: en_GB\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.5\n" - -#: templates/actor_profile.php:7 -#, php-format -msgid "Joined on %s" -msgstr "Joined on %s" - -#: templates/actor_profile.php:12 -msgid "Open remote profile page" -msgstr "Open remote profile page" - -#: templates/actor_profile.php:19 -msgid "This user hasn't written a bio yet." -msgstr "This user hasn't written a bio yet." - -#: templates/actor_profile_page.php:14 -msgid "This user hasn't posted anything yet." -msgstr "This user hasn't posted anything yet." - -#: templates/global_timeline.php:1 -msgid "Global timeline" -msgstr "Global timeline" - -#: templates/global_timeline.php:5 -msgid "This timeline shows all known public indexable notes." -msgstr "This timeline shows all known public indexable notes." - -#: templates/interaction_button.php:4 -msgid "Like" -msgstr "Like" - -#: templates/interaction_button.php:5 -msgid "Dislike" -msgstr "Dislike" - -#: templates/interaction_button.php:6 -msgid "Reshare" -msgstr "Reshare" - -#: templates/local_timeline.php:1 -msgid "Local timeline" -msgstr "Local timeline" - -#: templates/local_timeline.php:5 -msgid "" -"This timeline shows all public indexable notes posted by users on this " -"server." -msgstr "" -"This timeline shows all public indexable notes posted by users on this " -"server." - -#: templates/placeholder_text.php:1 -msgid "There's nothing here." -msgstr "There's nothing here." - -#: templates/skeleton.php:17 -msgid "Global" -msgstr "Global" - -#: templates/skeleton.php:18 -msgid "Local" -msgstr "Local" - -#: templates/skeleton.php:20 -msgid "Digitigrade" -msgstr "Digitigrade" diff --git a/locale/fr_FR.json b/locale/fr_FR.json new file mode 100644 index 0000000..bc09a4c --- /dev/null +++ b/locale/fr_FR.json @@ -0,0 +1,12 @@ +{ + "FALLBACK": "en_GB", + "user.profile.createdAt": "Inscrit le %s", + "user.profile.bio.placeholder": "Cet utilisateur n'a pas encore écrit de biographie.", + "user.notes.placeholder": "Cet utilisateur n'a encore rien publié.", + "timeline.global": "Chronologie mondiale", + "timeline.local": "Chronologie locale", + "placeholder": "Il n'y a rien ici.", + "timeline.global.shortName": "Mondiale", + "timeline.local.shortName": "Locale", + "digitigrade": "La Digitigrade 🇫🇷🇫🇷🇫🇷🇫🇷" +} diff --git a/locale/fr_FR/LC_MESSAGES/digitigrade.mo b/locale/fr_FR/LC_MESSAGES/digitigrade.mo deleted file mode 100644 index 7af445c..0000000 Binary files a/locale/fr_FR/LC_MESSAGES/digitigrade.mo and /dev/null differ diff --git a/locale/fr_FR/LC_MESSAGES/digitigrade.po b/locale/fr_FR/LC_MESSAGES/digitigrade.po deleted file mode 100644 index 778f6b0..0000000 --- a/locale/fr_FR/LC_MESSAGES/digitigrade.po +++ /dev/null @@ -1,75 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: \n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.5\n" - -#: templates/actor_profile.php:7 -#, php-format -msgid "Joined on %s" -msgstr "Inscrit le %s" - -#: templates/actor_profile.php:12 -msgid "Open remote profile page" -msgstr "" - -#: templates/actor_profile.php:19 -msgid "This user hasn't written a bio yet." -msgstr "Cet utilisateur n'a pas encore écrit de biographie." - -#: templates/actor_profile_page.php:14 -msgid "This user hasn't posted anything yet." -msgstr "Cet utilisateur n'a encore rien publié." - -#: templates/global_timeline.php:1 -msgid "Global timeline" -msgstr "Chronologie mondiale" - -#: templates/global_timeline.php:5 -msgid "This timeline shows all known public indexable notes." -msgstr "" - -#: templates/interaction_button.php:4 -msgid "Like" -msgstr "" - -#: templates/interaction_button.php:5 -msgid "Dislike" -msgstr "" - -#: templates/interaction_button.php:6 -msgid "Reshare" -msgstr "" - -#: templates/local_timeline.php:1 -msgid "Local timeline" -msgstr "Chronologie locale" - -#: templates/local_timeline.php:5 -msgid "" -"This timeline shows all public indexable notes posted by users on this " -"server." -msgstr "" - -#: templates/placeholder_text.php:1 -msgid "There's nothing here." -msgstr "Il n'y a rien ici." - -#: templates/skeleton.php:17 -msgid "Global" -msgstr "Mondiale" - -#: templates/skeleton.php:18 -msgid "Local" -msgstr "Locale" - -#: templates/skeleton.php:20 -msgid "Digitigrade" -msgstr "La Digitigrade 🇫🇷🇫🇷🇫🇷🇫🇷" -- cgit v1.3