Skip to content

Commit 56f2ff7

Browse files
committed
fix(i18n): convert title case to sentence case in translation keys
All translation keys now use sentence case per ADR-007. Only first word capitalized, except proper nouns and acronyms.
1 parent f8507dc commit 56f2ff7

9 files changed

Lines changed: 274 additions & 288 deletions

File tree

‎l10n/en.json‎

Lines changed: 125 additions & 132 deletions
Large diffs are not rendered by default.

‎l10n/nl.json‎

Lines changed: 118 additions & 125 deletions
Large diffs are not rendered by default.

‎src/components/AddContactpersoonModal.vue‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Modal component for adding new contactpersoon to an organisation
1313

1414
<template>
1515
<NcDialog v-if="show"
16-
:name="t('softwarecatalog', 'Add Contactpersoon')"
16+
:name="t('softwarecatalog', 'Add contactpersoon')"
1717
size="small"
1818
@closing="closeModal">
1919
<div class="add-contactpersoon-modal">
@@ -25,7 +25,7 @@ Modal component for adding new contactpersoon to an organisation
2525
<div class="form-row">
2626
<NcTextField
2727
:value="formData.voornaam"
28-
:label="t('softwarecatalog', 'First Name')"
28+
:label="t('softwarecatalog', 'First name')"
2929
:placeholder="t('softwarecatalog', 'Enter first name')"
3030
class="compact-field"
3131
required
@@ -35,7 +35,7 @@ Modal component for adding new contactpersoon to an organisation
3535
<div class="form-row">
3636
<NcTextField
3737
:value="formData.achternaam"
38-
:label="t('softwarecatalog', 'Last Name')"
38+
:label="t('softwarecatalog', 'Last name')"
3939
:placeholder="t('softwarecatalog', 'Enter last name')"
4040
class="compact-field"
4141
required
@@ -46,7 +46,7 @@ Modal component for adding new contactpersoon to an organisation
4646
<NcTextField
4747
:value="formData['e-mailadres']"
4848
type="email"
49-
:label="t('softwarecatalog', 'Email Address')"
49+
:label="t('softwarecatalog', 'Email address')"
5050
:placeholder="t('softwarecatalog', 'Enter email address')"
5151
class="compact-field"
5252
required
@@ -63,7 +63,7 @@ Modal component for adding new contactpersoon to an organisation
6363
<template #icon>
6464
<NcLoadingIcon v-if="loading" :size="20" />
6565
</template>
66-
{{ t('softwarecatalog', 'Add Contactpersoon') }}
66+
{{ t('softwarecatalog', 'Add contactpersoon') }}
6767
</NcButton>
6868
</div>
6969
</form>

‎src/components/ContactpersonenList.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
<!-- Password Change Dialog -->
160160
<NcDialog
161161
v-if="showPasswordDialog"
162-
:name="t('softwarecatalog', 'Change Password')"
162+
:name="t('softwarecatalog', 'Change password')"
163163
size="small"
164164
@closing="closePasswordDialog">
165165
<div class="password-dialog">
@@ -274,7 +274,7 @@
274274
<!-- Groups Management Dialog -->
275275
<NcDialog
276276
v-if="showGroupsDialog"
277-
:name="t('softwarecatalog', 'Manage User Groups')"
277+
:name="t('softwarecatalog', 'Manage user groups')"
278278
size="normal"
279279
@closing="closeGroupsDialog">
280280
<div class="groups-dialog">

‎src/modals/OrganisationModal.vue‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<div class="form-row">
4343
<NcTextField
4444
:value="formData.beschrijvingKort"
45-
:label="t('softwarecatalog', 'Short Description')"
45+
:label="t('softwarecatalog', 'Short description')"
4646
:placeholder="t('softwarecatalog', 'Brief description of the organisation')"
4747
@update:value="formData.beschrijvingKort = $event" />
4848
</div>
@@ -68,7 +68,7 @@
6868
<NcTextField
6969
:value="formData.oin"
7070
:label="t('softwarecatalog', 'OIN')"
71-
:placeholder="t('softwarecatalog', 'Organisation Identification Number')"
71+
:placeholder="t('softwarecatalog', 'Organisation identification number')"
7272
@update:value="formData.oin = $event" />
7373
</div>
7474

