GUI fixes for new pluralization library
Change-Id: I5f9a653533e4c301c753b87179ecdd2c40b240fc
diff --git a/package.json b/package.json
index 6bd1606..d5aeca9 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "version": "1.0.2",
+ "version": "1.0.3",
"dependencies": {
"angular": "1.6.3",
"angular-animate": "1.6.3",
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index f60b9b6..0ae1011 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -111,11 +111,9 @@
pluralize.addPluralRule(/slice$/i, 'slices');
pluralize.addPluralRule(/data/i, 'datas');
pluralize.addSingularRule(/slice$/i, 'slice');
- pluralize.addPluralRule(/library$/i, 'librarys');
pluralize.addPluralRule(/imagedeployments/i, 'imagedeploymentss');
- pluralize.addPluralRule(/controllerimages/i, 'controllerimagess');
+ pluralize.addPluralRule(/controllerimages/i, 'controllerimageses');
pluralize.addPluralRule(/servicedependency/i, 'servicedependencys');
- pluralize.addPluralRule(/servicemonitoringagentinfo/i, 'servicemonitoringagentinfoes');
}
public pluralize(string: string, quantity?: number, count?: boolean): string {