mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
intl: fix localization
This commit is contained in:
@@ -333,12 +333,12 @@ export const settingsGroups: SettingSection[] = [
|
||||
},
|
||||
{
|
||||
id: "clear-cache",
|
||||
name: "Clear cache",
|
||||
name: strings.clearCache(),
|
||||
icon: "delete",
|
||||
modifer: async () => {
|
||||
presentDialog({
|
||||
title: "Clear cache",
|
||||
paragraph: "Are you sure you want to clear the cache?",
|
||||
title: strings.clearCacheConfirm(),
|
||||
paragraph: strings.clearCacheConfirmDesc(),
|
||||
positiveText: "Clear",
|
||||
positivePress: async () => {
|
||||
filesystem.clearCache();
|
||||
@@ -351,7 +351,7 @@ export const settingsGroups: SettingSection[] = [
|
||||
});
|
||||
},
|
||||
description(current) {
|
||||
return `Clear all cached attachments. Current cache size: ${
|
||||
return `${strings.clearCacheDesc()}. Current cache size: ${
|
||||
current as number
|
||||
}`;
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1850,6 +1850,7 @@ For example:
|
||||
properties: () => t`Properties`,
|
||||
clickToPreview: () => t`Click to preview`,
|
||||
clearCache: () => t`Clear cache`,
|
||||
clearCacheDesc: () => t`Clear all cached attachments`,
|
||||
clearCacheConfirm: () => t`Clear attachments cache?`,
|
||||
clearCacheConfirmDesc:
|
||||
() => t`Clearing attachments cache will perform the following actions:
|
||||
|
||||
Reference in New Issue
Block a user