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:
parent
6f5ca980c2
commit
68f3f7a3bd
@ -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."
|
||||
},
|
||||
|
@ -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';
|
||||
|
@ -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 }
|
||||
})
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="left">
|
||||
<a ui-sref="tabs.settings({animation: 'out-slide-right'})"><i class="fa fa-chevron-left"></i> {{$ctrl.i18n.back}}</a>
|
||||
</div>
|
||||
<div class="title">{{$ctrl.i18n.features}}</div>
|
||||
<div class="title">{{$ctrl.i18n.options}}</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="list">
|
@ -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,
|
||||
};
|
@ -76,8 +76,8 @@
|
||||
{{$ctrl.i18n.other}}
|
||||
</div>
|
||||
<div class="list-section-items">
|
||||
<a class="list-section-item" ui-sref="features({animation: 'in-slide-left'})">
|
||||
{{$ctrl.i18n.features}}
|
||||
<a class="list-section-item" ui-sref="options({animation: 'in-slide-left'})">
|
||||
{{$ctrl.i18n.options}}
|
||||
<i class="fa fa-chevron-right fa-lg"></i>
|
||||
</a>
|
||||
<a class="list-section-item" ui-sref="about({animation: 'in-slide-left'})">
|
||||
|
@ -2,11 +2,11 @@ import * as angular from 'angular';
|
||||
import { AboutComponent } from './about.component';
|
||||
import { CreditsComponent } from './credits.component';
|
||||
import { EnvironmentComponent } from './environment.component';
|
||||
import { FeaturesComponent } from './features.component';
|
||||
import { AddFolderComponent } from './folders/add-folder.component';
|
||||
import { EditFolderComponent } from './folders/edit-folder.component';
|
||||
import { FoldersComponent } from './folders/folders.component';
|
||||
import { HelpComponent } from './help.component';
|
||||
import { OptionsComponent } from './options.component';
|
||||
import { PremiumComponent } from './premium.component';
|
||||
import { SettingsComponent } from './settings.component';
|
||||
import { SyncComponent } from './sync.component';
|
||||
@ -16,7 +16,7 @@ export default angular
|
||||
|
||||
.component('settings', SettingsComponent)
|
||||
.component('environment', EnvironmentComponent)
|
||||
.component('features', FeaturesComponent)
|
||||
.component('options', OptionsComponent)
|
||||
.component('about', AboutComponent)
|
||||
.component('credits', CreditsComponent)
|
||||
.component('help', HelpComponent)
|
||||
|
Loading…
Reference in New Issue
Block a user