@@ -101,7 +101,7 @@
101101
<template #icon>
102102
<NcLoadingIcon v-if="loading" :size="20" />
103103
</template>
104-
{{ isEditMode ? t('softwarecatalog', 'Update Organisation') : t('softwarecatalog', 'Create Organisation') }}
104+
{{ isEditMode ? t('softwarecatalog', 'Update organisation') : t('softwarecatalog', 'Create organisation') }}
105105
</NcButton>
106106
</div>
107107
</form>
@@ -183,11 +183,11 @@ export default {
183183
},
184184
modalTitle() {
185185
if (this.isEditMode) {
186-
return this.t('softwarecatalog', 'Edit Organisation')
186+
return this.t('softwarecatalog', 'Edit organisation')
187187
} else if (this.isCopyMode) {
188-
return this.t('softwarecatalog', 'Copy Organisation')
188+
return this.t('softwarecatalog', 'Copy organisation')
189189
}
190-
return this.t('softwarecatalog', 'Create Organisation')
190+
return this.t('softwarecatalog', 'Create organisation')
191191
},
192192
isFormValid() {
193193
return this.formData.naam.trim().length > 0

‎src/sidebars/dashboard/DashboardSideBar.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<NcAppSidebar
3-
:name="t('softwarecatalog', 'Software Catalog')"
3+
:name="t('softwarecatalog', 'Software catalog')"
44
:subname="t('softwarecatalog', 'Quick navigation')">
55
<NcAppSidebarTab id="info-tab" :name="t('softwarecatalog', 'Information')" :order="1">
66
<template #icon>

‎src/views/settings/Settings.vue‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<NcSettingsSection
4-
:name="t('softwarecatalog', 'Software Catalog')"
4+
:name="t('softwarecatalog', 'Software catalog')"
55
:description="t('softwarecatalog', 'A central place for managing your software')"
66
doc-url="https://docs.softwarecatalog.nl" />
77

@@ -34,7 +34,7 @@
3434

3535
<!-- Object Type Schema Configuration -->
3636
<div v-if="selectedRegister && hasSchemas" class="schema-configuration">
37-
<h3>{{ t('softwarecatalog', 'Schema Configuration') }}</h3>
37+
<h3>{{ t('softwarecatalog', 'Schema configuration') }}</h3>
3838
<p>{{ t('softwarecatalog', 'Select which schema to use for each object type') }}</p>
3939

4040
<div v-for="objectType in settings.objectTypes" :key="objectType" class="object-type-section">
@@ -60,7 +60,7 @@
6060
<NcLoadingIcon v-if="saving" :size="20" />
6161
<Save v-else :size="20" />
6262
</template>
63-
{{ t('softwarecatalog', 'Save Configuration') }}
63+
{{ t('softwarecatalog', 'Save configuration') }}
6464
</NcButton>
6565
</div>
6666
</div>
@@ -73,17 +73,17 @@
7373
</NcSettingsSection>
7474

7575
<NcSettingsSection
76-
:name="t('softwarecatalog', 'Other Configuration')"
76+
:name="t('softwarecatalog', 'Other configuration')"
7777
:description="t('softwarecatalog', 'Configure additional application settings')">
7878
<div v-if="!loading">
7979
<!-- Catalog Location -->
8080
<div class="catalog-location-section">
81-
<h3>{{ t('softwarecatalog', 'Catalog Location') }}</h3>
81+
<h3>{{ t('softwarecatalog', 'Catalog location') }}</h3>
8282
<p>{{ t('softwarecatalog', 'Set the base URL for your catalog interface') }}</p>
8383

8484
<NcTextField
8585
:value.sync="catalogLocation"
86-
:label="t('softwarecatalog', 'Catalog Location URL')"
86+
:label="t('softwarecatalog', 'Catalog location URL')"
8787
:placeholder="t('softwarecatalog', 'https://catalog.example.com')"
8888
:disabled="loading || savingCatalogLocation"
8989
@update:value="onCatalogLocationChange">
@@ -108,7 +108,7 @@
108108
<NcLoadingIcon v-if="savingCatalogLocation" :size="20" />
109109
<Save v-else :size="20" />
110110
</template>
111-
{{ t('softwarecatalog', 'Save Catalog Location') }}
111+
{{ t('softwarecatalog', 'Save catalog location') }}
112112
</NcButton>
113113
</div>
114114
</div>

‎src/views/settings/SoftwareCatalogSettings.vue‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:app-version="appVersion"
77
:is-up-to-date="true"
88
:show-update-button="true"
9-
:title="t('softwarecatalog', 'Version Information')"
9+
:title="t('softwarecatalog', 'Version information')"
1010
:description="t('softwarecatalog', 'Information about the current Software Catalogus installation')">
1111
<template #footer>
1212
<div class="cn-support-info">
@@ -24,8 +24,8 @@
2424
</CnVersionInfoCard>
2525

2626
<NcSettingsSection
27-
:name="t('softwarecatalog', 'Software Catalog Configuration')"
28-
:description="t('softwarecatalog', 'Configure OpenRegister schema mappings for Software Catalog objects')"
27+
:name="t('softwarecatalog', 'Software catalog configuration')"
28+
:description="t('softwarecatalog', 'Configure OpenRegister schema mappings for Software catalog objects')"
2929
doc-url="https://docs.opencatalogi.nl" />
3030

3131
<!-- Version Information Section -->
@@ -36,25 +36,25 @@
3636

3737
<!-- General Settings Section -->
3838
<AlwaysVisibleSection
39-
:name="t('softwarecatalog', 'General Settings')"
39+
:name="t('softwarecatalog', 'General settings')"
4040
:description="t('softwarecatalog', 'Configure basic application settings')"
4141
:loading="store.loadingGeneralSettings"
4242
:loading-text="t('softwarecatalog', 'Loading general settings...')"
4343
:show-save-button="true"
4444
:show-refresh-button="true"
4545
:can-save="catalogLocationChanged"
4646
:saving="savingCatalogLocation"
47-
:save-button-text="t('softwarecatalog', 'Save General Settings')"
47+
:save-button-text="t('softwarecatalog', 'Save general settings')"
4848
@save="saveGeneralSettings"
4949
@refresh="refreshGeneralSettings">
5050
<!-- Software Catalog Location -->
5151
<div class="catalog-location-section">
52-
<h3>{{ t('softwarecatalog', 'Software Catalog Location') }}</h3>
52+
<h3>{{ t('softwarecatalog', 'Software catalog location') }}</h3>
5353
<p>{{ t('softwarecatalog', 'Set the base URL for your software catalog interface') }}</p>
5454

5555
<NcTextField
5656
:value="catalogLocation"
57-
:label="t('softwarecatalog', 'Software Catalog Location URL')"
57+
:label="t('softwarecatalog', 'Software catalog location URL')"
5858
:placeholder="t('softwarecatalog', 'https://catalog.example.com')"
5959
:disabled="store.loading"
6060
@update:value="onCatalogLocationChange">

‎src/views/settings/sections/OpenRegisterIntegration.vue‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
:show-refresh-button="true"
2727
:can-save="canSave"
2828
:saving="saving"
29-
:save-button-text="t('softwarecatalog', 'Save Configuration')"
29+
:save-button-text="t('softwarecatalog', 'Save configuration')"
3030
@save="saveConfiguration"
3131
@refresh="refreshSettings">
3232
<div v-if="!loading">
@@ -39,7 +39,7 @@
3939
<div v-if="versionInfo.openRegisterEnabled" class="openregister-tabs">
4040
<StandardTabs
4141
:tabs="[
42-
{ key: 'general', title: t('softwarecatalog', 'General Configuration') },
42+
{ key: 'general', title: t('softwarecatalog', 'General configuration') },
4343
{ key: 'voorzieningen', title: t('softwarecatalog', 'Voorzieningen') + (hasVoorzieningenConfigChanges() ? ' *' : '') },
4444
{ key: 'amef', title: 'AMEF' + (hasAmefConfigChanges() ? ' *' : '') },
4545
]"
@@ -53,7 +53,7 @@
5353
<NcSelect
5454
v-model="voorzieningenRegister"
5555
:options="registerOptions"
56-
:input-label="t('softwarecatalog', 'Select Voorzieningen Register')"
56+
:input-label="t('softwarecatalog', 'Select Voorzieningen register')"
5757
:loading="loadingRegisters"
5858
:disabled="loadingRegisters"
5959
@change="handleVoorzieningenRegisterChange" />

0 commit comments

Comments
 (0)