From 915506527ab538cc41543c4fc962ab5e2f9933c7 Mon Sep 17 00:00:00 2001 From: Athou Date: Thu, 10 Apr 2025 10:39:14 +0200 Subject: [PATCH] add theme color picker (#1598) --- commafeed-client/src/App.tsx | 3 +- commafeed-client/src/app/constants.ts | 3 ++ commafeed-client/src/app/types.ts | 1 + commafeed-client/src/app/user/slice.ts | 6 ++++ commafeed-client/src/app/user/thunks.ts | 6 ++++ .../src/components/code/CodeEditor.tsx | 4 +-- .../components/settings/DisplaySettings.tsx | 30 +++++++++++++++---- commafeed-client/src/locales/ar/messages.po | 17 +++++++---- commafeed-client/src/locales/ca/messages.po | 17 +++++++---- commafeed-client/src/locales/cs/messages.po | 17 +++++++---- commafeed-client/src/locales/cy/messages.po | 17 +++++++---- commafeed-client/src/locales/da/messages.po | 17 +++++++---- commafeed-client/src/locales/de/messages.po | 17 +++++++---- commafeed-client/src/locales/en/messages.po | 17 +++++++---- commafeed-client/src/locales/es/messages.po | 17 +++++++---- commafeed-client/src/locales/fa/messages.po | 17 +++++++---- commafeed-client/src/locales/fi/messages.po | 17 +++++++---- commafeed-client/src/locales/fr/messages.po | 17 +++++++---- commafeed-client/src/locales/gl/messages.po | 17 +++++++---- commafeed-client/src/locales/hu/messages.po | 17 +++++++---- commafeed-client/src/locales/id/messages.po | 17 +++++++---- commafeed-client/src/locales/it/messages.po | 17 +++++++---- commafeed-client/src/locales/ja/messages.po | 17 +++++++---- commafeed-client/src/locales/ko/messages.po | 17 +++++++---- commafeed-client/src/locales/ms/messages.po | 17 +++++++---- commafeed-client/src/locales/nb/messages.po | 17 +++++++---- commafeed-client/src/locales/nl/messages.po | 17 +++++++---- commafeed-client/src/locales/nn/messages.po | 17 +++++++---- commafeed-client/src/locales/pl/messages.po | 17 +++++++---- commafeed-client/src/locales/pt/messages.po | 17 +++++++---- commafeed-client/src/locales/ru/messages.po | 17 +++++++---- commafeed-client/src/locales/sk/messages.po | 17 +++++++---- commafeed-client/src/locales/sv/messages.po | 17 +++++++---- commafeed-client/src/locales/tr/messages.po | 17 +++++++---- commafeed-client/src/locales/zh/messages.po | 17 +++++++---- .../commafeed/backend/model/UserSettings.java | 3 ++ .../commafeed/frontend/model/Settings.java | 3 ++ .../commafeed/frontend/resource/UserREST.java | 2 ++ .../resources/changelogs/db.changelog-5.8.xml | 11 +++++++ .../src/main/resources/migrations.xml | 1 + 40 files changed, 373 insertions(+), 176 deletions(-) create mode 100644 commafeed-server/src/main/resources/changelogs/db.changelog-5.8.xml diff --git a/commafeed-client/src/App.tsx b/commafeed-client/src/App.tsx index 0d883b7d..994b1ba9 100644 --- a/commafeed-client/src/App.tsx +++ b/commafeed-client/src/App.tsx @@ -37,12 +37,13 @@ import { HashRouter, Navigate, Route, Routes, useLocation, useNavigate } from "r import Tinycon from "tinycon" function Providers(props: { children: React.ReactNode }) { + const primaryColor = useAppSelector(state => state.user.settings?.primaryColor) || Constants.theme.defaultPrimaryColor return ( `entry-id-${entry.id}`, entryContextMenuId: (entry: Entry) => entry.id, }, + theme: { + defaultPrimaryColor: "orange", + }, tooltip: { delay: 500, }, diff --git a/commafeed-client/src/app/types.ts b/commafeed-client/src/app/types.ts index 96c70ed5..67212e29 100644 --- a/commafeed-client/src/app/types.ts +++ b/commafeed-client/src/app/types.ts @@ -252,6 +252,7 @@ export interface Settings { mobileFooter: boolean unreadCountTitle: boolean unreadCountFavicon: boolean + primaryColor?: string sharingSettings: SharingSettings } diff --git a/commafeed-client/src/app/user/slice.ts b/commafeed-client/src/app/user/slice.ts index 062412d2..2e9a79fa 100644 --- a/commafeed-client/src/app/user/slice.ts +++ b/commafeed-client/src/app/user/slice.ts @@ -9,6 +9,7 @@ import { changeLanguage, changeMarkAllAsReadConfirmation, changeMobileFooter, + changePrimaryColor, changeReadingMode, changeReadingOrder, changeScrollMarks, @@ -125,6 +126,10 @@ export const userSlice = createSlice({ if (!state.settings) return state.settings.unreadCountFavicon = action.meta.arg }) + builder.addCase(changePrimaryColor.pending, (state, action) => { + if (!state.settings) return + state.settings.primaryColor = action.meta.arg + }) builder.addCase(changeSharingSetting.pending, (state, action) => { if (!state.settings) return state.settings.sharingSettings[action.meta.arg.site] = action.meta.arg.value @@ -144,6 +149,7 @@ export const userSlice = createSlice({ changeMobileFooter.fulfilled, changeUnreadCountTitle.fulfilled, changeUnreadCountFavicon.fulfilled, + changePrimaryColor.fulfilled, changeSharingSetting.fulfilled ), () => { diff --git a/commafeed-client/src/app/user/thunks.ts b/commafeed-client/src/app/user/thunks.ts index 6499677d..855185ea 100644 --- a/commafeed-client/src/app/user/thunks.ts +++ b/commafeed-client/src/app/user/thunks.ts @@ -113,6 +113,12 @@ export const changeUnreadCountFavicon = createAppAsyncThunk("settings/unreadCoun client.user.saveSettings({ ...settings, unreadCountFavicon }) }) +export const changePrimaryColor = createAppAsyncThunk("settings/primaryColor", (primaryColor: string, thunkApi) => { + const { settings } = thunkApi.getState().user + if (!settings) return + client.user.saveSettings({ ...settings, primaryColor }) +}) + export const changeSharingSetting = createAppAsyncThunk( "settings/sharingSetting", ( diff --git a/commafeed-client/src/components/code/CodeEditor.tsx b/commafeed-client/src/components/code/CodeEditor.tsx index b4d1058b..a6cd13ca 100644 --- a/commafeed-client/src/components/code/CodeEditor.tsx +++ b/commafeed-client/src/components/code/CodeEditor.tsx @@ -19,7 +19,7 @@ export function CodeEditor(props: CodeEditorProps) { autosize minRows={4} maxRows={15} - description={props.description} + label={props.description} styles={{ input: { fontFamily: "monospace", @@ -29,7 +29,7 @@ export function CodeEditor(props: CodeEditorProps) { onChange={e => props.onChange(e.currentTarget.value)} /> ) : ( - + ) diff --git a/commafeed-client/src/components/settings/DisplaySettings.tsx b/commafeed-client/src/components/settings/DisplaySettings.tsx index 75df4be7..1c496b44 100644 --- a/commafeed-client/src/components/settings/DisplaySettings.tsx +++ b/commafeed-client/src/components/settings/DisplaySettings.tsx @@ -1,7 +1,7 @@ import { msg } from "@lingui/core/macro" import { useLingui } from "@lingui/react" import { Trans } from "@lingui/react/macro" -import { Divider, Group, NumberInput, Radio, Select, SimpleGrid, Stack, Switch } from "@mantine/core" +import { Box, DEFAULT_THEME, Divider, Group, NumberInput, Radio, Select, type SelectProps, SimpleGrid, Stack, Switch } from "@mantine/core" import type { ComboboxData } from "@mantine/core/lib/components/Combobox/Combobox.types" import { Constants } from "app/constants" import { useAppDispatch, useAppSelector } from "app/store" @@ -13,6 +13,7 @@ import { changeLanguage, changeMarkAllAsReadConfirmation, changeMobileFooter, + changePrimaryColor, changeScrollMarks, changeScrollMode, changeScrollSpeed, @@ -40,8 +41,9 @@ export function DisplaySettings() { const unreadCountTitle = useAppSelector(state => state.user.settings?.unreadCountTitle) const unreadCountFavicon = useAppSelector(state => state.user.settings?.unreadCountFavicon) const sharingSettings = useAppSelector(state => state.user.settings?.sharingSettings) - const dispatch = useAppDispatch() + const primaryColor = useAppSelector(state => state.user.settings?.primaryColor) || Constants.theme.defaultPrimaryColor const { _ } = useLingui() + const dispatch = useAppDispatch() const scrollModeOptions: Record = { always: Always, @@ -68,10 +70,20 @@ export function DisplaySettings() { }, ] + const colorData: ComboboxData = Object.keys(DEFAULT_THEME.colors).sort((a, b) => a.localeCompare(b)) + const colorRenderer: SelectProps["renderOption"] = ({ option }) => ( + + + {option.value} + + ) + return ( + Display} labelPosition="center" /> + Primary color} + data={colorData} + value={primaryColor} + onChange={async value => value && (await dispatch(changePrimaryColor(value)))} + renderOption={colorRenderer} + /> + Show feeds and categories with no unread entries} checked={showRead} @@ -115,14 +135,14 @@ export function DisplaySettings() { Entry headers} labelPosition="center" /> Show external link icon} + label={Show external link icon} value={externalLinkIconDisplayMode} data={displayModeData} onChange={async s => await dispatch(changeExternalLinkIconDisplayMode(s as IconDisplayMode))} diff --git a/commafeed-client/src/locales/ar/messages.po b/commafeed-client/src/locales/ar/messages.po index d517d9fe..05a2e022 100644 --- a/commafeed-client/src/locales/ar/messages.po +++ b/commafeed-client/src/locales/ar/messages.po @@ -103,11 +103,11 @@ msgstr "هل أنت متأكد أنك تريد حذف المستخدم <0> {user msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "هل أنت متأكد أنك تريد حذف حسابك؟ " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "هل أنت متأكد أنك تريد تعليم كافة إدخالات <0> {sourceLabel} كمقروءة؟" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "هل أنت متأكد أنك تريد وضع علامة على الإدخالات الأقدم من {عتبة} يوم من <0> {sourceLabel} كمقروءة؟" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "مضغوط" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "تأكيد" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "عرض" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "إدارة المستخدمين" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "تعليم الكل كمقروء" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "تعليم كافة الإدخالات كمقروءة" @@ -719,6 +720,10 @@ msgstr "المنـصب" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "الملف الشخصي" diff --git a/commafeed-client/src/locales/ca/messages.po b/commafeed-client/src/locales/ca/messages.po index f6ad0f53..a482d75a 100644 --- a/commafeed-client/src/locales/ca/messages.po +++ b/commafeed-client/src/locales/ca/messages.po @@ -103,11 +103,11 @@ msgstr "Esteu segur que voleu suprimir l'usuari <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Esteu segur que voleu suprimir el vostre compte? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Esteu segur que voleu marcar totes les entrades de <0>{sourceLabel} com a llegides?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Esteu segur que voleu marcar les entrades més antigues de {threshold} dies de <0>{sourceLabel} com a llegides?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compacte" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirma" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "Detallat" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Mostra" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Gestionar usuaris" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marca-ho tot com a llegit" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marqueu totes les entrades com a llegides" @@ -719,6 +720,10 @@ msgstr "Posició" msgid "Previous" msgstr "Anterior" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Perfil" diff --git a/commafeed-client/src/locales/cs/messages.po b/commafeed-client/src/locales/cs/messages.po index 63965e5c..4a9eb404 100644 --- a/commafeed-client/src/locales/cs/messages.po +++ b/commafeed-client/src/locales/cs/messages.po @@ -103,11 +103,11 @@ msgstr "Opravdu chcete smazat uživatele <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Opravdu chcete smazat svůj účet? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Opravdu chcete označit všechny položky <0>{sourceLabel} jako přečtené?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Opravdu chcete označit záznamy starší než {threshold} dnů <0>{sourceLabel} jako přečtené?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompaktní" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Potvrdit" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Displej" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Spravujte uživatele" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Označit vše jako přečtené" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Označte všechny položky jako přečtené" @@ -719,6 +720,10 @@ msgstr "Pozice" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/cy/messages.po b/commafeed-client/src/locales/cy/messages.po index 63df7238..0089a32b 100644 --- a/commafeed-client/src/locales/cy/messages.po +++ b/commafeed-client/src/locales/cy/messages.po @@ -103,11 +103,11 @@ msgstr "Ydych chi'n siŵr eich bod am ddileu defnyddiwr <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Ydych chi'n siŵr eich bod am ddileu eich cyfrif? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Ydych chi'n siŵr eich bod am farcio bod pob cofnod o <0>{sourceLabel} wedi'i ddarllen?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Ydych chi'n siŵr eich bod am farcio cofnodion sy'n hŷn na {trothwy} diwrnod o <0>{sourceLabel} fel rhai sydd wedi'u darllen?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "cryno" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Cadarnhau" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Arddangos" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Rheoli defnyddwyr" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marciwch y cyfan wedi'i ddarllen" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marciwch bob cofnod wedi'i ddarllen" @@ -719,6 +720,10 @@ msgstr "Swydd" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Proffil" diff --git a/commafeed-client/src/locales/da/messages.po b/commafeed-client/src/locales/da/messages.po index efed1cb1..c67a8df6 100644 --- a/commafeed-client/src/locales/da/messages.po +++ b/commafeed-client/src/locales/da/messages.po @@ -103,11 +103,11 @@ msgstr "Er du sikker på, at du vil slette bruger <0>{brugernavn}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Er du sikker på, at du vil slette din konto? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Er du sikker på, at du vil markere alle poster i <0>{sourceLabel} som læst?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Er du sikker på, at du vil markere poster, der er ældre end {threshold} dage af <0>{sourceLabel} som læst?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bekræft" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Skærm" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Administrer brugere" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marker alle som læst" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marker alle poster som læst" @@ -719,6 +720,10 @@ msgstr "" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/de/messages.po b/commafeed-client/src/locales/de/messages.po index 2dee670b..0eff3d9d 100644 --- a/commafeed-client/src/locales/de/messages.po +++ b/commafeed-client/src/locales/de/messages.po @@ -103,11 +103,11 @@ msgstr "Sind Sie sicher, dass Sie Benutzer <0>{userName} löschen möchten?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Sind Sie sicher, dass Sie Ihr Konto löschen möchten?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Sind Sie sicher, dass Sie alle Einträge von <0>{sourceLabel} als gelesen markieren möchten?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Sind Sie sicher, dass Sie Einträge, die älter als {threshold} Tage von <0>{sourceLabel} sind, als gelesen markieren möchten?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bestätigen" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "Detailliert" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Anzeige" @@ -511,12 +512,12 @@ msgstr "Langer Tastendruck" msgid "Manage users" msgstr "Benutzer verwalten" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Alle als gelesen markieren" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Alle Einträge als gelesen markieren" @@ -719,6 +720,10 @@ msgstr "Position" msgid "Previous" msgstr "Vorheriges" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/en/messages.po b/commafeed-client/src/locales/en/messages.po index 261c1c8f..d7edf3fd 100644 --- a/commafeed-client/src/locales/en/messages.po +++ b/commafeed-client/src/locales/en/messages.po @@ -103,11 +103,11 @@ msgstr "Are you sure you want to delete user <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Are you sure you want to delete your account? There's no turning back!" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" @@ -149,10 +149,10 @@ msgstr "Browser tab" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compact" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirm" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "Detailed" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Display" @@ -511,12 +512,12 @@ msgstr "Long press" msgid "Manage users" msgstr "Manage users" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Mark all as read" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Mark all entries as read" @@ -719,6 +720,10 @@ msgstr "Position" msgid "Previous" msgstr "Previous" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "Primary color" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profile" diff --git a/commafeed-client/src/locales/es/messages.po b/commafeed-client/src/locales/es/messages.po index daf1e97a..d625a910 100644 --- a/commafeed-client/src/locales/es/messages.po +++ b/commafeed-client/src/locales/es/messages.po @@ -104,11 +104,11 @@ msgstr "¿Estás seguro de que deseas eliminar el usuario <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "¿Estás seguro de que quieres eliminar tu cuenta? ¡No hay vuelta atrás!" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "¿Estás seguro de que deseas marcar todas las entradas de <0>{sourceLabel} como leídas?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "¿Estás seguro de que deseas marcar las entradas anteriores a {threshold} días de <0>{sourceLabel} como leídas?" @@ -150,10 +150,10 @@ msgstr "Pestaña del navegador" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -207,8 +207,8 @@ msgstr "Compacto" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirmar" @@ -274,6 +274,7 @@ msgid "Detailed" msgstr "Detallado" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Mostrar" @@ -512,12 +513,12 @@ msgstr "Pulsación larga" msgid "Manage users" msgstr "Administrar usuarios" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marcar todo como leído" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marcar todas las entradas como leídas" @@ -720,6 +721,10 @@ msgstr "Posición" msgid "Previous" msgstr "Previo" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Perfil" diff --git a/commafeed-client/src/locales/fa/messages.po b/commafeed-client/src/locales/fa/messages.po index 08fcf2c6..d8c31318 100644 --- a/commafeed-client/src/locales/fa/messages.po +++ b/commafeed-client/src/locales/fa/messages.po @@ -103,11 +103,11 @@ msgstr "آیا مطمئن هستید که می خواهید کاربر <0>{userN msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "آیا مطمئن هستید که می خواهید حساب خود را حذف کنید؟ " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "آیا مطمئن هستید که می خواهید همه ورودی های <0>{sourceLabel} را به عنوان خوانده شده علامت گذاری کنید؟" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "آیا مطمئن هستید که می خواهید ورودی های قدیمی تر از {threshold} روز <0>{sourceLabel} را به عنوان خوانده شده علامت گذاری کنید؟" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "فشرده" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "تأیید کنید" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "نمایش" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "کاربران را مدیریت کنید" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "همه را به عنوان خوانده شده علامت گذاری کنید" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "همه ورودی ها را به عنوان خوانده شده علامت گذاری کنید" @@ -719,6 +720,10 @@ msgstr "موقعیت" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "نمایه" diff --git a/commafeed-client/src/locales/fi/messages.po b/commafeed-client/src/locales/fi/messages.po index 82b2f40c..893e982b 100644 --- a/commafeed-client/src/locales/fi/messages.po +++ b/commafeed-client/src/locales/fi/messages.po @@ -103,11 +103,11 @@ msgstr "Haluatko varmasti poistaa käyttäjän <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Haluatko varmasti poistaa tilisi? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Haluatko varmasti merkitä kaikki kohteen <0>{sourceLabel} merkinnät luetuiksi?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Haluatko varmasti merkitä <0>{sourceLabel}:n {threshold} päivää vanhemmat merkinnät luetuiksi?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakti" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Vahvista" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Näyttö" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Hallitse käyttäjiä" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Merkitse kaikki luetuiksi" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Merkitse kaikki merkinnät luetuiksi" @@ -719,6 +720,10 @@ msgstr "Sijainti" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profiili" diff --git a/commafeed-client/src/locales/fr/messages.po b/commafeed-client/src/locales/fr/messages.po index 2a74232b..3ebfcb55 100644 --- a/commafeed-client/src/locales/fr/messages.po +++ b/commafeed-client/src/locales/fr/messages.po @@ -103,11 +103,11 @@ msgstr "Êtes-vous sûr de vouloir supprimer l'utilisateur <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Êtes-vous sûr de vouloir supprimer définitivement votre compte ?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Êtes-vous sûr de vouloir marquer toutes les entrées de <0>{sourceLabel} comme lues ?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Êtes-vous sûr de vouloir marquer les entrées de <0>{sourceLabel} plus anciennes que {threshold} jours comme lues ?" @@ -149,10 +149,10 @@ msgstr "Onglet navigateur" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compact" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirmer" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "Vue détaillée" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Affichage" @@ -511,12 +512,12 @@ msgstr "Appui long" msgid "Manage users" msgstr "Gestion des utilisateurs" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Tout marquer comme lu" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marquer toutes les entrées comme lues" @@ -719,6 +720,10 @@ msgstr "Position" msgid "Previous" msgstr "Précédent" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/gl/messages.po b/commafeed-client/src/locales/gl/messages.po index ce2feea3..1a4bcb01 100644 --- a/commafeed-client/src/locales/gl/messages.po +++ b/commafeed-client/src/locales/gl/messages.po @@ -103,11 +103,11 @@ msgstr "Estás seguro de que queres eliminar o usuario <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Estás seguro de que queres eliminar a túa conta? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Estás seguro de que queres marcar todas as entradas de <0>{sourceLabel} como lidas?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Estás seguro de que queres marcar as entradas anteriores a {threshold} días de <0>{sourceLabel} como lidas?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compacto" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirmar" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Exhibición" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Xestionar usuarios" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marcar todo como lido" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marcar todas as entradas como lidas" @@ -719,6 +720,10 @@ msgstr "Posición" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Perfil" diff --git a/commafeed-client/src/locales/hu/messages.po b/commafeed-client/src/locales/hu/messages.po index 02a53aa0..a56b56ea 100644 --- a/commafeed-client/src/locales/hu/messages.po +++ b/commafeed-client/src/locales/hu/messages.po @@ -103,11 +103,11 @@ msgstr "Biztosan törölni szeretné a(z) <0>{userName} felhasználót?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Biztosan törli a fiókját? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Biztosan olvasottként szeretné megjelölni a(z) <0>{sourceLabel} összes bejegyzését?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Biztosan olvasottként szeretné megjelölni a(z) <0>{sourceLabel} {threshold} napjánál régebbi bejegyzéseket?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Erősítse meg" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Kijelző" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Felhasználók kezelése" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Minden megjelölése olvasottként" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Minden bejegyzés megjelölése olvasottként" @@ -719,6 +720,10 @@ msgstr "Pozíció" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/id/messages.po b/commafeed-client/src/locales/id/messages.po index 9ab84229..0f1c2a72 100644 --- a/commafeed-client/src/locales/id/messages.po +++ b/commafeed-client/src/locales/id/messages.po @@ -103,11 +103,11 @@ msgstr "Apakah Anda yakin ingin menghapus pengguna <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Apakah Anda yakin ingin menghapus akun Anda? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Apakah Anda yakin ingin menandai semua entri <0>{sourceLabel} sebagai telah dibaca?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Apakah Anda yakin ingin menandai entri yang lebih lama dari {threshold} hari <0>{sourceLabel} sebagai telah dibaca?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Ringkas" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Konfirmasi" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Tampilan" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Kelola pengguna" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Tandai semua sebagai telah dibaca" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Tandai semua entri sebagai telah dibaca" @@ -719,6 +720,10 @@ msgstr "Posisi" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/it/messages.po b/commafeed-client/src/locales/it/messages.po index 6bcce37a..a5df0e1d 100644 --- a/commafeed-client/src/locales/it/messages.po +++ b/commafeed-client/src/locales/it/messages.po @@ -103,11 +103,11 @@ msgstr "Sei sicuro di voler eliminare l'utente <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Sei sicuro di voler eliminare il tuo account? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Sei sicuro di voler contrassegnare tutte le voci di <0>{sourceLabel} come lette?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Sei sicuro di voler contrassegnare le voci più vecchie di {threshold} giorni di <0>{sourceLabel} come lette?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compatto" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Conferma" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Visualizzazione" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Gestisci utenti" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Contrassegna tutto come letto" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Contrassegna tutte le voci come lette" @@ -719,6 +720,10 @@ msgstr "Posizione" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profilo" diff --git a/commafeed-client/src/locales/ja/messages.po b/commafeed-client/src/locales/ja/messages.po index 55b907c5..8c8673e1 100644 --- a/commafeed-client/src/locales/ja/messages.po +++ b/commafeed-client/src/locales/ja/messages.po @@ -103,11 +103,11 @@ msgstr "ユーザー <0>{userName} を削除してもよろしいですか msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "本当にアカウントを削除しますか?元には戻せません!" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "<0>{sourceLabel} のすべてのエントリーを既読にしますか?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "<0>{sourceLabel} の {threshold} 日より前のエントリーを既読としてマークしてもよろしいですか?" @@ -149,10 +149,10 @@ msgstr "ブラウザータブ" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "コンパクト" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "確認" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "詳細" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "ディスプレイ" @@ -511,12 +512,12 @@ msgstr "長押し" msgid "Manage users" msgstr "ユーザーの管理" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "すべて既読にする" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "すべてのエントリーを既読にする" @@ -719,6 +720,10 @@ msgstr "位置" msgid "Previous" msgstr "前へ" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "プロフィール" diff --git a/commafeed-client/src/locales/ko/messages.po b/commafeed-client/src/locales/ko/messages.po index b0b677b2..caf8dffb 100644 --- a/commafeed-client/src/locales/ko/messages.po +++ b/commafeed-client/src/locales/ko/messages.po @@ -103,11 +103,11 @@ msgstr "<0>{userName} 사용자를 삭제하시겠습니까?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "정말 계정을 삭제하시겠습니까? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "<0>{sourceLabel}의 모든 항목을 읽은 것으로 표시하시겠습니까?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "<0>{sourceLabel}의 {threshold}일보다 오래된 항목을 읽은 것으로 표시하시겠습니까?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "컴팩트" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "확인" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "디스플레이" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "사용자 관리" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "모두 읽은 상태로 표시" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "모든 항목을 읽은 상태로 표시" @@ -719,6 +720,10 @@ msgstr "위치" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "프로필" diff --git a/commafeed-client/src/locales/ms/messages.po b/commafeed-client/src/locales/ms/messages.po index 89efadf8..36a63e6a 100644 --- a/commafeed-client/src/locales/ms/messages.po +++ b/commafeed-client/src/locales/ms/messages.po @@ -103,11 +103,11 @@ msgstr "Adakah anda pasti mahu memadamkan pengguna <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Adakah anda pasti mahu memadamkan akaun anda? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Adakah anda pasti mahu menandakan semua entri <0>{sourceLabel} sebagai dibaca?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Adakah anda pasti mahu menandakan entri yang lebih lama daripada {threshold} hari <0>{sourceLabel} sebagai dibaca?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Padat" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Sahkan" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Paparan" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Urus pengguna" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Tandai semua sebagai dibaca" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Tandai semua entri sebagai dibaca" @@ -719,6 +720,10 @@ msgstr "Kedudukan" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/nb/messages.po b/commafeed-client/src/locales/nb/messages.po index 28ae853d..92686074 100644 --- a/commafeed-client/src/locales/nb/messages.po +++ b/commafeed-client/src/locales/nb/messages.po @@ -103,11 +103,11 @@ msgstr "Er du sikker på at du vil slette bruker <0>{brukernavn}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Er du sikker på at du vil slette kontoen din? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Er du sikker på at du vil merke alle oppføringer av <0>{sourceLabel} som lest?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Er du sikker på at du vil merke oppføringer eldre enn {threshold} dager av <0>{sourceLabel} som lest?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bekreft" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Visning" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Administrer brukere" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Merk alle som lest" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Merk alle oppføringer som lest" @@ -719,6 +720,10 @@ msgstr "Posisjon" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/nl/messages.po b/commafeed-client/src/locales/nl/messages.po index 25fbcba3..2cbb2ba0 100644 --- a/commafeed-client/src/locales/nl/messages.po +++ b/commafeed-client/src/locales/nl/messages.po @@ -103,11 +103,11 @@ msgstr "Weet u zeker dat u gebruiker <0>{userName} wilt verwijderen?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Weet je zeker dat je je account wilt verwijderen? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Weet je zeker dat je alle items van <0>{sourceLabel} als gelezen wilt markeren?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Weet u zeker dat u vermeldingen die ouder zijn dan {threshold} dagen van <0>{sourceLabel} als gelezen wilt markeren?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bevestigen" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Weergave" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Gebruikers beheren" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Alles markeren als gelezen" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Markeer alle vermeldingen als gelezen" @@ -719,6 +720,10 @@ msgstr "Positie" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profiel" diff --git a/commafeed-client/src/locales/nn/messages.po b/commafeed-client/src/locales/nn/messages.po index c93a8158..95542ab3 100644 --- a/commafeed-client/src/locales/nn/messages.po +++ b/commafeed-client/src/locales/nn/messages.po @@ -103,11 +103,11 @@ msgstr "Er du sikker på at du vil slette bruker <0>{brukernavn}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Er du sikker på at du vil slette kontoen din? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Er du sikker på at du vil merke alle oppføringer av <0>{sourceLabel} som lest?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Er du sikker på at du vil merke oppføringer eldre enn {threshold} dager av <0>{sourceLabel} som lest?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bekreft" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Visning" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Administrer brukere" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Merk alle som lest" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Merk alle oppføringer som lest" @@ -719,6 +720,10 @@ msgstr "Posisjon" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/pl/messages.po b/commafeed-client/src/locales/pl/messages.po index 157f9814..d05cf559 100644 --- a/commafeed-client/src/locales/pl/messages.po +++ b/commafeed-client/src/locales/pl/messages.po @@ -103,11 +103,11 @@ msgstr "Czy na pewno chcesz usunąć użytkownika <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Czy na pewno chcesz usunąć swoje konto? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Czy na pewno chcesz oznaczyć wszystkie wpisy <0>{sourceLabel} jako przeczytane?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Czy na pewno chcesz oznaczyć wpisy starsze niż {threshold} dni z <0>{sourceLabel} jako przeczytane?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompaktowy" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Potwierdź" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Wyświetlacz" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Zarządzaj użytkownikami" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Oznacz wszystko jako przeczytane" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Oznacz wszystkie wpisy jako przeczytane" @@ -719,6 +720,10 @@ msgstr "Pozycja" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/pt/messages.po b/commafeed-client/src/locales/pt/messages.po index bd166ae2..3d081f9d 100644 --- a/commafeed-client/src/locales/pt/messages.po +++ b/commafeed-client/src/locales/pt/messages.po @@ -103,11 +103,11 @@ msgstr "Tem certeza de que deseja excluir o usuário <0>{userName} ?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Tem certeza de que deseja excluir sua conta? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Tem certeza de que deseja marcar todas as entradas de <0>{sourceLabel} como lidas?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Tem certeza de que deseja marcar entradas com mais de {threshold} dias de <0>{sourceLabel} como lidas?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Compacto" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Confirmar" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Exibir" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Gerenciar usuários" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Marcar todos como lidos" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Marcar todas as entradas como lidas" @@ -719,6 +720,10 @@ msgstr "Posição" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Perfil" diff --git a/commafeed-client/src/locales/ru/messages.po b/commafeed-client/src/locales/ru/messages.po index 46f9d2a4..cb7eee17 100644 --- a/commafeed-client/src/locales/ru/messages.po +++ b/commafeed-client/src/locales/ru/messages.po @@ -103,11 +103,11 @@ msgstr "Вы уверены, что хотите удалить пользова msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Вы уверены, что хотите удалить свой аккаунт? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Вы уверены, что хотите пометить все записи <0>{sourceLabel} как прочитанные?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Вы уверены, что хотите пометить записи старше {threshold} дней <0>{sourceLabel} как прочитанные?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Компактный" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Подтвердить" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "Подробно" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Отображение" @@ -511,12 +512,12 @@ msgstr "Долгое нажатие" msgid "Manage users" msgstr "Управление пользователями" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Отметить все как прочитанное" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Отметить все записи как прочитанные" @@ -719,6 +720,10 @@ msgstr "Позиция" msgid "Previous" msgstr "Предыдущий" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Профиль" diff --git a/commafeed-client/src/locales/sk/messages.po b/commafeed-client/src/locales/sk/messages.po index f37c87ae..eac2b136 100644 --- a/commafeed-client/src/locales/sk/messages.po +++ b/commafeed-client/src/locales/sk/messages.po @@ -103,11 +103,11 @@ msgstr "Naozaj chcete odstrániť používateľa <0>{userName}?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Naozaj chcete vymazať svoj účet? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Naozaj chcete označiť všetky položky <0>{sourceLabel} ako prečítané?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Naozaj chcete označiť záznamy staršie ako {threshold} dní z <0>{sourceLabel} ako prečítané?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompaktný" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Potvrdiť" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Displej" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Správa používateľov" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Označiť všetko ako prečítané" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Označte všetky položky ako prečítané" @@ -719,6 +720,10 @@ msgstr "Pozícia" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/sv/messages.po b/commafeed-client/src/locales/sv/messages.po index 0ee659a9..fa0cba64 100644 --- a/commafeed-client/src/locales/sv/messages.po +++ b/commafeed-client/src/locales/sv/messages.po @@ -103,11 +103,11 @@ msgstr "Är du säker på att du vill ta bort användare <0>{användarnamn}? msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Är du säker på att du vill ta bort ditt konto? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Är du säker på att du vill markera alla poster i <0>{sourceLabel} som lästa?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "Är du säker på att du vill markera poster äldre än {threshold} dagar av <0>{sourceLabel} som lästa?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Bekräfta" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Visa" @@ -511,12 +512,12 @@ msgstr "" msgid "Manage users" msgstr "Hantera användare" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Markera alla som lästa" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Markera alla poster som lästa" @@ -719,6 +720,10 @@ msgstr "" msgid "Previous" msgstr "" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/tr/messages.po b/commafeed-client/src/locales/tr/messages.po index 2776911d..891837a7 100644 --- a/commafeed-client/src/locales/tr/messages.po +++ b/commafeed-client/src/locales/tr/messages.po @@ -103,11 +103,11 @@ msgstr "<0>{userName} kullanıcısını silmek istediğinizden emin misiniz? msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "Hesabınızı silmek istediğinizden emin misiniz? " -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "Tüm <0>{sourceLabel} girişlerini okundu olarak işaretlemek istediğinizden emin misiniz?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "<0>{sourceLabel} tarihine ait {threshold} günden eski girişleri okundu olarak işaretlemek istediğinizden emin misiniz?" @@ -149,10 +149,10 @@ msgstr "" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "Kompakt" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "Onayla" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "Ekran" @@ -511,12 +512,12 @@ msgstr "Uzun bas" msgid "Manage users" msgstr "Kullanıcıları yönet" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "Tümünü okundu olarak işaretle" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "Tüm girişleri okundu olarak işaretle" @@ -719,6 +720,10 @@ msgstr "Konum" msgid "Previous" msgstr "Önceki" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "Profil" diff --git a/commafeed-client/src/locales/zh/messages.po b/commafeed-client/src/locales/zh/messages.po index 0bf774e3..99cf2c85 100644 --- a/commafeed-client/src/locales/zh/messages.po +++ b/commafeed-client/src/locales/zh/messages.po @@ -103,11 +103,11 @@ msgstr "您确定要删除用户 <0>{userName} 吗?" msgid "Are you sure you want to delete your account? There's no turning back!" msgstr "您确定要删除您的帐户吗?这是不可逆的!" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark all entries of <0>{sourceLabel} as read?" msgstr "您确定要将 <0>{sourceLabel} 的所有条目标记为已读吗?" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx msgid "Are you sure you want to mark entries older than {threshold} days of <0>{sourceLabel} as read?" msgstr "您确定要将早于 <0>{sourceLabel} {threshold} 天的条目标记为已读吗?" @@ -149,10 +149,10 @@ msgstr "浏览器标签页" #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/ProfileSettings.tsx #: src/components/settings/CustomCodeSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx #: src/components/content/add/ImportOpml.tsx #: src/components/content/add/AddCategory.tsx #: src/components/admin/UserEdit.tsx @@ -206,8 +206,8 @@ msgstr "紧凑" #: src/pages/app/FeedDetailsPage.tsx #: src/pages/app/CategoryDetailsPage.tsx #: src/pages/admin/AdminUsersPage.tsx +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/settings/ProfileSettings.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Confirm" msgstr "确认" @@ -273,6 +273,7 @@ msgid "Detailed" msgstr "详细" #: src/pages/app/SettingsPage.tsx +#: src/components/settings/DisplaySettings.tsx #: src/components/header/ProfileMenu.tsx msgid "Display" msgstr "显示" @@ -511,12 +512,12 @@ msgstr "长按" msgid "Manage users" msgstr "管理用户" -#: src/components/header/MarkAllAsReadButton.tsx +#: src/components/header/Header.tsx msgid "Mark all as read" msgstr "全部标记为已读" +#: src/components/MarkAllAsReadConfirmationDialog.tsx #: src/components/KeyboardShortcutsHelp.tsx -#: src/components/header/MarkAllAsReadButton.tsx msgid "Mark all entries as read" msgstr "将所有条目标记为已读" @@ -719,6 +720,10 @@ msgstr "位置" msgid "Previous" msgstr "上一个" +#: src/components/settings/DisplaySettings.tsx +msgid "Primary color" +msgstr "" + #: src/pages/app/SettingsPage.tsx msgid "Profile" msgstr "配置文件" diff --git a/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java b/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java index 29bd8479..69df13ce 100644 --- a/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java +++ b/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java @@ -89,6 +89,9 @@ public class UserSettings extends AbstractModel { @Column(nullable = false) private IconDisplayMode externalLinkIconDisplayMode; + @Column(name = "primary_color", length = 32) + private String primaryColor; + private boolean markAllAsReadConfirmation; private boolean customContextMenu; private boolean mobileFooter; diff --git a/commafeed-server/src/main/java/com/commafeed/frontend/model/Settings.java b/commafeed-server/src/main/java/com/commafeed/frontend/model/Settings.java index 1a772275..70bef17e 100644 --- a/commafeed-server/src/main/java/com/commafeed/frontend/model/Settings.java +++ b/commafeed-server/src/main/java/com/commafeed/frontend/model/Settings.java @@ -79,6 +79,9 @@ public class Settings implements Serializable { @Schema(description = "show unread count in the favicon", requiredMode = RequiredMode.REQUIRED) private boolean unreadCountFavicon; + @Schema(description = "primary theme color to use in the UI") + private String primaryColor; + @Schema(description = "sharing settings", requiredMode = RequiredMode.REQUIRED) private SharingSettings sharingSettings = new SharingSettings(); diff --git a/commafeed-server/src/main/java/com/commafeed/frontend/resource/UserREST.java b/commafeed-server/src/main/java/com/commafeed/frontend/resource/UserREST.java index 12543829..109613c0 100644 --- a/commafeed-server/src/main/java/com/commafeed/frontend/resource/UserREST.java +++ b/commafeed-server/src/main/java/com/commafeed/frontend/resource/UserREST.java @@ -123,6 +123,7 @@ public class UserREST { s.setMobileFooter(settings.isMobileFooter()); s.setUnreadCountTitle(settings.isUnreadCountTitle()); s.setUnreadCountFavicon(settings.isUnreadCountFavicon()); + s.setPrimaryColor(settings.getPrimaryColor()); } else { s.setReadingMode(ReadingMode.unread.name()); s.setReadingOrder(ReadingOrder.desc.name()); @@ -183,6 +184,7 @@ public class UserREST { s.setMobileFooter(settings.isMobileFooter()); s.setUnreadCountTitle(settings.isUnreadCountTitle()); s.setUnreadCountFavicon(settings.isUnreadCountFavicon()); + s.setPrimaryColor(settings.getPrimaryColor()); s.setEmail(settings.getSharingSettings().isEmail()); s.setGmail(settings.getSharingSettings().isGmail()); diff --git a/commafeed-server/src/main/resources/changelogs/db.changelog-5.8.xml b/commafeed-server/src/main/resources/changelogs/db.changelog-5.8.xml new file mode 100644 index 00000000..d000ba12 --- /dev/null +++ b/commafeed-server/src/main/resources/changelogs/db.changelog-5.8.xml @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/commafeed-server/src/main/resources/migrations.xml b/commafeed-server/src/main/resources/migrations.xml index 75fd9136..a66ddaee 100644 --- a/commafeed-server/src/main/resources/migrations.xml +++ b/commafeed-server/src/main/resources/migrations.xml @@ -34,5 +34,6 @@ + \ No newline at end of file