1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

rename features to options

This commit is contained in:
Kyle Spearrin 2017-11-29 09:03:49 -05:00
parent 6f5ca980c2
commit 68f3f7a3bd
7 changed files with 14 additions and 17 deletions

View File

@ -492,9 +492,6 @@
"message": "No Folder", "message": "No Folder",
"description": "This is the folder for uncategorized items" "description": "This is the folder for uncategorized items"
}, },
"features": {
"message": "Features"
},
"gaDesc": { "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." "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."
}, },

View File

@ -142,8 +142,8 @@ import { CreditsController } from './settings/credits.component';
CreditsController.$$ngIsClass = true; CreditsController.$$ngIsClass = true;
import { EnvironmentController } from './settings/environment.component'; import { EnvironmentController } from './settings/environment.component';
EnvironmentController.$$ngIsClass = true; EnvironmentController.$$ngIsClass = true;
import { FeaturesController } from './settings/features.component'; import { OptionsController } from './settings/options.component';
FeaturesController.$$ngIsClass = true; OptionsController.$$ngIsClass = true;
import { HelpController } from './settings/help.component'; import { HelpController } from './settings/help.component';
HelpController.$$ngIsClass = true; HelpController.$$ngIsClass = true;
import { PremiumController } from './settings/premium.component'; import { PremiumController } from './settings/premium.component';

View File

@ -195,9 +195,9 @@ angular
data: { authorize: true }, data: { authorize: true },
params: { animation: null } params: { animation: null }
}) })
.state('features', { .state('options', {
url: '/features', url: '/options',
component: 'features', component: 'options',
data: { authorize: true }, data: { authorize: true },
params: { animation: null } params: { animation: null }
}) })

View File

@ -2,7 +2,7 @@
<div class="left"> <div class="left">
<a ui-sref="tabs.settings({animation: 'out-slide-right'})"><i class="fa fa-chevron-left"></i> {{$ctrl.i18n.back}}</a> <a ui-sref="tabs.settings({animation: 'out-slide-right'})"><i class="fa fa-chevron-left"></i> {{$ctrl.i18n.back}}</a>
</div> </div>
<div class="title">{{$ctrl.i18n.features}}</div> <div class="title">{{$ctrl.i18n.options}}</div>
</div> </div>
<div class="content"> <div class="content">
<div class="list"> <div class="list">

View File

@ -1,9 +1,9 @@
import * as angular from 'angular'; import * as angular from 'angular';
import { UtilsService } from '../../../services/abstractions/utils.service'; import { UtilsService } from '../../../services/abstractions/utils.service';
import StateService from '../services/state.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; disableFavicon = false;
enableAutoFillOnPageLoad = false; enableAutoFillOnPageLoad = false;
disableAutoTotpCopy = false; disableAutoTotpCopy = false;
@ -88,8 +88,8 @@ export class FeaturesController {
} }
} }
export const FeaturesComponent = { export const OptionsComponent = {
bindings: {}, bindings: {},
controller: FeaturesController, controller: OptionsController,
template, template,
}; };

View File

@ -76,8 +76,8 @@
{{$ctrl.i18n.other}} {{$ctrl.i18n.other}}
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<a class="list-section-item" ui-sref="features({animation: 'in-slide-left'})"> <a class="list-section-item" ui-sref="options({animation: 'in-slide-left'})">
{{$ctrl.i18n.features}} {{$ctrl.i18n.options}}
<i class="fa fa-chevron-right fa-lg"></i> <i class="fa fa-chevron-right fa-lg"></i>
</a> </a>
<a class="list-section-item" ui-sref="about({animation: 'in-slide-left'})"> <a class="list-section-item" ui-sref="about({animation: 'in-slide-left'})">

View File

@ -2,11 +2,11 @@ import * as angular from 'angular';
import { AboutComponent } from './about.component'; import { AboutComponent } from './about.component';
import { CreditsComponent } from './credits.component'; import { CreditsComponent } from './credits.component';
import { EnvironmentComponent } from './environment.component'; import { EnvironmentComponent } from './environment.component';
import { FeaturesComponent } from './features.component';
import { AddFolderComponent } from './folders/add-folder.component'; import { AddFolderComponent } from './folders/add-folder.component';
import { EditFolderComponent } from './folders/edit-folder.component'; import { EditFolderComponent } from './folders/edit-folder.component';
import { FoldersComponent } from './folders/folders.component'; import { FoldersComponent } from './folders/folders.component';
import { HelpComponent } from './help.component'; import { HelpComponent } from './help.component';
import { OptionsComponent } from './options.component';
import { PremiumComponent } from './premium.component'; import { PremiumComponent } from './premium.component';
import { SettingsComponent } from './settings.component'; import { SettingsComponent } from './settings.component';
import { SyncComponent } from './sync.component'; import { SyncComponent } from './sync.component';
@ -16,7 +16,7 @@ export default angular
.component('settings', SettingsComponent) .component('settings', SettingsComponent)
.component('environment', EnvironmentComponent) .component('environment', EnvironmentComponent)
.component('features', FeaturesComponent) .component('options', OptionsComponent)
.component('about', AboutComponent) .component('about', AboutComponent)
.component('credits', CreditsComponent) .component('credits', CreditsComponent)
.component('help', HelpComponent) .component('help', HelpComponent)