Commit Graph

64 Commits

Author SHA1 Message Date
DIYgod 01da257c90
feat(i18n): merge #4597/#4774 and complete localization audit (#4839)
* chore: Update Japanese translations for new features and errors

Added and updated multiple Japanese locale strings across AI, app, errors, external, settings, and shortcuts modules. Changes include new labels, descriptions, error messages, and UI text for features such as scheduling, token usage, inbox management, toolbar customization, and quick search.

* Add Japanese README documentation

Introduces README-ja.md with comprehensive information about Folo, including features, installation instructions, community links, contribution guidelines, code signing policies, and license details for Japanese-speaking users.

* Update formatting in Japanese README

Corrected the admonition marker from '[!重要]' to '[!IMPORTANT]' for consistency and made minor formatting adjustments in the README-ja.md file.

* Update community section in Japanese README

Revised wording and formatting in the community participation section of README-ja.md for improved clarity and consistency.

* Remove Japanese README file

Deleted README-ja.md to reduce duplication or outdated documentation. All relevant information should now be referenced from the main README or other documentation files.

* feat: add French (fr-FR) localization

* fix: sort imports in default-resource.ts to resolve lint error

* feat: add missing French translations for mobile/default, native, and external locales

* feat: add French language filter to discovery/recommended feeds

* docs: update changelog for French localization

* feat(i18n): merge PR #4597/#4774 and finish localization audit

---------

