Updated i18n in dialog
This commit is contained in:
parent
500f00c969
commit
3e48d1e007
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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?"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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]: {},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue