Migrate more strings

This commit is contained in:
shilangyu 2021-03-03 12:20:27 +01:00
parent b9e042b1d7
commit 191991519a
31 changed files with 331 additions and 48 deletions

View File

@ -62,5 +62,12 @@
"email_already_exists": "عنوان البريد الإلكتروني هذا موجود بالفعل.",
"user_already_exists": "هذا المستخدِم موجود بالفعل.",
"unsubscribe": "إلغاء الإشتراك",
"subscribe": "اتبع"
"subscribe": "اتبع",
"messages": "لرسائل",
"banned_users": "المستخدمون المحظورون",
"new_password": "لكلمة السرية الجديدة",
"verify_password": "تأكيد الكلمة السرية",
"old_password": "الكلمة السرية القديمة",
"show_avatars": "إظهار الصور الرمزية",
"search": "البحث"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} Publicació} other{{count} Publicacions}}",
"number_of_subscribers": "{count,plural, =1{{count} subscriptor} other{{count} subscriptors}}",
"unsubscribe": "Dónat de baixa",
"subscribe": "Subscriu-thi"
"subscribe": "Subscriu-thi",
"number_of_users": "{count,plural, =1{{count} usuari} other{{count} usuaris}}",
"messages": "Missatges",
"banned_users": "Usuaris expulsats",
"delete_account_confirm": "Atenció: aquesta acció suprimirà permanentment la vostra informació. Introduïu la vostra contrasenya per a confirmar.",
"new_password": "Contrasenya nova",
"verify_password": "Verifica la contrasenya",
"old_password": "Contrasenya antiga",
"show_avatars": "Mostra els avatars",
"search": "Cerca"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} Indlæg} other{{count} Indlæg}}",
"number_of_subscribers": "{count,plural, =1{{count} Abonnent} other{{count} Abonnenter}}",
"unsubscribe": "Afmeld abbonement",
"subscribe": "Abboner"
"subscribe": "Abboner",
"number_of_users": "{count,plural, =1{{count} Bruger} other{{count} Brugere}}",
"messages": "Beskeder",
"banned_users": "Udelukkede Brugere",
"delete_account_confirm": "Advarsel: Dette vil slette alle dine data. Indtast adgangskode for at bekræfte.",
"new_password": "Nyt Kodeord",
"verify_password": "Check Kodeord",
"old_password": "Tidligere Kodeord",
"show_avatars": "Vis Avatarer",
"search": "Søg"
}

View File

@ -107,5 +107,14 @@
"number_of_posts": "{count,plural, =1{{count} Beitrag} other{{count} Beiträge}}",
"number_of_subscribers": "{count,plural, =1{{count} Abonnent} other{{count} Abonnent*innen}}",
"unsubscribe": "Deabonnieren",
"subscribe": "Abonnieren"
"subscribe": "Abonnieren",
"number_of_users": "{count,plural, =1{{count} Benutzer} other{{count} Benutzer*innen}}",
"messages": "Nachrichten",
"banned_users": "Gebannte Benutzer",
"delete_account_confirm": "Achtung: Dadurch werden alle Ihre Daten dauerhaft gelöscht. Geben Sie zur Bestätigung Ihr Passwort ein.",
"new_password": "Neues Passwort",
"verify_password": "Passwort überprüfen",
"old_password": "Letztes Passwort",
"show_avatars": "Avatare anzeigen",
"search": "Suchen"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} Δημοσίευση} other{{count} Δημοσιεύσεις}}",
"number_of_subscribers": "{count,plural, =1{{count} εγγεγραμμένος} other{{count} εγγεγραμμένοι}}",
"unsubscribe": "Απεγγραφή",
"subscribe": "Εγγραφή"
"subscribe": "Εγγραφή",
"number_of_users": "{count,plural, =1{{count} χρήστης} other{{count} χρήστες}}",
"messages": "Μηνύματα",
"banned_users": "Αποβεβλημένοι χρήστες",
"delete_account_confirm": "Προσοχή: αυτό θα διαγράψει όλα τα δεδομένα σας. Είσαγετε τον κωδικό σας για επιβεβαίωση.",
"new_password": "Νέος κωδικός",
"verify_password": "Επαλήθευση κωδικού",
"old_password": "Παλιός κωδικός",
"show_avatars": "Εμφάνιση των άβαταρς",
"search": "Αναζήτηση"
}