Co-authored-by: dai <dosada@gmail.com>
Co-authored-by: Anthony Mahé <snpepito@gmail.com>
Co-authored-by: Anthony Mahé <104373430+AnthonyMahe@users.noreply.github.com>
2026-02-13 09:25:08 +00:00
Alex Su 6ade8521a6
feat(i18n): update zh-TW translations (#4596)
Co-authored-by: DIYgod <i@diygod.me>
2025-10-25 21:51:30 +08:00
Innei 97505e93cf
fix(locales): normalize description punctuation across multiple languages
- Updated various description strings in the locales to ensure they end with appropriate punctuation, enhancing consistency and readability.
- Adjusted entries in English, Japanese, Simplified Chinese, and Traditional Chinese locales to follow sentence case and proper punctuation rules.

These changes aim to improve the overall user experience by providing clearer and more professional text presentation across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 14:05:06 +08:00
Innei 6e028b3e68
chore: remove zen and wider mode
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-12 20:47:07 +08:00
Innei d64b22adb8
feat(ai): re-design ai subscription component
- Updated the version of `@folo-services/ai-tools` from `0.2.34` to `0.2.36` in `pnpm-lock.yaml` and `package.json`.
- Updated the version of `@folo-services/drizzle` from `0.1.24` to `0.1.25` in `pnpm-lock.yaml`.
- Refactored the `AIDisplaySubscriptionsPart` component to streamline the rendering of subscription items and improve navigation handling.
- Removed unused code and optimized the component structure for better maintainability.

This update enhances the AI tools integration and improves the user experience in the AI display component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-03 23:04:25 +08:00
Innei e528367e8b
feat(ai): support AI chat close float panel
- Introduced a new interface for WebAISettings, extending AISettings to include panel style options.
- Updated default settings creation to include a fixed panel style.
- Refactored AI chat panel visibility management, allowing dynamic visibility based on panel style.
- Implemented a new hook for managing AI panel visibility and integrated it into the floating panel component.
- Removed deprecated context bar search service and replaced it with a unified feed entry search service for improved search functionality.

These changes collectively enhance the configurability and usability of the AI chat interface, providing users with better control over their settings and layout preferences.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-12 20:37:48 +08:00
dai 2640f5ea87
chore: multiple updates Japanese language (#4202)
* chore: update ja.json

* chore: update 6 ja.json files

chore: update and bump 6 ja.json files.

* chore: update error/ja.json

fix locale/error/ja.json

* chore: auto-fix linting and formatting issues

* chore: update app/ja.json

* chore: update ja.json

* chore: update ja.json

* chore: update ja.json and tested local.

* chore: update ja.json

update settings/ja.json

* feat(i18n): update Japanese locale files with new error messages and dialog options

* chore(vscode): set default formatter for JSON and JSONC files

* Remove JSON and JSONC formatter settings

so sorry, @hyoban 😢

Perhaps my local settings are in. I have restored it to the original. Thanks for your kindness. 
You have always been a great help.

* chore: auto-fix linting and formatting issues

* chore: update ja.json

sync and update settings/ja.json

* chore: update Japanese translations for clarity and consistency

* chore: update some ja.json

* chore(locales): update Japanese translations with new entry actions and settings

* fix: update Japanese translations for user actions and login prompts

* feat(locales): add Japanese translations for login and registration features

* feat(locales): update Japanese translations for RSSHub and related settings

* chore: auto-fix linting and formatting issues

* feat(i18n): update Japanese locale with new toolbar customization and profile link social fields

* feat(locales): update Japanese translations for search results and two-factor authentication

* feat: 日本語ローカライズの更新

* Add and update Japanese locale translations

Added new Japanese translations for AI features in locales/ai/ja.json. Updated various Japanese locale files with new keys and improved existing translations for app features, error messages, external integrations, mobile UI, settings, and shortcuts. Also fixed typos and enhanced descriptions for better clarity and consistency.

* Update zh-CN.json

---------

Co-authored-by: dai <dai@users.noreply.github.com>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2025-07-21 13:29:35 +08:00
Innei f6a64af4eb
feat: ai features (#4040)
* feat: ai panel

* feat: ai settings

* feat: ai entrances

* feat: shortcuts setting

* refactor: rename ai dialogue

* feat: merge dialogue input and shortcuts

* feat: textarea autoheight

* feat: ai dialogue input auto shrink

* feat: ai dialogue

* feat: ai icon

* feat: split text

* feat: mockDialogues

* feat: scrollable shortcuts

* fix

* feat: use vercel ai

* feat: rename

* feat: ai tool

* refactor: update font settings and layout adjustments

- Changed default font from "SN Pro" to "system-ui" in multiple components for consistency.
- Updated layout styles by removing unnecessary class names to streamline the design.
- Added a new translation key for "Follow System" to enhance localization support.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: reorganize dependencies and remove unused components

- Moved several dependencies from the main package.json to the layer renderer's package.json for better modularity.
- Removed the SplitText component and its associated files to streamline the codebase.
- Added new utility animations in the Tailwind CSS configuration for enhanced UI effects.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: implement AI chat components and context management

- Added AIChatInput, AIChatPanel, AIChatRoot, AIMessageList, and AIChatShortcuts components to facilitate user interaction with AI chat functionality.
- Introduced AIChatContext for managing chat state and interactions.
- Updated entry content to integrate the new AI chat components, enhancing user experience with chat features.
- Removed the legacy panel.tsx file to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add AIChat hotkey scope and integrate Focusable component

- Introduced a new hotkey scope for AIChat in the constants file to support keyboard interactions.
- Wrapped the AIChatContext in a Focusable component within AIChatRoot to enhance accessibility and focus management.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update AIChatInput and AIChatPanel components

- Replaced the Button component with a span in AIChatInput for improved styling consistency.
- Removed commented-out code in AIChatPanel to clean up the component structure.
- Adjusted layout in AIChatPanel for better organization of chat input and help sections.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove deprecated useGlobalFocusableScope hook and update TextArea styles

- Removed the deprecated `useGlobalFocusableScope` hook in favor of `useGlobalFocusableScopeSelector` for improved performance.
- Updated TextArea component styles to enhance visual consistency with new class names.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add SettingTextArea component and integrate into AI settings

- Introduced a new SettingTextArea component for improved text input handling.
- Updated the AI settings tab to utilize SettingTextArea for personalized prompts, enhancing user experience.
- Refactored existing SettingInput usage for better layout and consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* fix: import path

* feat: optimzie ai displayFeeds

* feat: enhance AIChatPanel with tooltips and improved suggestion display

- Added tooltips for the "New Chat", "History", and "Personalize" buttons for better user guidance.
- Updated suggestion display logic to show a limited number of suggestions initially, with an option to expand for more.
- Changed icons in suggestions to use a consistent format and improved styling for better visual appeal.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: integrate AIPanelRefsContext for improved reference management

- Introduced AIPanelRefsContext to manage references for the chat input and panel components.
- Updated AIChatInput to utilize the new context for textarea reference.
- Modified AIChatPanel to use the panel reference from the context.
- Enhanced AIChatRoot to provide the context with memoized references for better performance.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add EntryContentAccessories component for enhanced entry features

- Introduced EntryContentAccessories to encapsulate the ContainerToc and EntryAIChatInput components.
- Updated EntryContent to utilize EntryContentAccessories for improved layout and functionality.
- Added new ContainerToc and AIChatInput components to support table of contents and AI chat features.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update imports for useSettingModal and clean up unused components

- Changed import path for useSettingModal to use a new hack version.
- Removed the unused ContainerToc component.
- Updated EntryContent to include AISmartSidebar.
- Commented out the EntryAIChatInput in EntryContentAccessories.
- Minor adjustments in use-register-hotkey for better readability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): implement AI chat components including message input, display, and demo functionality

- Added AIChatContainer for managing chat messages and displaying a welcome screen.
- Introduced AIChatInput for user message input with auto-resizing functionality.
- Created AIChatMessage for rendering individual chat messages with formatting support.
- Integrated AIChatDemo to showcase the chat functionality within the AIChatSidePanel.
- Added a new SVG icon for the send button.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance chat functionality with auto-scroll and message formatting

- Integrated auto-scroll feature in AIChatContainer to improve user experience during message updates.
- Added AIChatTypingIndicator to display typing status in chat.
- Updated AIChatMessage to support markdown parsing for better message formatting.
- Enhanced AIChatInput to manage empty state and disable send button accordingly.
- Refactored AIChat component structure for clarity and improved functionality.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): add sending message animation and enhance chat input

- Introduced SendingMessageOverlay component for animated feedback when sending messages.
- Updated AIChatInput to trigger sending animation and manage input state.
- Enhanced AIChatMessage with animation effects for message display.
- Improved auto-scroll logic to handle programmatic scrolling more effectively.
- Added new SVG icons for chat functionalities.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): improve chat input and message handling with enhanced animations

- Updated AIChatContainer to refine sending message animations and manage input states.
- Enhanced AIChatInput to include a stop button for ongoing processing and improved message sending logic.
- Refactored AIChatMessage to maintain animation consistency during message display.
- Improved comments for clarity and code maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance AI chat context management and input handling

- Introduced AIChatContextInfo for managing context information in AI chat.
- Updated AIChatInput to utilize context for default selection and improved user experience.
- Refactored AIChatRoot to manage context state and provide context information to child components.
- Enhanced AIChatContainer with a welcome message and improved message handling logic.
- Added EntryAIContext for managing entry-specific AI context, improving integration with chat functionalities.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: hono update

- Introduced optional context properties in the AI chat message structure to support entryId and selectedText.
- Enhanced flexibility for managing chat context and improving user interactions.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance AI chat components with optional wrapping and improved styling

- Added `wrapFocusable` prop to `AIChatRoot` for conditional wrapping of focusable elements.
- Updated `AIChatMessage` to display a placeholder when the assistant is "thinking" and improved styling for message bubbles.
- Refined `AIChatContainer` layout with adjusted border styles for better visual separation.
- Enhanced `AIChatSidePanel` structure for improved component organization and functionality.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): implement AI chat context store and enhance input handling

