lightning tip translation

This commit is contained in:
Martti Malmi 2023-02-05 10:24:02 +02:00
parent a7ac17d553
commit ce9cb8fe82
7 changed files with 7 additions and 1 deletions

View File

@ -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);
});

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -105,6 +105,7 @@ export default {
"show_thread": "Показать нить",
"switch_account": "Переключить учетную запись",
"system_default": "Система по умолчанию",
"tip_lightning": "Подсказка",
"today": "сегодня",
"translate": "Перевод",
"turn_on_desktop_notifications": "Включить уведомления на рабочем столе",

View File

@ -105,6 +105,7 @@ export default {
"show_thread": "展开主题",
"switch_account": "切换账号",
"system_default": "系统默认",
"tip_lightning": "打赏",
"today": "今天",
"translate": "翻译",
"turn_on_desktop_notifications": "打开桌面消息提醒",

View File

@ -66,7 +66,7 @@ class Profile extends View {
${this.state.lud16
? html`
<div style="flex:1">
<a href=${this.state.lud16}> Tip</a>
<a href=${this.state.lud16}> ${t('tip_lightning')}</a>
</div>
`
: ''}