View File

@ -40,7 +40,7 @@
"@post": {},
"save": "save",
"@save": {},
"send_message": "Send Message",
"send_message": "Send message",
"@send_message": {},
"subscribed": "Subscribed",
"@subscribed": {},
@ -229,14 +229,12 @@
"number_users_online": "{count,plural, =1{{count} user online} other{{count} users online}}",
"@number_users_online": {
"placeholders": {
"count": {
"type": "int"
}
"count": {}
}
},
"not_a_mod_or_admin": "Not a moderator or admin.",
"@not_a_mod_or_admin": {},
"number_of_comments": "{count,plural, =1{{count} Comment} other{{count} Comments}}",
"number_of_comments": "{count,plural, =1{{count} comment} other{{count} comments}}",
"@number_of_comments": {
"placeholders": {
"count": {
@ -245,7 +243,7 @@
}
}
},
"number_of_posts": "{count,plural, =1{{count} Post} other{{count} Posts}}",
"number_of_posts": "{count,plural, =1{{count} post} other{{count} posts}}",
"@number_of_posts": {
"placeholders": {
"count": {
@ -257,13 +255,33 @@
"number_of_subscribers": "{count,plural, =1{{count} subscriber} other{{count} subscribers}}",
"@number_of_subscribers": {
"placeholders": {
"count": {
"type": "int"
}
"count": {}
}
},
"unsubscribe": "unsubscribe",
"@unsubscribe": {},
"subscribe": "subscribe",
"@subscribe": {}
"@subscribe": {},
"number_of_users": "{count,plural, =1{{count} user} other{{count} users}}",
"@number_of_users": {
"placeholders": {
"count": {}
}
},
"messages": "Messages",
"@messages": {},
"banned_users": "Banned users",
"@banned_users": {},
"delete_account_confirm": "Warning: this will permanently delete all your data. Enter your password to confirm.",
"@delete_account_confirm": {},
"new_password": "New password",
"@new_password": {},
"verify_password": "Verify password",
"@verify_password": {},
"old_password": "Old password",
"@old_password": {},
"show_avatars": "Show avatars",
"@show_avatars": {},
"search": "search",
"@search": {}
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} afiŝo} other{{count} afiŝoj}}",
"number_of_subscribers": "{count,plural, =1{{count} abonanto} other{{count} abonantoj}}",
"unsubscribe": "Malaboni",
"subscribe": "Aboni"
"subscribe": "Aboni",
"number_of_users": "{count,plural, =1{{count} uzanto} other{{count} uzantoj}}",
"messages": "Mesaĝoj",
"banned_users": "Forbaritaj uzantoj",
"delete_account_confirm": "Averto: ĉi tio por ĉiam forigos ĉiujn viajn datumojn. Enigu pasvorton por konfirmi.",
"new_password": "Nova pasvorto",
"verify_password": "Konfirmu vian pasvorton",
"old_password": "Malnova pasvorto",
"show_avatars": "Montri profilbildojn",
"search": "Serĉi"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} Publicación} other{{count} Publicaciones}}",
"number_of_subscribers": "{count,plural, =1{{count} suscriptor} other{{count} suscriptores}}",
"unsubscribe": "Desuscribirse",
"subscribe": "Suscribirse"
"subscribe": "Suscribirse",
"number_of_users": "{count,plural, =1{{count} usuario} other{{count} usuarios}}",
"messages": "Mensajes",
"banned_users": "Usuarios expulsados",
"delete_account_confirm": "Advertencia: esta acción eliminará permanentemente toda su información. Introduzca su contraseña para confirmar.",
"new_password": "Nueva contraseña",
"verify_password": "Verificar contraseña",
"old_password": "Antigua contraseña",
"show_avatars": "Mostrar avatares",
"search": "Buscar"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{Bidalketa {count}} other{{count} bidalketa}}",
"number_of_subscribers": "{count,plural, =1{Harpidetu {count}} other{{count} harpidetu}}",
"unsubscribe": "Ezabatu harpidetza",
"subscribe": "Harpidetu"
"subscribe": "Harpidetu",
"number_of_users": "{count,plural, =1{Erabiltzaile {count}} other{{count} erabiltzaile}}",
"messages": "Mezuak",
"banned_users": "Debekatutako erabiltzaileak",
"delete_account_confirm": "Abisua: honek zure datu guztiak betirako ezabatu ditu. Sartu zure pasahitza baieztatzeko.",
"new_password": "Pasahitz berria",
"verify_password": "Balioztatu pasahitza",
"old_password": "Aurreko pasahitza",
"show_avatars": "Erakutsi avatarrak",
"search": "Bilatu"
}

