Updated i18n in dialog

This commit is contained in:
nobody 2020-08-09 11:01:33 +02:00
parent 500f00c969
commit 3e48d1e007
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
36 changed files with 142 additions and 1 deletions

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "Ersetzte Frameworks",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "Bist du sicher, dass du die Statistiken löschen möchtest?",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "Replaced frameworks",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "Are you sure you want to delete the statistics?",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "Replaced frameworks",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "Are you sure you want to delete the statistics?",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "Replaced frameworks",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "Are you sure you want to delete the statistics?",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -178,5 +178,9 @@
"labelInjectedFrameworks": {
"message": "",
"description": "Followed by a number of injections within a specific period."
},
"dialogConfirmDeleteStatistics": {
"message": "",
"description": "Are you sure you want to delete the statistics?"
}
}

View File

@ -183,7 +183,8 @@ statistics._handlerDateRange = function ({ target }) {
};
statistics._deleteStatistic = function () {
if (confirm('Are you sure you want to delete the statistics?')) {
let text = chrome.i18n.getMessage("dialogConfirmDeleteStatistics");
if (confirm(text)) {
chrome.storage.local.set({
[Setting.INTERNAL_STATISTICS_DATA]: {},
});