chore(desktop): drop dead cron i18n keys
active/createFirst/refresh/refreshing went unused when the cron overlay moved to the shared split layout (no count header, no refresh button, no EmptyState CTA). Remove from types + all four locales.
This commit is contained in:
@@ -889,8 +889,6 @@ export const en: Translations = {
|
||||
cron: {
|
||||
close: 'Close cron',
|
||||
search: 'Search cron jobs...',
|
||||
refresh: 'Refresh cron jobs',
|
||||
refreshing: 'Refreshing cron jobs',
|
||||
loading: 'Loading cron jobs...',
|
||||
states: {
|
||||
enabled: 'enabled',
|
||||
@@ -943,9 +941,7 @@ export const en: Translations = {
|
||||
monthlyOnDayAt: (dayOfMonth, time) => `Monthly on day ${dayOfMonth} at ${time}`,
|
||||
topOfHour: 'At the top of every hour',
|
||||
everyHourAt: minute => `Every hour at :${minute}`,
|
||||
active: (enabled, total) => `${enabled}/${total} active`,
|
||||
newCron: 'New cron',
|
||||
createFirst: 'Create first cron',
|
||||
emptyDescNew:
|
||||
'Schedule a prompt to run on a cron expression. Hermes will run it and deliver results to the destination you pick.',
|
||||
emptyDescSearch: 'Try a broader search query.',
|
||||
|
||||
@@ -991,8 +991,6 @@ export const ja = defineLocale({
|
||||
cron: {
|
||||
close: 'Cron を閉じる',
|
||||
search: 'Cron ジョブを検索...',
|
||||
refresh: 'Cron ジョブを更新',
|
||||
refreshing: 'Cron ジョブを更新中',
|
||||
loading: 'Cron ジョブを読み込み中...',
|
||||
states: {
|
||||
enabled: '有効',
|
||||
@@ -1045,9 +1043,7 @@ export const ja = defineLocale({
|
||||
monthlyOnDayAt: (dayOfMonth, time) => `毎月 ${dayOfMonth} 日 ${time} に`,
|
||||
topOfHour: '毎時 0 分',
|
||||
everyHourAt: minute => `毎時 :${minute} に`,
|
||||
active: (enabled, total) => `${enabled}/${total} 有効`,
|
||||
newCron: '新しい Cron',
|
||||
createFirst: '最初の Cron を作成',
|
||||
emptyDescNew:
|
||||
'Cron 式でプロンプトを実行するスケジュールを設定します。Hermes が実行して、選択した宛先に結果を送信します。',
|
||||
emptyDescSearch: '検索キーワードを広げてください。',
|
||||
|
||||
@@ -691,8 +691,6 @@ export interface Translations {
|
||||
cron: {
|
||||
close: string
|
||||
search: string
|
||||
refresh: string
|
||||
refreshing: string
|
||||
loading: string
|
||||
states: Record<string, string>
|
||||
deliveryLabels: Record<string, string>
|
||||
@@ -706,9 +704,7 @@ export interface Translations {
|
||||
monthlyOnDayAt: (dayOfMonth: string, time: string) => string
|
||||
topOfHour: string
|
||||
everyHourAt: (minute: string) => string
|
||||
active: (enabled: number, total: number) => string
|
||||
newCron: string
|
||||
createFirst: string
|
||||
emptyDescNew: string
|
||||
emptyDescSearch: string
|
||||
emptyTitleNew: string
|
||||
|
||||
@@ -958,8 +958,6 @@ export const zhHant = defineLocale({
|
||||
cron: {
|
||||
close: '關閉排程',
|
||||
search: '搜尋排程工作…',
|
||||
refresh: '重新整理排程工作',
|
||||
refreshing: '正在重新整理排程工作',
|
||||
loading: '正在載入排程工作…',
|
||||
states: {
|
||||
enabled: '已啟用',
|
||||
@@ -1012,9 +1010,7 @@ export const zhHant = defineLocale({
|
||||
monthlyOnDayAt: (dayOfMonth, time) => `每月 ${dayOfMonth} 日 ${time}`,
|
||||
topOfHour: '每個整點',
|
||||
everyHourAt: minute => `每小時的 :${minute}`,
|
||||
active: (enabled, total) => `${enabled}/${total} 個啟用`,
|
||||
newCron: '新排程工作',
|
||||
createFirst: '建立第一個排程工作',
|
||||
emptyDescNew:
|
||||
'按 cron 表達式排程一個提示詞。Hermes 會執行它,並將結果傳送至您選擇的目的地。',
|
||||
emptyDescSearch: '請嘗試更廣泛的搜尋詞。',
|
||||
|
||||
@@ -1037,8 +1037,6 @@ export const zh: Translations = {
|
||||
cron: {
|
||||
close: '关闭定时任务',
|
||||
search: '搜索定时任务…',
|
||||
refresh: '刷新定时任务',
|
||||
refreshing: '正在刷新定时任务',
|
||||
loading: '正在加载定时任务…',
|
||||
states: {
|
||||
enabled: '已启用',
|
||||
@@ -1091,9 +1089,7 @@ export const zh: Translations = {
|
||||
monthlyOnDayAt: (dayOfMonth, time) => `每月 ${dayOfMonth} 日 ${time}`,
|
||||
topOfHour: '每个整点',
|
||||
everyHourAt: minute => `每小时的 :${minute}`,
|
||||
active: (enabled, total) => `${enabled}/${total} 个启用`,
|
||||
newCron: '新建定时任务',
|
||||
createFirst: '创建第一个定时任务',
|
||||
emptyDescNew: '按 cron 表达式排程一个提示词。Hermes 会运行它,并把结果发送到你选择的目的地。',
|
||||
emptyDescSearch: '尝试更宽泛的搜索词。',
|
||||
emptyTitleNew: '暂无排程任务',
|
||||
|
||||
Reference in New Issue
Block a user