View File

@ -70,5 +70,12 @@
"user_already_exists": "این کاربر از قبل وجود دارد.",
"number_users_online": "{count,plural, =1{{count} کاربر برخط}}",
"number_of_comments": "{count,plural, =1{{count} نظر}}",
"number_of_posts": "{count,plural, =1{{count} مطلب}}"
"number_of_posts": "{count,plural, =1{{count} مطلب}}",
"number_of_users": "{count,plural, =1{{count} کاربر}}",
"delete_account_confirm": "هشدار: این کنش، تمام اطلاعات شما را برای همیشه پاک می‌کند. برای تایید، گذرواژه خود را وارد کنید.",
"new_password": "گذرواژه جدید",
"verify_password": "تایید گذرواژه",
"old_password": "پسورد پیشین",
"show_avatars": "نمایش آواتارها",
"search": "جستجو"
}

View File

@ -96,5 +96,14 @@
"number_of_posts": "{count,plural, =1{{count} viesti} other{{count} viestiä}}",
"number_of_subscribers": "{count,plural, =1{{count} tilaaja} other{{count} tilaajaa}}",
"unsubscribe": "Poista tilaus",
"subscribe": "Tilaa"
"subscribe": "Tilaa",
"number_of_users": "{count,plural, =1{{count} käyttäjä} other{{count} käyttäjää}}",
"messages": "Viestit",
"banned_users": "Porttikieltoon asetetut käyttäjät",
"delete_account_confirm": "Varoitus: tämä poistaa pysyvästi kaiken datasi. Anna salasanasi varmistukseksi.",
"new_password": "Uusi salasana",
"verify_password": "Vahvista salasana",
"old_password": "Vanha salasana",
"show_avatars": "Näytä avatarit",
"search": "Etsi"
}

View File

@ -110,5 +110,14 @@
"number_of_posts": "{count,plural, =1{{count} Publication} other{{count} Publications}}",
"number_of_subscribers": "{count,plural, =1{{count} Abonné} other{{count} Abonnés}}",
"unsubscribe": "Se désabonner",
"subscribe": "Sabonner"
"subscribe": "Sabonner",
"number_of_users": "{count,plural, =1{{count} Utilisateur} other{{count} Utilisateurs}}",
"messages": "Messages",
"banned_users": "Utilisateurs interdits",
"delete_account_confirm": "Avertissement : cette action supprimera toutes vos données de façons permanente ! Saisissez votre mot de passe pour confirmer.",
"new_password": "Nouveau mot de passe",
"verify_password": "Vérifiez le mot de passe",
"old_password": "Ancien mot de passe",
"show_avatars": "Afficher les avatars",
"search": "Rechercher"
}

View File

@ -103,5 +103,13 @@
"email_already_exists": "Tá ríomhphost ann cheana féin.",
"user_already_exists": "Úsáideoir ann cheana.",
"unsubscribe": "Díliostáil",
"subscribe": "Liostáil"
"subscribe": "Liostáil",
"messages": "Teachtaireachtaí",
"banned_users": "Úsáideoirí Coisceadh",
"delete_account_confirm": "Rabhadh: scriosfaidh sé seo do chuid sonraí go buan. Iontráil do phasfhocal le deimhniú.",
"new_password": "Focal Faire Nua",
"verify_password": "Deimhnigh Pasfhocal",
"old_password": "Sean Pasfhocal",
"show_avatars": "Taispeáin Abhatáranna",
"search": "Cuardaigh"
}

