mirror of
https://github.com/bitwarden/browser
synced 2026-01-05 10:03:21 +00:00
[PM-29896] specify noun or verb for Import / Export terms (#18012)
* [PM-29896] specify noun or verb for Import / Export terms * [PM-29896] adjust verb to noun
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<bit-dialog #dialog dialogSize="large">
|
||||
<span bitDialogTitle>{{ "export" | i18n }}</span>
|
||||
<span bitDialogTitle>{{ "exportNoun" | i18n }}</span>
|
||||
<ng-container bitDialogContent>
|
||||
<tools-export
|
||||
(formLoading)="this.loading = $event"
|
||||
@@ -17,7 +17,7 @@
|
||||
bitFormButton
|
||||
buttonType="primary"
|
||||
>
|
||||
{{ "export" | i18n }}
|
||||
{{ "exportVerb" | i18n }}
|
||||
</button>
|
||||
<button type="button" bitButton bitFormButton buttonType="secondary" bitDialogClose>
|
||||
{{ "cancel" | i18n }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<bit-dialog #dialog dialogSize="large" background="alt">
|
||||
<span bitDialogTitle>{{ "import" | i18n }}</span>
|
||||
<span bitDialogTitle>{{ "importNoun" | i18n }}</span>
|
||||
<ng-container bitDialogContent>
|
||||
<div class="tw-relative">
|
||||
<tools-import
|
||||
@@ -27,7 +27,7 @@
|
||||
bitFormButton
|
||||
buttonType="primary"
|
||||
>
|
||||
{{ "import" | i18n }}
|
||||
{{ "importVerb" | i18n }}
|
||||
</button>
|
||||
<button type="button" bitButton bitFormButton buttonType="secondary" bitDialogClose>
|
||||
{{ "cancel" | i18n }}
|
||||
|
||||
@@ -1775,11 +1775,21 @@
|
||||
"exportFrom": {
|
||||
"message": "Export from"
|
||||
},
|
||||
"export": {
|
||||
"message": "Export"
|
||||
"exportNoun": {
|
||||
"message": "Export",
|
||||
"description": "The noun form of the word Export"
|
||||
},
|
||||
"import": {
|
||||
"message": "Import"
|
||||
"exportVerb": {
|
||||
"message": "Export",
|
||||
"description": "The verb form of the word Export"
|
||||
},
|
||||
"importNoun": {
|
||||
"message": "Import",
|
||||
"description": "The noun form of the word Import"
|
||||
},
|
||||
"importVerb": {
|
||||
"message": "Import",
|
||||
"description": "The verb form of the word Import"
|
||||
},
|
||||
"fileFormat": {
|
||||
"message": "File format"
|
||||
|
||||
@@ -156,7 +156,7 @@ export class FileMenu extends FirstMenu implements IMenubarMenu {
|
||||
private get importVault(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "import",
|
||||
label: this.localize("import"),
|
||||
label: this.localize("importNoun"),
|
||||
click: () => this.sendMessage("importVault"),
|
||||
enabled: !this._isLocked,
|
||||
};
|
||||
@@ -165,7 +165,7 @@ export class FileMenu extends FirstMenu implements IMenubarMenu {
|
||||
private get exportVault(): MenuItemConstructorOptions {
|
||||
return {
|
||||
id: "export",
|
||||
label: this.localize("export"),
|
||||
label: this.localize("exportNoun"),
|
||||
click: () => this.sendMessage("exportVault"),
|
||||
enabled: !this._isLocked,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user