- Introduced a new context store for managing AI chat state, allowing for better organization of context information.
- Refactored AIChatInput and AIChatRoot components to utilize the new context store, improving state management and performance.
- Added AIChatContextBar for displaying context blocks and managing references within the chat.
- Enhanced input handling with improved styling and functionality, including dynamic resizing and context-aware features.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): refactor message parts handling in AIChatMessage component

- Replaced the existing MessageParts component with a new AIMessageParts component to improve code organization and readability.
- Enhanced the rendering logic for message parts, including better handling of tool invocations and markdown parsing.
- Introduced a more structured approach to displaying message content, including support for code highlighting.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(diagrams): integrate Mermaid for diagram rendering in AI chat

- Added Mermaid as a dependency to support diagram rendering within the AI chat interface.
- Implemented the MermaidDiagram component for rendering Mermaid diagrams based on provided code.
- Enhanced AIMarkdownMessage to parse and render Mermaid diagrams alongside other markdown content.
- Refactored AIChatContainer and AIChatInput components to improve structure and maintainability.
- Introduced AIPanelHeader for better management of the AI chat panel.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance AI message rendering and introduce ToolInvocationComponent

- Updated AIMarkdownMessage to accept an optional className prop for better styling flexibility.
- Refactored AIMessageParts to utilize the new ToolInvocationComponent for rendering tool invocation details, improving code organization and readability.
- Adjusted AIChatMessage styles for user messages to enhance visual distinction.
- Removed unused state management for tool expansion, simplifying the component logic.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): integrate AIChatRoot and enhance auto-scroll functionality

- Wrapped the main content in AIChatRoot for improved focus management.
- Added auto-scroll behavior to the AIChatContainer for better user experience when new messages are loaded.
- Refactored AIChatPanelContainer and AIChatSidePanel to streamline layout and improve code organization.
- Updated styles and structure for better visual consistency and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): update AI SDK dependencies and enhance AI chat functionality

- Upgraded dependencies for '@ai-sdk/openai', '@ai-sdk/react', and 'ai' to their latest beta versions for improved features and performance.
- Introduced new utility functions for managing AI chat state, including getAIChatPinned.
- Refactored AIChat components to utilize the updated SDK, enhancing message handling and tool invocation rendering.
- Added global commands for toggling AI chat visibility and pinning, improving user interaction.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(layout): implement resizable panel functionality and improve layout components

- Added PanelSplitter component for dynamic resizing of the AI chat panel.
- Integrated useResizable hook to manage panel dimensions in RightContent and SubscriptionColumn.
- Refactored AIChatPanelContainer to accept an optional className prop for better styling.
- Cleaned up unused refs and improved code organization in SubscriptionColumn.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): update AI chat components and integrate new AI SDK features

- Refactored AIChatInput and AIChatMessage components to utilize the new AISpline icon for improved visual consistency.
- Enhanced AIChatRoot to accept a roomId prop for better context management.
- Updated message handling in AIChatMessage to include metadata for improved message tracking.
- Introduced AIChatBottom component for better organization of chat input and context display.
- Integrated new AI SDK features for enhanced chat functionality and user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): integrate node polyfills and enhance chat functionality

- Added vite-plugin-node-polyfills to support Node.js core modules in the chat application.
- Updated AIChatRoot to utilize the new roomId prop for better context management.
- Refactored message handling in AIChat components to improve user experience and maintainability.
- Introduced new hooks for loading and saving messages, enhancing chat state management.
- Updated database schema for ai_chat_messages to ensure message integrity and support new features.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update pnpm-lock and package.json to include @splinetool/react-spline and related dependencies

- Added @splinetool/react-spline version 4.0.0 to package.json.
- Updated pnpm-lock.yaml to reflect the addition of @splinetool/react-spline and its peer dependencies, including @splinetool/runtime and react-related packages.
- Included new dependency on on-change version 4.0.2 and updated other related packages.

This update enhances compatibility with the latest spline tool features.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai): implement AI chat components and layout

- Added AIChatContextBar for managing chat context and entries.
- Introduced AIChatMessage and AIMessageParts for rendering chat messages.
- Created ToolInvocationComponent to display tool invocation details.
- Implemented auto-scrolling functionality with useAutoScroll hook.
- Developed AIChatLayout to structure the chat interface, including a welcome screen and message input.
- Integrated chat components into the entry content layout.

This update enhances the AI chat experience with a structured layout and improved message handling.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai): enhance AI chat functionality and localization

- Added new AI namespace to constants for improved organization.
- Integrated AI localization by importing AI English resources and updating default resources.
- Enhanced AIChatLayout with translation support for chat-related prompts and messages.
- Updated AIPanelHeader to utilize translations for chat clearing confirmation.
- Introduced welcome message localization in the AI chat interface.

This update improves the AI chat experience with better localization and user interaction features.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai): enhance AI settings with personalized prompts and shortcuts management

- Introduced PersonalizePromptSetting for customizing AI prompts with save functionality.
- Added AIShortcutsSection for managing AI shortcuts, including add, update, delete, and toggle features.
- Improved localization by updating translation keys for AI settings.
- Refactored components for better organization and clarity.

This update enhances user interaction with AI settings, allowing for personalized experiences and efficient shortcut management.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(shortcuts): implement keyboard shortcut management and localization

- Added KeyRecorder component for recording keyboard shortcuts.
- Introduced ShortcutSetting for managing custom AI shortcuts, including add, update, and delete functionalities.
- Enhanced AI settings with new localization keys for shortcuts.
- Refactored existing components for improved organization and clarity.

