From 7cc564bfd1ce621f391ee2b9b0c83f60730dcd50 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 3 Sep 2025 14:51:57 +0200 Subject: [PATCH 1/2] fix(l10n): use `productName` instead of hardcoded 'Nextcloud' where possible Signed-off-by: Ferdinand Thiessen --- apps/dashboard/src/DashboardApp.vue | 8 +++- .../src/components/PersonalSettings.vue | 5 ++- apps/files_external/src/settings.js | 43 +++++++++++-------- apps/files_sharing/src/views/SharingTab.vue | 4 +- .../AppStoreSidebar/AppDetailsTab.vue | 6 ++- .../src/components/Encryption/sharedTexts.ts | 4 +- .../settings/src/components/Users/UserRow.vue | 7 ++- apps/settings/src/mixins/AppManagement.js | 6 ++- .../src/views/AdminSettingsSetupChecks.vue | 26 ++++++++--- apps/settings/src/views/AppStore.vue | 13 +++--- .../src/components/UpdateNotification.vue | 17 ++++++-- 11 files changed, 96 insertions(+), 43 deletions(-) diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue index afc874be2c946..f7ff79966e93e 100644 --- a/apps/dashboard/src/DashboardApp.vue +++ b/apps/dashboard/src/DashboardApp.vue @@ -100,7 +100,7 @@

{{ t('dashboard', 'Weather service') }}

- {{ t('dashboard', 'For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information.') }} + {{ t('dashboard', 'For your privacy, the weather data is requested by your {productName} server on your behalf so the weather service receives no personal information.', { productName }) }}

{{ t('dashboard', 'Weather data from Met.no') }}, @@ -156,6 +156,12 @@ export default { isMobile, ], + setup() { + return { + productName: window.OC.theme.productName, + } + }, + data() { return { isAdmin: getCurrentUser().isAdmin, diff --git a/apps/federatedfilesharing/src/components/PersonalSettings.vue b/apps/federatedfilesharing/src/components/PersonalSettings.vue index f68b755425d66..6dd79541b21b3 100644 --- a/apps/federatedfilesharing/src/components/PersonalSettings.vue +++ b/apps/federatedfilesharing/src/components/PersonalSettings.vue @@ -5,7 +5,7 @@