Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat(i18n): new translations

github-actions[bot]df2025333532
diff --git a/libs/datasource/i18n/src/resources/bn.json b/libs/datasource/i18n/src/resources/bn.json
new file mode 100644
index 0000000000..a126b2ca71
--- /dev/null
+++ b/libs/datasource/i18n/src/resources/bn.json
@@ -0,0 +1,20 @@
+{
+ "// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
+ "Add A Below Block": "নীচে একটি ব্লক যোগ করুন",
+ "Language": "ভাষা",
+ "Settings": "সেটিংস",
+ "Share": "শেয়ার করুন",
+ "Comment": "মন্তব্য",
+ "WarningTips": {
+ "IsNotfsApiSupported": "AFFINE ডেমোতে স্বাগতম। পরিবর্তনগুলি সংরক্ষণ করা শুরু করতে আপনি Chrome/Edge এর মতো ক্রোমিয়াম ভিত্তিক ব্রাউজারের সর্বশেষ সংস্করণের মাধ্যমে ডিস্কে ডেটা সিঙ্ক করতে পারেন"
+ },
+ "Delete": "মুছে ফেলুন",
+ "Copy Page Link": "পেজ লিংক কপি করুন",
+ "Duplicate Page": "সদৃশ পৃষ্ঠা তৈরি করুন",
+ "Logout": "লগআউট",
+ "Divide Here As A New Group": "একটি নতুন গ্রুপ হিসেবে বিভক্ত করুন",
+ "Turn into": "রূপান্তর করুন",
+ "ComingSoon": "লেআউট সেটিংস শীঘ্রই আসছে...",
+ "Clear Workspace": "ওয়ার্কস্পেস পরিষ্কার করুন",
+ "Layout": "লেআউট"
+}
diff --git a/libs/datasource/i18n/src/resources/fr.json b/libs/datasource/i18n/src/resources/fr.json
new file mode 100644
index 0000000000..d30fdcb133
--- /dev/null
+++ b/libs/datasource/i18n/src/resources/fr.json
@@ -0,0 +1,29 @@
+{
+ "// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
+ "ComingSoon": "Bientôt disponible",
+ "Duplicate Page": "Dupliquer la page",
+ "Copy Page Link": "Copier le lien de la page",
+ "Delete": "Supprimer",
+ "Comment": "Commentaire",
+ "Export As HTML": "Exporter en HTML",
+ "Export As Markdown": "Exporter en Markdown",
+ "Export As PDF (Unsupported)": "exporter en PDF (non supporté)",
+ "Logout": "Déconnexion",
+ "Export Workspace": "Exporter l'espace de travail",
+ "Import Workspace": "Importer l'espace de travail",
+ "Language": "Langue",
+ "Last edited by": "Dernière édition par {{name}}",
+ "Layout": "Mise en forme",
+ "Settings": "Réglages",
+ "Share": "Partager",
+ "Sync to Disk": "Synchroniser sur le disque",
+ "Turn into": "Transformer en",
+ "WarningTips": {
+ "DoNotStore": "Affine est en développement actif ; la version actuelle est INSTABLE. Veuillez NE PAS stocker d'informations ou de données",
+ "IsNotLocalWorkspace": "Bienvenue sur la démo d'AFFiNE. Pour commencer à sauvegarder vos modifications, vous pouvez SYNCHRONISER SUR LE DISQUE",
+ "IsNotfsApiSupported": "Bienvenue sur la démo d'AFFiNE. Pour commencer à sauvegarder vos modifications, vous pouvez SYNCHRONISER SUR LE DISQUE\navec la dernière version d'un navigateur basé sur Chromium tel que Chrome ou Edge."
+ },
+ "Add A Below Block": "Ajouter un bloc en-dessous",
+ "Divide Here As A New Group": "Séparer ici en un nouveau groupe",
+ "Clear Workspace": "Vider l'espace de travail"
+}
diff --git a/libs/datasource/i18n/src/resources/index.ts b/libs/datasource/i18n/src/resources/index.ts
index b0fd2469b0..ab2a020add 100644
--- a/libs/datasource/i18n/src/resources/index.ts
+++ b/libs/datasource/i18n/src/resources/index.ts
@@ -5,6 +5,8 @@ import en from './en.json';
import zh_Hans from './zh-Hans.json';
import zh_Hant from './zh-Hant.json';
import sr from './sr.json';
+import fr from './fr.json';
+import bn from './bn.json';
export const LOCALES = [
{
@@ -47,4 +49,24 @@ export const LOCALES = [
completeRate: 0.9166666666666666,
res: sr,
},
+ {
+ id: 1000034008,
+ name: 'French',
+ tag: 'fr',
+ originalName: 'français',
+ flagEmoji: '🇫🇷',
+ base: false,
+ completeRate: 1,
+ res: fr,
+ },
+ {
+ id: 1000034010,
+ name: 'Bangla',
+ tag: 'bn',
+ originalName: 'বাংলা',
+ flagEmoji: '🇧🇩',
+ base: false,
+ completeRate: 0.625,
+ res: bn,
+ },
] as const;