This update streamlines the process of creating and managing keyboard shortcuts, enhancing user experience in AI settings.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: update ai robot model

* feat(ai): introduce new analytics and display components

- Added components for displaying analytics, entries, feeds, and subscriptions.
- Implemented loading and error states for better user feedback.
- Refactored existing components to integrate new display functionalities.
- Introduced common state components for loading and error handling.

This update enhances the AI chat experience by providing detailed analytics and improved data presentation.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ai): consolidate shared components for analytics displays

- Moved StatCard, ChartPlaceholder, and other common components to a shared module for reuse across analytics displays.
- Updated AIDisplayAnalyticsPart, AIDisplayEntriesPart, AIDisplayFeedsPart, and AIDisplaySubscriptionsPart to utilize the new shared components.
- Enhanced the layout and error handling for empty states in various display components.

This refactor improves code maintainability and consistency in the analytics display components.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ui): introduce GlassButton component and refactor modal actions

- Added a new GlassButton component with customizable styles and animations for enhanced UI consistency.
- Replaced existing button implementations in modal components with the new GlassButton for improved visual coherence.
- Updated PreviewMediaContent and other components to utilize GlassButton, enhancing user interaction and aesthetics.

This update streamlines button usage across the application and enhances the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ai): enhance auto-scroll functionality in chat component

- Updated the useAutoScroll hook to improve user interaction handling and scrolling behavior.
- Introduced a debounce mechanism for resize observer to optimize performance.
- Modified the AIChatLayout to ensure proper scrolling to the bottom when new messages are loaded.
- Improved state management for user interactions and auto-scrolling logic.

These changes enhance the chat experience by ensuring smoother scrolling and better responsiveness to user actions.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add class-variance-authority for GlassButton variants

- Updated pnpm-lock.yaml to include class-variance-authority version 0.7.1.
- Modified GlassButton component to utilize class-variance-authority for managing size and color scheme variants.
- Updated PreviewMediaContent and other components to use the new variant prop for GlassButton.
- Removed the deprecated AIChatInput component and related references.
- Fixed import path for PanelSplitter in entry content layout.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance AI chat functionality and UI components

- Introduced AIChatSendButton component for improved send button functionality in AI chat.
- Updated AIChatMessage and AIPanelHeader to use new icon styles.
- Integrated AIChatSendButton into AIChatInput and AIChatLayout for consistent UI.
- Added toggleAIChatPinned command and updated related commands for better AI chat management.
- Refactored entry context menu to hide specific actions related to AI chat.
- Fixed import paths and updated localization for AI chat commands.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update layout components and improve conditional rendering

- Refactored RightContent component to enhance conditional rendering logic for Grid and AIChatLayout based on realEntryId and isWideView.
- Updated EntryHeader component styles to use new text color classes for better consistency.
- Adjusted imports in hono.ts to reflect updated package versions for zod and drizzle-orm.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance AI chat features and session management

- Updated AI chat components to support new session management features, including room switching and title generation.
- Introduced session state management using Jotai for better handling of current room ID and title.
- Added hooks for managing chat history and session persistence.
- Implemented export functionality for chat sessions to Markdown format.
- Enhanced UI with new components for chat input and welcome screen.
- Updated localization for new chat features and actions.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update AI chat components and improve styling

- Enhanced AIChatMessage with additional styling for better layout.
- Introduced MarkdownLink in AIMarkdownMessage for improved link rendering.
- Removed unused "step-start" case in AIMessageParts for cleaner code.
- Simplified ToolInvocationComponent by removing unnecessary div.
- Refactored useSettingModal to avoid circular dependency and improve clarity.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: implement chat title generation and error handling in AI chat components

- Added title generation functionality in AIChatRoot, triggered by the first AI response.
- Updated ChatInput to display error messages with a new UI component.
- Refactored title generation logic to utilize the first user and AI messages.
- Removed unused props and streamlined session management in ChatInterface.
- Enhanced error handling in chat components for improved user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: improve ChatHeader and ChatInterface components

- Adjusted ChatHeader height and updated mask image styling for better visual consistency.
- Enhanced ChatInterface with scroll detection and a "Scroll to Bottom" button for improved user experience.
- Introduced state management for scroll position to optimize chat interaction.
- Cleaned up event listeners and added necessary imports for new functionality.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update layout styling in AI chat components

- Modified div elements in ToolInvocationComponent, AIDisplayEntriesPart, AIDisplayFeedsPart, and AIDisplaySubscriptionsPart to include max-width for improved responsiveness.
- Added a blank line in ChatInterface for better code readability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance AI settings and chat components

- Updated AI settings management by introducing aiServerSyncWhiteListKeys and integrating AISettings into the sync queue.
- Improved the PersonalizePromptSetting component with character limit validation and dynamic feedback for user input.
- Removed error toast in AIChatRoot for cleaner error handling.
- Added new suggestion to the WelcomeScreen for enhanced user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance ChatInput component functionality

- Integrated useInputComposition hook for improved key handling in ChatInput.
- Updated key event handling logic to ensure proper focus management based on user input.
- Streamlined textarea props by spreading inputProps for cleaner code.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update layout styling in AI display components

- Removed max-width from div elements in AIDisplayEntriesPart, AIDisplayFeedsPart, and AIDisplaySubscriptionsPart for improved responsiveness.
- Ensured consistent styling across AI display components.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove AIChatShortcuts component and enhance shortcut handling

- Deleted the AIChatShortcuts component to streamline the codebase.
- Integrated shortcut handling directly into the ChatInput and WelcomeScreen components for improved user experience.
- Added functionality to process custom shortcuts and display them dynamically in the WelcomeScreen.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: implement CollapsibleError component for improved error display

