Skip to content

Commit

Permalink
fix: remove duplicated button labels for done, cancel and ok (AppFlow…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gajendra-Rathore authored Feb 23, 2024
1 parent c0796e8 commit fa3bc97
Show file tree
Hide file tree
Showing 30 changed files with 35 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class AppBarDoneButton extends StatelessWidget {
onTap: onTap,
padding: const EdgeInsets.fromLTRB(12, 12, 8, 12),
child: FlowyText(
LocaleKeys.button_Done.tr(),
LocaleKeys.button_done.tr(),
color: Theme.of(context).colorScheme.primary,
fontWeight: FontWeight.w500,
textAlign: TextAlign.right,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class BottomSheetHeader extends StatelessWidget {
color: Color(0xFF00BCF0),
),
text: FlowyText.medium(
LocaleKeys.button_Done.tr(),
LocaleKeys.button_done.tr(),
color: Colors.white,
fontSize: 16.0,
),
Expand Down
3 changes: 1 addition & 2 deletions frontend/resources/translations/am-ET.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@
},
"button": {
"OK": "እሺ",
"Done": "ተከናውኗል",
"Cancel": "ይቅር",
"cancel": "ይቅር",
"signIn": "ይግቡ",
"signOut": "ዘግተው ውጣ",
"complete": "ተጠናቀቀ",
Expand Down
3 changes: 0 additions & 3 deletions frontend/resources/translations/ar-SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@
"helpCenter": "مركز المساعدة",
"add": "اضافة",
"yes": "نعم",
"Done": "منتهي",
"Cancel": "إلغاء",
"OK": "نعم",
"tryAGain": "حاول ثانية"
},
"label": {
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/ca-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,7 @@
"rename": "Renombrar",
"helpCenter": "Centre d'ajuda",
"add": "Afegir",
"yes": "",
"Done": "Fet",
"Cancel": "Cancel·lar",
"OK": "OK"
"yes": ""
},
"label": {
"welcome": "Benvingut!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/ckb-KUR.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,8 @@
"delete": "سڕینەوە",
"duplicate": "هاوشێوە کردن",
"putback": "بیخەرەوە بۆ دواوە",
"Done": "تەواوه",
"Cancel": "ڕەتکردن",
"OK": "ئۆکەی"
"cancel": "ڕەتکردن",
"ok": "ئۆکەی"
},
"label": {
"welcome": "بەخێربێن!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@
"rename": "Umbenennen",
"helpCenter": "Hilfe",
"add": "Hinzufügen",
"yes": "Ja",
"Done": "Erledigt",
"Cancel": "Abbrechen"
"yes": "Ja"
},
"label": {
"welcome": "Willkommen!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,7 @@
"rename": "Rename",
"helpCenter": "Help Center",
"add": "Add",
"yes": "Yes",
"Done": "Done",
"Cancel": "Cancel"
"yes": "Yes"
},
"label": {
"welcome": "Welcome!",
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/es-VE.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,7 @@
"rename": "Renombrar",
"helpCenter": "Centro de ayuda",
"add": "Añadir",
"yes": "Si",
"Done": "Hecho",
"Cancel": "Cancelar",
"OK": "OK"
"yes": "Si"
},
"label": {
"welcome": "¡Bienvenido!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/eu-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@
"delete": "Ezabatu",
"duplicate": "Bikoiztu",
"putback": "Jarri Atzera",
"Done": "Eginda",
"Cancel": "Ezteztatu",
"OK": "OK"
"cancel": "Ezteztatu",
"ok": "OK"
},
"label": {
"welcome": "Ongi etorri!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,8 @@
"delete": "حذف کردن",
"duplicate": "تکرار کردن",
"putback": "بازگشت",
"Done": "انجام شد",
"Cancel": "لغو",
"OK": "باشه"
"cancel": "لغو",
"ok": "باشه"
},
"label": {
"welcome": "خوش آمدید!",
Expand Down
3 changes: 0 additions & 3 deletions frontend/resources/translations/fr-CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@
"helpCenter": "Centre d'aide",
"add": "Ajouter",
"yes": "Oui",
"Done": "Fait",
"Cancel": "Annuler",
"OK": "OK",
"tryAGain": "Réessayer"
},
"label": {
Expand Down
3 changes: 0 additions & 3 deletions frontend/resources/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@
"helpCenter": "Centre d'aide",
"add": "Ajouter",
"yes": "Oui",
"Done": "Fait",
"Cancel": "Annuler",
"OK": "OK",
"tryAGain": "Réessayer"
},
"label": {
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/hin.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@
"editContact": "संपर्क संपादित करें"
},
"button": {
"OK": "ठीक है",
"Done": "किया",
"Cancel": "रद्द करें",
"ok": "ठीक है",
"cancel": "रद्द करें",
"signIn": "साइन इन करें",
"signOut": "साइन आउट करें",
"complete": "पूर्ण",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/hu-HU.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@
"delete": "Töröl",
"duplicate": "Másolat",
"putback": "Visszatesz",
"Done": "Kész",
"Cancel": "Mégse",
"OK": "OK"
"cancel": "Mégse",
"ok": "OK"
},
"label": {
"welcome": "Üdvözlünk!",
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/id-ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,7 @@
"removeFromFavorites": "Hapus dari favorit",
"addToFavorites": "Tambahkan ke Favorit",
"rename": "Ganti nama",
"helpCenter": "Pusat Bantuan",
"Done": "Selesai",
"Cancel": "Batal",
"OK": "Ya"
"helpCenter": "Pusat Bantuan"
},
"label": {
"welcome": "Selamat datang!",
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,7 @@
"rename": "Rinomina",
"helpCenter": "Centro assistenza",
"add": "Aggiungi",
"yes": "",
"Done": "Fatto",
"Cancel": "Annulla",
"OK": "OK"
"yes": ""
},
"label": {
"welcome": "Benvenuto!",
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,7 @@
"addToFavorites": "お気に入りへ追加",
"rename": "名前を変更",
"helpCenter": "ヘルプセンター",
"add": "追加",
"Done": "終わり",
"Cancel": "キャンセル",
"OK": "OK"
"add": "追加"
},
"label": {
"welcome": "ようこそ!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@
"delete": "삭제",
"duplicate": "복제하다",
"putback": "다시 집어 넣어",
"Done": "완료",
"Cancel": "취소",
"OK": "확인"
"cancel": "취소",
"ok": "확인"
},
"label": {
"welcome": "환영합니다!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@
"removeFromFavorites": "Usuń z ulubionych",
"addToFavorites": "Dodaj do ulubionych",
"rename": "Zmień nazwę",
"helpCenter": "Centrum Pomocy",
"Done": "Zrobione",
"Cancel": "Anuluj"
"helpCenter": "Centrum Pomocy"
},
"label": {
"welcome": "Witaj!",
Expand Down
3 changes: 0 additions & 3 deletions frontend/resources/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,6 @@
"helpCenter": "Central de Ajuda",
"add": "Adicionar",
"yes": "Sim",
"Done": "Feito",
"Cancel": "Cancelar",
"OK": "Ok",
"tryAGain": "Tentar novamente"
},
"label": {
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,8 @@
"delete": "Excluir",
"duplicate": "Duplicado",
"putback": "Por de volta",
"Done": "Feito",
"Cancel": "Cancelar",
"OK": "OK"
"cancel": "Cancelar",
"ok": "OK"
},
"label": {
"welcome": "Bem vindo!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@
"rename": "Переименовать",
"helpCenter": "Центр помощи",
"add": "Добавить",
"yes": "Да",
"Done": "Готово",
"Cancel": "Отменить"
"yes": "Да"
},
"label": {
"welcome": "Добро пожаловать!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/sv-SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,8 @@
"delete": "Radera",
"duplicate": "Duplicera",
"putback": "Ställ tillbaka",
"OK": "OK",
"Done": "Gjort",
"Cancel": "Avbryt"
"ok": "OK",
"cancel": "Avbryt"
},
"label": {
"welcome": "Välkommen!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/th-TH.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@
"rename": "เปลี่ยนชื่อ",
"helpCenter": "ศูนย์ช่วยเหลือ",
"add": "เพิ่ม",
"yes": "ใช่",
"Done": "เสร็จแล้ว",
"Cancel": "ยกเลิก"
"yes": "ใช่"
},
"label": {
"welcome": "ยินดีต้อนรับ!",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@
"editContact": "Редагувати контакт"
},
"button": {
"OK": "OK",
"Done": "Готово",
"Cancel": "Скасувати",
"ok": "OK",
"cancel": "Скасувати",
"signIn": "Увійти",
"signOut": "Вийти",
"complete": "Завершити",
Expand Down
5 changes: 2 additions & 3 deletions frontend/resources/translations/ur.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@
"editContact": "رابطہ ایڈیٹ کریں"
},
"button": {
"OK": "ٹھیک ہے",
"Done": "ہو گیا",
"Cancel": "منسوخ کریں",
"ok": "ٹھیک ہے",
"cancel": "منسوخ کریں",
"signIn": "سائن ان کریں",
"signOut": "سائن آؤٹ کریں",
"complete": "مکمل",
Expand Down
2 changes: 0 additions & 2 deletions frontend/resources/translations/vi-VN.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@
"helpCenter": "Trung tâm trợ giúp",
"add": "Thêm",
"yes": "Đúng",
"Done": "Xong",
"Cancel": "Hủy",
"tryAGain": "Thử lại"
},
"label": {
Expand Down
5 changes: 1 addition & 4 deletions frontend/resources/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,7 @@
"rename": "重命名",
"helpCenter": "帮助中心",
"add": "添加",
"yes": "",
"Done": "完成",
"Cancel": "取消",
"OK": "确定"
"yes": ""
},
"label": {
"welcome": "欢迎!",
Expand Down
4 changes: 1 addition & 3 deletions frontend/resources/translations/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,7 @@
"rename": "重新命名",
"helpCenter": "支援中心",
"add": "新增",
"yes": "",
"Done": "完成",
"Cancel": "取消"
"yes": ""
},
"label": {
"welcome": "歡迎!",
Expand Down

0 comments on commit fa3bc97

Please sign in to comment.