View File

@ -19,5 +19,6 @@
"couldnt_find_community": "समुदायों नहीं ढूंढ़ पाएं |",
"community_already_exists": "यह समुदाय पहले स मौजूद है |",
"number_of_comments": "{count,plural, =1{{{ count }} टिप्पणी (कमेंट )} other{{{ count }} टिप्पणियाँ (कोम्मेंट्स )}}",
"number_of_posts": "{count,plural, =1{{count} पोस्ट} other{{count} पोस्ट्स}}"
"number_of_posts": "{count,plural, =1{{count} पोस्ट} other{{count} पोस्ट्स}}",
"show_avatars": "अवतार दिखाएँ"
}

View File

@ -97,5 +97,14 @@
"number_of_posts": "{count,plural, =1{{count} bejegyzés} other{{count} bejegyzés}}",
"number_of_subscribers": "{count,plural, =1{{count} feliratkozó} other{{count} feliratkozó}}",
"unsubscribe": "Leiratkozás",
"subscribe": "Feliratkozás"
"subscribe": "Feliratkozás",
"number_of_users": "{count,plural, =1{{count} felhasználó} other{{count} felhasználó}}",
"messages": "Üzenetek",
"banned_users": "Kitiltott felhasználók",
"delete_account_confirm": "Figyelmeztetés: ez véglegesen törölni fogja az összes adatodat. A megerősítéshez írd be a jelszavad!",
"new_password": "Új jelszó",
"verify_password": "Jelszó megerősítése",
"old_password": "Régi jelszó",
"show_avatars": "Avatárok mutatása",
"search": "Keresés"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} Pubblicazione} other{{count} Pubblicazioni}}",
"number_of_subscribers": "{count,plural, =1{{count} iscritto} other{{count} iscritti}}",
"unsubscribe": "Disiscriviti",
"subscribe": "Iscriviti"
"subscribe": "Iscriviti",
"number_of_users": "{count,plural, =1{{count} utente} other{{count} utenti}}",
"messages": "Messaggi",
"banned_users": "Utenti Espulsi",
"delete_account_confirm": "Attenzione: stai per cancellare permanentemente tutti i tuoi dati. Inserisci la tua password per confermare questa azione.",
"new_password": "Nuova Password",
"verify_password": "Verifica Password",
"old_password": "Vecchia Password",
"show_avatars": "Mostra Avatar",
"search": "Cerca"
}

View File

@ -99,5 +99,13 @@
"number_of_posts": "{count,plural, =1{{count} 件の投稿}}",
"number_of_subscribers": "{count,plural, =1{{count} 名の登録者}}",
"unsubscribe": "登録解除",
"subscribe": "登録"
"subscribe": "登録",
"number_of_users": "{count,plural, =1{{count} 名のユーザー}}",
"messages": "メッセージ",
"delete_account_confirm": "警告: あなたのデータを全て恒久的に削除します。確認のためパスワードを入力してください。",
"new_password": "新しいパスワード",
"verify_password": "パスワードの確認",
"old_password": "現在のパスワード",
"show_avatars": "アバターを表示",
"search": "検索"
}

View File

