From c0177074ec2409acce454e2168918d5597796896 Mon Sep 17 00:00:00 2001 From: Samarul <39216570+samarulmeu@users.noreply.github.com> Date: Wed, 13 Oct 2021 10:26:46 +0300 Subject: [PATCH] Add Romanian localization --- lib/i18n.ts | 1 + locales/ro/common.json | 88 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 locales/ro/common.json diff --git a/lib/i18n.ts b/lib/i18n.ts index 9397c4d11..81182c008 100644 --- a/lib/i18n.ts +++ b/lib/i18n.ts @@ -45,6 +45,7 @@ const dateFormat: Intl.DateTimeFormatOptions = { const dateFormatters = { en: new Intl.DateTimeFormat('en', dateFormat), pl: new Intl.DateTimeFormat('pl', dateFormat), + ro: new Intl.DateTimeFormat('ro', dateFormat), } as const; export const useDateFormatter = () => { diff --git a/locales/ro/common.json b/locales/ro/common.json new file mode 100644 index 000000000..ebdc082d0 --- /dev/null +++ b/locales/ro/common.json @@ -0,0 +1,88 @@ +{ + "reactions": { + "0": "{{count}} reacții", + "one": "{{count}} reacție", + "few": "{{count}} reacții", + "other": "{{count}} reacții" + }, + "comment": "Comentariu", + "comments": { + "0": "{{count}} comentarii", + "one": "{{count}} comentariu", + "few": "{{count}} comentarii", + "other": "{{count}} comentarii" + }, + "reply": "Răspunde", + "replies": { + "0": "{{count}} răspunsuri", + "one": "{{count}} răspuns", + "few": "{{count}} răspunsuri", + "other": "{{count}}{{plus}} răspunsuri" + }, + "upvotes": { + "0": "{{count}} voturi", + "one": "{{count}} vot", + "few": "{{count}} voturi", + "other": "{{count}} voturi" + }, + "hiddenItems": { + "0": "{{count}} elemente ascunse", + "one": "{{count}} element ascuns", + "few": "{{count}} elemente ascunse", + "other": "{{count}} elemente ascunse" + }, + "genericError": "A apărut o eroare{{message}}", + "loadMore": "Se încarcă mai multe", + "loading": "Încărcare", + "loadingComments": "Încărcare comentarii…", + "loadingPreview": "Încărcare previzualizare…", + "poweredBy": "– oferit de", + "showPreviousReplies": { + "0": "Arată {{count}} răspunsuri anterioare", + "one": "Arată {{count}} răspuns anterior", + "few": "Arată {{count}} răspunsuri anterioare", + "other": "Arată {{count}} răspunsuri anterioare" + }, + "seePreviousRepliesOnGitHub": { + "0": "Vezi {{count}} răspunsuri anterioare la GitHub", + "one": "Vezi {{count}} răspuns anterior la GitHub", + "few": "Vezi {{count}} răspunsuri anterioare la GitHub", + "other": "Vezi {{count}} răspunsuri anterioare la GitHub" + }, + "edited": "editat", + "thisCommentWasDeleted": "Acest comentariu a fost șters.", + "thisCommentWasMinimized": "Acest comentariu a fost minimalizat.", + "thisCommentWasHidden": "Acest comentariu a fost ascuns.", + "write": "Scrie", + "preview": "Previzualizează", + "lastEditedAt": "Ultima modificare la {{date}}", + "writeAComment": "Scrie un comentariu", + "signInToComment": "Loghează-te pentru a comenta", + "stylingWithMarkdownIsSupported": "Markdown poate fi folosit pentru stilizare", + "cancel": "Anulare", + "signInWithGitHub": "Logare prin GitHub", + "writeAReply": "Scrie un răspuns", + + "pleaseWait": "Te rog așteaptă", + "pickYourReaction": "Alege reacția", + "signIn": "Logare", + "toAddYourReaction": "pentru a adăuga reacția", + "youMustBeSignedInToAddReactions": "Trebuie să fii logat pentru a adăuga reacții.", + "peopleReactedWith": { + "0": "{{count}} persoare au reacționat folosind {{reaction}} {{emoji}}", + "one": "{{count}} persoană a reacționat folosind {{reaction}} {{emoji}}", + "few": "{{count}} persoane au reacționat folosind {{reaction}} {{emoji}}", + "other": "{{count}} persoane au reacționat folosind {{reaction}} {{emoji}}" + }, + "emoji": "emoji", + "nothingToPreview": "Nimic de previzualizat", + + "+1": "+1", + "-1": "-1", + "Laugh": "Râset", + "Hooray": "Urale", + "Confused": "Confuz", + "Love": "Iubesc", + "Rocket": "Rachetă", + "Eyes": "Ochi" +}