Skip to content

Commit 58920a4

Browse files
committed
Send limit reached icon + message now show
1 parent 9481508 commit 58920a4

File tree

2 files changed

+46
-54
lines changed

2 files changed

+46
-54
lines changed

apps/browser/src/_locales/en/messages.json

Lines changed: 36 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,10 +1071,6 @@
10711071
},
10721072
"description": "Aria label for the view button in notification bar confirmation message"
10731073
},
1074-
"notificationNewItemAria": {
1075-
"message": "New Item, opens in new window",
1076-
"description": "Aria label for the new item button in notification bar confirmation message when error is prompted"
1077-
},
10781074
"notificationEditTooltip": {
10791075
"message": "Edit before saving",
10801076
"description": "Tooltip and Aria label for edit button on cipher item"
@@ -1092,25 +1088,23 @@
10921088
}
10931089
}
10941090
},
1095-
"notificationLoginSaveConfirmation": {
1096-
"message": "saved to Bitwarden.",
1091+
"loginSaveConfirmation": {
1092+
"message": "$ITEMNAME$ saved to Bitwarden.",
1093+
"placeholders": {
1094+
"itemName": {
1095+
"content": "$1"
1096+
}
1097+
},
10971098
"description": "Shown to user after item is saved."
10981099
},
1099-
"notificationLoginUpdatedConfirmation": {
1100-
"message": "updated in Bitwarden.",
1101-
"description": "Shown to user after item is updated."
1102-
},
1103-
"selectItemAriaLabel": {
1104-
"message": "Select $ITEMTYPE$, $ITEMNAME$",
1105-
"description": "Used by screen readers. $1 is the item type (like vault or folder), $2 is the selected item name.",
1100+
"loginUpdatedConfirmation": {
1101+
"message": "$ITEMNAME$ updated in Bitwarden.",
11061102
"placeholders": {
1107-
"itemType": {
1108-
"content": "$1"
1109-
},
11101103
"itemName": {
1111-
"content": "$2"
1104+
"content": "$1"
11121105
}
1113-
}
1106+
},
1107+
"description": "Shown to user after item is updated."
11141108
},
11151109
"saveAsNewLoginAction": {
11161110
"message": "Save as new login",
@@ -1120,10 +1114,6 @@
11201114
"message": "Update login",
11211115
"description": "Button text for updating an existing login entry."
11221116
},
1123-
"unlockToSave": {
1124-
"message": "Unlock to save this login",
1125-
"description": "User prompt to take action in order to save the login they just entered."
1126-
},
11271117
"saveLogin": {
11281118
"message": "Save login",
11291119
"description": "Prompt asking the user if they want to save their login details."
@@ -2227,6 +2217,15 @@
22272217
"vaultTimeoutAction1": {
22282218
"message": "Timeout action"
22292219
},
2220+
"newCustomizationOptionsCalloutTitle": {
2221+
"message": "New customization options"
2222+
},
2223+
"newCustomizationOptionsCalloutContent": {
2224+
"message": "Customize your vault experience with quick copy actions, compact mode, and more!"
2225+
},
2226+
"newCustomizationOptionsCalloutLink": {
2227+
"message": "View all Appearance settings"
2228+
},
22302229
"lock": {
22312230
"message": "Lock",
22322231
"description": "Verb form: to make secure or inaccessible by"
@@ -2674,6 +2673,10 @@
26742673
"message": "All Sends",
26752674
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
26762675
},
2676+
"maxAccessCountReached": {
2677+
"message": "Max access count reached",
2678+
"description": "This text will be displayed after a Send has been accessed the maximum amount of times."
2679+
},
26772680
"hideTextByDefault": {
26782681
"message": "Hide text by default"
26792682
},
@@ -3014,14 +3017,14 @@
30143017
"copyCustomFieldNameNotUnique": {
30153018
"message": "No unique identifier found."
30163019
},
3017-
"removeMasterPasswordForOrganizationUserKeyConnector": {
3018-
"message": "A master password is no longer required for members of the following organization. Please confirm the domain below with your organization administrator."
3019-
},
3020-
"organizationName": {
3021-
"message": "Organization name"
3022-
},
3023-
"keyConnectorDomain": {
3024-
"message": "Key Connector domain"
3020+
"convertOrganizationEncryptionDesc": {
3021+
"message": "$ORGANIZATION$ is using SSO with a self-hosted key server. A master password is no longer required to log in for members of this organization.",
3022+
"placeholders": {
3023+
"organization": {
3024+
"content": "$1",
3025+
"example": "My Org Name"
3026+
}
3027+
}
30253028
},
30263029
"leaveOrganization": {
30273030
"message": "Leave organization"
@@ -3604,7 +3607,7 @@
36043607
"orgTrustWarning1": {
36053608
"message": "This organization has an Enterprise policy that will enroll you in account recovery. Enrollment will allow organization administrators to change your password. Only proceed if you recognize this organization and the fingerprint phrase displayed below matches the organization's fingerprint."
36063609
},
3607-
"trustUser": {
3610+
"trustUser":{
36083611
"message": "Trust user"
36093612
},
36103613
"sendsNoItemsTitle": {
@@ -5019,15 +5022,6 @@
50195022
"biometricsStatusHelptextUnavailableReasonUnknown": {
50205023
"message": "Biometric unlock is currently unavailable for an unknown reason."
50215024
},
5022-
"unlockVault": {
5023-
"message": "Unlock your vault in seconds"
5024-
},
5025-
"unlockVaultDesc": {
5026-
"message": "You can customize your unlock and timeout settings to more quickly access your vault."
5027-
},
5028-
"unlockPinSet": {
5029-
"message": "Unlock PIN set"
5030-
},
50315025
"authenticating": {
50325026
"message": "Authenticating"
50335027
},
@@ -5277,9 +5271,6 @@
52775271
"secureDevicesBody": {
52785272
"message": "Save unlimited passwords across unlimited devices with Bitwarden mobile, browser, and desktop apps."
52795273
},
5280-
"nudgeBadgeAria": {
5281-
"message": "1 notification"
5282-
},
52835274
"emptyVaultNudgeTitle": {
52845275
"message": "Import existing passwords"
52855276
},
@@ -5292,14 +5283,8 @@
52925283
"hasItemsVaultNudgeTitle": {
52935284
"message": "Welcome to your vault!"
52945285
},
5295-
"hasItemsVaultNudgeBodyOne": {
5296-
"message": "Autofill items for the current page"
5297-
},
5298-
"hasItemsVaultNudgeBodyTwo": {
5299-
"message": "Favorite items for easy access"
5300-
},
5301-
"hasItemsVaultNudgeBodyThree": {
5302-
"message": "Search your vault for something else"
5286+
"hasItemsVaultNudgeBody": {
5287+
"message": "Autofill items for the current page\nFavorite items for easy access\nSearch your vault for something else"
53035288
},
53045289
"newLoginNudgeTitle": {
53055290
"message": "Save time with autofill"
@@ -5349,8 +5334,5 @@
53495334
"message": "Learn more about SSH agent",
53505335
"description": "Two part message",
53515336
"example": "Store your keys and connect with the SSH agent for fast, encrypted authentication. Learn more about SSH agent"
5352-
},
5353-
"noPermissionsViewPage": {
5354-
"message": "You do not have permissions to view this page. Try logging in with a different account."
53555337
}
53565338
}

libs/tools/send/send-ui/src/send-list-items-container/send-list-items-container.component.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ <h2 class="tw-font-bold" bitTypography="h6">
2626
></i>
2727
</div>
2828
{{ send.name }}
29+
<ng-container *ngIf="send.maxAccessCountReached">
30+
<i
31+
class="bwi bwi-exclamation-triangle"
32+
appStopProp
33+
title="{{ 'maxAccessCountReached' | i18n }}"
34+
aria-hidden="true"
35+
></i>
36+
<span class="tw-sr-only">{{ "maxAccessCountReached" | i18n }}</span>
37+
</ng-container>
38+
2939
<span slot="secondary">
3040
{{ "deletionDate" | i18n }}:&nbsp;{{ send.deletionDate | date: "mediumDate" }}
3141
</span>

0 commit comments

Comments
 (0)