summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/generate_translations.js25
-rw-r--r--ui/package.json6
-rw-r--r--ui/src/i18next.ts4
-rw-r--r--ui/src/translations/ca.ts239
-rw-r--r--ui/src/translations/de.ts210
-rw-r--r--ui/src/translations/en.ts240
-rw-r--r--ui/src/translations/eo.ts177
-rw-r--r--ui/src/translations/es.ts242
-rw-r--r--ui/src/translations/fa.ts169
-rw-r--r--ui/src/translations/fi.ts236
-rw-r--r--ui/src/translations/fr.ts242
-rw-r--r--ui/src/translations/it.ts192
-rw-r--r--ui/src/translations/nl.ts234
-rw-r--r--ui/src/translations/pt_br.ts241
-rw-r--r--ui/src/translations/ru.ts170
-rw-r--r--ui/src/translations/sv.ts195
-rw-r--r--ui/src/translations/zh.ts164
-rw-r--r--ui/translation_report.ts62
-rw-r--r--ui/translations/ca.json237
-rw-r--r--ui/translations/de.json208
-rw-r--r--ui/translations/en.json238
-rw-r--r--ui/translations/eo.json175
-rw-r--r--ui/translations/es.json240
-rw-r--r--ui/translations/fa.json167
-rw-r--r--ui/translations/fi.json234
-rw-r--r--ui/translations/fr.json240
-rw-r--r--ui/translations/it.json190
-rw-r--r--ui/translations/nl.json232
-rw-r--r--ui/translations/pt_br.json239
-rw-r--r--ui/translations/ru.json168
-rw-r--r--ui/translations/sv.json193
-rw-r--r--ui/translations/zh.json162
-rw-r--r--ui/yarn.lock8
33 files changed, 2958 insertions, 3021 deletions
diff --git a/ui/generate_translations.js b/ui/generate_translations.js
new file mode 100644
index 00000000..ee55731b
--- /dev/null
+++ b/ui/generate_translations.js
@@ -0,0 +1,25 @@
+fs = require('fs');
+
+fs.mkdirSync('src/translations/', { recursive: true });
+fs.readdir('translations', (err, files) => {
+ files.forEach(filename => {
+ const lang = filename.split('.')[0];
+ try {
+ const json = JSON.parse(
+ fs.readFileSync('translations/' + filename, 'utf8')
+ );
+ var data = `export const ${lang} = {\n translation: {`;
+ for (var key in json) {
+ if (key in json) {
+ const value = json[key].replace(/"/g, '\\"');
+ data = `${data}\n ${key}: "${value}",`;
+ }
+ }
+ data += '\n },\n};';
+ const target = 'src/translations/' + lang + '.ts';
+ fs.writeFileSync(target, data);
+ } catch (err) {
+ console.error(err);
+ }
+ });
+});
diff --git a/ui/package.json b/ui/package.json
index 79756bc6..f0e9f0b7 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -8,6 +8,8 @@
"scripts": {
"build": "node fuse prod",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
+ "prebuild": "node generate_translations.js",
+ "prestart": "node generate_translations.js",
"start": "node fuse dev"
},
"keywords": [],
@@ -54,7 +56,7 @@
"ts-node": "^8.6.2",
"ts-transform-classcat": "^0.0.2",
"ts-transform-inferno": "^4.0.2",
- "typescript": "^3.7.5"
+ "typescript": "^3.8.3"
},
"engines": {
"node": ">=8.9.0"
@@ -62,7 +64,7 @@
"engineStrict": true,
"husky": {
"hooks": {
- "pre-commit": "yarn run ts-node translation_report.ts && git add ../README.md && cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
+ "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
}
},
"lint-staged": {
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts
index 4311b09f..0ee5b1a3 100644
--- a/ui/src/i18next.ts
+++ b/ui/src/i18next.ts
@@ -13,7 +13,7 @@ import { it } from './translations/it';
import { fi } from './translations/fi';
import { ca } from './translations/ca';
import { fa } from './translations/fa';
-import { pt_BR } from './translations/pt_br';
+import { pt_br } from './translations/pt_br';
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
@@ -30,7 +30,7 @@ const resources = {
fi,
ca,
fa,
- pt_BR,
+ pt_br,
};
function format(value: any, format: any, lng: any): any {
diff --git a/ui/src/translations/ca.ts b/ui/src/translations/ca.ts
deleted file mode 100644
index 790a3f9d..00000000
--- a/ui/src/translations/ca.ts
+++ /dev/null
@@ -1,239 +0,0 @@
-export const ca = {
- translation: {
- post: 'Publicar',
- remove_post: 'Eliminar publicació',
- no_posts: 'Sense publicacions.',
- create_a_post: 'Crear una publicació',
- create_post: 'Crear Publicació',
- number_of_posts: '{{count}} Publicacions',
- posts: 'Publicacions',
- related_posts: 'Aquestes publicacions podrien estar relacionades',
- cross_posts: 'Aquest link també ha sigut publicat en:',
- cross_post: 'cross-post',
- comments: 'Comentaris',
- number_of_comments: '{{count}} Comentaris',
- remove_comment: 'Eliminar Comentaris',
- communities: 'Comunitats',
- users: 'Usuaris',
- create_a_community: 'Crear una comunitat',
- create_community: 'Crear Comunitat',
- remove_community: 'Eliminar Comunitat',
- subscribed_to_communities: 'Subscrit a <1>comunitats</1>',
- trending_communities: '<1>Comunitats</1> en tendència',
- list_of_communities: 'Llista de comunitats',
- number_of_communities: '{{count}} Comunitats',
- community_reqs: 'minúscules, guió baix, i sense espais.',
- create_private_message: 'Crear Missatge Privat',
- send_secure_message: 'Enviar Missatge Segur',
- send_message: 'Enviar Missatge',
- message: 'Missatge',
- edit: 'editar',
- reply: 'respondre',
- cancel: 'Cancelar',
- preview: 'Previsualitzar',
- upload_image: 'pujar imatge',
- avatar: 'Avatar',
- upload_avatar: 'Pujar Avatar',
- show_avatars: 'Veure Avatares',
- formatting_help: 'Ajuda de format',
- view_source: 'veure font',
- unlock: 'desbloquejar',
- lock: 'bloquejar',
- sticky: 'fijat',
- unsticky: 'no fijat',
- link: 'link',
- archive_link: 'arxivar link',
- mod: 'moderador',
- mods: 'moderadores',
- moderates: 'Modera',
- settings: 'Configuració',
- remove_as_mod: 'eliminar com moderador',
- appoint_as_mod: 'designar com moderador',
- modlog: 'Historial de moderació',
- admin: 'administrador',
- admins: 'administradors',
- remove_as_admin: 'eliminar com administrador',
- appoint_as_admin: 'designar com administrador',
- remove: 'eliminar',
- removed: 'eliminat',
- locked: 'bloquejat',
- stickied: 'fijat',
- reason: 'Raó',
- mark_as_read: 'marcar com llegit',
- mark_as_unread: 'marcar com no llegit',
- delete: 'eliminar',
- deleted: 'eliminat',
- delete_account: 'Eliminar Compte',
- delete_account_confirm:
- 'Avís: aquesta acció eliminarà permanentment la teva informació. Introdueix la teva contrasenya per a continuar',
- restore: 'restaurar',
- ban: 'expulsar',
- ban_from_site: 'expulsar del lloc',
- unban: 'admetre',
- unban_from_site: 'admetre al lloc',
- banned: 'expulsat',
- save: 'guardar',
- unsave: 'descartar',
- create: 'crear',
- creator: 'creador',
- username: "Nom d'Usuari",
- email_or_username: 'Correu o Usuari',
- number_of_users: '{{count}} Usuaris',
- number_of_subscribers: '{{count}} Subscriptors',
- number_of_points: '{{count}} Punts',
- number_online: '{{count}} Usauris En Línia',
- name: 'Nom',
- title: 'Titol',
- category: 'Categoria',
- subscribers: 'Suscriptors',
- both: 'Ambdos',
- saved: 'Guardat',
- unsubscribe: "Desubscriure's",
- subscribe: "Subscriure's",
- subscribed: 'Subscrit',
- prev: 'Anterior',
- next: 'Següent',
- sidebar: 'Descripció de la comunitat',
- sort_type: "Tipus d'orden",
- hot: 'Popular',
- new: 'Nou',
- top_day: 'El millor del dia',
- week: 'Setmana',
- month: 'Mes',
- year: 'Any',
- all: 'Tot',
- top: 'Millor',
- api: 'API',
- docs: 'Docs',
- inbox: "Bústia d'entrada",
- inbox_for: "Bústia d'entrada per a <1>{{user}}</1>",
- mark_all_as_read: 'marcar tot com llegit',
- type: 'Tipus',
- unread: 'No llegit',
- replies: 'Respostes',
- mentions: 'Menciones',
- reply_sent: 'Resposta enviada',
- message_sent: 'Missatge enviado',
- search: 'Buscar',
- overview: 'Resum',
- view: 'Vista',
- logout: 'Tancar sessió',
- login_sign_up: 'Iniciar sessió / Crear compte',
- login: 'Iniciar sessió',
- sign_up: 'Crear compte',
- notifications_error:
- "Notificacions d'escriptori no disponibles al teu navegador. Prova amb Firefox o Chrome.",
- unread_messages: 'Missatges no llegits',
- messages: 'Missatges',
- password: 'Contrasenya',
- verify_password: 'Verificar Contrasenya',
- old_password: 'Antiga Contrasenya',
- forgot_password: 'oblidí la meva contrasenya',
- reset_password_mail_sent: 'Enviar correu per a restablir la contrasenya.',
- password_change: 'Canvi de Contrasenya',
- new_password: 'Nueva Contrasenya',
- no_email_setup: 'Aquest servidor no ha activat correctament el correu.',
- email: 'Correu electrònic',
- matrix_user_id: 'Usuari Matricial',
- private_message_disclaimer:
- 'Avís: Els missatges privats en Lemmy no són segurs. Sisplau creu un compte en <1>Riot.im</1> per a mensajeria segura.',
- send_notifications_to_email: 'Enviar notificacions al correu',
- optional: 'Opcional',
- expires: 'Expira',
- language: 'Llenguatge',
- browser_default: 'Per defecte del navegador',
- downvotes_disabled: 'Vots negatius deshabilitats',
- enable_downvotes: 'Habilitar vots negatius',
- open_registration: 'Obrir registre',
- registration_closed: 'Registre tancat',
- enable_nsfw: 'Habilitar NSFW',
- url: 'URL',
- body: 'Descripció',
- copy_suggested_title: 'Copiar el títol sugerido: {{title}}',
- community: 'Comunitat',
- expand_here: 'Expandir ací',
- subscribe_to_communities: "Subscriure's a algunes <1>comunitats</1>.",
- chat: 'Chat',
- recent_comments: 'Comentaris recients',
- no_results: 'Sense resultats.',
- setup: 'Configurar',
- lemmy_instance_setup: "Configuració d'instancia de Lemmy",
- setup_admin: 'Configurar administrador del Lloc',
- your_site: 'el teu lloc',
- modified: 'modificat',
- nsfw: 'NSFW',
- show_nsfw: 'Mostrar contingut NSFW',
- theme: 'Tema',
- sponsors: 'Patrocinadors',
- sponsors_of_lemmy: 'Patrocinadors de Lemmy',
- sponsor_message:
- 'Lemmy és programari lliure i de <1>codi obert</1>, la qual cosa significa que no tindrà publicitats, monetització, ni capitals emprenedors, mai. Les teves donacions secunden directament el desenvolupament a temps complet del projecte. Moltes gràcies a les següents persones:',
- support_on_patreon: 'Suport a Patreon',
- donate_to_lemmy: 'Donar a Lemmy',
- donate: 'Donar',
- general_sponsors:
- 'Los Patrocinadores Generales son aquellos que señaron entre $10 y $39 a Lemmy.',
- crypto: 'Crypto',
- bitcoin: 'Bitcoin',
- ethereum: 'Ethereum',
- monero: 'Monero',
- code: 'Codi',
- joined: 'Es va unir',
- by: 'per',
- to: 'a',
- from: 'des de',
- transfer_community: 'transferir comunitat',
- transfer_site: 'transferir lloc',
- are_you_sure: 'Ets segur?',
- yes: 'sí',
- no: 'no',
- powered_by: 'Impulsat per',
- landing_0:
- 'Lemmy és un <1>agregador de links</1> / alternativa a reddit, amb la intenció de funcionar al <2>fedivers</2>.<3></3>És allotjable per un mateix (sense necessitat de grans companyies), té actualització en directe de cadenes de comentaris, i és petit (<4>~80kB</4>). Federar amb el sistema de xarxes ActivityPub forma part dels objectius del projecte. <5></5>Aquesta és una <6>versió beta molt prematura</6>, i actualment moltes de les característiques són trencades o falten. <7></7>Suggereix noves característiques o reporta errors <8>aquí</8>.<9></9>Fet amb <10>Rust</10>, <11>Actix</11>, <12>Inferno</12>, <13>Typescript</13>.',
- not_logged_in: 'No has iniciat sessió.',
- logged_in: 'Has iniciat sessió.',
- community_ban: "Has sigut expulsat d'aquesta comunitat.",
- site_ban: "Has sigut expulsat d'aquest lloc.",
- couldnt_create_comment: "No s'ha pogut crear el comentari.",
- couldnt_like_comment: "No s'ha pogut donar m'agrada al comentari.",
- couldnt_update_comment: "No s'ha pogut actualitzar el comentari.",
- couldnt_save_comment: "No s'ha pogut guardar el comentari.",
- no_comment_edit_allowed: 'No tens permisos per a editar el comentari.',
- no_post_edit_allowed: 'No tens permisos per a editar la publicació.',
- no_community_edit_allowed: 'No tens permisos per a editar la comunitat.',
- couldnt_find_community: "No s'ha pogut trobar la comunitat.",
- couldnt_update_community: "No s'ha pogut actualitzar la comunitat.",
- community_already_exists: 'Aquesta comunitat ja existeix.',
- community_moderator_already_exists:
- 'Aquest moderador de la comunitat ja existeix.',
- community_follower_already_exists:
- 'Aquest seguidor de la comunitat ja existeix.',
- community_user_already_banned:
- 'Aquest usuari de la comunitat ja fou expulsat.',
- couldnt_create_post: "No s'ha pogut crear la publicació.",
- couldnt_like_post: "No s'ha pogut donar m'agrada a la publicació.",
- couldnt_find_post: "No s'ha pogut trobar la publicació.",
- couldnt_get_posts: "No s'han pogut obtindre les publicacions.",
- couldnt_update_post: "No s'ha pogut actualitzar la publicació.",
- couldnt_save_post: "No s'ha pogut guardar la publicació.",
- no_slurs: 'Prohibit insultar.',
- not_an_admin: 'No és un administrador.',
- site_already_exists: 'El lloc ja existeix.',
- couldnt_update_site: "No s'ha pogut actualitzar el lloc.",
- couldnt_find_that_username_or_email:
- "No s'ha pogut trobar aquest nom de usuari o correu electrònic.",
- password_incorrect: 'Contrasenya incorrecta.',
- passwords_dont_match: 'Les contrasenyes no coincideixen.',
- admin_already_created: 'Ho sentim, ja hi ha un adminisitrador.',
- user_already_exists: "L'usuari ja existeix.",
- email_already_exists: 'El correu ja és en ús.',
- couldnt_update_user: "No s'ha pogut actualitzar l'usuari.",
- system_err_login:
- 'Error del sistema. Intenti tancar sessió i ingressar de nou.',
- couldnt_create_private_message: "No s'ha pogut crear el missatge privat.",
- no_private_message_edit_allowed:
- 'Sense permisos per a editar el missatge privat.',
- couldnt_update_private_message:
- "No s'ha pogut actualitzar el missatge privat.",
- },
-};
diff --git a/ui/src/translations/de.ts b/ui/src/translations/de.ts
deleted file mode 100644
index d8a4a850..00000000
--- a/ui/src/translations/de.ts
+++ /dev/null
@@ -1,210 +0,0 @@
-export const de = {
- translation: {
- post: 'post',
- remove_post: 'Beitrag löschen',
- no_posts: 'Keine Beiträge.',
- create_a_post: 'Einen Beitrag anlegen',
- create_post: 'Beitrag anlegen',
- number_of_posts: '{{count}} Beiträge',
- posts: 'Beiträge',
- related_posts: 'Diese Beiträge könnten verwandt sein',
- cross_posts: 'Dieser Link wurde auch veröffentlicht unter:',
- cross_post: 'Crosspost',
- comments: 'Kommentare',
- number_of_comments: '{{count}} Kommentare',
- remove_comment: 'Kommentar löschen',
- communities: 'Communities',
- users: 'Benutzer',
- create_a_community: 'Eine Gemeinschaft anlegen',
- create_community: 'Gemeinschaft anlegen',
- remove_community: 'Gemeinschaft entfernen',
- subscribed_to_communities: 'Abonnierte <1>communities</1>',
- trending_communities: 'Trending <1>communities</1>',
- list_of_communities: 'Liste von communities',
- number_of_communities: '{{count}} Communities',
- community_reqs: 'Kleinbuchstaben, Großbuchstaben und keine Leerzeichen.',
- edit: 'editieren',
- reply: 'antworten',
- cancel: 'Abbrechen',
- preview: 'Vorschau',
- upload_image: 'Bild hochladen',
- formatting_help: 'Formatierungshilfe',
- view_source: 'Quelle anzeigen',
- unlock: 'entsperren',
- lock: 'sperren',
- sticky: 'haftend',
- unsticky: 'nicht haftend',
- link: 'link',
- archive_link: 'Archiv-Link',
- mod: 'Moderator',
- mods: 'Moderatoren',
- moderates: 'Moderiert',
- settings: 'Einstellungen',
- remove_as_mod: 'Als Moderator entfernen',
- appoint_as_mod: 'Zum Moderator ernennen',
- modlog: 'Modlog',
- admin: 'Administrator',
- admins: 'Administratoren',
- remove_as_admin: 'Als Administrator entfernen',
- appoint_as_admin: 'Zum Administrator ernennen',
- remove: 'entfernen',
- removed: 'entfernt',
- locked: 'gesperrt',
- stickied: 'angeheftet',
- reason: 'Grund',
- mark_as_read: 'als gelesen markieren',
- mark_as_unread: 'als ungelesen markieren',
- delete: 'löschen',
- deleted: 'gelöscht',
- delete_account: 'Konto löschen',
- delete_account_confirm:
- 'Achtung: Dadurch werden alle Ihre Daten dauerhaft gelöscht. Geben Sie zur Bestätigung Ihr Passwort ein.',
- restore: 'wiederherstellen',
- ban: 'bannen',
- ban_from_site: 'Von der Seite bannen',
- unban: 'entbannen',
- unban_from_site: 'Von der Seite entbannen',
- banned: 'gesperrt',
- save: 'speichern',
- unsave: 'nicht speichern',
- create: 'anlegen',
- creator: 'Ersteller',
- username: 'Benutzername',
- email_or_username: 'E-mail oder Username',
- number_of_users: '{{count}} Benutzer',
- number_of_subscribers: '{{count}} Abonnenten',
- number_of_points: '{{count}} Punkte',
- number_online: '{{count}} Benutzer online',
- name: 'Name',
- title: 'Titel',
- category: 'Kategorie',
- subscribers: 'Abonnenten',
- both: 'Beide',
- saved: 'Gespeichert',
- unsubscribe: 'Abbestellen',
- subscribe: 'Abonnieren',
- subscribed: 'Abonniert',
- prev: 'Zurück',
- next: 'Weiter',
- sidebar: 'Seitenleiste',
- sort_type: 'Sortieren nach',
- hot: 'Hot',
- new: 'Neu',
- top_day: 'Top täglich',
- week: 'Woche',
- month: 'Monat',
- year: 'Jahr',
- all: 'Alle',
- top: 'Top',
- api: 'API',
- inbox: 'Posteingang',
- inbox_for: 'Posteingang für <1>{{user}}</1>',
- mark_all_as_read: 'Alle als gelesen markieren',
- type: 'Typ',
- unread: 'Ungelesen',
- replies: 'Antworten',
- mentions: 'Erwähnung',
- reply_sent: 'Antwort gesendet',
- search: 'Suchen',
- overview: 'Übersicht',
- view: 'Ansicht',
- logout: 'Ausloggen',
- login_sign_up: 'Einloggen / Registrieren',
- notifications_error:
- 'Desktop-Benachrichtigungen sind in deinem browser nicht verfügbar. Versuche Firefox oder Chrome.',
- unread_messages: 'Ungelesene Nachrichten',
- password: 'Passwort',
- verify_password: 'Passwort überprüfen',
- forgot_password: 'Passwort vergessen',
- reset_password_mail_sent:
- 'Eine E-Mail wurde geschickt, um dein Passwort zurückzusetzen.',
- password_change: 'Passwort geändert',
- new_password: 'neues Passwort',
- no_email_setup: 'Dieser Server hat E-Mails nicht korrekt eingerichtet.',
- login: 'Einloggen',
- sign_up: 'Registrieren',
- email: 'E-Mail',
- optional: 'optional',
- expires: 'Ablaufdatum',
- language: 'Sprache',
- browser_default: 'Standard-Browser',
- url: 'URL',
- body: 'Text',
- copy_suggested_title: 'Vorgeschlagenen Titel übernehmen: {{title}}',
- community: 'Gemeinschaft',
- expand_here: 'hier erweitern',
- subscribe_to_communities: 'Abonniere ein paar <1>communities</1>.',
- chat: 'Chat',
- recent_comments: 'Neueste Kommentare',
- no_results: 'Keine Ergebnisse.',
- setup: 'Einrichten',
- lemmy_instance_setup: 'Lemmy Instanz Einrichten',
- setup_admin: 'Seiten Administrator konfigurieren',
- your_site: 'deine Seite',
- modified: 'verändert',
- nsfw: 'NSFW',
- show_nsfw: 'NSFW-Inhalte anzeigen',
- theme: 'Aussehen',
- sponsors: 'Sponsoren',
- sponsors_of_lemmy: 'Sponsoren von Lemmy',
- sponsor_message:
- 'Lemmy ist freie <1>Open-Source</1> Software, also ohne Werbung, Monetarisierung oder Venturekapital, Punkt. Deine Spenden gehen direkt an die Vollzeit Entwicklung des Projekts. Vielen Dank an die folgenden Personen:',
- support_on_patreon: 'Auf Patreon unterstützen',
- support_on_liberapay: 'Auf Liberapay unterstützen',
- general_sponsors:
- 'Allgemeine Sponsoren sind die, die zwischen $10 und $39 zu Lemmy beitragen.',
- crypto: 'Kryptowährung',
- bitcoin: 'Bitcoin',
- ethereum: 'Ethereum',
- monero: 'Monero',
- code: 'Code',
- joined: 'beigetreten',
- by: 'von',
- to: 'bis',
- transfer_community: 'Gemeinschaft übertragen',
- transfer_site: 'Transferseite',
- are_you_sure: 'Bist du sicher?',
- yes: 'Ja',
- no: 'Nein',
- powered_by: 'Bereitgestellt durch',
- landing_0:
- 'Lemmy ist ein <1>Link-Aggregator</1> / Reddit Alternative im <2>Fediverse</2>.<3></3>Es ist selbst-hostbar, hat live-updates von Kommentar-threads und ist winzig (<4>~80kB</4>). Federation in das ActivityPub Netzwerk ist geplant. <5></5>Dies ist eine <6>sehr frühe Beta Version</6>, und viele Features funktionieren zurzeit nicht richtig oder fehlen. <7></7>Schlage neue Features vor oder melde Bugs <8>hier.</8><9></9>Gebaut mit <10>Rust</10>, <11>Actix</11>, <12>Inferno</12>, <13>Typescript</13>.',
- not_logged_in: 'Nicht eingeloggt.',
- community_ban: 'Du wurdest von dieser Gemeinschaft gebannt.',
- site_ban: 'Du wurdest von dieser Seite gebannt',
- couldnt_create_comment: 'Konnte Kommentar nicht anlegen.',
- couldnt_like_comment: 'Konnte nicht liken.',
- couldnt_update_comment: 'Konnte Kommentar nicht aktualisieren.',
- couldnt_save_comment: 'Konnte Kommentar nicht speichern.',
- no_comment_edit_allowed: 'Keine Erlaubnis Kommentar zu editieren.',
- no_post_edit_allowed: 'Keine Erlaubnis Beitrag zu editieren.',
- no_community_edit_allowed: 'Keine Erlaubnis Gemeinschaft zu editieren.',
- couldnt_find_community: 'Konnte Gemeinschaft nicht finden.',
- couldnt_update_community: 'Konnte Gemeinschaft nicht aktualisieren.',
- community_already_exists: 'Gemeinschaft existiert bereits.',
- community_moderator_already_exists:
- 'Gemeinschaft Moderator existiert bereits.',
- community_follower_already_exists:
- 'Gemeinschaft Follower existiert bereits.',
- community_user_already_banned: 'Gemeinschaft Nutzer schon gebannt.',
- couldnt_create_post: 'Konnte Beitrag nicht anlegen.',
- couldnt_like_post: 'Konnte Beitrag nicht liken.',
- couldnt_find_post: 'Konnte Beitrag nicht finden.',
- couldnt_get_posts: 'Konnte Beiträge nicht holen.',
- couldnt_update_post: 'Konnte Beitrag nicht aktualisieren.',
- couldnt_save_post: 'Konnte Beitrag nicht speichern.',
- no_slurs: 'Keine Beleidigungen.',
- not_an_admin: 'Kein Administrator.',
- site_already_exists: 'Seite existiert bereits.',
- couldnt_update_site: 'Konnte Seite nicht aktualisieren.',
- couldnt_find_that_username_or_email:
- 'Konnte Username oder E-Mail nicht finden.',
- password_incorrect: 'Passwort falsch.',
- passwords_dont_match: 'Passwörter stimmen nicht überein.',
- admin_already_created: 'Entschuldigung, es gibt schon einen Administrator.',
- user_already_exists: 'Nutzer existiert bereits.',
- couldnt_update_user: 'Konnte Nutzer nicht aktualisieren',
- system_err_login:
- 'Systemfehler. Versuche dich aus- und wieder einzuloggen.',
- },
-};
diff --git a/ui/src/translations/en.ts b/ui/src/translations/en.ts
deleted file mode 100644
index 788bce79..00000000
--- a/ui/src/translations/en.ts
+++ /dev/null
@@ -1,240 +0,0 @@
-export const en = {
- translation: {
- post: 'post',
- remove_post: 'Remove Post',
- no_posts: 'No Posts.',
- create_a_post: 'Create a post',
- create_post: 'Create Post',
- number_of_posts: '{{count}} Posts',
- posts: 'Posts',
- related_posts: 'These posts might be related',
- cross_posts: 'This link has also been posted to:',
- cross_post: 'cross-post',
- cross_posted_to: 'cross-posted to: ',
- comments: 'Comments',
- number_of_comments: '{{count}} Comments',
- remove_comment: 'Remove Comment',
- communities: 'Communities',
- users: 'Users',
- create_a_community: 'Create a community',
- create_community: 'Create Community',
- remove_community: 'Remove Community',
- subscribed_to_communities: 'Subscribed to <1>communities</1>',
- trending_communities: 'Trending <1>communities</1>',
- list_of_communities: 'List of communities',
- number_of_communities: '{{count}} Communities',
- community_reqs: 'lowercase, underscores, and no spaces.',
- create_private_message: 'Create Private Message',
- send_secure_message: 'Send Secure Message',
- send_message: 'Send Message',
- message: 'Message',
- edit: 'edit',
- reply: 'reply',
- cancel: 'Cancel',
- preview: 'Preview',
- upload_image: 'upload image',
- avatar: 'Avatar',
- upload_avatar: 'Upload Avatar',
- show_avatars: 'Show Avatars',
- formatting_help: 'formatting help',
- view_source: 'view source',
- unlock: 'unlock',
- lock: 'lock',
- sticky: 'sticky',
- unsticky: 'unsticky',
- link: 'link',
- archive_link: 'archive link',
- mod: 'mod',
- mods: 'mods',
- moderates: 'Moderates',
- settings: 'Settings',
- remove_as_mod: 'remove as mod',
- appoint_as_mod: 'appoint as mod',
- modlog: 'Modlog',
- admin: 'admin',
- admins: 'admins',
- remove_as_admin: 'remove as admin',
- appoint_as_admin: 'appoint as admin',
- remove: 'remove',
- removed: 'removed',
- locked: 'locked',
- stickied: 'stickied',
- reason: 'Reason',
- mark_as_read: 'mark as read',
- mark_as_unread: 'mark as unread',
- delete: 'delete',
- deleted: 'deleted',
- delete_account: 'Delete Account',
- delete_account_confirm:
- 'Warning: this will permanently delete all your data. Enter your password to confirm.',
- restore: 'restore',
- ban: 'ban',
- ban_from_site: 'ban from site',
- unban: 'unban',
- unban_from_site: 'unban from site',
- banned: 'banned',
- save: 'save',
- unsave: 'unsave',
- create: 'create',
- creator: 'creator',
- username: 'Username',
- email_or_username: 'Email or Username',
- number_of_users: '{{count}} Users',
- number_of_subscribers: '{{count}} Subscribers',
- number_of_points: '{{count}} Points',
- number_online: '{{count}} Users Online',
- name: 'Name',
- title: 'Title',
- category: 'Category',
- subscribers: 'Subscribers',
- both: 'Both',
- saved: 'Saved',
- unsubscribe: 'Unsubscribe',
- subscribe: 'Subscribe',
- subscribed: 'Subscribed',
- prev: 'Prev',
- next: 'Next',
- sidebar: 'Sidebar',
- sort_type: 'Sort type',
- hot: 'Hot',
- new: 'New',
- old: 'Old',
- top_day: 'Top day',
- week: 'Week',
- month: 'Month',
- year: 'Year',
- all: 'All',
- top: 'Top',
- api: 'API',
- docs: 'Docs',
- inbox: 'Inbox',
- inbox_for: 'Inbox for <1>{{user}}</1>',
- mark_all_as_read: 'mark all as read',
- type: 'Type',
- unread: 'Unread',
- replies: 'Replies',
- mentions: 'Mentions',
- reply_sent: 'Reply sent',
- message_sent: 'Message sent',
- search: 'Search',
- overview: 'Overview',
- view: 'View',
- logout: 'Logout',
- login_sign_up: 'Login / Sign up',
- login: 'Login',
- sign_up: 'Sign Up',
- notifications_error:
- 'Desktop notifications not available in your browser. Try Firefox or Chrome.',
- unread_messages: 'Unread Messages',
- messages: 'Messages',
- password: 'Password',
- verify_password: 'Verify Password',
- old_password: 'Old Password',
- forgot_password: 'forgot password',
- reset_password_mail_sent: 'Sent an Email to reset your password.',
- password_change: 'Password Change',
- new_password: 'New Password',
- no_email_setup: "This server hasn't correctly set up email.",
- email: 'Email',
- matrix_user_id: 'Matrix User',
- private_message_disclaimer:
- 'Warning: Private messages in Lemmy are not secure. Please create an account on <1>Riot.im</1> for secure messaging.',
- send_notifications_to_email: 'Send notifications to Email',
- optional: 'Optional',
- expires: 'Expires',
- language: 'Language',
- browser_default: 'Browser Default',
- downvotes_disabled: 'Downvotes disabled',
- enable_downvotes: 'Enable Downvotes',
- open_registration: 'Open Registration',
- registration_closed: 'Registration closed',
- enable_nsfw: 'Enable NSFW',
- url: 'URL',
- body: 'Body',
- copy_suggested_title: 'copy suggested title: {{title}}',
- community: 'Community',
- expand_here: 'Expand here',
- subscribe_to_communities: 'Subscribe to some <1>communities</1>.',
- chat: 'Chat',
- recent_comments: 'Recent Comments',
- no_results: 'No results.',
- setup: 'Setup',
- lemmy_instance_setup: 'Lemmy Instance Setup',
- setup_admin: 'Set Up Site Administrator',
- your_site: 'your site',
- modified: 'modified',
- nsfw: 'NSFW',
- show_nsfw: 'Show NSFW content',
- theme: 'Theme',
- sponsors: 'Sponsors',
- sponsors_of_lemmy: 'Sponsors of Lemmy',
- sponsor_message:
- 'Lemmy is free, <1>open-source</1> software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project. Thank you to the following people:',
- support_on_patreon: 'Support on Patreon',
- support_on_liberapay: 'Support on Liberapay',
- donate_to_lemmy: 'Donate to Lemmy',
- donate: 'Donate',
- general_sponsors:
- 'General Sponsors are those that pledged $10 to $39 to Lemmy.',
- crypto: 'Crypto',
- bitcoin: 'Bitcoin',
- ethereum: 'Ethereum',
- monero: 'Monero',
- code: 'Code',
- joined: 'Joined',
- by: 'by',
- to: 'to',
- from: 'from',
- transfer_community: 'transfer community',
- transfer_site: 'transfer site',
- are_you_sure: 'are you sure?',
- yes: 'yes',
- no: 'no',
- powered_by: 'Powered by',
- landing_0:
- "Lemmy is a <1>link aggregator</1> / reddit alternative, intended to work in the <2>fediverse</2>.<3></3>It's self-hostable, has live-updating comment threads, and is tiny (<4>~80kB</4>). Federation into the ActivityPub network is on the roadmap. <5></5>This is a <6>very early beta version</6>, and a lot of features are currently broken or missing. <7></7>Suggest new features or report bugs <8>here.</8><9></9>Made with <10>Rust</10>, <11>Actix</11>, <12>Inferno</12>, <13>Typescript</13>.",
- not_logged_in: 'Not logged in.',
- logged_in: 'Logged in.',
- community_ban: 'You have been banned from this community.',
- site_ban: 'You have been banned from the site',
- couldnt_create_comment: "Couldn't create comment.",
- couldnt_like_comment: "Couldn't like comment.",
- couldnt_update_comment: "Couldn't update comment.",
- couldnt_save_comment: "Couldn't save comment.",
- couldnt_get_comments: "Couldn't get comments.",