Leveraged new pluralization pattern on group delete modal contents.

This commit is contained in:
mabashian
2017-08-10 13:09:44 -04:00
parent b990d84e3b
commit 3d370ca9de
3 changed files with 19 additions and 41 deletions

View File

@@ -19,7 +19,7 @@ function BaseStringService (namespace) {
* purpose -- it's to mark strings for translation so they appear in the `.pot` file after
* the grunt-angular-gettext task is run AND it's used to fetch the translated string at
* runtime.
*
*
* NOTE: View ui/src/i18n.js for where these i18n methods are defined. i18n is a wrapper around
* the library angular-gettext.
*
@@ -90,7 +90,7 @@ function BaseStringService (namespace) {
}
if (!value) {
throw new Error(ERROR_NO_STRING);
throw new Error(ERROR_NO_STRING + `: ${name}`);
}
});