From c941075433e59f50a2afa554894cf0998fb69f09 Mon Sep 17 00:00:00 2001 From: GedeonTS Date: Sat, 4 May 2024 12:10:55 +0200 Subject: [PATCH 1/3] [Translations] Add translations to the shortcut modal --- apps/web/app/hooks/useHotkeys.ts | 16 ++++++++-------- apps/web/lib/components/keyboard-shortcuts.tsx | 4 ++-- apps/web/messages/ar.json | 10 ++++++++++ apps/web/messages/bg.json | 10 ++++++++++ apps/web/messages/de.json | 10 ++++++++++ apps/web/messages/en.json | 10 ++++++++++ apps/web/messages/es.json | 10 ++++++++++ apps/web/messages/fr.json | 10 ++++++++++ apps/web/messages/he.json | 10 ++++++++++ apps/web/messages/it.json | 10 ++++++++++ apps/web/messages/nl.json | 10 ++++++++++ apps/web/messages/pl.json | 10 ++++++++++ apps/web/messages/pt.json | 10 ++++++++++ apps/web/messages/ru.json | 10 ++++++++++ apps/web/messages/zh.json | 10 ++++++++++ apps/web/public/locales/ar/common.json | 10 ++++++++++ apps/web/public/locales/bg/common.json | 10 ++++++++++ apps/web/public/locales/de/common.json | 10 ++++++++++ apps/web/public/locales/en/common.json | 10 ++++++++++ apps/web/public/locales/es/common.json | 10 ++++++++++ apps/web/public/locales/fr/common.json | 10 ++++++++++ apps/web/public/locales/he/common.json | 10 ++++++++++ apps/web/public/locales/it/common.json | 10 ++++++++++ apps/web/public/locales/nl/common.json | 10 ++++++++++ apps/web/public/locales/pl/common.json | 10 ++++++++++ apps/web/public/locales/pt/common.json | 10 ++++++++++ apps/web/public/locales/ru/common.json | 10 ++++++++++ apps/web/public/locales/zh/common.json | 10 ++++++++++ 28 files changed, 270 insertions(+), 10 deletions(-) diff --git a/apps/web/app/hooks/useHotkeys.ts b/apps/web/app/hooks/useHotkeys.ts index 92eea73e4..51cfa0c4c 100644 --- a/apps/web/app/hooks/useHotkeys.ts +++ b/apps/web/app/hooks/useHotkeys.ts @@ -25,10 +25,10 @@ export const HostKeys = { export const HostKeysMapping = [ { - heading: 'Help', + heading: 'HELP', keySequence: [ { - label: 'To Open Shortcut List', + label:'TO_OPEN_SHORTCUT_LIST', sequence: { MAC: ['H'], OTHER: ['H'] @@ -37,17 +37,17 @@ export const HostKeysMapping = [ ] }, { - heading: 'Timer', + heading: 'TIMER', keySequence: [ { - label: 'Start Timer', + label: 'START_TIMER', sequence: { MAC: ['Ctrl(⌃)', 'Opt(⌥)', ']'], OTHER: ['Ctrl', 'Alt', ']'] } }, { - label: 'Stop Timer', + label: 'STOP_TIMER', sequence: { MAC: ['Ctrl(⌃)', 'Opt(⌥)', '['], OTHER: ['Ctrl', 'Alt', '['] @@ -56,17 +56,17 @@ export const HostKeysMapping = [ ] }, { - heading: 'Task', + heading: 'TASK', keySequence: [ { - label: 'Assign Task', + label: 'ASSING_TASK', sequence: { MAC: ['A'], OTHER: ['A'] } }, { - label: 'Create Task', + label: 'CREATE_TASK', sequence: { MAC: ['C'], OTHER: ['C'] diff --git a/apps/web/lib/components/keyboard-shortcuts.tsx b/apps/web/lib/components/keyboard-shortcuts.tsx index 599178c5f..ee33a6d20 100644 --- a/apps/web/lib/components/keyboard-shortcuts.tsx +++ b/apps/web/lib/components/keyboard-shortcuts.tsx @@ -40,7 +40,7 @@ export function KeyboardShortcuts() { {HostKeysMapping.map((item, index) => (

- {item.heading} + {t(`hotkeys.${item.heading}`)}

{item.keySequence.map((keySeq, keySeqIndex) => ( @@ -49,7 +49,7 @@ export function KeyboardShortcuts() { key={`key-seq-${keySeqIndex}`} >
-

{keySeq.label}

+

{t(`hotkeys.${keySeq.label}`)}

{[...(os === 'Mac' ? keySeq.sequence.MAC : keySeq.sequence.OTHER)].map( diff --git a/apps/web/messages/ar.json b/apps/web/messages/ar.json index 7cd0af5c4..c535653ae 100644 --- a/apps/web/messages/ar.json +++ b/apps/web/messages/ar.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "لم يتم إيقاف أي مستخدم مؤقتًا عن العمل في الوقت الحالي", "NO_USERS_IDLE": "لا يوجد مستخدمين خاملين في الوقت الحالي" }, + "hotkeys":{ + "HELP": "مساعدة", + "TO_OPEN_SHORTCUT_LIST": "لفتح قائمة الاختصارات", + "TIMER": "المؤقت", + "START_TIMER": "بدء المؤقت", + "STOP_TIMER": "إيقاف المؤقت", + "TASK": "المهمة", + "ASSING_TASK": "تعيين المهمة", + "CREATE_TASK": "إنشاء مهمة" + }, "alerts": { "REAL_TIME_ON_WORKING": "نحن نعمل على المزامنة في الوقت الحقيقي في الوقت الحالي، يرجى التحقق من هذه الميزة لاحقًا", "ALERT_DELETE_ACCOUNT": "سيتم إزالة الحساب من جميع الفرق، باستثناء حيث أنت المدير فقط", diff --git a/apps/web/messages/bg.json b/apps/web/messages/bg.json index a11adf2e9..a1bb941ec 100644 --- a/apps/web/messages/bg.json +++ b/apps/web/messages/bg.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK":"В момента няма потребители, които да са спрели работата си", "NO_USERS_IDLE":"В момента няма неактивни потребители" }, + "hotkeys":{ + "HELP": "Помощ", + "TO_OPEN_SHORTCUT_LIST": "за да отворите списъка с клавишни комбинации", + "TIMER": "Таймер", + "START_TIMER": "Старт на таймера", + "STOP_TIMER": "Спиране на таймера", + "TASK": "Задача", + "ASSING_TASK": "Възлагане на задача", + "CREATE_TASK": "Създаване на задача" + }, "alerts": { "REAL_TIME_ON_WORKING": "В момента работим върху синхронизирането в реално време, моля, проверете тази функция по-късно.", "ALERT_DELETE_ACCOUNT": "Профилът ще бъде премахнат от всички отбори, освен където сте само мениджър", diff --git a/apps/web/messages/de.json b/apps/web/messages/de.json index c564b18ed..22c40cfa6 100644 --- a/apps/web/messages/de.json +++ b/apps/web/messages/de.json @@ -191,6 +191,16 @@ "NO_USERS_IDLE": "Derzeit gibt es keine inaktiven Benutzer." }, + "hotkeys":{ + "HELP": "Hilfe", + "TO_OPEN_SHORTCUT_LIST": "Um die Liste der Tastenkombinationen zu öffnen", + "TIMER": "Timer", + "START_TIMER": "Timer starten", + "STOP_TIMER": "Timer stoppen", + "TASK": "Aufgabe", + "ASSING_TASK": "Aufgabe zuweisen", + "CREATE_TASK": "Neue Aufgabe erstellen" + }, "alerts": { "REAL_TIME_ON_WORKING": "Wir arbeiten derzeit an der Echtzeitsynchronisierung. Bitte überprüfen Sie diese Funktion später.", "ALERT_DELETE_ACCOUNT": "Das Konto wird von allen Teams entfernt, außer wo Sie nur Manager sind", diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 02dde9bba..d69c2163e 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "There are currently no users who have paused their work", "NO_USERS_IDLE": "There are currently no inactive users" }, + "hotkeys":{ + "HELP": "Help", + "TO_OPEN_SHORTCUT_LIST": "To open the shortcut list", + "TIMER": "Timer", + "START_TIMER": "Start Timer", + "STOP_TIMER": "Stop Timer", + "TASK": "Task", + "ASSING_TASK": "Assign Task", + "CREATE_TASK": "Create Task" + }, "alerts": { "REAL_TIME_ON_WORKING": "We are working on Real-Time Sync at the moment, please check on this feature later.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/messages/es.json b/apps/web/messages/es.json index 638e33ce1..819a0101c 100644 --- a/apps/web/messages/es.json +++ b/apps/web/messages/es.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "Actualmente no hay usuarios que hayan dejado de trabajar", "NO_USERS_IDLE": "Actualmente no hay usuarios inactivos" }, + "hotkeys":{ + "HELP": "Ayuda", + "TO_OPEN_SHORTCUT_LIST": "Para abrir la lista de atajos", + "TIMER": "Temporizador", + "START_TIMER": "Iniciar temporizador", + "STOP_TIMER": "Detener temporizador", + "TASK": "Tarea", + "ASSING_TASK": "Asignar tarea", + "CREATE_TASK": "Crear tarea" + }, "alerts": { "REAL_TIME_ON_WORKING": "Estamos trabajando en la sincronización en tiempo real en este momento; verifique esta función más adelante.", "ALERT_DELETE_ACCOUNT": "La cuenta será eliminada de todos los equipos, excepto donde eres sólo el administrador", diff --git a/apps/web/messages/fr.json b/apps/web/messages/fr.json index bb6e51b32..b920df480 100644 --- a/apps/web/messages/fr.json +++ b/apps/web/messages/fr.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "Il n'y a actuellement aucun utilisateur qui a mis en pause son travail", "NO_USERS_IDLE": "Il n'y a actuellement aucun utilisateur inactif" }, + "hotkeys":{ + "HELP": "Aide", + "TO_OPEN_SHORTCUT_LIST": "Pour ouvrir la liste des raccourcis", + "TIMER": "Chronomètre", + "START_TIMER": "Démarrer le chronomètre", + "STOP_TIMER": "Arrêter le chronomètre", + "TASK": "Tâche", + "ASSING_TASK": "Assigner la tâche", + "CREATE_TASK": "Créer une tâche" + }, "alerts": { "REAL_TIME_ON_WORKING": "Nous travaillons actuellement sur la synchronisation en temps réel, veuillez vérifier cette fonctionnalité plus tard.", "ALERT_DELETE_ACCOUNT": "Le compte sera supprimé de toutes les équipes, sauf si vous êtes uniquement le gestionnaire", diff --git a/apps/web/messages/he.json b/apps/web/messages/he.json index f5d7aadd0..fa725dd16 100644 --- a/apps/web/messages/he.json +++ b/apps/web/messages/he.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "כרגע אין משתמשים שהפסיקו את עבודתם", "NO_USERS_IDLE": "כרגע אין משתמשים לא פעילים" }, + "hotkeys":{ + "HELP": "עזרה", + "TO_OPEN_SHORTCUT_LIST": "כדי לפתוח את רשימת הקיצורים", + "TIMER": "טיימר", + "START_TIMER": "התחל טיימר", + "STOP_TIMER": "עצור טיימר", + "TASK": "משימה", + "ASSING_TASK": "הקצה משימה", + "CREATE_TASK": "צור משימה" + }, "alerts": { "REAL_TIME_ON_WORKING": "אנחנו עובדים על סנכרון בזמן אמת כרגע, אנא בדוק את התכונה הזו מאוחר יותר.", "ALERT_DELETE_ACCOUNT": "החשבון יוסר מכל הצוותים, למעט היכן שאתה רק המנהל", diff --git a/apps/web/messages/it.json b/apps/web/messages/it.json index 52e27d63a..8b8fcbc8b 100644 --- a/apps/web/messages/it.json +++ b/apps/web/messages/it.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "Al momento non ci sono utenti che hanno interrotto il proprio lavoro", "NO_USERS_IDLE": "Al momento non ci sono utenti inattivi" }, + "hotkeys":{ + "HELP": "Aiuto", + "TO_OPEN_SHORTCUT_LIST": "Per aprire la lista delle scorciatoie", + "TIMER": "Timer", + "START_TIMER": "Avvia Timer", + "STOP_TIMER": "Ferma Timer", + "TASK": "Compito", + "ASSING_TASK": "Assegna Compito", + "CREATE_TASK": "Crea Compito" + }, "alerts": { "REAL_TIME_ON_WORKING": "Stiamo lavorando alla sincronizzazione in tempo reale al momento, controlla questa funzionalità più tardi.", "ALERT_DELETE_ACCOUNT": "Sarai rimosso da tutti i team, tranne quelli in cui sei l'unico responsabile del team", diff --git a/apps/web/messages/nl.json b/apps/web/messages/nl.json index 382d25677..6d10dcd45 100644 --- a/apps/web/messages/nl.json +++ b/apps/web/messages/nl.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "Er zijn momenteel geen gebruikers die hun werk hebben stopgezet", "NO_USERS_IDLE": "Er zijn momenteel geen inactieve gebruikers" }, + "hotkeys":{ + "HELP": "Help", + "TO_OPEN_SHORTCUT_LIST": "Om de sneltoetsenlijst te openen", + "TIMER": "Timer", + "START_TIMER": "Start de timer", + "STOP_TIMER": "Stop de timer", + "TASK": "Taak", + "ASSING_TASK": "Taak toewijzen", + "CREATE_TASK": "Nieuwe taak maken" + }, "alerts": { "REAL_TIME_ON_WORKING": "We werken momenteel aan Real-Time Sync. Bekijk deze functie later opnieuw.", "ALERT_DELETE_ACCOUNT": "Account wordt verwijderd van alle teams, behalve waar u alleen manager bent", diff --git a/apps/web/messages/pl.json b/apps/web/messages/pl.json index e98839184..8d764f1b9 100644 --- a/apps/web/messages/pl.json +++ b/apps/web/messages/pl.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "Obecnie nie ma użytkowników, którzy przerwali pracę", "NO_USERS_IDLE": "Obecnie nie ma nieaktywnych użytkowników" }, + "hotkeys":{ + "HELP": "Pomoc", + "TO_OPEN_SHORTCUT_LIST": "Aby otworzyć listę skrótów", + "TIMER": "Timer", + "START_TIMER": "Rozpocznij Timer", + "STOP_TIMER": "Zatrzymaj Timer", + "TASK": "Zadanie", + "ASSING_TASK": "Przypisz Zadanie", + "CREATE_TASK": "Utwórz Zadanie" + }, "alerts": { "REAL_TIME_ON_WORKING": "W tej chwili pracujemy nad synchronizacją w czasie rzeczywistym. Sprawdź tę funkcję później.", "ALERT_DELETE_ACCOUNT": "Zostaniesz usunięty z wszystkich zespołów, z wyjątkiem sytuacji, gdy jesteś jedynym menedżerem w zespole", diff --git a/apps/web/messages/pt.json b/apps/web/messages/pt.json index 6b15fcc4d..cd2a398c9 100644 --- a/apps/web/messages/pt.json +++ b/apps/web/messages/pt.json @@ -190,6 +190,16 @@ "NOT_FOUND": "Não encontrado", "PAGE_NOT_FOUND": "Página não encontrada" }, + "hotkeys":{ + "HELP": "Ajuda", + "TO_OPEN_SHORTCUT_LIST": "Para abrir a lista de atalhos", + "TIMER": "Temporizador", + "START_TIMER": "Iniciar Temporizador", + "STOP_TIMER": "Parar Temporizador", + "TASK": "Tarefa", + "ASSING_TASK": "Atribuir Tarefa", + "CREATE_TASK": "Criar Tarefa" + }, "alerts": { "REAL_TIME_ON_WORKING": "Estamos trabalhando na sincronização em tempo real no momento. Verifique esse recurso mais tarde.", "ALERT_DELETE_ACCOUNT": "Você será removido de todas as equipes, exceto onde você é o único gerente na equipe", diff --git a/apps/web/messages/ru.json b/apps/web/messages/ru.json index 265dfa01c..353b540db 100644 --- a/apps/web/messages/ru.json +++ b/apps/web/messages/ru.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "На данный момент нет пользователей, прекративших свою работу", "NO_USERS_IDLE": "На данный момент неактивных пользователей нет" }, + "hotkeys":{ + "HELP": "Помощь", + "TO_OPEN_SHORTCUT_LIST": "Чтобы открыть список горячих клавиш", + "TIMER": "Таймер", + "START_TIMER": "Запустить таймер", + "STOP_TIMER": "Остановить таймер", + "TASK": "Задача", + "ASSING_TASK": "Назначить задачу", + "CREATE_TASK": "Создать задачу" + }, "alerts": { "REAL_TIME_ON_WORKING": "В настоящее время мы работаем над синхронизацией в реальном времени, пожалуйста, проверьте эту функцию позже.", "ALERT_DELETE_ACCOUNT": "Вы будете удалены из всех команд, кроме тех, где вы являетесь единственным управляющим", diff --git a/apps/web/messages/zh.json b/apps/web/messages/zh.json index 7ec09d4c8..479f00ec6 100644 --- a/apps/web/messages/zh.json +++ b/apps/web/messages/zh.json @@ -190,6 +190,16 @@ "NO_USERS_PAUSED_WORK": "目前还没有用户停止工作", "NO_USERS_IDLE": "目前没有不活跃用户" }, + "hotkeys":{ + "HELP": "帮助", + "TO_OPEN_SHORTCUT_LIST": "打开快捷键列表", + "TIMER": "计时器", + "START_TIMER": "开始计时", + "STOP_TIMER": "停止计时", + "TASK": "任务", + "ASSING_TASK": "分配任务", + "CREATE_TASK": "创建任务" + }, "alerts": { "REAL_TIME_ON_WORKING": "我們目前正在開發即時同步功能,請稍後查看此功能。", "ALERT_DELETE_ACCOUNT": "账户将从所有团队中移除,您作为管理员的团队除外", diff --git a/apps/web/public/locales/ar/common.json b/apps/web/public/locales/ar/common.json index e5e7b0885..4f9bd3e43 100644 --- a/apps/web/public/locales/ar/common.json +++ b/apps/web/public/locales/ar/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "لم يتم إيقاف أي مستخدم مؤقتًا عن العمل في الوقت الحالي", "NO_USERS_IDLE": "لا يوجد مستخدمين خاملين في الوقت الحالي" }, + "hotkeys":{ + "HELP": "مساعدة", + "TO_OPEN_SHORTCUT_LIST": "لفتح قائمة الاختصارات", + "TIMER": "المؤقت", + "START_TIMER": "بدء المؤقت", + "STOP_TIMER": "إيقاف المؤقت", + "TASK": "المهمة", + "ASSING_TASK": "تعيين المهمة", + "CREATE_TASK": "إنشاء مهمة" + }, "alerts": { "REAL_TIME_ON_WORKING": "نحن نعمل على المزامنة في الوقت الحقيقي في الوقت الحالي، يرجى التحقق من هذه الميزة لاحقًا.", "ALERT_DELETE_ACCOUNT": "سيتم إزالة الحساب من جميع الفرق، باستثناء حيث أنت المدير فقط", diff --git a/apps/web/public/locales/bg/common.json b/apps/web/public/locales/bg/common.json index 94a697b57..281ed2f7d 100644 --- a/apps/web/public/locales/bg/common.json +++ b/apps/web/public/locales/bg/common.json @@ -181,6 +181,16 @@ "NO_USERS_PAUSED_WORK":"В момента няма потребители, които да са спрели работата си", "NO_USERS_IDLE":"В момента няма неактивни потребители" }, + "hotkeys":{ + "HELP": "Помощ", + "TO_OPEN_SHORTCUT_LIST": "за да отворите списъка с клавишни комбинации", + "TIMER": "Таймер", + "START_TIMER": "за да стартирате таймера", + "STOP_TIMER": "за да спрете таймера", + "TASK": "Задача", + "ASSING_TASK": "за да възложите задача", + "CREATE_TASK": "за да създадете задача" + }, "alerts": { "REAL_TIME_ON_WORKING": "В момента работим върху синхронизирането в реално време, моля, проверете тази функция по-късно.", "ALERT_DELETE_ACCOUNT": "Профилът ще бъде премахнат от всички отбори, освен където сте само мениджър", diff --git a/apps/web/public/locales/de/common.json b/apps/web/public/locales/de/common.json index 405ce4612..5b11c4af3 100644 --- a/apps/web/public/locales/de/common.json +++ b/apps/web/public/locales/de/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "Derzeit gibt es keine Benutzer, die ihre Arbeit eingestellt haben", "NO_USERS_IDLE": "Derzeit gibt es keine inaktiven Benutzer" }, + "hotkeys":{ + "HELP": "Hilfe", + "TO_OPEN_SHORTCUT_LIST": "Um die Liste der Tastenkombinationen zu öffnen", + "TIMER": "Timer", + "START_TIMER": "Timer starten", + "STOP_TIMER": "Timer stoppen", + "TASK": "Aufgabe", + "ASSING_TASK": "Aufgabe zuweisen", + "CREATE_TASK": "Neue Aufgabe erstellen" + }, "alerts": { "REAL_TIME_ON_WORKING": "Wir arbeiten derzeit an der Echtzeitsynchronisierung. Bitte überprüfen Sie diese Funktion später.", "ALERT_DELETE_ACCOUNT": "Das Konto wird von allen Teams entfernt, außer wo Sie nur Manager sind", diff --git a/apps/web/public/locales/en/common.json b/apps/web/public/locales/en/common.json index aa16a41a2..7a030ab66 100644 --- a/apps/web/public/locales/en/common.json +++ b/apps/web/public/locales/en/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "There are currently no users who have paused their work", "NO_USERS_IDLE": "There are currently no inactive users" }, + "hotkeys":{ + "HELP": "Help", + "TO_OPEN_SHORTCUT_LIST": "To open the shortcut list", + "TIMER": "Timer", + "START_TIMER": "Start Timer", + "STOP_TIMER": "Stop Timer", + "TASK": "Task", + "ASSING_TASK": "Assign Task", + "CREATE_TASK": "Create Task" + }, "alerts": { "REAL_TIME_ON_WORKING": "We are working on Real-Time Sync at the moment, please check on this feature later.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/public/locales/es/common.json b/apps/web/public/locales/es/common.json index 6aca2a308..362b2ae9f 100644 --- a/apps/web/public/locales/es/common.json +++ b/apps/web/public/locales/es/common.json @@ -180,6 +180,16 @@ "NO_USERS_PAUSED_WORK": "Actualmente no hay usuarios que hayan dejado de trabajar", "NO_USERS_IDLE": "Actualmente no hay usuarios inactivos" }, + "hotkeys":{ + "HELP": "Ayuda", + "TO_OPEN_SHORTCUT_LIST": "Para abrir la lista de atajos", + "TIMER": "Cronómetro", + "START_TIMER": "Iniciar cronómetro", + "STOP_TIMER": "Detener cronómetro", + "TASK": "Tarea", + "ASSING_TASK": "Asignar tarea", + "CREATE_TASK": "Crear tarea" + }, "alerts": { "REAL_TIME_ON_WORKING": "Estamos trabajando en la sincronización en tiempo real en este momento; verifique esta función más adelante.", "ALERT_DELETE_ACCOUNT": "La cuenta será eliminada de todos los equipos, excepto donde eres sólo el administrador", diff --git a/apps/web/public/locales/fr/common.json b/apps/web/public/locales/fr/common.json index 88b4c7235..13da011e1 100644 --- a/apps/web/public/locales/fr/common.json +++ b/apps/web/public/locales/fr/common.json @@ -181,6 +181,16 @@ "NO_USERS_PAUSED_WORK": "Il n'y a actuellement aucun utilisateur qui a mis en pause son travail", "NO_USERS_IDLE": "Il n'y a actuellement aucun utilisateur inactif" }, + "hotkeys":{ + "HELP": "Aide", + "TO_OPEN_SHORTCUT_LIST": "Pour ouvrir la liste des raccourcis", + "TIMER": "Minuterie", + "START_TIMER": "Démarrer la minuterie", + "STOP_TIMER": "Arrêter la minuterie", + "TASK": "Tâche", + "ASSING_TASK": "Assigner la tâche", + "CREATE_TASK": "Créer une tâche" + }, "alerts": { "REAL_TIME_ON_WORKING": "Nous travaillons actuellement sur la synchronisation en temps réel, veuillez vérifier cette fonctionnalité plus tard.", "ALERT_DELETE_ACCOUNT": "Le compte sera supprimé de toutes les équipes, sauf si vous êtes uniquement le gestionnaire", diff --git a/apps/web/public/locales/he/common.json b/apps/web/public/locales/he/common.json index 726c08449..abc368ef2 100644 --- a/apps/web/public/locales/he/common.json +++ b/apps/web/public/locales/he/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "כרגע אין משתמשים שהפסיקו את עבודתם", "NO_USERS_IDLE": "כרגע אין משתמשים לא פעילים" }, + "hotkeys":{ + "HELP": "עזרה", + "TO_OPEN_SHORTCUT_LIST": "כדי לפתוח את רשימת הקיצורים", + "TIMER": "טיימר", + "START_TIMER": "התחל טיימר", + "STOP_TIMER": "עצור טיימר", + "TASK": "משימה", + "ASSING_TASK": "הקצה משימה", + "CREATE_TASK": "צור משימה" + }, "alerts": { "REAL_TIME_ON_WORKING": "אנחנו עובדים על סנכרון בזמן אמת כרגע, אנא בדוק את התכונה הזו מאוחר יותר.", "ALERT_DELETE_ACCOUNT": "החשבון יוסר מכל הצוותים, למעט היכן שאתה רק המנהל", diff --git a/apps/web/public/locales/it/common.json b/apps/web/public/locales/it/common.json index 19301011c..eab44d6b7 100644 --- a/apps/web/public/locales/it/common.json +++ b/apps/web/public/locales/it/common.json @@ -185,6 +185,16 @@ "NO_USERS_PAUSED_WORK": "Al momento non ci sono utenti che hanno interrotto il proprio lavoro", "NO_USERS_IDLE": "Al momento non ci sono utenti inattivi" }, + "hotkeys":{ + "HELP": "Aiuto", + "TO_OPEN_SHORTCUT_LIST": "Per aprire l'elenco dei tasti di scelta rapida", + "TIMER": "Timer", + "START_TIMER": "Avvia il timer", + "STOP_TIMER": "Ferma il timer", + "TASK": "Compito", + "ASSING_TASK": "Assegna il compito", + "CREATE_TASK": "Crea un nuovo compito" + }, "alerts": { "REAL_TIME_ON_WORKING": "Stiamo lavorando alla sincronizzazione in tempo reale al momento, controlla questa funzionalità più tardi.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/public/locales/nl/common.json b/apps/web/public/locales/nl/common.json index 9c9af2d1f..037d3dec4 100644 --- a/apps/web/public/locales/nl/common.json +++ b/apps/web/public/locales/nl/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "Er zijn momenteel geen gebruikers die hun werk hebben stopgezet", "NO_USERS_IDLE": "Er zijn momenteel geen inactieve gebruikers" }, + "hotkeys":{ + "HELP": "Help", + "TO_OPEN_SHORTCUT_LIST": "Om de sneltoetsenlijst te openen", + "TIMER": "Timer", + "START_TIMER": "Start de timer", + "STOP_TIMER": "Stop de timer", + "TASK": "Taak", + "ASSING_TASK": "Taak toewijzen", + "CREATE_TASK": "Nieuwe taak maken" + }, "alerts": { "REAL_TIME_ON_WORKING": "We werken momenteel aan Real-Time Sync. Bekijk deze functie later opnieuw.", "ALERT_DELETE_ACCOUNT": "Account wordt verwijderd van alle teams, behalve waar u alleen manager bent", diff --git a/apps/web/public/locales/pl/common.json b/apps/web/public/locales/pl/common.json index 50ebe9ed2..fbf4572c2 100644 --- a/apps/web/public/locales/pl/common.json +++ b/apps/web/public/locales/pl/common.json @@ -185,6 +185,16 @@ "NO_USERS_PAUSED_WORK": "Obecnie nie ma użytkowników, którzy przerwali pracę", "NO_USERS_IDLE": "Obecnie nie ma nieaktywnych użytkowników" }, + "hotkeys":{ + "HELP": "Pomoc", + "TO_OPEN_SHORTCUT_LIST": "Aby otworzyć listę skrótów", + "TIMER": "Timer", + "START_TIMER": "Rozpocznij timer", + "STOP_TIMER": "Zatrzymaj timer", + "TASK": "Zadanie", + "ASSING_TASK": "Przypisz zadanie", + "CREATE_TASK": "Utwórz zadanie" + }, "alerts": { "REAL_TIME_ON_WORKING": "W tej chwili pracujemy nad synchronizacją w czasie rzeczywistym. Sprawdź tę funkcję później.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/public/locales/pt/common.json b/apps/web/public/locales/pt/common.json index 31f4280a8..e4938eb52 100644 --- a/apps/web/public/locales/pt/common.json +++ b/apps/web/public/locales/pt/common.json @@ -185,6 +185,16 @@ "NO_USERS_PAUSED_WORK": "Atualmente não há usuários que interromperam seu trabalho", "NO_USERS_IDLE": "Atualmente não há usuários inativos" }, + "hotkeys":{ + "HELP": "Ajuda", + "TO_OPEN_SHORTCUT_LIST": "Para abrir a lista de atalhos", + "TIMER": "Temporizador", + "START_TIMER": "Iniciar temporizador", + "STOP_TIMER": "Parar temporizador", + "TASK": "Tarefa", + "ASSING_TASK": "Atribuir tarefa", + "CREATE_TASK": "Criar tarefa" + }, "alerts": { "REAL_TIME_ON_WORKING": "Estamos trabalhando na sincronização em tempo real no momento. Verifique esse recurso mais tarde.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/public/locales/ru/common.json b/apps/web/public/locales/ru/common.json index 81ddeb1ff..b577695a6 100644 --- a/apps/web/public/locales/ru/common.json +++ b/apps/web/public/locales/ru/common.json @@ -184,6 +184,16 @@ "NO_USERS_PAUSED_WORK": "На данный момент нет пользователей, прекративших свою работу", "NO_USERS_IDLE": "На данный момент неактивных пользователей нет" }, + "hotkeys":{ + "HELP": "Помощь", + "TO_OPEN_SHORTCUT_LIST": "Чтобы открыть список горячих клавиш", + "TIMER": "Таймер", + "START_TIMER": "Начать таймер", + "STOP_TIMER": "Остановить таймер", + "TASK": "Задача", + "ASSING_TASK": "Назначить задачу", + "CREATE_TASK": "Создать задачу" + }, "alerts": { "REAL_TIME_ON_WORKING": "В настоящее время мы работаем над синхронизацией в реальном времени, пожалуйста, проверьте эту функцию позже.", "ALERT_DELETE_ACCOUNT": "You will be removed from all teams, except where you are the only manager in the team", diff --git a/apps/web/public/locales/zh/common.json b/apps/web/public/locales/zh/common.json index 946806801..66610d591 100644 --- a/apps/web/public/locales/zh/common.json +++ b/apps/web/public/locales/zh/common.json @@ -183,6 +183,16 @@ "NO_USERS_PAUSED_WORK": "目前还没有用户停止工作", "NO_USERS_IDLE": "目前没有不活跃用户" }, + "hotkeys":{ + "HELP": "帮助", + "TO_OPEN_SHORTCUT_LIST": "打开快捷键列表", + "TIMER": "计时器", + "START_TIMER": "开始计时", + "STOP_TIMER": "停止计时", + "TASK": "任务", + "ASSING_TASK": "分配任务", + "CREATE_TASK": "创建任务" + }, "alerts": { "REAL_TIME_ON_WORKING": "我們目前正在開發即時同步功能,請稍後查看此功能。", "ALERT_DELETE_ACCOUNT": "账户将从所有团队中移除,您作为管理员的团队除外", From 5a05236a384be715f6391ad9efb4ca515544e968 Mon Sep 17 00:00:00 2001 From: GedeonTS Date: Sat, 4 May 2024 12:18:47 +0200 Subject: [PATCH 2/3] Fix spelling error ASSING into ASSIGN --- apps/web/app/hooks/useHotkeys.ts | 2 +- apps/web/messages/ar.json | 2 +- apps/web/messages/bg.json | 2 +- apps/web/messages/de.json | 2 +- apps/web/messages/en.json | 2 +- apps/web/messages/es.json | 2 +- apps/web/messages/fr.json | 2 +- apps/web/messages/he.json | 2 +- apps/web/messages/it.json | 2 +- apps/web/messages/nl.json | 2 +- apps/web/messages/pl.json | 2 +- apps/web/messages/pt.json | 2 +- apps/web/messages/ru.json | 2 +- apps/web/messages/zh.json | 2 +- apps/web/public/locales/ar/common.json | 2 +- apps/web/public/locales/bg/common.json | 2 +- apps/web/public/locales/de/common.json | 2 +- apps/web/public/locales/en/common.json | 2 +- apps/web/public/locales/es/common.json | 2 +- apps/web/public/locales/fr/common.json | 2 +- apps/web/public/locales/he/common.json | 2 +- apps/web/public/locales/it/common.json | 2 +- apps/web/public/locales/nl/common.json | 2 +- apps/web/public/locales/pl/common.json | 2 +- apps/web/public/locales/pt/common.json | 2 +- apps/web/public/locales/ru/common.json | 2 +- apps/web/public/locales/zh/common.json | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/apps/web/app/hooks/useHotkeys.ts b/apps/web/app/hooks/useHotkeys.ts index 51cfa0c4c..87089850f 100644 --- a/apps/web/app/hooks/useHotkeys.ts +++ b/apps/web/app/hooks/useHotkeys.ts @@ -59,7 +59,7 @@ export const HostKeysMapping = [ heading: 'TASK', keySequence: [ { - label: 'ASSING_TASK', + label: 'ASSIGN_TASK', sequence: { MAC: ['A'], OTHER: ['A'] diff --git a/apps/web/messages/ar.json b/apps/web/messages/ar.json index c535653ae..f16af7d0e 100644 --- a/apps/web/messages/ar.json +++ b/apps/web/messages/ar.json @@ -197,7 +197,7 @@ "START_TIMER": "بدء المؤقت", "STOP_TIMER": "إيقاف المؤقت", "TASK": "المهمة", - "ASSING_TASK": "تعيين المهمة", + "ASSIGN_TASK": "تعيين المهمة", "CREATE_TASK": "إنشاء مهمة" }, "alerts": { diff --git a/apps/web/messages/bg.json b/apps/web/messages/bg.json index a1bb941ec..a0af51fee 100644 --- a/apps/web/messages/bg.json +++ b/apps/web/messages/bg.json @@ -197,7 +197,7 @@ "START_TIMER": "Старт на таймера", "STOP_TIMER": "Спиране на таймера", "TASK": "Задача", - "ASSING_TASK": "Възлагане на задача", + "ASSIGN_TASK": "Възлагане на задача", "CREATE_TASK": "Създаване на задача" }, "alerts": { diff --git a/apps/web/messages/de.json b/apps/web/messages/de.json index 22c40cfa6..b57d85a6c 100644 --- a/apps/web/messages/de.json +++ b/apps/web/messages/de.json @@ -198,7 +198,7 @@ "START_TIMER": "Timer starten", "STOP_TIMER": "Timer stoppen", "TASK": "Aufgabe", - "ASSING_TASK": "Aufgabe zuweisen", + "ASSIGN_TASK": "Aufgabe zuweisen", "CREATE_TASK": "Neue Aufgabe erstellen" }, "alerts": { diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index d69c2163e..73f59f451 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -197,7 +197,7 @@ "START_TIMER": "Start Timer", "STOP_TIMER": "Stop Timer", "TASK": "Task", - "ASSING_TASK": "Assign Task", + "ASSIGN_TASK": "Assign Task", "CREATE_TASK": "Create Task" }, "alerts": { diff --git a/apps/web/messages/es.json b/apps/web/messages/es.json index 819a0101c..9193d6a22 100644 --- a/apps/web/messages/es.json +++ b/apps/web/messages/es.json @@ -197,7 +197,7 @@ "START_TIMER": "Iniciar temporizador", "STOP_TIMER": "Detener temporizador", "TASK": "Tarea", - "ASSING_TASK": "Asignar tarea", + "ASSIGN_TASK": "Asignar tarea", "CREATE_TASK": "Crear tarea" }, "alerts": { diff --git a/apps/web/messages/fr.json b/apps/web/messages/fr.json index b920df480..d9097a609 100644 --- a/apps/web/messages/fr.json +++ b/apps/web/messages/fr.json @@ -197,7 +197,7 @@ "START_TIMER": "Démarrer le chronomètre", "STOP_TIMER": "Arrêter le chronomètre", "TASK": "Tâche", - "ASSING_TASK": "Assigner la tâche", + "ASSIGN_TASK": "Assigner la tâche", "CREATE_TASK": "Créer une tâche" }, "alerts": { diff --git a/apps/web/messages/he.json b/apps/web/messages/he.json index fa725dd16..4ac6f203a 100644 --- a/apps/web/messages/he.json +++ b/apps/web/messages/he.json @@ -197,7 +197,7 @@ "START_TIMER": "התחל טיימר", "STOP_TIMER": "עצור טיימר", "TASK": "משימה", - "ASSING_TASK": "הקצה משימה", + "ASSIGN_TASK": "הקצה משימה", "CREATE_TASK": "צור משימה" }, "alerts": { diff --git a/apps/web/messages/it.json b/apps/web/messages/it.json index 8b8fcbc8b..3c266463b 100644 --- a/apps/web/messages/it.json +++ b/apps/web/messages/it.json @@ -197,7 +197,7 @@ "START_TIMER": "Avvia Timer", "STOP_TIMER": "Ferma Timer", "TASK": "Compito", - "ASSING_TASK": "Assegna Compito", + "ASSIGN_TASK": "Assegna Compito", "CREATE_TASK": "Crea Compito" }, "alerts": { diff --git a/apps/web/messages/nl.json b/apps/web/messages/nl.json index 6d10dcd45..5d3b199ac 100644 --- a/apps/web/messages/nl.json +++ b/apps/web/messages/nl.json @@ -197,7 +197,7 @@ "START_TIMER": "Start de timer", "STOP_TIMER": "Stop de timer", "TASK": "Taak", - "ASSING_TASK": "Taak toewijzen", + "ASSIGN_TASK": "Taak toewijzen", "CREATE_TASK": "Nieuwe taak maken" }, "alerts": { diff --git a/apps/web/messages/pl.json b/apps/web/messages/pl.json index 8d764f1b9..54a1956f4 100644 --- a/apps/web/messages/pl.json +++ b/apps/web/messages/pl.json @@ -197,7 +197,7 @@ "START_TIMER": "Rozpocznij Timer", "STOP_TIMER": "Zatrzymaj Timer", "TASK": "Zadanie", - "ASSING_TASK": "Przypisz Zadanie", + "ASSIGN_TASK": "Przypisz Zadanie", "CREATE_TASK": "Utwórz Zadanie" }, "alerts": { diff --git a/apps/web/messages/pt.json b/apps/web/messages/pt.json index cd2a398c9..555dadeea 100644 --- a/apps/web/messages/pt.json +++ b/apps/web/messages/pt.json @@ -197,7 +197,7 @@ "START_TIMER": "Iniciar Temporizador", "STOP_TIMER": "Parar Temporizador", "TASK": "Tarefa", - "ASSING_TASK": "Atribuir Tarefa", + "ASSIGN_TASK": "Atribuir Tarefa", "CREATE_TASK": "Criar Tarefa" }, "alerts": { diff --git a/apps/web/messages/ru.json b/apps/web/messages/ru.json index 353b540db..8b0551217 100644 --- a/apps/web/messages/ru.json +++ b/apps/web/messages/ru.json @@ -197,7 +197,7 @@ "START_TIMER": "Запустить таймер", "STOP_TIMER": "Остановить таймер", "TASK": "Задача", - "ASSING_TASK": "Назначить задачу", + "ASSIGN_TASK": "Назначить задачу", "CREATE_TASK": "Создать задачу" }, "alerts": { diff --git a/apps/web/messages/zh.json b/apps/web/messages/zh.json index 479f00ec6..42321d587 100644 --- a/apps/web/messages/zh.json +++ b/apps/web/messages/zh.json @@ -197,7 +197,7 @@ "START_TIMER": "开始计时", "STOP_TIMER": "停止计时", "TASK": "任务", - "ASSING_TASK": "分配任务", + "ASSIGN_TASK": "分配任务", "CREATE_TASK": "创建任务" }, "alerts": { diff --git a/apps/web/public/locales/ar/common.json b/apps/web/public/locales/ar/common.json index 4f9bd3e43..98aead6aa 100644 --- a/apps/web/public/locales/ar/common.json +++ b/apps/web/public/locales/ar/common.json @@ -190,7 +190,7 @@ "START_TIMER": "بدء المؤقت", "STOP_TIMER": "إيقاف المؤقت", "TASK": "المهمة", - "ASSING_TASK": "تعيين المهمة", + "ASSIGN_TASK": "تعيين المهمة", "CREATE_TASK": "إنشاء مهمة" }, "alerts": { diff --git a/apps/web/public/locales/bg/common.json b/apps/web/public/locales/bg/common.json index 281ed2f7d..07f8709f6 100644 --- a/apps/web/public/locales/bg/common.json +++ b/apps/web/public/locales/bg/common.json @@ -188,7 +188,7 @@ "START_TIMER": "за да стартирате таймера", "STOP_TIMER": "за да спрете таймера", "TASK": "Задача", - "ASSING_TASK": "за да възложите задача", + "ASSIGN_TASK": "за да възложите задача", "CREATE_TASK": "за да създадете задача" }, "alerts": { diff --git a/apps/web/public/locales/de/common.json b/apps/web/public/locales/de/common.json index 5b11c4af3..6e8facbf2 100644 --- a/apps/web/public/locales/de/common.json +++ b/apps/web/public/locales/de/common.json @@ -190,7 +190,7 @@ "START_TIMER": "Timer starten", "STOP_TIMER": "Timer stoppen", "TASK": "Aufgabe", - "ASSING_TASK": "Aufgabe zuweisen", + "ASSIGN_TASK": "Aufgabe zuweisen", "CREATE_TASK": "Neue Aufgabe erstellen" }, "alerts": { diff --git a/apps/web/public/locales/en/common.json b/apps/web/public/locales/en/common.json index 7a030ab66..b4d7b380f 100644 --- a/apps/web/public/locales/en/common.json +++ b/apps/web/public/locales/en/common.json @@ -190,7 +190,7 @@ "START_TIMER": "Start Timer", "STOP_TIMER": "Stop Timer", "TASK": "Task", - "ASSING_TASK": "Assign Task", + "ASSIGN_TASK": "Assign Task", "CREATE_TASK": "Create Task" }, "alerts": { diff --git a/apps/web/public/locales/es/common.json b/apps/web/public/locales/es/common.json index 362b2ae9f..c2de47356 100644 --- a/apps/web/public/locales/es/common.json +++ b/apps/web/public/locales/es/common.json @@ -187,7 +187,7 @@ "START_TIMER": "Iniciar cronómetro", "STOP_TIMER": "Detener cronómetro", "TASK": "Tarea", - "ASSING_TASK": "Asignar tarea", + "ASSIGN_TASK": "Asignar tarea", "CREATE_TASK": "Crear tarea" }, "alerts": { diff --git a/apps/web/public/locales/fr/common.json b/apps/web/public/locales/fr/common.json index 13da011e1..f1a6fe365 100644 --- a/apps/web/public/locales/fr/common.json +++ b/apps/web/public/locales/fr/common.json @@ -188,7 +188,7 @@ "START_TIMER": "Démarrer la minuterie", "STOP_TIMER": "Arrêter la minuterie", "TASK": "Tâche", - "ASSING_TASK": "Assigner la tâche", + "ASSIGN_TASK": "Assigner la tâche", "CREATE_TASK": "Créer une tâche" }, "alerts": { diff --git a/apps/web/public/locales/he/common.json b/apps/web/public/locales/he/common.json index abc368ef2..e4914d51f 100644 --- a/apps/web/public/locales/he/common.json +++ b/apps/web/public/locales/he/common.json @@ -190,7 +190,7 @@ "START_TIMER": "התחל טיימר", "STOP_TIMER": "עצור טיימר", "TASK": "משימה", - "ASSING_TASK": "הקצה משימה", + "ASSIGN_TASK": "הקצה משימה", "CREATE_TASK": "צור משימה" }, "alerts": { diff --git a/apps/web/public/locales/it/common.json b/apps/web/public/locales/it/common.json index eab44d6b7..514e04b2b 100644 --- a/apps/web/public/locales/it/common.json +++ b/apps/web/public/locales/it/common.json @@ -192,7 +192,7 @@ "START_TIMER": "Avvia il timer", "STOP_TIMER": "Ferma il timer", "TASK": "Compito", - "ASSING_TASK": "Assegna il compito", + "ASSIGN_TASK": "Assegna il compito", "CREATE_TASK": "Crea un nuovo compito" }, "alerts": { diff --git a/apps/web/public/locales/nl/common.json b/apps/web/public/locales/nl/common.json index 037d3dec4..c741d3a65 100644 --- a/apps/web/public/locales/nl/common.json +++ b/apps/web/public/locales/nl/common.json @@ -190,7 +190,7 @@ "START_TIMER": "Start de timer", "STOP_TIMER": "Stop de timer", "TASK": "Taak", - "ASSING_TASK": "Taak toewijzen", + "ASSIGN_TASK": "Taak toewijzen", "CREATE_TASK": "Nieuwe taak maken" }, "alerts": { diff --git a/apps/web/public/locales/pl/common.json b/apps/web/public/locales/pl/common.json index fbf4572c2..d3ea5c5d5 100644 --- a/apps/web/public/locales/pl/common.json +++ b/apps/web/public/locales/pl/common.json @@ -192,7 +192,7 @@ "START_TIMER": "Rozpocznij timer", "STOP_TIMER": "Zatrzymaj timer", "TASK": "Zadanie", - "ASSING_TASK": "Przypisz zadanie", + "ASSIGN_TASK": "Przypisz zadanie", "CREATE_TASK": "Utwórz zadanie" }, "alerts": { diff --git a/apps/web/public/locales/pt/common.json b/apps/web/public/locales/pt/common.json index e4938eb52..3824b5638 100644 --- a/apps/web/public/locales/pt/common.json +++ b/apps/web/public/locales/pt/common.json @@ -192,7 +192,7 @@ "START_TIMER": "Iniciar temporizador", "STOP_TIMER": "Parar temporizador", "TASK": "Tarefa", - "ASSING_TASK": "Atribuir tarefa", + "ASSIGN_TASK": "Atribuir tarefa", "CREATE_TASK": "Criar tarefa" }, "alerts": { diff --git a/apps/web/public/locales/ru/common.json b/apps/web/public/locales/ru/common.json index b577695a6..156f7ebde 100644 --- a/apps/web/public/locales/ru/common.json +++ b/apps/web/public/locales/ru/common.json @@ -191,7 +191,7 @@ "START_TIMER": "Начать таймер", "STOP_TIMER": "Остановить таймер", "TASK": "Задача", - "ASSING_TASK": "Назначить задачу", + "ASSIGN_TASK": "Назначить задачу", "CREATE_TASK": "Создать задачу" }, "alerts": { diff --git a/apps/web/public/locales/zh/common.json b/apps/web/public/locales/zh/common.json index 66610d591..4a997a3ed 100644 --- a/apps/web/public/locales/zh/common.json +++ b/apps/web/public/locales/zh/common.json @@ -190,7 +190,7 @@ "START_TIMER": "开始计时", "STOP_TIMER": "停止计时", "TASK": "任务", - "ASSING_TASK": "分配任务", + "ASSIGN_TASK": "分配任务", "CREATE_TASK": "创建任务" }, "alerts": { From 8ed6eec67621d65371ceee18fb1c1d7a38dad286 Mon Sep 17 00:00:00 2001 From: GedeonTS Date: Sat, 4 May 2024 12:25:49 +0200 Subject: [PATCH 3/3] Add missing type --- apps/web/lib/components/keyboard-shortcuts.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/lib/components/keyboard-shortcuts.tsx b/apps/web/lib/components/keyboard-shortcuts.tsx index ee33a6d20..b11de95f4 100644 --- a/apps/web/lib/components/keyboard-shortcuts.tsx +++ b/apps/web/lib/components/keyboard-shortcuts.tsx @@ -4,7 +4,7 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } f import { useCallback } from 'react'; import { Button } from './button'; import { Tooltip } from './tooltip'; -import { useTranslations } from 'next-intl'; +import { DottedLanguageObjectStringPaths, useTranslations } from 'next-intl'; import { LineDotBoxIcon } from 'assets/svg'; export function KeyboardShortcuts() { @@ -40,7 +40,7 @@ export function KeyboardShortcuts() { {HostKeysMapping.map((item, index) => (

- {t(`hotkeys.${item.heading}`)} + {t(`hotkeys.${item.heading}` as DottedLanguageObjectStringPaths)}

{item.keySequence.map((keySeq, keySeqIndex) => ( @@ -49,7 +49,7 @@ export function KeyboardShortcuts() { key={`key-seq-${keySeqIndex}`} >
-

{t(`hotkeys.${keySeq.label}`)}

+

{t(`hotkeys.${keySeq.label}` as DottedLanguageObjectStringPaths)}

{[...(os === 'Mac' ? keySeq.sequence.MAC : keySeq.sequence.OTHER)].map(