1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

[PM-24774] importTargetHint variable inflection fix (#16025)

* Prepare full string

* Format fix

* Fix lint: Execute `npm run prettier`

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Konrad
2025-08-20 18:09:19 +02:00
committed by GitHub
parent 999ade9707
commit c1fab79ae3
4 changed files with 16 additions and 30 deletions

View File

@@ -4131,15 +4131,11 @@
"selectImportCollection": {
"message": "Select a collection"
},
"importTargetHint": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$",
"description": "Located as a hint under the import target. Will be appended by either folder or collection, depending if the user is importing into an individual or an organizational vault.",
"placeholders": {
"destination": {
"content": "$1",
"example": "folder or collection"
}
}
"importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a collection"
},
"importTargetHintFolder": {
"message": "Select this option if you want the imported file contents moved to a folder"
},
"importUnassignedItemsError": {
"message": "File contains unassigned items."

View File

@@ -3491,15 +3491,11 @@
"selectImportCollection": {
"message": "Select a collection"
},
"importTargetHint": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$",
"description": "Located as a hint under the import target. Will be appended by either folder or collection, depending if the user is importing into an individual or an organizational vault.",
"placeholders": {
"destination": {
"content": "$1",
"example": "folder or collection"
}
}
"importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a collection"
},
"importTargetHintFolder": {
"message": "Select this option if you want the imported file contents moved to a folder"
},
"importUnassignedItemsError": {
"message": "File contains unassigned items."

View File

@@ -2051,15 +2051,11 @@
"selectImportCollection": {
"message": "Select a collection"
},
"importTargetHint": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$",
"description": "Located as a hint under the import target. Will be appended by either folder or collection, depending if the user is importing into an individual or an organizational vault.",
"placeholders": {
"destination": {
"content": "$1",
"example": "folder or collection"
}
}
"importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a collection"
},
"importTargetHintFolder": {
"message": "Select this option if you want the imported file contents moved to a folder"
},
"importUnassignedItemsError": {
"message": "File contains unassigned items."

View File

@@ -54,9 +54,7 @@
</ng-container>
</bit-select>
<bit-hint>{{
"importTargetHint"
| i18n
: (organizationId ? ("collection" | i18n | lowercase) : ("folder" | i18n | lowercase))
organizationId ? ("importTargetHintCollection" | i18n) : ("importTargetHintFolder" | i18n)
}}</bit-hint>
</bit-form-field>
</bit-card>