diff --git a/scripts/TranslationsToCsv.mjs b/scripts/TranslationsToCsv.mjs index 18417167..125aef50 100644 --- a/scripts/TranslationsToCsv.mjs +++ b/scripts/TranslationsToCsv.mjs @@ -28,6 +28,7 @@ async function translationsToCsv() { }); console.log('found', translationKeys.size, 'translation keys from', files.length, 'files'); + // Translation keys from variables are not found by the regex above ['today', 'yesterday', 'global_feed', 'messages'].forEach((key) => { translationKeys.add(key); }); diff --git a/src/js/translations/de.mjs b/src/js/translations/de.mjs index 9f58f466..55ccfb84 100644 --- a/src/js/translations/de.mjs +++ b/src/js/translations/de.mjs @@ -105,6 +105,7 @@ export default { "show_thread": "Thema anzeigen", "switch_account": "Konto wechseln", "system_default": "Standardeinstellungen", + "tip_lightning": "Tipp", "today": "heute", "translate": "Übersetzen", "turn_on_desktop_notifications": "Desktop-Benachrichtigungen aktivieren", diff --git a/src/js/translations/en.mjs b/src/js/translations/en.mjs index d982a928..1a61b53f 100644 --- a/src/js/translations/en.mjs +++ b/src/js/translations/en.mjs @@ -102,6 +102,7 @@ export default { "show_thread": "Show thread", "switch_account": "Switch account", "system_default": "System default", + "tip_lightning": "Tip", "today": "today", "translate": "Translate", "turn_on_desktop_notifications": "Turn on desktop notifications", diff --git a/src/js/translations/es.mjs b/src/js/translations/es.mjs index e9ce208f..c2d6ee5d 100644 --- a/src/js/translations/es.mjs +++ b/src/js/translations/es.mjs @@ -102,6 +102,7 @@ export default { "show_thread": "Mostrar el hilo de conversación", "switch_account": "Cambiar cuenta", "system_default": "Por defecto", + "tip_lightning": "Propina", "today": "Hoy", "translate": "Traducir", "turn_on_desktop_notifications": "Activa las notificaciones de escritorio", diff --git a/src/js/translations/ru.mjs b/src/js/translations/ru.mjs index b8eff27a..8831a869 100644 --- a/src/js/translations/ru.mjs +++ b/src/js/translations/ru.mjs @@ -105,6 +105,7 @@ export default { "show_thread": "Показать нить", "switch_account": "Переключить учетную запись", "system_default": "Система по умолчанию", + "tip_lightning": "Подсказка", "today": "сегодня", "translate": "Перевод", "turn_on_desktop_notifications": "Включить уведомления на рабочем столе", diff --git a/src/js/translations/zh-cn.mjs b/src/js/translations/zh-cn.mjs index c7c046f7..556dc97d 100644 --- a/src/js/translations/zh-cn.mjs +++ b/src/js/translations/zh-cn.mjs @@ -105,6 +105,7 @@ export default { "show_thread": "展开主题", "switch_account": "切换账号", "system_default": "系统默认", + "tip_lightning": "打赏", "today": "今天", "translate": "翻译", "turn_on_desktop_notifications": "打开桌面消息提醒", diff --git a/src/js/views/Profile.js b/src/js/views/Profile.js index 8955d721..64a36ca6 100644 --- a/src/js/views/Profile.js +++ b/src/js/views/Profile.js @@ -66,7 +66,7 @@ class Profile extends View { ${this.state.lud16 ? html`
- ⚡ Tip + ⚡ ${t('tip_lightning')}
` : ''}