@ -92,5 +92,14 @@
"number_of_posts": "{count,plural, =1{თარგმნა} other{თარგმნა}}",
"number_of_subscribers": "{count,plural, =1{გამომწერი} other{გამომწერები}}",
"unsubscribe": "გამოწერის გაუქმნება",
"subscribe": "გამოწერა"
"subscribe": "გამოწერა",
"number_of_users": "{count,plural, =1{მომხმარებელი} other{მომხმარებლები}}",
"messages": "მესეჯები",
"banned_users": "გაშავებული მომხმარებლები",
"delete_account_confirm": "გაფთხილება: ეს შენს ყველაფერს წაშლის. პაროლი ჩაწერეთ რომ დაადასტუროთ.",
"new_password": "ახალი პაროლი",
"verify_password": "პაროლის დადასტურება",
"old_password": "ძველი პაროლი",
"show_avatars": "ავატარები გამოჩენა",
"search": "ძებმა"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{게시물 수 {count}}}",
"number_of_subscribers": "{count,plural, =1{구독자수{count}}}",
"unsubscribe": "구독취소",
"subscribe": "구독"
"subscribe": "구독",
"number_of_users": "{count,plural, =1{가입자수 {count}}}",
"messages": "메세지",
"banned_users": "금지 된 사용자",
"delete_account_confirm": "경고 : 모든 데이터가 영구적으로 삭제됩니다. 확인을 위해 비밀번호를 입력하십시오.",
"new_password": "새 비밀번호",
"verify_password": "비밀번호 재입력",
"old_password": "기존 비밀번호",
"show_avatars": "아바타 보기",
"search": "검색"
}

View File

@ -97,5 +97,14 @@
"number_of_posts": "{count,plural, =1{{count} post} other{{count} posts}}",
"number_of_subscribers": "{count,plural, =1{{count} abonnee} other{{count} abonnees}}",
"unsubscribe": "Afmelden",
"subscribe": "Abonneren"
"subscribe": "Abonneren",
"number_of_users": "{count,plural, =1{{count} gebruiker} other{{count} gebruikers}}",
"messages": "Berichten",
"banned_users": "Verbannen gebruikers",
"delete_account_confirm": "Waarschuwing: dit zal al uw data voorgoed verwijderen, vul uw wachtwoord in om te bevestigen.",
"new_password": "Nieuw wachtwoord",
"verify_password": "Herhaal wachtwoord",
"old_password": "Oud wachtwoord",
"show_avatars": "Toon avatars",
"search": "Zoek"
}

View File

@ -109,5 +109,13 @@
"email_already_exists": "Email już istnieje.",
"user_already_exists": "Użytkownik już istnieje.",
"unsubscribe": "Odsubskrybuj",
"subscribe": "Subskrybuj"
"subscribe": "Subskrybuj",
"messages": "Wiadomości",
"banned_users": "Zbanowani Użytkownicy",
"delete_account_confirm": "Ostrzeżenie: twoje dane zostaną bezpowrotnie usunięte. Wpisz swoje hasło aby potwierdzić.",
"new_password": "Nowe Hasło",
"verify_password": "Zweryfikuj Hasło",
"old_password": "Stare Hasło",
"show_avatars": "Pokaż Awatary",
"search": "Szukaj"
}

View File

@ -107,5 +107,14 @@
"number_of_posts": "{count,plural, =1{{count} publicação} other{{count} publicações}}",
"number_of_subscribers": "{count,plural, =1{{count} inscrito} other{{count} inscritos}}",
"unsubscribe": "Cancelar inscrição",
"subscribe": "Inscrever-se"
"subscribe": "Inscrever-se",
"number_of_users": "{count,plural, =1{{count} usuário} other{{count} usuários}}",
"messages": "Mensagens",
"banned_users": "Usuários Banidos",
"delete_account_confirm": "Aviso: isso vai apagar seus dados de forma permanente. Escreva sua senha para confirmar.",
"new_password": "Nova senha",
"verify_password": "Verifique a senha",
"old_password": "Senha antiga",
"show_avatars": "Mostrar Avatares",
"search": "Busca"
}

View File

@ -107,5 +107,13 @@
"email_already_exists": "E-mail уже существует.",
"user_already_exists": "Пользователь уже существует.",
"unsubscribe": "Отписаться",
"subscribe": "Подписаться"
"subscribe": "Подписаться",
"messages": "Сообщения",
"banned_users": "Забаненные пользователи",
"delete_account_confirm": "Предупреждение: это действие полностью уничтожит все данные вашего аккаунта. Введите свой пароль для подтверждения.",
"new_password": "Новый пароль",
"verify_password": "Повторите пароль",
"old_password": "Действующий пароль",
"show_avatars": "Показывать аватары",
"search": "Поиск"
}

