1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53: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": { "selectImportCollection": {
"message": "Select a collection" "message": "Select a collection"
}, },
"importTargetHint": { "importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$", "message": "Select this option if you want the imported file contents moved to a collection"
"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": { "importTargetHintFolder": {
"destination": { "message": "Select this option if you want the imported file contents moved to a folder"
"content": "$1",
"example": "folder or collection"
}
}
}, },
"importUnassignedItemsError": { "importUnassignedItemsError": {
"message": "File contains unassigned items." "message": "File contains unassigned items."

View File

@@ -3491,15 +3491,11 @@
"selectImportCollection": { "selectImportCollection": {
"message": "Select a collection" "message": "Select a collection"
}, },
"importTargetHint": { "importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$", "message": "Select this option if you want the imported file contents moved to a collection"
"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": { "importTargetHintFolder": {
"destination": { "message": "Select this option if you want the imported file contents moved to a folder"
"content": "$1",
"example": "folder or collection"
}
}
}, },
"importUnassignedItemsError": { "importUnassignedItemsError": {
"message": "File contains unassigned items." "message": "File contains unassigned items."

View File

@@ -2051,15 +2051,11 @@
"selectImportCollection": { "selectImportCollection": {
"message": "Select a collection" "message": "Select a collection"
}, },
"importTargetHint": { "importTargetHintCollection": {
"message": "Select this option if you want the imported file contents moved to a $DESTINATION$", "message": "Select this option if you want the imported file contents moved to a collection"
"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": { "importTargetHintFolder": {
"destination": { "message": "Select this option if you want the imported file contents moved to a folder"
"content": "$1",
"example": "folder or collection"
}
}
}, },
"importUnassignedItemsError": { "importUnassignedItemsError": {
"message": "File contains unassigned items." "message": "File contains unassigned items."

View File

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