- Introduced a new CollapsibleError component to enhance error handling in the ChatInput.
- Simplified error display logic by replacing inline error handling with the new component.
- Updated common-states to maintain consistent error presentation across the application.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: re-organize AI components

- Added AIChatContextBar, AIChatRoot, AIChatSendButton, and ToolInvocationComponent to improve chat interface.
- Implemented displays for analytics, entries, feeds, and subscriptions, enhancing data presentation in chat.
- Refactored ChatInput to integrate new components and streamline user interactions.
- Enhanced message handling with AIChatMessage and AIMarkdownMessage for better content rendering.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance dropdown menu layout and shortcut display

- Updated DropdownMenuItem to improve spacing for shortcut display.
- Adjusted AIChatContextBar to align dropdown menu content and ensure consistent presentation of shortcuts.
- Removed redundant shortcut display logic for cleaner code.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove unused AI components and update imports

- Deleted AISpline and mockShortcuts components to streamline the codebase.
- Updated import paths for AISpline in WelcomeScreen and AIChatContainer to reflect the new structure.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove AI spline asset and update loader URL

- Deleted the ai.splinecode asset file to streamline the project.
- Updated AISplineLoader to use a direct URL for the AI spline asset, improving loading efficiency.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance WelcomeScreen with settings modal integration

- Added a button to edit the personal prompt in the WelcomeScreen, linking to the settings modal.
- Improved layout for the personal prompt display by organizing elements within a flex container.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: streamline session state management and enhance UI components

- Refactored session state management by creating reusable atom hooks for current room ID, title, and session persistence.
- Updated AIChatRoot and related components to utilize the new hooks for improved state handling.
- Enhanced ChatHeader to animate the display of the current title.
- Adjusted ChatInterface to ensure proper state usage and maintain clean code structure.
- Modified RightContent to remove unnecessary props for better clarity.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: implement message editing functionality in chat interface

- Added EditableMessage component to allow users to edit their messages.
- Integrated editing state management into AIChatMessage for seamless user experience.
- Updated ChatInterface to handle error states and improve message display logic.
- Enhanced user interaction with action buttons for editing, retrying, and copying messages.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: optimize AI chat components with memoization

- Wrapped AIChatContextBar, ChatInput, and AIMessageParts components with memo for performance improvements.
- Updated imports to include memo and adjusted component definitions accordingly.
- Enhanced dropdown menu layout in ChatMoreDropdown for better usability and responsiveness.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update MermaidDiagram and ChatInput components

- Removed loading icon from MermaidDiagram to simplify the rendering process.
- Added context menu propagation prevention in ChatInput to enhance user interaction and prevent unwanted actions.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update GlassButton component and related usages

- Renamed 'variant' prop to 'theme' for clarity and introduced a new 'variant' prop for visual styles (glass and flat).
- Updated styles and default values in the GlassButton component to reflect the new structure.
- Adjusted usages of GlassButton across various components to align with the new prop names and styles.
- Modified ChatInput component to enhance shadow styles for the minimal variant.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance ToolInvocationComponent and WelcomeScreen

- Updated ToolInvocationComponent to include a max-width style for better layout control.
- Introduced a DEFAULT_SHORTCUTS array in WelcomeScreen to streamline the management of default suggestions.
- Refactored the rendering logic in WelcomeScreen to utilize the new DEFAULT_SHORTCUTS array for displaying suggestions.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: implement thinking indicator in AIMessageParts component

- Replaced the static "AI is thinking..." message with a dynamic ThinkingIndicator component that animates the text display.
- Integrated motion effects using the 'motion/react' library for a smoother user experience.
- Updated the ChatInterface to utilize the new ThinkingIndicator for better visual feedback during AI processing.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add RelatedEntryLink component for enhanced link handling in AIMarkdownMessage

- Introduced RelatedEntryLink to handle business ID links with a modal preview.
- Updated link rendering logic in AIMarkdownMessage to utilize RelatedEntryLink for improved user interaction.
- Enhanced markdown link handling by integrating peek modal functionality for business IDs.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: update GlassButton styles and introduce EntryLayoutContent component

- Enhanced GlassButton component styles for light, dark, and auto themes, improving visual consistency.
- Added new EntryLayoutContent component to manage entry content display, integrating AI chat and entry content seamlessly.
- Updated EntryContentPlaceholder to utilize the new flat variant of GlassButton for better UI consistency.
- Refactored index export to use EntryLayoutContent as RightContentLayout.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: integrate AI chat functionality and enhance toolbar interactions

- Added AI chat feature toggle in useEntryActions, controlling visibility based on server configurations.
- Updated the customize toolbar to include a warning for the AI chat pinned action.
- Wrapped AISmartSidebar in a React.Suspense component for improved loading behavior.
- Implemented error handling in AISmartSidebar to manage AI feature availability.
- Added localization for the AI chat pinned warning message.

Signed-off-by: Innei <tukon479@gmail.com>

* fix: update useEntryActions to streamline entry properties

- Added entry?.imagesLength and entry?.hasContent to the dependencies of useEntryActions for improved data handling.
- Removed entry?.hasContent from the previous dependencies to avoid redundancy.
- Adjusted the order of entry properties for better clarity and organization.

Signed-off-by: Innei <tukon479@gmail.com>

* ci: update Claude workflow to enhance PR assistance functionality

- Renamed workflow from "Claude Code Review" to "Claude PR Assistant"
- Updated event triggers to include issue comments, pull request review comments, and issues
- Simplified job conditions for running the Claude action
- Changed step name to "Run Claude PR Action" and adjusted parameters for improved integration

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(shortcuts): remove unused shortcut settings component

- Deleted the `ShortcutSetting` component and its associated logic, including custom shortcut handling and reset functionality.
- Cleaned up related components and interfaces to streamline the shortcuts management code.

