From 68f3f7a3bd060c607946b2cbc8f265909560b0ca Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 29 Nov 2017 09:03:49 -0500 Subject: [PATCH] rename features to options --- src/_locales/en/messages.json | 3 --- src/popup/app/app.js | 4 ++-- src/popup/app/config.js | 6 +++--- .../{features.component.html => options.component.html} | 2 +- .../{features.component.ts => options.component.ts} | 8 ++++---- src/popup/app/settings/settings.component.html | 4 ++-- src/popup/app/settings/settings.module.ts | 4 ++-- 7 files changed, 14 insertions(+), 17 deletions(-) rename src/popup/app/settings/{features.component.html => options.component.html} (98%) rename src/popup/app/settings/{features.component.ts => options.component.ts} (95%) diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index ba25706e00..6d2e028f9c 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -492,9 +492,6 @@ "message": "No Folder", "description": "This is the folder for uncategorized items" }, - "features": { - "message": "Features" - }, "gaDesc": { "message": "We use analytics to better learn how the extension is being used so that we can make it better. All data collection is completely anonymous." }, diff --git a/src/popup/app/app.js b/src/popup/app/app.js index d17b3cb67e..83ef671d89 100644 --- a/src/popup/app/app.js +++ b/src/popup/app/app.js @@ -142,8 +142,8 @@ import { CreditsController } from './settings/credits.component'; CreditsController.$$ngIsClass = true; import { EnvironmentController } from './settings/environment.component'; EnvironmentController.$$ngIsClass = true; -import { FeaturesController } from './settings/features.component'; -FeaturesController.$$ngIsClass = true; +import { OptionsController } from './settings/options.component'; +OptionsController.$$ngIsClass = true; import { HelpController } from './settings/help.component'; HelpController.$$ngIsClass = true; import { PremiumController } from './settings/premium.component'; diff --git a/src/popup/app/config.js b/src/popup/app/config.js index 213cbf8c7f..50cfb4e907 100644 --- a/src/popup/app/config.js +++ b/src/popup/app/config.js @@ -195,9 +195,9 @@ angular data: { authorize: true }, params: { animation: null } }) - .state('features', { - url: '/features', - component: 'features', + .state('options', { + url: '/options', + component: 'options', data: { authorize: true }, params: { animation: null } }) diff --git a/src/popup/app/settings/features.component.html b/src/popup/app/settings/options.component.html similarity index 98% rename from src/popup/app/settings/features.component.html rename to src/popup/app/settings/options.component.html index 8b432dd7de..8dace7b439 100644 --- a/src/popup/app/settings/features.component.html +++ b/src/popup/app/settings/options.component.html @@ -2,7 +2,7 @@
{{$ctrl.i18n.back}}
-
{{$ctrl.i18n.features}}
+
{{$ctrl.i18n.options}}
diff --git a/src/popup/app/settings/features.component.ts b/src/popup/app/settings/options.component.ts similarity index 95% rename from src/popup/app/settings/features.component.ts rename to src/popup/app/settings/options.component.ts index 7792298b64..193153c699 100644 --- a/src/popup/app/settings/features.component.ts +++ b/src/popup/app/settings/options.component.ts @@ -1,9 +1,9 @@ import * as angular from 'angular'; import { UtilsService } from '../../../services/abstractions/utils.service'; import StateService from '../services/state.service'; -import * as template from './features.component.html'; +import * as template from './options.component.html'; -export class FeaturesController { +export class OptionsController { disableFavicon = false; enableAutoFillOnPageLoad = false; disableAutoTotpCopy = false; @@ -88,8 +88,8 @@ export class FeaturesController { } } -export const FeaturesComponent = { +export const OptionsComponent = { bindings: {}, - controller: FeaturesController, + controller: OptionsController, template, }; diff --git a/src/popup/app/settings/settings.component.html b/src/popup/app/settings/settings.component.html index 6d7f3af0eb..0672aad887 100644 --- a/src/popup/app/settings/settings.component.html +++ b/src/popup/app/settings/settings.component.html @@ -76,8 +76,8 @@ {{$ctrl.i18n.other}}