Skip to content

Commit 71b644f

Browse files
authored
Merge pull request #5498 from kshepherd/5945_browse-form-placeholder
Improve placeholder text / form UX in Browse By "Starts with" form control
2 parents 327e703 + 2fb21fe commit 71b644f

38 files changed

+34
-161
lines changed

src/app/shared/starts-with/text/starts-with-text.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
<div class="mb-3">
33
<div class="row">
44
<div class="mb-3 input-group col-sm-12 col-md-6 col-auto">
5-
<input class="form-control" [attr.aria-label]="'browse.startsWith.input' | translate" placeholder="{{'browse.search-form.placeholder' | translate}}" type="text" name="startsWith" formControlName="startsWith" [value]="getStartsWith()" />
5+
<input class="form-control" [attr.aria-label]="'browse.startsWith.input' | translate" placeholder="{{'browse.startsWith.type_text' | translate}}" type="text" name="startsWith" formControlName="startsWith" [value]="getStartsWith()" />
66
<button class="btn btn-primary" type="submit" role="button" tabindex="0"><i class="fas fa-book-open"></i> {{'browse.startsWith.submit' | translate}}</button>
77
</div>
88
</div>
9-
<small class="text-muted">{{'browse.startsWith.type_text' | translate}}</small>
109
</div>
1110
</form>

src/assets/i18n/ar.json5

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11244,9 +11244,6 @@
1124411244
// TODO Source message changed - Revise the translation
1124511245
"item.page.cc.license.disclaimer": "إلا إذا ذُكر خلاف ذلك، يتم وصف ترخيص هذه المادة على أنه",
1124611246

11247-
// "browse.search-form.placeholder": "Search the repository",
11248-
"browse.search-form.placeholder": "ابحث في المستودع",
11249-
1125011247
// "file-download-link.download": "Download ",
1125111248
"file-download-link.download": "تنزيل ",
1125211249

@@ -11776,4 +11773,4 @@
1177611773
"admin.edit-user-agreement.title": "Edit User Agreement",
1177711774

1177811775

11779-
}
11776+
}

src/assets/i18n/bn.json5

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11375,9 +11375,6 @@
1137511375
// "item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
1137611376
"item.page.cc.license.disclaimer": "অন্যথায় উল্লেখ করা ব্যতীত, এই আইটেমটির লাইসেন্স হিসাবে বর্ণনা করা হয়েছে",
1137711377

11378-
// "browse.search-form.placeholder": "Search the repository",
11379-
"browse.search-form.placeholder": "ভান্ডার অনুসন্ধান করুন",
11380-
1138111378
// "file-download-link.download": "Download ",
1138211379
"file-download-link.download": "ডাউনলোড করুন",
1138311380

@@ -11907,4 +11904,4 @@
1190711904
"admin.edit-user-agreement.title": "Edit User Agreement",
1190811905

1190911906

11910-
}
11907+
}

src/assets/i18n/ca.json5

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11411,9 +11411,6 @@
1141111411
// TODO Source message changed - Revise the translation
1141211412
"item.page.cc.license.disclaimer": "Excepte on s'indiqui el contrari, la llicència d'aquest ítem es descriu com",
1141311413

11414-
// "browse.search-form.placeholder": "Search the repository",
11415-
"browse.search-form.placeholder": "Cerca al repositori",
11416-
1141711414
// "file-download-link.download": "Download ",
1141811415
"file-download-link.download": "Descarregar ",
1141911416

@@ -12000,4 +11997,4 @@
1200011997
"admin.edit-user-agreement.title": "Edit User Agreement",
1200111998

1200211999

12003-
}
12000+
}

src/assets/i18n/cs.json5

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11082,9 +11082,6 @@
1108211082
// "item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
1108311083
"item.page.cc.license.disclaimer": "Pokud není uvedeno jinak, licence tohoto záznamu je popsána jako",
1108411084

11085-
// "browse.search-form.placeholder": "Search the repository",
11086-
"browse.search-form.placeholder": "Hledat v repozitáři",
11087-
1108811085
// "file-download-link.download": "Download ",
1108911086
"file-download-link.download": "Stáhnout",
1109011087

src/assets/i18n/de.json5

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11074,9 +11074,6 @@
1107411074
// "item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
1107511075
"item.page.cc.license.disclaimer": "Wenn nicht anders vermerkt, wird die Lizenz dieses Items wie folgt beschrieben",
1107611076

11077-
// "browse.search-form.placeholder": "Search the repository",
11078-
"browse.search-form.placeholder": "Suche im Repositorium",
11079-
1108011077
// "file-download-link.download": "Download ",
1108111078
"file-download-link.download": "Herunterladen ",
1108211079

src/assets/i18n/el.json5

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12703,10 +12703,6 @@
1270312703
// TODO New key - Add a translation
1270412704
"item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
1270512705

12706-
// "browse.search-form.placeholder": "Search the repository",
12707-
// TODO New key - Add a translation
12708-
"browse.search-form.placeholder": "Search the repository",
12709-
1271012706
// "file-download-link.download": "Download ",
1271112707
// TODO New key - Add a translation
1271212708
"file-download-link.download": "Download ",
@@ -13296,4 +13292,4 @@
1329613292
"admin.edit-user-agreement.title": "Edit User Agreement",
1329713293

1329813294

13299-
}
13295+
}

src/assets/i18n/en.json5

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7379,8 +7379,6 @@
73797379

73807380
"item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
73817381

7382-
"browse.search-form.placeholder": "Search the repository",
7383-
73847382
"file-download-link.download": "Download ",
73857383

73867384
"file-download-button.download": "Download",

src/assets/i18n/es.json5

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11347,9 +11347,6 @@
1134711347
// TODO Source message changed - Revise the translation
1134811348
"item.page.cc.license.disclaimer": "Excepto donde se indique lo contrario, la licencia de este ítem se describe como",
1134911349

11350-
// "browse.search-form.placeholder": "Search the repository",
11351-
"browse.search-form.placeholder": "Buscar en el repositorio",
11352-
1135311350
// "file-download-link.download": "Download ",
1135411351
"file-download-link.download": "Descargar ",
1135511352

@@ -11881,4 +11878,4 @@
1188111878
"admin.edit-user-agreement.title": "Edit User Agreement",
1188211879

1188311880

11884-
}
11881+
}

src/assets/i18n/fa.json5

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13936,10 +13936,6 @@
1393613936
// TODO New key - Add a translation
1393713937
"item.page.cc.license.disclaimer": "Except where otherwise noted, this item's license is described as",
1393813938

13939-
// "browse.search-form.placeholder": "Search the repository",
13940-
// TODO New key - Add a translation
13941-
"browse.search-form.placeholder": "Search the repository",
13942-
1394313939
// "file-download-link.download": "Download ",
1394413940
// TODO New key - Add a translation
1394513941
"file-download-link.download": "Download ",
@@ -14529,4 +14525,4 @@
1452914525
"admin.edit-user-agreement.title": "Edit User Agreement",
1453014526

1453114527

14532-
}
14528+
}

0 commit comments

Comments
 (0)