This change simplifies the shortcuts management by removing unnecessary complexity and unused code.

Signed-off-by: Innei <tukon479@gmail.com>

* Implement code changes to enhance functionality and improve performance

Signed-off-by: Innei <tukon479@gmail.com>

* fix: types

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-07-16 21:54:32 +08:00
dai 4ace95919a
chore: Update Japanese Languages (#4078)
* chore: update ja.json

* chore: update 6 ja.json files

chore: update and bump 6 ja.json files.

* chore: update error/ja.json

fix locale/error/ja.json

* chore: auto-fix linting and formatting issues

* chore: update app/ja.json

* chore: update ja.json

* chore: update ja.json

* chore: update ja.json and tested local.

* chore: update ja.json

update settings/ja.json

* feat(i18n): update Japanese locale files with new error messages and dialog options

* chore(vscode): set default formatter for JSON and JSONC files

* Remove JSON and JSONC formatter settings

so sorry, @hyoban 😢

Perhaps my local settings are in. I have restored it to the original. Thanks for your kindness. 
You have always been a great help.

* chore: auto-fix linting and formatting issues

* chore: update ja.json

sync and update settings/ja.json

* chore: update Japanese translations for clarity and consistency

* chore: update some ja.json

* chore(locales): update Japanese translations with new entry actions and settings

* fix: update Japanese translations for user actions and login prompts

* feat(locales): add Japanese translations for login and registration features

* feat(locales): update Japanese translations for RSSHub and related settings

* chore: auto-fix linting and formatting issues

* feat(i18n): update Japanese locale with new toolbar customization and profile link social fields

* feat(locales): update Japanese translations for search results and two-factor authentication

* feat: 日本語ローカライズの更新

---------

Co-authored-by: dai <dai@users.noreply.github.com>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2025-07-04 16:28:16 +08:00
Alex Su 10648a13c2
chore(locales): update zh-TW translations (#3838)
* feat(locales): update zh-TW translations

* feat(locales): add new zh-TW translations

* fix(locales): correct typos for zh-TW translations
2025-05-29 22:34:40 +08:00
Konv Suu b8a5414efa
feat(desktop): add i18n for shortcut settings and improve style (#3823) 2025-05-27 14:54:38 +08:00
Eric Zhu 0f6ee421fd
chore(locales): update zh-CN translations (#3793)
* chore(locales): update zh-CN translations

* update
2025-05-27 00:33:13 +08:00
Innei 62fc0a0cb1
feat: customize shortcuts (#3786)
* refactor: update command categories and labels for consistency

- Replaced existing command categories with more descriptive names such as "Entry Render", "Global", "Integration", "Layout", "List", "Settings", "Timeline", and "Subscription".
- Updated command labels to remove unnecessary prefixes, enhancing clarity and uniformity across the application.
- Adjusted imports to include the new CommandCategory type for better type safety.

This refactor improves the organization and readability of command definitions, contributing to a more intuitive user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance command shortcut customization and recording functionality

- Added a new hotkey scope for recording commands.
- Introduced a mechanism to override command shortcuts using local storage.
- Implemented a key recorder for capturing user-defined shortcuts with validation rules.
- Updated the UI for editing command shortcuts, allowing users to customize their key bindings more intuitively.

This enhancement improves user experience by providing more flexibility in managing command shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance command shortcut customization by adding new commands

- Updated the default command shortcut for toggling the timeline column.
- Expanded the set of customizable commands to include various subscription and entry actions, improving user flexibility in managing shortcuts.

This update enhances the customization capabilities for command shortcuts, allowing users to tailor their experience more effectively.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: scope

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add global commands for quick add and toggle corner play

- Introduced new global commands: "Quick Add" and "Toggle Corner Play" with associated keyboard shortcuts.
- Updated command IDs and types to accommodate the new functionalities.
- Enhanced the event bus integration for better command handling.

This update improves user interaction by providing quick access to essential features through keyboard shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: remove unused hotkey scope and streamline command bindings

- Deleted the `useSwitchHotkeyScope` hook and its references to simplify the hotkey management.
- Updated command bindings to ensure they function correctly without the removed scope.
- Enhanced the logic for determining when commands should be active based on the current focus and active scopes.

This refactor improves the clarity and efficiency of the command handling system, reducing unnecessary complexity.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add shortcut conflict detection and enhance shortcut customization UI

- Introduced a new hook `useIsShortcutConflict` to check for conflicts between user-defined shortcuts and existing ones.
- Updated the `EditableCommandShortcutItem` component to visually indicate when a shortcut is customized by the user.
- Enhanced the `ShortcutInputWrapper` to display conflict warnings and improve user interaction when editing shortcuts.

This update improves the user experience by allowing users to easily identify and resolve shortcut conflicts, enhancing the overall customization capabilities of command shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: update command structure and enhance shortcut descriptions

- Changed the command ID for toggling the timeline column to toggle the subscription column for better clarity.
- Updated command labels to include descriptions for various commands, improving user understanding of their functionalities.
- Enhanced localization files to reflect the new command descriptions, ensuring a consistent user experience across different languages.

This update improves the usability of command shortcuts by providing clearer descriptions and a more intuitive command structure.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: introduce new keyboard shortcuts system

- Added a comprehensive command shortcut system that supports multiple categories including global operations, layout controls, timeline navigation, content rendering, subscription management, and entry actions.
- Users can access and customize key bindings through `Settings` -> `Shortcuts`.

This enhancement improves user efficiency by providing a structured way to manage keyboard shortcuts.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor

Signed-off-by: Innei <tukon479@gmail.com>

* feat: enhance focusable component with presets for improved command handling

- Introduced `FocusablePresets` to encapsulate common focus-related logic, improving code reusability.
- Updated command bindings in various components to utilize the new presets, streamlining the focus management process.
- Enhanced the `Focusable` component to support additional scopes, improving the overall functionality and user experience.

This update simplifies the management of focusable elements and enhances the command handling system.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: enhance Focusable component with asChild prop for improved flexibility

- Updated the Focusable component to support an `asChild` prop, allowing it to render a child element with focusable properties.
- Modified the BizFocusableProps interface to align with the new FocusableProps structure.
- Adjusted usage in the FeedColumn component to utilize the new `asChild` feature, enhancing the component's flexibility.

This change improves the usability of the Focusable component by allowing it to wrap existing elements while maintaining focus management capabilities.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update WindowUnderBlur and FeedColumn components for improved structure and functionality

- Refactored the WindowUnderBlur component to accept a customizable `as` prop, enhancing its flexibility in rendering.
- Updated the FeedColumn component to utilize the new `WindowUnderBlur` structure, allowing it to wrap the Focusable component directly.
- Enhanced the Focusable component's logic to include additional conditions for the SubscriptionList scope, improving focus management.

These changes streamline the component architecture and improve the overall user experience by allowing for more versatile component usage.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update command bindings in SubscriptionList for improved focus management

- Replaced the `isFocus` variable with `inSubscriptionScope` to streamline focus handling in the SubscriptionList component.
- Updated command bindings and hotkey conditions to utilize the new `inSubscriptionScope` logic, enhancing the clarity and functionality of focus management.

These changes improve the overall structure and usability of the SubscriptionList component, ensuring better focus handling within the subscription context.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 21:26:55 +08:00
Innei bc0a9358b5
feat: title transform follow the english title case rules
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 22:34:37 +08:00
Innei 65b648be8f
feat: refactor zen mode functionality and update shortcuts
- Removed the zen mode option from the app menu and adjusted the corresponding global shortcut to use `$mod+Shift+Z`.
- Updated the zen mode state management in the settings module to streamline the toggle functionality.
- Enhanced command handling for zen mode, integrating it with the new command structure for better consistency.
- Updated localization files to reflect changes in shortcut labels.

This refactor improves the overall user experience by ensuring a more intuitive shortcut for toggling zen mode.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-21 22:03:06 +08:00
Innei 6be20f483c
feat: enhance shortcut management and add new commands
- Removed the `$mod` replacement for `Meta` in shortcut handling to ensure proper cross-platform functionality.
- Introduced new commands for "Open in Browser" and "Open Site in Browser" with corresponding shortcuts.
- Updated the `useFeedActions` and `useListActions` hooks to utilize the new command shortcuts.
- Improved the `transformShortcut` function for better platform-specific shortcut handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 23:37:37 +08:00
Innei 0f5a0ad8b0
feat: update shortcut handling to use `$mod` for cross-platform compatibility
- Replaced instances of `Meta` with `$mod` in shortcut definitions across various components and hooks.
- Introduced new shortcuts for actions like "Open in Browser" and "Mark All as Read".
- Enhanced the `useCommandBinding` hook to support the new shortcut structure.
- Updated UI components to reflect the changes in shortcut keys, ensuring consistency in user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-20 23:15:29 +08:00
Eric Zhu 3ecb527ba1
chore(locales): update zh-CN translations (#3703)
* chore(locales): update zh-CN translations

* update

* update

* update

* update
2025-05-19 20:49:23 +08:00
Innei b42c53fdd5
feat(shortcuts): add toggle folder collapse shortcut and command
- Introduced a new keyboard shortcut for toggling folder collapse with the key "Z".
- Updated command IDs to include the new toggleFolderCollapse command.
- Enhanced the subscription command registration to handle the new toggle functionality.
- Updated localization files to include the new shortcut description.

These changes improve user navigation and interaction with subscription folders in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:16:11 +08:00
Innei 13120c7b0d
feat(desktop): enhance subscription navigation and shortcuts
- Renamed and updated shortcut configurations from "feeds" to "subscriptions" for better clarity and organization.
- Introduced new commands for navigating to the next and previous subscriptions.
- Implemented keyboard shortcuts for subscription navigation and focused subscription view.
- Updated localization files to reflect changes in shortcut keys and labels.

These enhancements improve user experience by streamlining subscription management and navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 14:55:06 +08:00
Innei 75a0520faa
feat: enhance subscription command handling and shortcuts
- Added new subscription commands for switching between tabs, improving user navigation.
- Updated hotkeys for switching views to utilize the new commands, enhancing user experience.
- Refactored command manager to include subscription commands, ensuring better integration.
- Updated localization for new shortcuts to provide clear user guidance.

This update aims to streamline subscription navigation and improve overall usability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-12 21:58:16 +08:00
DIYgod f48697c416
feat: simplified language list 2025-04-30 15:17:04 +08:00
Stephen Zhou b95237f22e
refactor: move locales folder (#3374)
* chore: move locales out

* fix: correct import

* move generate local script
2025-03-31 18:59:29 +08:00
DIYgod 8b07a9a573
chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +08:00
Jinwoo Jeong 4a1a3f9687
feat(locales): enhance korean locale (#2685)
* feat: update localization for korean

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-02-05 10:55:28 +08:00
天空的盡頭 11828ea927
feat(locales): update zh-TW translations (#2621) 2025-01-21 11:03:37 +08:00
天空的盡頭 5780aea3a4
feat(locales): update zh-TW translations (#2522) 2025-01-10 13:07:50 +08:00
天空的盡頭 dbae887df1
feat(locales): update zh-TW translations (#2446)
Co-authored-by: ghostendsky <ghostendsky@users.noreply.github.com>
2025-01-06 09:00:40 +08:00
Denisskas 9d6508b211
feat:(locales) update ru local files and create ru file (#2418)
* Update ru.json

* add in native ru.json

* Update in common ru.json

* Update in errors ru.json

* Update in external ru.json

* Update in settings ru.json

* Update in shortcuts ru.json

* Fix in app ru.json

* Fix in errors ru.json

* Fix in settings ru.json

* Update , external  ru.json

* Update , settings ru.json

* chore: auto-fix linting and formatting issues

* Update ru.json

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Denisskas <Denisskas@users.noreply.github.com>
2025-01-03 17:14:32 +08:00
天空的盡頭 f734e6cfa3
feat(locales): update zh-TW translations (#2290) 2024-12-23 20:02:05 +08:00
Jerry Wong 6f7095e9ab
feat: add translation for "show more" and update zh-HK file (#2033)
* feat: update zh-HK file

* feat: add translation for "show more"
feat: Improve the zh-hk file
2024-12-07 16:38:25 +08:00
Eric Zhu 4186c898c6
fix(i18n): improve translations and modal titles for feeds (#1892)
* chore(i18n): update zh-CN locale files and others

* update
2024-11-28 16:06:59 +08:00
天空的盡頭 a15f23a5c7
feat(i18n): added multiple text translations (zh-TW) (#1621) 2024-11-16 18:40:19 +08:00
dai ce56919d6c
chore: update ja.json (#1573)
Co-authored-by: dai <dai@users.noreply.github.com>
2024-11-12 15:08:33 +08:00
Jerry Wong f4e5ac172a
chore: improve zh-HK language file (#1562) 2024-11-11 14:45:29 +08:00
Eric Zhu f845a1e297
chore(i18n): zh-CN (#1441) 2024-11-06 23:16:06 +08:00
Innei 51a4bd273e
refactor: zen modal implemention and fix macos traffic light overlay
Signed-off-by: Innei <tukon479@gmail.com>
2024-11-05 21:17:28 +08:00
Wenxuan Shen 7b9e9ad6c6
chore(i18n): add some words (#1317) 2024-11-04 14:48:53 +08:00
dai ad60986f4c
chore: updated ja.json (#1242)
* chore: update ja.json

Merged from app/en.json to app/ja.json and translated non-translate string.

* chore: update ja.json

Merged from app/en.json to app/ja.json and translated non-translate string.

* chore: Update ja.json

Updated app/ja.json, Translated has been done.

* chore: Update common/ja.json

Updated to common/ja.json done.

* chore: Update error/ja.json

Translate error/ja.json has done

* chore: auto-fix linting and formatting issues

* chore: merge and translated to 3files.

Update to 3 ja.json files are completed.

* chore: auto-fix linting and formatting issues

* chore: sync latest and localize them

sync latest en json (common, settings) and translated to ja them.

* chore: update settings/ja.json

---------

Co-authored-by: dai <dai@users.noreply.github.com>
2024-11-01 16:46:27 +08:00
Innei e9ab9b6f37
fix(shortcut): add cmd+k to guide
Signed-off-by: Innei <tukon479@gmail.com>
2024-10-30 00:20:20 +08:00
Jerry Wong 9230cf7175
fix: update entry action notifications and translations (#836) 2024-10-10 11:17:48 +08:00
Innei b7a054f313
feat: support shortcut to toggle wide mode
Signed-off-by: Innei <i@innei.in>
2024-10-09 17:38:58 +08:00
Innei 234cdd3c71
fix(i18n): duplicated keys
Signed-off-by: Innei <i@innei.in>
2024-09-28 15:27:31 +08:00
CHANX 6be812d127
chore(i18n): add some i18n in zh (#616)
* feat(i18n): add feed button

* feat(i18n): add shortcuts

* feat: add type I18nKeysForShortcuts
2024-09-26 17:18:42 +08:00
Noah da2e8230a1
feat(i18n): add de (#538)
* feat(i18n): add de

* fix: error

* fix: order

---------

Co-authored-by: Innei <i@innei.in>
2024-09-26 17:16:32 +08:00
houseme 9fac848636
chore(i18n): improve format code (#637)
* ci: upgrade `pnpm/action-setup` version v4

* chore(i18n): format code
2024-09-26 02:07:02 +08:00
Laitron 3751363d45
feat(i18n): added Turkish language (#544)
Signed-off-by: Laiq <meetlq@outlook.com>
2024-09-24 21:38:40 +08:00
Sunghyun Kim 2ae12c9d2b
feat(i18n): Korean and fallback language name (#582)
* Add Korean translations for error messages, UI elements, and shortcuts.

Created new JSON files with Korean translations for individual error messages, various UI components, application settings, and keyboard shortcuts to improve localization and enhance user experience for Korean-speaking users.

* feat: completion langs

Signed-off-by: Innei <i@innei.in>

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
2024-09-23 20:58:15 +08:00
Jerry Wong e2b8ec8862
feat: add more words i18n (#516)
* feat: some word i18n

* feat: add object-cover to feed icon, add zh-HK and zh-TW errors lang

* feat: add more words i18n

* update

* resolve merge conflict

* resole

* resolve merge conflict

* resolve merge conflict

* Update apps/renderer/src/modules/claim/hooks.ts

Co-authored-by: Innei <tukon479@gmail.com>

* Update apps/renderer/src/hooks/biz/useSubscriptionActions.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* Update apps/renderer/src/modules/discover/import.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

* update

Signed-off-by: Innei <i@innei.in>

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <i@innei.in>
2024-09-22 21:05:29 +08:00
Innei 5a81dd6786
fix(eslint): json sort key
Signed-off-by: Innei <i@innei.in>
2024-09-22 19:57:10 +08:00