gui: Allow to translate calendar buttons in Restore Versions modal (#8213)

This commit is contained in:
tomasz1986 2022-03-12 22:44:56 +01:00 committed by GitHub
parent e1b1631c65
commit 6862dd04ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@
"An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.": "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.",
"Anonymous Usage Reporting": "Anonymous Usage Reporting",
"Anonymous usage report format has changed. Would you like to move to the new format?": "Anonymous usage report format has changed. Would you like to move to the new format?",
"Apply": "Apply",
"Are you sure you want to continue?": "Are you sure you want to continue?",
"Are you sure you want to override all remote changes?": "Are you sure you want to override all remote changes?",
"Are you sure you want to permanently delete all these files?": "Are you sure you want to permanently delete all these files?",

View File

@ -2624,6 +2624,8 @@ angular.module('syncthing.core')
maxDate: maxDate,
ranges: ranges,
locale: {
applyLabel: $translate.instant("Apply"),
cancelLabel: $translate.instant("Cancel"),
customRangeLabel: $translate.instant("Custom Range"),
format: 'YYYY/MM/DD HH:mm:ss',
}