View File

@ -97,5 +97,14 @@
"number_of_posts": "{count,plural, =1{{count} Postim} other{{count} Postime}}",
"number_of_subscribers": "{count,plural, =1{{count} i abonuar} other{{count} të abonuar}}",
"unsubscribe": "Ndalo Abonimin",
"subscribe": "Abonohu"
"subscribe": "Abonohu",
"number_of_users": "{count,plural, =1{{count} Përdorues} other{{count} Përdoruesa}}",
"messages": "Mesazhet",
"banned_users": "Pëdoruesit e dëbuar",
"delete_account_confirm": "Paralajmërim: kjo do të fshij të gjitha të dhënat e juaja përgjithmonë. Shtyp fjalëkalimin tënd për ta konfirmuar.",
"new_password": "Fjalëkalimi i ri",
"verify_password": "Konfirmo Fjalëkalimin",
"old_password": "Fjalëkalimi i vjetër",
"show_avatars": "Shfaq fotot e profilit",
"search": "Kërko"
}

View File

@ -18,5 +18,8 @@
"chat": "Ćaskanje",
"by": "od",
"downvotes_disabled": "Onemogućite negativne glasove",
"registration_closed": "Zatvorena registracija"
"registration_closed": "Zatvorena registracija",
"new_password": "Nova Lozinka",
"verify_password": "Potvrdite Loziku",
"old_password": "Stara Lozinka"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} inlägg} other{{count} inlägg}}",
"number_of_subscribers": "{count,plural, =1{{count} prenumerant} other{{count} prenumeranter}}",
"unsubscribe": "Avsluta prenumeration",
"subscribe": "Prenumerera"
"subscribe": "Prenumerera",
"number_of_users": "{count,plural, =1{{count} användare} other{{count} användare}}",
"messages": "Meddelanden",
"banned_users": "Blockerade användare",
"delete_account_confirm": "Varning: den här åtgärden kommer radera alla dina data permanent. Skriv in ditt lösenord för att bekräfta.",
"new_password": "Nytt lösenord",
"verify_password": "Bekräfta lösenord",
"old_password": "Gammalt lösenord",
"show_avatars": "Visa profilbilder",
"search": "Sök"
}

View File

@ -97,5 +97,14 @@
"number_of_posts": "{count,plural, =1{{count} Paylaşım} other{{count} Paylaşım}}",
"number_of_subscribers": "{count,plural, =1{{count} Takipçi} other{{count} Takipçi}}",
"unsubscribe": "Takibi bırak",
"subscribe": "Takip et"
"subscribe": "Takip et",
"number_of_users": "{count,plural, =1{{count} Kullanıcı} other{{count} Kullanıcı}}",
"messages": "Mesajlar",
"banned_users": "Yasaklanmış Kullanıcılar",
"delete_account_confirm": "Uyarı: Devam etmek bütün verilerinizi kalıcı olarak silecektir. Onaylamak için şifrenizi girin.",
"new_password": "Yeni şifre",
"verify_password": "Şifreyi doğrulayın",
"old_password": "Eski şifre",
"show_avatars": "Avatarları Göster",
"search": "Ara"
}

View File

@ -93,5 +93,13 @@
"email_already_exists": "E-mail вже існує.",
"user_already_exists": "Користувач вже існує.",
"unsubscribe": "Відписатися",
"subscribe": "Підписатися"
"subscribe": "Підписатися",
"messages": "Повідомлення",
"banned_users": "Забанані користувачі",
"delete_account_confirm": "Попередження: ця дія повністю знищить всі данні вашего акаунта. Введіть свій пароль для підтвердження.",
"new_password": "Новий пароль",
"verify_password": "Повторіть пароль",
"old_password": "Діючий пароль",
"show_avatars": "Показувати аватари",
"search": "Пошук"
}

View File

