Skip to content

Commit dd7177c

Browse files
committed
i18n: Support translations for 'Review and check your Statuses' additions
1 parent eae535c commit dd7177c

File tree

6 files changed

+79
-9
lines changed

6 files changed

+79
-9
lines changed

src/Statuses/StatusRegistryReport.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,22 @@ ${settingsTable}
4949
${i18n.t('reports.statusRegistry.loadedSettings.settingsActuallyUsed')}
5050
${mermaidText}
5151
52-
## Sample Tasks
52+
## ${i18n.t('reports.statusRegistry.sampleTasks.title')}
5353
54-
Here is one example task line for each of the statuses actually used by tasks, for you to experiment with.
54+
${i18n.t('reports.statusRegistry.sampleTasks.line1')}
5555
56-
The status symbols and names in the task descriptions were correct when this file was created.
56+
${i18n.t('reports.statusRegistry.sampleTasks.line2')}
5757
58-
If you have modified the sample tasks since they were created, you can see the current status types and names in the group headings in the Tasks search below.
58+
${i18n.t('reports.statusRegistry.sampleTasks.line3')}
5959
60-
> [!Tip] Tip: If all your checkboxes look the same...
61-
> If all the checkboxes look the same in Reading Mode or Live Preview, see [Style custom statuses](https://publish.obsidian.md/tasks/How+To/Style+custom+statuses) for how to select a theme or CSS snippet to style your statuses.
60+
> [!Tip] ${i18n.t('reports.statusRegistry.sampleTasks.tip.line1')}
61+
> ${i18n.t('reports.statusRegistry.sampleTasks.tip.line2')}
6262
6363
${sampleTasksText.join('\n')}
6464
65-
## Search the Sample Tasks
65+
## ${i18n.t('reports.statusRegistry.searchSampleTasks.title')}
6666
67-
This Tasks search shows all the tasks in this file, grouped by their status type and status name.
67+
${i18n.t('reports.statusRegistry.searchSampleTasks.line1')}
6868
6969
\`\`\`tasks
7070
path includes {{query.file.path}}

src/i18n/locales/be.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
"line3": "Глядзіце [Recurring Tasks and Custom Statuses]({{helpURL}})."
6565
}
6666
},
67+
"sampleTasks": {
68+
"line1": "",
69+
"line2": "",
70+
"line3": "",
71+
"tip": {
72+
"line1": "",
73+
"line2": ""
74+
},
75+
"title": ""
76+
},
77+
"searchSampleTasks": {
78+
"line1": "",
79+
"title": ""
80+
},
6781
"statusSettings": {
6882
"comment": {
6983
"line1": "Пераключыцеся ў рэжым папярэдняга прагляду ў рэальным часе або рэжым чытання, каб убачыць табліцу.",

src/i18n/locales/en.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
"line3": "See [Recurring Tasks and Custom Statuses]({{helpURL}})."
6565
}
6666
},
67+
"sampleTasks": {
68+
"line1": "Here is one example task line for each of the statuses actually used by tasks, for you to experiment with.",
69+
"line2": "The status symbols and names in the task descriptions were correct when this file was created.",
70+
"line3": "If you have modified the sample tasks since they were created, you can see the current status types and names in the group headings in the Tasks search below.",
71+
"tip": {
72+
"line1": "Tip: If all your checkboxes look the same...",
73+
"line2": "If all the checkboxes look the same in Reading Mode or Live Preview, see [Style custom statuses](https://publish.obsidian.md/tasks/How+To/Style+custom+statuses) for how to select a theme or CSS snippet to style your statuses."
74+
},
75+
"title": "Sample Tasks"
76+
},
77+
"searchSampleTasks": {
78+
"line1": "This Tasks search shows all the tasks in this file, grouped by their status type and status name.",
79+
"title": "Search the Sample Tasks"
80+
},
6781
"statusSettings": {
6882
"comment": {
6983
"line1": "Switch to Live Preview or Reading Mode to see the table.",

src/i18n/locales/ru.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
"line3": "См. [Recurring Tasks and Custom Statuses]({{helpURL}})."
6565
}
6666
},
67+
"sampleTasks": {
68+
"line1": "",
69+
"line2": "",
70+
"line3": "",
71+
"tip": {
72+
"line1": "",
73+
"line2": ""
74+
},
75+
"title": ""
76+
},
77+
"searchSampleTasks": {
78+
"line1": "",
79+
"title": ""
80+
},
6781
"statusSettings": {
6882
"comment": {
6983
"line1": "Переключитесь в режим Live Preview или Reading Mode, чтобы увидеть таблицу.",

src/i18n/locales/uk.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
"line3": "Див. [Повторювані задачі та користувацькі статуси]({{helpURL}})."
6565
}
6666
},
67+
"sampleTasks": {
68+
"line1": "",
69+
"line2": "",
70+
"line3": "",
71+
"tip": {
72+
"line1": "",
73+
"line2": ""
74+
},
75+
"title": ""
76+
},
77+
"searchSampleTasks": {
78+
"line1": "",
79+
"title": ""
80+
},
6781
"statusSettings": {
6882
"comment": {
6983
"line1": "Перейдіть у режим Live Preview або режим читання, щоб побачити таблицю.",

src/i18n/locales/zh_cn.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
"line3": "请参阅[重复任务和自定义状态]({{helpURL}})。"
6565
}
6666
},
67+
"sampleTasks": {
68+
"line1": "",
69+
"line2": "",
70+
"line3": "",
71+
"tip": {
72+
"line1": "",
73+
"line2": ""
74+
},
75+
"title": ""
76+
},
77+
"searchSampleTasks": {
78+
"line1": "",
79+
"title": ""
80+
},
6781
"statusSettings": {
6882
"comment": {
6983
"line1": "切换到实时预览或阅读模式以查看表格.",
@@ -242,4 +256,4 @@
242256
"heading": "任务状态"
243257
}
244258
}
245-
}
259+
}

0 commit comments

Comments
 (0)