fix: remove duplicated button labels for done, cancel and ok (#4718)

This commit is contained in:
Dev-for-fun 2024-02-23 20:31:01 +05:30 committed by GitHub
parent c0796e8ae5
commit fa3bc97698
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
30 changed files with 35 additions and 90 deletions

View File

@ -79,7 +79,7 @@ class AppBarDoneButton extends StatelessWidget {
onTap: onTap, onTap: onTap,
padding: const EdgeInsets.fromLTRB(12, 12, 8, 12), padding: const EdgeInsets.fromLTRB(12, 12, 8, 12),
child: FlowyText( child: FlowyText(
LocaleKeys.button_Done.tr(), LocaleKeys.button_done.tr(),
color: Theme.of(context).colorScheme.primary, color: Theme.of(context).colorScheme.primary,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
textAlign: TextAlign.right, textAlign: TextAlign.right,

View File

@ -49,7 +49,7 @@ class BottomSheetHeader extends StatelessWidget {
color: Color(0xFF00BCF0), color: Color(0xFF00BCF0),
), ),
text: FlowyText.medium( text: FlowyText.medium(
LocaleKeys.button_Done.tr(), LocaleKeys.button_done.tr(),
color: Colors.white, color: Colors.white,
fontSize: 16.0, fontSize: 16.0,
), ),

View File

@ -194,8 +194,7 @@
}, },
"button": { "button": {
"OK": "እሺ", "OK": "እሺ",
"Done": "ተከናውኗል", "cancel": "ይቅር",
"Cancel": "ይቅር",
"signIn": "ይግቡ", "signIn": "ይግቡ",
"signOut": "ዘግተው ውጣ", "signOut": "ዘግተው ውጣ",
"complete": "ተጠናቀቀ", "complete": "ተጠናቀቀ",

View File

@ -233,9 +233,6 @@
"helpCenter": "مركز المساعدة", "helpCenter": "مركز المساعدة",
"add": "اضافة", "add": "اضافة",
"yes": "نعم", "yes": "نعم",
"Done": "منتهي",
"Cancel": "إلغاء",
"OK": "نعم",
"tryAGain": "حاول ثانية" "tryAGain": "حاول ثانية"
}, },
"label": { "label": {

View File

@ -230,10 +230,7 @@
"rename": "Renombrar", "rename": "Renombrar",
"helpCenter": "Centre d'ajuda", "helpCenter": "Centre d'ajuda",
"add": "Afegir", "add": "Afegir",
"yes": "Sí", "yes": "Sí"
"Done": "Fet",
"Cancel": "Cancel·lar",
"OK": "OK"
}, },
"label": { "label": {
"welcome": "Benvingut!", "welcome": "Benvingut!",

View File

@ -192,9 +192,8 @@
"delete": "سڕینەوە", "delete": "سڕینەوە",
"duplicate": "هاوشێوە کردن", "duplicate": "هاوشێوە کردن",
"putback": "بیخەرەوە بۆ دواوە", "putback": "بیخەرەوە بۆ دواوە",
"Done": "تەواوه", "cancel": "ڕەتکردن",
"Cancel": "ڕەتکردن", "ok": "ئۆکەی"
"OK": "ئۆکەی"
}, },
"label": { "label": {
"welcome": "بەخێربێن!", "welcome": "بەخێربێن!",

View File

@ -231,9 +231,7 @@
"rename": "Umbenennen", "rename": "Umbenennen",
"helpCenter": "Hilfe", "helpCenter": "Hilfe",
"add": "Hinzufügen", "add": "Hinzufügen",
"yes": "Ja", "yes": "Ja"
"Done": "Erledigt",
"Cancel": "Abbrechen"
}, },
"label": { "label": {
"welcome": "Willkommen!", "welcome": "Willkommen!",

View File

@ -235,9 +235,7 @@
"rename": "Rename", "rename": "Rename",
"helpCenter": "Help Center", "helpCenter": "Help Center",
"add": "Add", "add": "Add",
"yes": "Yes", "yes": "Yes"
"Done": "Done",
"Cancel": "Cancel"
}, },
"label": { "label": {
"welcome": "Welcome!", "welcome": "Welcome!",

View File

@ -234,10 +234,7 @@
"rename": "Renombrar", "rename": "Renombrar",
"helpCenter": "Centro de ayuda", "helpCenter": "Centro de ayuda",
"add": "Añadir", "add": "Añadir",
"yes": "Si", "yes": "Si"
"Done": "Hecho",
"Cancel": "Cancelar",
"OK": "OK"
}, },
"label": { "label": {
"welcome": "¡Bienvenido!", "welcome": "¡Bienvenido!",

View File

@ -176,9 +176,8 @@
"delete": "Ezabatu", "delete": "Ezabatu",
"duplicate": "Bikoiztu", "duplicate": "Bikoiztu",
"putback": "Jarri Atzera", "putback": "Jarri Atzera",
"Done": "Eginda", "cancel": "Ezteztatu",
"Cancel": "Ezteztatu", "ok": "OK"
"OK": "OK"
}, },
"label": { "label": {
"welcome": "Ongi etorri!", "welcome": "Ongi etorri!",

View File

@ -192,9 +192,8 @@
"delete": "حذف کردن", "delete": "حذف کردن",
"duplicate": "تکرار کردن", "duplicate": "تکرار کردن",
"putback": "بازگشت", "putback": "بازگشت",
"Done": "انجام شد", "cancel": "لغو",
"Cancel": "لغو", "ok": "باشه"
"OK": "باشه"
}, },
"label": { "label": {
"welcome": "خوش آمدید!", "welcome": "خوش آمدید!",

View File

@ -237,9 +237,6 @@
"helpCenter": "Centre d'aide", "helpCenter": "Centre d'aide",
"add": "Ajouter", "add": "Ajouter",
"yes": "Oui", "yes": "Oui",
"Done": "Fait",
"Cancel": "Annuler",
"OK": "OK",
"tryAGain": "Réessayer" "tryAGain": "Réessayer"
}, },
"label": { "label": {

View File

@ -237,9 +237,6 @@
"helpCenter": "Centre d'aide", "helpCenter": "Centre d'aide",
"add": "Ajouter", "add": "Ajouter",
"yes": "Oui", "yes": "Oui",
"Done": "Fait",
"Cancel": "Annuler",
"OK": "OK",
"tryAGain": "Réessayer" "tryAGain": "Réessayer"
}, },
"label": { "label": {

View File

@ -188,9 +188,8 @@
"editContact": "संपर्क संपादित करें" "editContact": "संपर्क संपादित करें"
}, },
"button": { "button": {
"OK": "ठीक है", "ok": "ठीक है",
"Done": "किया", "cancel": "रद्द करें",
"Cancel": "रद्द करें",
"signIn": "साइन इन करें", "signIn": "साइन इन करें",
"signOut": "साइन आउट करें", "signOut": "साइन आउट करें",
"complete": "पूर्ण", "complete": "पूर्ण",

View File

@ -180,9 +180,8 @@
"delete": "Töröl", "delete": "Töröl",
"duplicate": "Másolat", "duplicate": "Másolat",
"putback": "Visszatesz", "putback": "Visszatesz",
"Done": "Kész", "cancel": "Mégse",
"Cancel": "Mégse", "ok": "OK"
"OK": "OK"
}, },
"label": { "label": {
"welcome": "Üdvözlünk!", "welcome": "Üdvözlünk!",

View File

@ -228,10 +228,7 @@
"removeFromFavorites": "Hapus dari favorit", "removeFromFavorites": "Hapus dari favorit",
"addToFavorites": "Tambahkan ke Favorit", "addToFavorites": "Tambahkan ke Favorit",
"rename": "Ganti nama", "rename": "Ganti nama",
"helpCenter": "Pusat Bantuan", "helpCenter": "Pusat Bantuan"
"Done": "Selesai",
"Cancel": "Batal",
"OK": "Ya"
}, },
"label": { "label": {
"welcome": "Selamat datang!", "welcome": "Selamat datang!",

View File

@ -231,10 +231,7 @@
"rename": "Rinomina", "rename": "Rinomina",
"helpCenter": "Centro assistenza", "helpCenter": "Centro assistenza",
"add": "Aggiungi", "add": "Aggiungi",
"yes": "SÌ", "yes": "SÌ"
"Done": "Fatto",
"Cancel": "Annulla",
"OK": "OK"
}, },
"label": { "label": {
"welcome": "Benvenuto!", "welcome": "Benvenuto!",

View File

@ -214,10 +214,7 @@
"addToFavorites": "お気に入りへ追加", "addToFavorites": "お気に入りへ追加",
"rename": "名前を変更", "rename": "名前を変更",
"helpCenter": "ヘルプセンター", "helpCenter": "ヘルプセンター",
"add": "追加", "add": "追加"
"Done": "終わり",
"Cancel": "キャンセル",
"OK": "OK"
}, },
"label": { "label": {
"welcome": "ようこそ!", "welcome": "ようこそ!",

View File

@ -176,9 +176,8 @@
"delete": "삭제", "delete": "삭제",
"duplicate": "복제하다", "duplicate": "복제하다",
"putback": "다시 집어 넣어", "putback": "다시 집어 넣어",
"Done": "완료", "cancel": "취소",
"Cancel": "취소", "ok": "확인"
"OK": "확인"
}, },
"label": { "label": {
"welcome": "환영합니다!", "welcome": "환영합니다!",

View File

@ -228,9 +228,7 @@
"removeFromFavorites": "Usuń z ulubionych", "removeFromFavorites": "Usuń z ulubionych",
"addToFavorites": "Dodaj do ulubionych", "addToFavorites": "Dodaj do ulubionych",
"rename": "Zmień nazwę", "rename": "Zmień nazwę",
"helpCenter": "Centrum Pomocy", "helpCenter": "Centrum Pomocy"
"Done": "Zrobione",
"Cancel": "Anuluj"
}, },
"label": { "label": {
"welcome": "Witaj!", "welcome": "Witaj!",

View File

@ -235,9 +235,6 @@
"helpCenter": "Central de Ajuda", "helpCenter": "Central de Ajuda",
"add": "Adicionar", "add": "Adicionar",
"yes": "Sim", "yes": "Sim",
"Done": "Feito",
"Cancel": "Cancelar",
"OK": "Ok",
"tryAGain": "Tentar novamente" "tryAGain": "Tentar novamente"
}, },
"label": { "label": {

View File

@ -211,9 +211,8 @@
"delete": "Excluir", "delete": "Excluir",
"duplicate": "Duplicado", "duplicate": "Duplicado",
"putback": "Por de volta", "putback": "Por de volta",
"Done": "Feito", "cancel": "Cancelar",
"Cancel": "Cancelar", "ok": "OK"
"OK": "OK"
}, },
"label": { "label": {
"welcome": "Bem vindo!", "welcome": "Bem vindo!",

View File

@ -232,9 +232,7 @@
"rename": "Переименовать", "rename": "Переименовать",
"helpCenter": "Центр помощи", "helpCenter": "Центр помощи",
"add": "Добавить", "add": "Добавить",
"yes": "Да", "yes": "Да"
"Done": "Готово",
"Cancel": "Отменить"
}, },
"label": { "label": {
"welcome": "Добро пожаловать!", "welcome": "Добро пожаловать!",

View File

@ -176,9 +176,8 @@
"delete": "Radera", "delete": "Radera",
"duplicate": "Duplicera", "duplicate": "Duplicera",
"putback": "Ställ tillbaka", "putback": "Ställ tillbaka",
"OK": "OK", "ok": "OK",
"Done": "Gjort", "cancel": "Avbryt"
"Cancel": "Avbryt"
}, },
"label": { "label": {
"welcome": "Välkommen!", "welcome": "Välkommen!",

View File

@ -231,9 +231,7 @@
"rename": "เปลี่ยนชื่อ", "rename": "เปลี่ยนชื่อ",
"helpCenter": "ศูนย์ช่วยเหลือ", "helpCenter": "ศูนย์ช่วยเหลือ",
"add": "เพิ่ม", "add": "เพิ่ม",
"yes": "ใช่", "yes": "ใช่"
"Done": "เสร็จแล้ว",
"Cancel": "ยกเลิก"
}, },
"label": { "label": {
"welcome": "ยินดีต้อนรับ!", "welcome": "ยินดีต้อนรับ!",

View File

@ -193,9 +193,8 @@
"editContact": "Редагувати контакт" "editContact": "Редагувати контакт"
}, },
"button": { "button": {
"OK": "OK", "ok": "OK",
"Done": "Готово", "cancel": "Скасувати",
"Cancel": "Скасувати",
"signIn": "Увійти", "signIn": "Увійти",
"signOut": "Вийти", "signOut": "Вийти",
"complete": "Завершити", "complete": "Завершити",

View File

@ -188,9 +188,8 @@
"editContact": "رابطہ ایڈیٹ کریں" "editContact": "رابطہ ایڈیٹ کریں"
}, },
"button": { "button": {
"OK": "ٹھیک ہے", "ok": "ٹھیک ہے",
"Done": "ہو گیا", "cancel": "منسوخ کریں",
"Cancel": "منسوخ کریں",
"signIn": "سائن ان کریں", "signIn": "سائن ان کریں",
"signOut": "سائن آؤٹ کریں", "signOut": "سائن آؤٹ کریں",
"complete": "مکمل", "complete": "مکمل",

View File

@ -229,8 +229,6 @@
"helpCenter": "Trung tâm trợ giúp", "helpCenter": "Trung tâm trợ giúp",
"add": "Thêm", "add": "Thêm",
"yes": "Đúng", "yes": "Đúng",
"Done": "Xong",
"Cancel": "Hủy",
"tryAGain": "Thử lại" "tryAGain": "Thử lại"
}, },
"label": { "label": {

View File

@ -236,10 +236,7 @@
"rename": "重命名", "rename": "重命名",
"helpCenter": "帮助中心", "helpCenter": "帮助中心",
"add": "添加", "add": "添加",
"yes": "是", "yes": "是"
"Done": "完成",
"Cancel": "取消",
"OK": "确定"
}, },
"label": { "label": {
"welcome": "欢迎!", "welcome": "欢迎!",

View File

@ -235,9 +235,7 @@
"rename": "重新命名", "rename": "重新命名",
"helpCenter": "支援中心", "helpCenter": "支援中心",
"add": "新增", "add": "新增",
"yes": "是", "yes": "是"
"Done": "完成",
"Cancel": "取消"
}, },
"label": { "label": {
"welcome": "歡迎!", "welcome": "歡迎!",