@ -111,5 +111,14 @@
"number_of_posts": "{count,plural, =1{{count} 个帖子} other{{count} 条帖子}}",
"number_of_subscribers": "{count,plural, =1{{count} 订阅者} other{{count} 名订阅者}}",
"unsubscribe": "取消订阅",
"subscribe": "订阅"
"subscribe": "订阅",
"number_of_users": "{count,plural, =1{{count} 用户} other{{count} 名用户}}",
"messages": "信息",
"banned_users": "被禁止用户",
"delete_account_confirm": "警告:此操作将永久删除你的数据,请输入密码进行确认。",
"new_password": "新密码",
"verify_password": "确认密码",
"old_password": "当前密码",
"show_avatars": "显示头像",
"search": "搜索"
}

View File

@ -125,6 +125,15 @@ abstract class L10nStrings {
static const number_of_subscribers = 'number_of_subscribers';
static const unsubscribe = 'unsubscribe';
static const subscribe = 'subscribe';
static const number_of_users = 'number_of_users';
static const messages = 'messages';
static const banned_users = 'banned_users';
static const delete_account_confirm = 'delete_account_confirm';
static const new_password = 'new_password';
static const verify_password = 'verify_password';
static const old_password = 'old_password';
static const show_avatars = 'show_avatars';
static const search = 'search';
}
extension L10nFromString on String {
@ -362,6 +371,22 @@ extension L10nFromString on String {
return L10n.of(context).unsubscribe;
case L10nStrings.subscribe:
return L10n.of(context).subscribe;
case L10nStrings.messages:
return L10n.of(context).messages;
case L10nStrings.banned_users:
return L10n.of(context).banned_users;
case L10nStrings.delete_account_confirm:
return L10n.of(context).delete_account_confirm;
case L10nStrings.new_password:
return L10n.of(context).new_password;
case L10nStrings.verify_password:
return L10n.of(context).verify_password;
case L10nStrings.old_password:
return L10n.of(context).old_password;
case L10nStrings.show_avatars:
return L10n.of(context).show_avatars;
case L10nStrings.search:
return L10n.of(context).search;
default:
return this;

View File

@ -56,7 +56,6 @@ const toMigrate = <_>[
_('nsfw'),
_('post'),
_('save'),
_('send_message'),
_('subscribed'),
_('local'),
_('all'),
@ -150,12 +149,22 @@ const toMigrate = <_>[
_('post_title_too_long'),
_('email_already_exists'),
_('user_already_exists'),
_('number_online', rename: 'number_users_online', type: 'int'),
_('number_of_comments', type: 'int', format: 'compact'),
_('number_of_posts', type: 'int', format: 'compact'),
_('number_of_subscribers', type: 'int'),
_('number_online', rename: 'number_users_online'),
_('number_of_comments', type: 'int', format: 'compact', toLowerCase: true),
_('number_of_posts', type: 'int', format: 'compact', toLowerCase: true),
_('number_of_subscribers'),
_('number_of_users'),
_('unsubscribe', toLowerCase: true),
_('subscribe', toLowerCase: true),
_('messages'),
_('banned_users', decapitalize: true),
_('delete_account_confirm'),
_('new_password', decapitalize: true),
_('verify_password', decapitalize: true),
_('old_password', decapitalize: true),
_('show_avatars', decapitalize: true),
_('search', toLowerCase: true),
_('send_message', decapitalize: true),
];
const repoName = 'lemmy-translations';
@ -185,11 +194,13 @@ Future<void> main(List<String> args) async {
/// check if `toMigrate` has duplicate keys
void checkDuplicateKeys() {
final hasDuplicates =
toMigrate.map((e) => e.key).toSet().length != toMigrate.length;
if (hasDuplicates) {
printError('"toMigrate" contains duplicate keys');
final seen = <String>{};
for (final renamedKey in toMigrate.map((e) => e.renamedKey)) {
if (seen.contains(renamedKey)) {
printError(
'The renamedKey "$renamedKey" appears more than once in "toMigrate"');
}
seen.add(renamedKey);
}
}