Skip to content

Commit

Permalink
Merge pull request #33 from displaynone:i18n
Browse files Browse the repository at this point in the history
feat: localization in es, fr, de, it, zh, ar
  • Loading branch information
displaynone authored Apr 23, 2023
2 parents e13e026 + 6e11256 commit b1d5874
Show file tree
Hide file tree
Showing 17 changed files with 899 additions and 17 deletions.
2 changes: 1 addition & 1 deletion lingui.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('@lingui/conf').LinguiConfig} */
module.exports = {
locales: ['en', 'es'],
locales: ['en', 'es', 'fr', 'it', 'de', 'zh', 'ar'],
catalogs: [
{
path: 'src/locales/{locale}/messages',
Expand Down
1 change: 1 addition & 0 deletions src/locales/ar/messages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

138 changes: 138 additions & 0 deletions src/locales/ar/messages.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2023-02-26 23:06+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n"
"Language: en\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"

#: app/qr/index.tsx:57
#: src/components/AddSite.tsx:14
msgid "Add a new site"
msgstr "أضف موقعًا جديدًا"

#: src/components/AddSite.tsx:14
#~ msgid "Add site"
#~ msgstr ""

#: app/settings/export.tsx:58
#: src/components/TopBar.tsx:36
msgid "Backup your data"
msgstr "النسخ الاحتياطي لبياناتك"

#: src/components/SiteInfo.tsx:79
#: src/providers/FingerprintAuthProvider.tsx:39
msgid "Cancel"
msgstr "إلغاء"

#: app/settings/import.tsx:78
msgid "Completed"
msgstr "مكتمل"

#: src/components/SiteInfo.tsx:101
msgid "Confirm deletion"
msgstr "تأكيد الحذف"

#: src/components/SiteInfo.tsx:91
msgid "Delete"
msgstr "حذف"

#: src/providers/FingerprintAuthProvider.tsx:107
msgid "Enable"
msgstr "تمكين"

#: src/components/SitesList.tsx:63
msgid "Everything is prepared for you to add your sites"
msgstr "كل شيء جاهز لإضافة مواقعك"

#: src/providers/FingerprintAuthProvider.tsx:97
msgid "Fingerprint authentication"
msgstr "مصادقة بصمات الأصابع"

#: app/settings/export.tsx:73
msgid "Generate file"
msgstr "إنشاء ملف"

#: app/settings/import.tsx:63
msgid "If you want to restore your saved sites from a backup, you can load the file stored on your device. It's important to note that the existing sites will remain unchanged and won't be replaced"
msgstr "إذا كنت ترغب في استعادة المواقع المحفوظة من نسخة احتياطية ، يمكنك تحميل الملف المخزن على جهازك. من المهم ملاحظة أن المواقع الحالية ستبقى دون تغيير ولن يتم استبدالها"

#: app/settings/import.tsx:99
msgid "Load backup sites"
msgstr "تحميل مواقع النسخ الاحتياطي"

#: src/providers/FingerprintAuthProvider.tsx:87
#~ msgid "Login"
#~ msgstr ""

#: src/providers/FingerprintAuthProvider.tsx:37
msgid "Login with your fingerprint"
msgstr "تسجيل الدخول ببصمة إصبعك"

#: app/qr/index.tsx:48
msgid "No access to camera"
msgstr "لا يمكن الوصول إلى الكاميرا"

#: src/components/SitesList.tsx:93
msgid "No results matching your search"
msgstr "لا توجد نتائج مطابقة لبحثك"

#: app/(home)/index.tsx:45
#~ msgid "No sites have been added yet"
#~ msgstr ""

#: app/settings/import.tsx:77
msgid "Processing"
msgstr "معالجة"

#: app/qr/index.tsx:41
msgid "Requesting for camera permission"
msgstr "طلب إذن الكاميرا"

#: app/settings/import.tsx:60
#: src/components/TopBar.tsx:41
msgid "Restore sites"
msgstr "استعادة المواقع"

#: app/qr/index.tsx:88
msgid "Scan QR code"
msgstr "مسح رمز QR"

#: app/qr/info.tsx:62
msgid "Scan another code"
msgstr "مسح رمز آخر"

#: app/qr/index.tsx:60
msgid "Scan your website's 2FA QR code using your device's camera"
msgstr "امسح رمز QR 2FA لموقع الويب الخاص بك باستخدام كاميرا جهازك"

#: src/components/SitesList.tsx:80
msgid "Search..."
msgstr "بحث..."

#: src/providers/FingerprintAuthProvider.tsx:100
msgid "Secure the access to your stored 2FA using your device fingerprint authentication"
msgstr "تأمين الوصول إلى 2FA المخزن باستخدام مصادقة بصمات جهازك"

#: app/qr/index.tsx:74
msgid "The QR code can be easily recognized by simply pointing your device's camera at it"
msgstr "يمكن التعرف على رمز الاستجابة السريعة بسهولة بمجرد توجيه كاميرا جهازك إليه"

#: app/settings/export.tsx:61
msgid "To ensure that you don't lose your saved data, you can download a file of the sites and restore them at a later time"
msgstr "للتأكد من عدم فقدان البيانات المحفوظة ، يمكنك تنزيل ملف من المواقع واستعادتها في وقت لاحق"

#: src/components/CopyToClipboard.tsx:19
msgid "Token copied to clipboard"
msgstr "تم نسخ الرمز المميز إلى الحافظة"

#: app/settings/import.tsx:84
msgid "{sitesProcessed, plural, one {Processed 1 site of {numberOfSites}} other {Processed # sites of {numberOfSites}}}"
msgstr "{sitesProcessed, plural, one {موقع 1 معالج لـ {numberOfSites}} other {المواقع # المجهزة لـ {numberOfSites}}}"
1 change: 1 addition & 0 deletions src/locales/de/messages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

138 changes: 138 additions & 0 deletions src/locales/de/messages.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
msgid ""
msgstr ""
"POT-Creation-Date: 2023-02-26 23:06+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: @lingui/cli\n"
"Language: en\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"

#: app/qr/index.tsx:57
#: src/components/AddSite.tsx:14
msgid "Add a new site"
msgstr "Neue Seite hinzufügen"

#: src/components/AddSite.tsx:14
#~ msgid "Add site"
#~ msgstr ""

#: app/settings/export.tsx:58
#: src/components/TopBar.tsx:36
msgid "Backup your data"
msgstr "Sichern Sie Ihre Daten"

#: src/components/SiteInfo.tsx:79
#: src/providers/FingerprintAuthProvider.tsx:39
msgid "Cancel"
msgstr "Stornieren"

#: app/settings/import.tsx:78
msgid "Completed"
msgstr "Abgeschlossen"

#: src/components/SiteInfo.tsx:101
msgid "Confirm deletion"
msgstr "Löschung bestätigen"

#: src/components/SiteInfo.tsx:91
msgid "Delete"
msgstr "Löschen"

#: src/providers/FingerprintAuthProvider.tsx:107
msgid "Enable"
msgstr "Aktivieren"

#: src/components/SitesList.tsx:63
msgid "Everything is prepared for you to add your sites"
msgstr "Alles ist darauf vorbereitet, dass Sie Ihre Websites hinzufügen"

#: src/providers/FingerprintAuthProvider.tsx:97
msgid "Fingerprint authentication"
msgstr "Fingerabdruckauthentifizierung"

#: app/settings/export.tsx:73
msgid "Generate file"
msgstr "Datei generieren"

#: app/settings/import.tsx:63
msgid "If you want to restore your saved sites from a backup, you can load the file stored on your device. It's important to note that the existing sites will remain unchanged and won't be replaced"
msgstr "Wenn Sie Ihre gespeicherten Websites aus einer Sicherung wiederherstellen möchten, können Sie die auf Ihrem Gerät gespeicherte Datei laden. Es ist wichtig zu beachten, dass die vorhandenen Websites unverändert bleiben und nicht ersetzt werden"

#: app/settings/import.tsx:99
msgid "Load backup sites"
msgstr "Backup-Sites laden"

#: src/providers/FingerprintAuthProvider.tsx:87
#~ msgid "Login"
#~ msgstr ""

#: src/providers/FingerprintAuthProvider.tsx:37
msgid "Login with your fingerprint"
msgstr "Melden Sie sich mit Ihrem Fingerabdruck an"

#: app/qr/index.tsx:48
msgid "No access to camera"
msgstr "Kein Zugang zur Kamera"

#: src/components/SitesList.tsx:93
msgid "No results matching your search"
msgstr "Keine Ergebnisse, die zu Ihrer Suche passen"

#: app/(home)/index.tsx:45
#~ msgid "No sites have been added yet"
#~ msgstr ""

#: app/settings/import.tsx:77
msgid "Processing"
msgstr "Verarbeitung"

#: app/qr/index.tsx:41
msgid "Requesting for camera permission"
msgstr "Bitte um Kameraperlaubnis"

#: app/settings/import.tsx:60
#: src/components/TopBar.tsx:41
msgid "Restore sites"
msgstr "Websites wiederherstellen"

#: app/qr/index.tsx:88
msgid "Scan QR code"
msgstr "QR-Code scannen"

#: app/qr/info.tsx:62
msgid "Scan another code"
msgstr "Scannen Sie einen anderen Code"

#: app/qr/index.tsx:60
msgid "Scan your website's 2FA QR code using your device's camera"
msgstr "Scannen Sie den 2FA-QR-Code Ihrer Website mit der Kamera Ihres Geräts"

#: src/components/SitesList.tsx:80
msgid "Search..."
msgstr "Suche..."

#: src/providers/FingerprintAuthProvider.tsx:100
msgid "Secure the access to your stored 2FA using your device fingerprint authentication"
msgstr "Sichern Sie den Zugriff auf Ihre gespeicherte 2FA mithilfe der Fingerabdruckauthentifizierung Ihres Geräts"

#: app/qr/index.tsx:74
msgid "The QR code can be easily recognized by simply pointing your device's camera at it"
msgstr "Der QR-Code kann leicht erkannt werden, indem einfach die Kamera Ihres Geräts darauf gerichtet wird"

#: app/settings/export.tsx:61
msgid "To ensure that you don't lose your saved data, you can download a file of the sites and restore them at a later time"
msgstr "Um sicherzustellen, dass Sie Ihre gespeicherten Daten nicht verlieren, können Sie eine Datei der Websites herunterladen und zu einem späteren Zeitpunkt wiederherstellen"

#: src/components/CopyToClipboard.tsx:19
msgid "Token copied to clipboard"
msgstr "Token in Zwischenablage kopiert"

#: app/settings/import.tsx:84
msgid "{sitesProcessed, plural, one {Processed 1 site of {numberOfSites}} other {Processed # sites of {numberOfSites}}}"
msgstr "{sitesProcessed, plural, one {Processed 1-Site von {numberOfSites}} other {Processed # Sites von {numberOfSites}}}"
2 changes: 1 addition & 1 deletion src/locales/en/messages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b1d5874

Please sign in to comment.