Skip to content

Commit 71759b1

Browse files
committed
Fix: Casing is changed for translated resource metadata keys
Fixes #1479
1 parent 090bcf5 commit 71759b1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Tekst-API/demo/state.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@
1111
"default_text_id": { "$oid": "654b825533ee5737b297f8e3" },
1212
"index_unpublished_resources": false,
1313
"direct_jump_on_unique_alias_search": true,
14-
"nav_translations": {
15-
"browse": [],
16-
"search": [],
17-
"info": []
18-
},
14+
"nav_translations": { "browse": [], "search": [], "info": [] },
1915
"show_resource_category_headings": true,
2016
"prioritize_browse_level_resources": true,
2117
"show_location_aliases": true,
18+
"browse_bar_uses_text_color": false,
2219
"ui_color": "#316149",
2320
"show_logo_on_loading_screen": true,
2421
"show_logo_in_header": true,
@@ -31,7 +28,10 @@
3128
"res_meta_translations": [
3229
{
3330
"key": "author",
34-
"translations": [{ "locale": "*", "translation": "Author*in" }]
31+
"translations": [
32+
{ "locale": "enUS", "translation": "Author" },
33+
{ "locale": "deDE", "translation": "Author*in" }
34+
]
3535
},
3636
{
3737
"key": "year",

Tekst-Web/src/components/resource/MetadataDisplay.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ table td {
4747
4848
table td.metadata-category {
4949
white-space: nowrap;
50-
text-transform: capitalize;
5150
padding-right: var(--gap-sm);
5251
}
5352
</style>

0 commit comments

Comments
 (0)