Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: replace lang icon (#2281)

JimmFlyb937c1b5f6e6
diff --git a/apps/web/src/components/affine/pinboard/pinboard-menu/index.tsx b/apps/web/src/components/affine/pinboard/pinboard-menu/index.tsx
index 3c0d220214..82c4840ae5 100644
--- a/apps/web/src/components/affine/pinboard/pinboard-menu/index.tsx
+++ b/apps/web/src/components/affine/pinboard/pinboard-menu/index.tsx
@@ -92,7 +92,7 @@ export const PinboardMenu = ({
<Input
value={query}
onChange={setQuery}
- placeholder={t['Move page to...']()}
+ placeholder={t['Move page to']()}
height={32}
noBorder={true}
onClick={e => e.stopPropagation()}
diff --git a/apps/web/src/components/blocksuite/workspace-header/header-right-items/language-menu.tsx b/apps/web/src/components/blocksuite/workspace-header/header-right-items/language-menu.tsx
index 537b06750c..d0d2540724 100644
--- a/apps/web/src/components/blocksuite/workspace-header/header-right-items/language-menu.tsx
+++ b/apps/web/src/components/blocksuite/workspace-header/header-right-items/language-menu.tsx
@@ -1,7 +1,7 @@
import { Button, displayFlex, Menu, MenuItem, styled } from '@affine/component';
import { LOCALES } from '@affine/i18n';
import { useI18N } from '@affine/i18n';
-import { ArrowDownSmallIcon, PublishIcon } from '@blocksuite/icons';
+import { ArrowDownSmallIcon, LanguageIcon } from '@blocksuite/icons';
import type { FC, ReactElement } from 'react';
import { useCallback } from 'react';
@@ -39,7 +39,7 @@ export const LanguageMenu: React.FC = () => {
return (
<StyledContainer>
<StyledIconContainer>
- <PublishIcon />
+ <LanguageIcon />
</StyledIconContainer>
<StyledButtonContainer>
<Menu
diff --git a/apps/web/src/components/blocksuite/workspace-header/header-right-items/theme-mode-switch/index.tsx b/apps/web/src/components/blocksuite/workspace-header/header-right-items/theme-mode-switch/index.tsx
index a957adf491..369a3b16f5 100644
--- a/apps/web/src/components/blocksuite/workspace-header/header-right-items/theme-mode-switch/index.tsx
+++ b/apps/web/src/components/blocksuite/workspace-header/header-right-items/theme-mode-switch/index.tsx
@@ -1,3 +1,4 @@
+import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { DarkModeIcon, LightModeIcon } from '@blocksuite/icons';
import { useTheme } from 'next-themes';
@@ -12,6 +13,7 @@ import {
export const MenuThemeModeSwitch = () => {
const { setTheme, resolvedTheme, theme } = useTheme();
+ const t = useAFFiNEI18N();
return (
<StyledThemeModeContainer>
<StyledThemeModeSwitch data-testid="change-theme-container" inMenu={true}>
@@ -30,7 +32,7 @@ export const MenuThemeModeSwitch = () => {
setTheme('light');
}}
>
- light
+ {t['light']()}
</StyledThemeButton>
<StyledVerticalDivider />
<StyledThemeButton
@@ -40,7 +42,7 @@ export const MenuThemeModeSwitch = () => {
setTheme('dark');
}}
>
- dark
+ {t['dark']()}
</StyledThemeButton>
<StyledVerticalDivider />
<StyledThemeButton
@@ -49,7 +51,7 @@ export const MenuThemeModeSwitch = () => {
setTheme('system');
}}
>
- system
+ {t['system']()}
</StyledThemeButton>
</StyledThemeButtonContainer>
</StyledThemeModeContainer>
diff --git a/packages/component/src/components/changeLog/index.css.ts b/packages/component/src/components/changeLog/index.css.ts
index daeeea5f77..ab9144bcd4 100644
--- a/packages/component/src/components/changeLog/index.css.ts
+++ b/packages/component/src/components/changeLog/index.css.ts
@@ -96,6 +96,12 @@ export const linkStyle = style({
flexDirection: 'row',
justifyContent: 'flex-start',
alignItems: 'center',
+ maxWidth: 'calc(100% - 32px)',
+});
+export const linkTextStyle = style({
+ whiteSpace: 'nowrap',
+ textOverflow: 'ellipsis',
+ overflow: 'hidden',
});
export const iconStyle = style({
fontSize: '20px',
diff --git a/packages/component/src/components/changeLog/index.tsx b/packages/component/src/components/changeLog/index.tsx
index a447f27e70..8b0e40258b 100644
--- a/packages/component/src/components/changeLog/index.tsx
+++ b/packages/component/src/components/changeLog/index.tsx
@@ -12,6 +12,7 @@ import {
iconButtonStyle,
iconStyle,
linkStyle,
+ linkTextStyle,
} from './index.css';
type ChangeLogProps = {
@@ -47,7 +48,7 @@ export const ChangeLog = (props: ChangeLogProps) => {
}}
>
<NewIcon className={iconStyle} />
- {t["Discover what's new!"]()}
+ <div className={linkTextStyle}>{t["Discover what's new!"]()}</div>
</div>
<IconButton
className={iconButtonStyle}
diff --git a/packages/component/src/components/contact-modal/index.tsx b/packages/component/src/components/contact-modal/index.tsx
index 26b31ef97a..f657641f5c 100644
--- a/packages/component/src/components/contact-modal/index.tsx
+++ b/packages/component/src/components/contact-modal/index.tsx
@@ -109,7 +109,7 @@ export const ContactModal = ({
})}
</FlexWrapper>
<StyledSubTitle>
- {t['Get in touch! Join our communities.']()}
+ {t['Get in touch! Join our communities']()}
</StyledSubTitle>
<FlexWrapper justifyContent="center">
{linkList.map(({ icon, title, link }) => {
diff --git a/packages/i18n/src/resources/de.json b/packages/i18n/src/resources/de.json
index 3fc4c2cc8a..a23a935dae 100644
--- a/packages/i18n/src/resources/de.json
+++ b/packages/i18n/src/resources/de.json
@@ -4,29 +4,27 @@
"Copied link to clipboard": "Link in die Zwischenablage kopiert",
"Local Workspace Description": "Alle Daten sind auf dem aktuellen Gerät gespeichert. Du kannst AFFiNE Cloud für diesen Workspace aktivieren, um deine Daten mit der Cloud zu synchronisieren.",
"Download all data": "Alle Daten herunterladen",
- "It takes up little space on your device": {
- "": "Es verbraucht nur wenig Speicherplatz auf deinem Gerät."
- },
+ "It takes up little space on your device": "Es verbraucht nur wenig Speicherplatz auf deinem Gerät.",
+ "Help and Feedback": "Hilfe und Feedback",
"Not now": "Vielleicht später",
+ "Please make sure you are online": "Bitte stelle sicher, dass du online bist",
+ "Remove from workspace": "Vom Workspace entfernen",
+ "Retain cached cloud data": "Zwischengespeicherte Cloud-Daten behalten",
+ "Workspace Owner": "Workspace-Besitzer",
"Member": "Mitglied",
- "Once deleted, you can't undo this action": {
- "": "Das Löschen kann nicht rückgängig gemacht werden."
- },
+ "Once deleted, you can't undo this action": "Das Löschen kann nicht rückgängig gemacht werden.",
"Owner": "Besitzer",
"Sync Description2": "<1>{{workspaceName}}</1> ist ein Cloud Workspace. Alle Daten werden synchronisiert und in der AFFiNE Cloud gespeichert.",
- "Export Description": "Du kannst alle Workspace Daten zur Sicherung exportieren, und die exportierten Daten können wieder importiert werden.",
- "Edit": "Bearbeiten",
"Download data Description1": "Es verbraucht mehr Speicherplatz auf deinem Gerät.",
"Wait for Sync": "Warte auf Sync",
"Published Description": "Der aktuelle Workspace wurde im Web veröffentlicht, jeder mit dem Link kann den Inhalt sehen.",
"Sync Description": "{{workspaceName}} ist ein lokaler Workspace. Alle Daten werden nur auf dem aktuellen Gerät gespeichert. Wenn du AFFiNE Cloud für diesen Workspace aktivierst, kann der Inhalt mit der Cloud synchronisiert werden. ",
- "Export AFFiNE backup file": "AFFiNE-Backup als Datei exportieren (bald verfügbar)",
- "Saved then enable AFFiNE Cloud": "Alle Änderungen werden lokal gespeichert. Klicke hier, um AFFiNE Cloud zu aktivieren.",
"AFFiNE Cloud": "AFFiNE Cloud",
- "It takes up more space on your device": {
- "": "Es verbraucht mehr Speicherplatz auf deinem Gerät."
- },
+ "It takes up more space on your device": "Es verbraucht mehr Speicherplatz auf deinem Gerät.",
"Sign out description": "Nach dem Abmelden gehen alle nicht synchronisierten Inhalte verloren.",
+ "Export AFFiNE backup file": "AFFiNE-Backup als Datei exportieren (bald verfügbar)",
+ "Members": "Mitglieder",
+ "Saved then enable AFFiNE Cloud": "Alle Änderungen werden lokal gespeichert. Klicke hier, um AFFiNE Cloud zu aktivieren.",
"Joined Workspace": "Workspace beigetreten",
"404 - Page Not Found": "404 - Seite nicht gefunden",
"Add to Favorites": "Zu Favoriten hinzufügen",
@@ -66,13 +64,13 @@
"Collaboration Description": "Für die Zusammenarbeit mit anderen Nutzern werden die AFFiNE Cloud Services benötigt.",
"Collapse sidebar": "Seitenleiste einklappen",
"Connector": "Verbindung (bald verfügbar)",
- "General": "Generelles",
"Available Offline": "Offline verfügbar",
"Continue with Google": "Mit Google fortfahren",
"Convert to ": "Konvertiere zu",
"Copy Link": "Link kopieren",
"Create Or Import": "Erstellen oder importieren",
"Delete Workspace": "Workspace löschen",
+ "General": "Generelles",
"Delete Workspace Description2": "Das Löschen von (<1>{{workspace}}</1>) wird sowohl lokale als auch Daten in der Cloud löschen. Dies kann nicht rückgängig gemacht werden.",
"Edgeless": "Edgeless",
"Divider": "Trenner",
@@ -102,7 +100,6 @@
"My Workspaces": "Meine Workspaces",
"New Keyword Page": "Neue '{{query}}' Seite",
"New Page": "Neue Seite",
- "Restart Install Client Update": "Neustart zur Installation des Updates",
"New Workspace": "Neuer Workspace",
"No item": "Kein Inhalt",
"Non-Gmail": "Nur Gmail wird unterstützt",
@@ -124,7 +121,6 @@
"Remove from favorites": "Von Favoriten entfernen",
"Removed from Favorites": "Von Favoriten entfernt",
"Restore it": "Wiederherstellen",
- "Sticky": "Haftnotiz (bald verfügbar)",
"Settings": "Einstellungen",
"Shape": "Form",
"Share with link": "Mit Link teilen",
@@ -134,6 +130,7 @@
"Sign out": "Abmelden",
"Skip": "Überspringen",
"Stay logged out": "Abgemeldet bleiben",
+ "Sticky": "Haftnotiz (bald verfügbar)",
"Stop publishing": "Veröffentlichen stoppen",
"Sync": "Sync",
"Invite placeholder": "E-Mails durchsuchen (Unterstützt nur Gmail)",
@@ -180,14 +177,59 @@
"is a Cloud Workspace": "ist ein Cloud Workspace.",
"is a Local Workspace": "ist ein lokaler Workspace.",
"Confirm": "Bestätigen",
+ "Add to favorites": "Zu Favoriten hinzufügen",
+ "Edit": "Bearbeiten",
+ "Export Description": "Du kannst alle Workspace Daten zur Sicherung exportieren, und die exportierten Daten können wieder importiert werden.",
"Published to Web": "Im Web veröffentlicht",
"Download data Description2": "Es verbraucht nur wenig Speicherplatz auf deinem Gerät.",
"will delete member": "wird Mitglied löschen",
"Failed to publish workspace": "Workspace Veröffentlichung fehlgeschlagen",
"Back Home": "Zurück zum Start",
"Cloud Workspace Description": "Alle Daten werden synchronisiert und zu dem AffiNE account <1>{{email}}</1> gespeichert",
- "Access level": "Zugriffsberechtigung",
"All data has been stored in the cloud": "Alle Daten wurden in der Cloud gespeichert.",
"Data sync mode": "Daten-Sync Modus",
- "Download core data": "Core Daten herunterladen"
+ "Download core data": "Core Daten herunterladen",
+ "Check Our Docs": "Sieh dir unsere Dokumentation an",
+ "Get in touch! Join our communities": "Bleib mit uns in Kontakt und trete unseren Communitys bei!",
+ "Move to Trash": "In Papierkorb verschieben",
+ "Placeholder of delete workspace": "Bitte zur Bestätigung den Workspace-Namen eingeben",
+ "Access level": "Zugriffsberechtigung",
+ "Loading Page": "Lade Seite",
+ "Loading All Workspaces": "Lade alle Workspaces",
+ "Discover what's new!": "Erfahre was neu ist!",
+ "Move to": "Verschieben zu",
+ "Disable": "Deaktivieren",
+ "Open Workspace Settings": "Workspace Einstellungen öffnen",
+ "Shared Pages": "Freigegebene Seiten",
+ "Workspace Not Found": "Workspace nicht gefunden",
+ "Rename": "Umbenennen",
+ "Page is Loading": "Seite lädt",
+ "Create Shared Link Description": "Erstelle einen Link, den du leicht mit jedem teilen kannst.",
+ "Back to Quick Search": "Zurück zur Schnellsuche",
+ "Disable Public Link": "Öffentlichen Link deaktivieren",
+ "Disable Public Link ?": "Öffentlichen Link deaktivieren ?",
+ "Export Shared Pages Description": "Laden eine statische Kopie dieser Seite herunter, um sie mit anderen zu teilen.",
+ "Favorite pages for easy access": "Favoriten-Seiten für schnellen Zugriff",
+ "Move page to": "Seite verschieben nach...",
+ "Navigation Path": "Navigationspfad",
+ "Pivots": "Pivots",
+ "RFP": "Seiten können frei zu Pivots hinzugefügt/entfernt werden und bleiben über \"Alle Seiten\" zugänglich.",
+ "Remove from Pivots": "Von Pivots entfernen",
+ "Router is Loading": "Router lädt",
+ "Share Menu Public Workspace Description1": "Laden andere ein, dem Workspace beizutreten oder veröffentliche ihn im Internet.",
+ "Share Menu Public Workspace Description2": "Der aktuelle Workspace wurde im Internet als öffentlicher Workspace veröffentlicht.",
+ "View Navigation Path": "Navigationspfad ansehen",
+ "Add a subpage inside": "Unterseite hinzufügen",
+ "Disable Public Link Description": "Wenn du diesen öffentlichen Link deaktivierst, können andere Personen mit diesem Link nicht mehr auf diese Seite zugreifen.",
+ "Disable Public Sharing": "Öffentliche Freigabe deaktivieren",
+ "Finding Current Workspace": "Aktuellen Workspace finden",
+ "Finding Workspace ID": "Workspace ID finden",
+ "Organize pages to build knowledge": "Seiten organisieren, um Wissen aufzubauen",
+ "Shared Pages Description": "Die öffentliche Freigabe der Seite erfordert den AFFiNE-Cloud-Dienst.",
+ "Shared Pages In Public Workspace Description": "Der gesamte Workspace wird im Web veröffentlicht und kann über <1>Workspace Einstellungen</1> bearbeitet werden.",
+ "emptySharedPages": "Freigegebene Seiten werden hier angezeigt.",
+ "Recent": "Neueste",
+ "Synced with AFFiNE Cloud": "Synchronisiert mit AFFiNE Cloud",
+ "Successfully deleted": "Erfolgreich gelöscht",
+ "You cannot delete the last workspace": "Du kannst den letzten Workspace nicht löschen"
}
diff --git a/packages/i18n/src/resources/en.json b/packages/i18n/src/resources/en.json
index 5b24a8e155..f931039df2 100644
--- a/packages/i18n/src/resources/en.json
+++ b/packages/i18n/src/resources/en.json
@@ -1,32 +1,29 @@
{
"Confirm": "Confirm",
"Download core data": "Download core data",
- "It takes up little space on your device": {
- "": "It takes up little space on your device."
- },
+ "It takes up little space on your device": "It takes up little space on your device.",
"AFFiNE Cloud": "AFFiNE Cloud",
- "It takes up more space on your device": {
- "": "It takes up more space on your device."
- },
- "Synced with AFFiNE Cloud": "Synced with AFFiNE Cloud",
- "Successfully deleted": "Successfully deleted",
- "Export AFFiNE backup file": "Export AFFiNE backup file",
+ "Members": "Members",
+ "Add to favorites": "Add to favorites",
+ "It takes up more space on your device": "It takes up more space on your device.",
+ "Export AFFiNE backup file": "Export AFFiNE backup file (coming soon)",
"Saved then enable AFFiNE Cloud": "All changes are saved locally, click to enable AFFiNE Cloud.",
+ "Help and Feedback": "Help and Feedback",
"Not now": "Not now",
"Export Description": "You can export the entire Workspace data for backup, and the exported data can be re-imported.",
- "Quick search": "Quick Search",
- "All pages": "All Pages",
+ "Remove from workspace": "Remove from workspace",
+ "Please make sure you are online": "Please make sure you are online",
+ "Quick search": "Quick search",
+ "All pages": "All pages",
"No item": "No item",
"Import": "Import",
"Trash": "Trash",
"New Page": "New Page",
- "Restart Install Client Update": "Restart to install update",
"New Keyword Page": "New '{{query}}' page",
"Find 0 result": "Find 0 result",
"Find results": "Find {{number}} results",
"Collapse sidebar": "Collapse sidebar",
"Expand sidebar": "Expand sidebar",
- "Add to Favorites": "Add to Favorites",
"Paper": "Paper",
"Edgeless": "Edgeless",
"Added to Favorites": "Added to Favorites",
@@ -36,7 +33,6 @@
"Export to HTML": "Export to HTML",
"Export to Markdown": "Export to Markdown",
"Delete": "Delete",
- "Remove from workspace": "Remove from workspace",
"Title": "Title",
"Untitled": "Untitled",
"Created": "Created",
@@ -46,16 +42,15 @@
"Delete permanently?": "Delete permanently?",
"will be moved to Trash": "{{title}} will be moved to Trash",
"Favorite": "Favorite",
- "Move to Trash": "Move to Trash",
"Moved to Trash": "Moved to Trash",
"Permanently deleted": "Permanently deleted",
"restored": "{{title}} restored",
"Cancel": "Cancel",
- "Keyboard Shortcuts": "Keyboard Shortcuts",
- "Contact Us": "Contact Us",
+ "Keyboard Shortcuts": "Keyboard shortcuts",
+ "Contact Us": "Contact us",
"Official Website": "Official Website",
- "Check Our Docs": "Check Our Docs",
- "Get in touch! Join our communities.": "Get in touch! Join our communities.",
+ "Get in touch!": "Get in touch!",
+ "AFFiNE Community": "AFFiNE Community",
"How is AFFiNE Alpha different?": "How is AFFiNE Alpha different?",
"Shortcuts": "Shortcuts",
"Undo": "Undo",
@@ -73,22 +68,15 @@
"Reduce indent": "Reduce indent",
"Markdown Syntax": "Markdown Syntax",
"Divider": "Divider",
- "Once deleted, you can't undo this action": {
- "": "Once deleted, you can't undo this action."
- },
+ "Once deleted, you can't undo this action": "Once deleted, you can't undo this action.",
"Remove from favorites": "Remove from favorites",
"Removed from Favorites": "Removed from Favorites",
+ "Add to Favorites": "Add to Favorites",
"Jump to": "Jump to",
"404 - Page Not Found": "404 - Page Not Found",
"New Workspace": "New Workspace",
- "Add Workspace": "Add Workspace",
- "Add Workspace Hint": "Select where you already have",
"Create": "Create",
- "Create your own workspace": "Create your own workspace",
"Select": "Select",
- "Save": "Save",
- "Customize": "Customize",
- "Continue": "Continue",
"Text": "Text (coming soon)",
"Shape": "Shape",
"Sticky": "Sticky (coming soon)",
@@ -100,22 +88,10 @@
"TrashButtonGroupDescription": "Once deleted, you can't undo this action. Do you confirm?",
"Delete permanently": "Delete permanently",
"Link": "Hyperlink (with selected text)",
- "Name Your Workspace": "Name Your Workspace",
"Workspace description": "A workspace is your virtual space to capture, create and plan as just one person or together as a team.",
- "Set database location": "Set database location",
- "Default Location": "Default Location",
- "Default db location hint": "By default will be saved to {{location}}",
- "Workspace database storage description": "Select where you want to create your workspace. The data of workspace is saved locally by default.",
- "Created Successfully": "Created Successfully",
- "Added Successfully": "Added Successfully",
"Quick search placeholder": "Quick Search...",
"Quick search placeholder2": "Search in {{workspace}}",
- "Use on current device only": "Use on current device only",
- "Sync across devices with AFFiNE Cloud": "Sync across devices with AFFiNE Cloud",
- "Export success": "Export success",
- "Update workspace name success": "Update workspace name success",
"Settings": "Settings",
- "Recent": "Recent",
"recommendBrowser": " We recommend the <1>Chrome</1> browser for optimal experience.",
"upgradeBrowser": "Please upgrade to the latest version of Chrome for the best experience.",
"Invite Members": "Invite Members",
@@ -134,17 +110,15 @@
"mobile device description": "We are still working on mobile support and recommend you use a desktop device.",
"Got it": "Got it",
"emptyAllPages": "This workspace is empty. Create a new page to begin editing.",
- "emptyTrash": "Deleted pages will appear here.",
- "emptySharedPages": "Shared pages will appear here.",
+ "emptyTrash": "Click Add to Trash and the page will appear here.",
"still designed": "(This page is still being designed.)",
"My Workspaces": "My Workspaces",
"Tips": "Tips: ",
"login success": "Login success",
"Create Or Import": "Create or Import",
"Delete Workspace": "Delete Workspace",
- "Delete Workspace Label Hint": "After deleting this Workspace, you will permanently delete all of its content for everyone. No one will be able to recover the content of this Workspace",
"Delete Workspace Description2": "Deleting (<1>{{workspace}}</1>) will delete both local and cloud data, this operation cannot be undone, please proceed with caution.",
- "Placeholder of delete workspace": "Please type workspace name to confirm",
+ "Delete Workspace placeholder": "Please type “Delete” to confirm",
"Leave Workspace": "Leave Workspace",
"Leave": "Leave",
"Workspace Icon": "Workspace Icon",
@@ -180,10 +154,12 @@
"all": "all",
"Data sync mode": "Data sync mode",
"Favorites": "Favorites",
+ "Check Our Docs": "Check Our Docs",
+ "Get in touch! Join our communities": "Get in touch! Join our communities.",
"Download data": "Download {{CoreOrAll}} data",
"Back Home": "Back Home",
"Set a Workspace name": "Set a Workspace name",
- "Retain cached cloud data": "Retain cached cloud data",
+ "Retain local cached data": "Retain local cached data",
"Wait for Sync": "Wait for Sync",
"Force Sign Out": "Force Sign Out",
"Local Workspace": "Local Workspace",
@@ -213,55 +189,81 @@
"emptyFavorite": "Click Add to Favorites and the page will appear here.",
"Edit": "Edit",
"Sign out description": "Signing out will cause the unsynchronised content to be lost.",
- "Help and Feedback": "Help and Feedback",
- "Please make sure you are online": "Please make sure you are online",
+ "Retain cached cloud data": "Retain cached cloud data",
"Workspace Owner": "Workspace Owner",
- "Members": "Members",
+ "Move to Trash": "Move to Trash",
+ "Placeholder of delete workspace": "Please type workspace name to confirm",
"Pivots": "Pivots",
"Add a subpage inside": "Add a subpage inside",
- "Rename": "Rename",
"Move to": "Move to",
- "Move page to...": "Move page to...",
- "Remove from Pivots": "Remove from Pivots",
+ "Rename": "Rename",
"RFP": "Pages can be freely added/removed from pivots, remaining accessible from \"All Pages\".",
+ "Remove from Pivots": "Remove from Pivots",
+ "Move page to": "Move page to...",
"Discover what's new!": "Discover what's new!",
- "Navigation Path": "Navigation Path",
"View Navigation Path": "View Navigation Path",
"Back to Quick Search": "Back to Quick Search",
+ "Navigation Path": "Navigation Path",
+ "Open Workspace Settings": "Open Workspace Settings",
+ "Shared Pages Description": "Sharing page publicly requires AFFiNE Cloud service.",
"Shared Pages": "Shared Pages",
"Disable Public Sharing": "Disable Public Sharing",
- "Disable": "Disable",
- "Disable Public Link": "Disable Public Link",
"Disable Public Link ?": "Disable Public Link ?",
"Disable Public Link Description": "Disabling this public link will prevent anyone with the link from accessing this page.",
+ "Disable": "Disable",
"Export Shared Pages Description": "Download a static copy of your page to share with others.",
- "Organize pages to build knowledge": "Organize pages to build knowledge",
- "Favorite pages for easy access": "Favorite pages for easy access",
- "Shared Pages Description": "Sharing page publicly requires AFFiNE Cloud service.",
- "Create Shared Link Description": "Create a link you can easily share with anyone.",
- "Shared Pages In Public Workspace Description": "The entire Workspace is published on the web and can be edited via <1>Workspace Settings</1>.",
- "Open Workspace Settings": "Open Workspace Settings",
+ "Disable Public Link": "Disable Public Link",
"Share Menu Public Workspace Description1": "Invite others to join the Workspace or publish it to web.",
"Share Menu Public Workspace Description2": "Current workspace has been published to the web as a public workspace.",
+ "Create Shared Link Description": "Create a link you can easily share with anyone.",
+ "Shared Pages In Public Workspace Description": "The entire Workspace is published on the web and can be edited via <1>Workspace Settings</1>.",
+ "Organize pages to build knowledge": "Organize pages to build knowledge",
+ "Favorite pages for easy access": "Favorite pages for easy access",
+ "Loading All Workspaces": "Loading All Workspaces",
"Router is Loading": "Router is Loading",
"Finding Workspace ID": "Finding Workspace ID",
- "Workspace Not Found": "Workspace Not Found",
"Finding Current Workspace": "Finding Current Workspace",
+ "Workspace Not Found": "Workspace Not Found",
"Page is Loading": "Page is Loading",
- "Loading All Workspaces": "Loading All Workspaces",
"Loading Page": "Loading Page",
+ "emptySharedPages": "Shared pages will appear here.",
"You cannot delete the last workspace": "You cannot delete the last workspace",
- "Open folder": "Open folder",
+ "Synced with AFFiNE Cloud": "Synced with AFFiNE Cloud",
+ "Recent": "Recent",
+ "Successfully deleted": "Successfully deleted",
+ "Restart Install Client Update": "Restart to install update",
+ "Add Workspace": "Add Workspace",
+ "Add Workspace Hint": "Select where you already have",
+ "Export success": "Export success",
+ "Sync across devices with AFFiNE Cloud": "Sync across devices with AFFiNE Cloud",
+ "Update workspace name success": "Update workspace name success",
+ "Create your own workspace": "Create your own workspace",
+ "Storage Folder Hint": "Check or change storage location.",
+ "Save": "Save",
+ "Customize": "Customize",
+ "Move folder success": "Move folder success",
+ "Use on current device only": "Use on current device only",
"Open folder hint": "Check the where the storage folder is located.",
+ "Created Successfully": "Created Successfully",
+ "Delete Workspace Label Hint": "After deleting this Workspace, you will permanently delete all of its content for everyone. No one will be able to recover the content of this Workspace",
+ "Continue": "Continue",
+ "Workspace database storage description": "Select where you want to create your workspace. The data of workspace is saved locally by default.",
+ "Added Successfully": "Added Successfully",
+ "DB_FILE_ALREADY_LOADED": "Database file already loaded",
+ "UNKNOWN_ERROR": "Unknown error",
+ "Default Location": "Default Location",
+ "Open folder": "Open folder",
+ "Change workspace name hint": "Change name for all members.",
"Move folder": "Move folder",
- "Move folder hint": "Select a new storage location.",
+ "Set database location": "Set database location",
"Change avatar hint": "Change avatar for all members.",
- "Change workspace name hint": "Change name for all members.",
+ "Move folder hint": "Select a new storage location.",
"Storage Folder": "Storage Folder",
- "Storage Folder Hint": "Check or change storage location.",
- "Move folder success": "Move folder success",
+ "DB_FILE_INVALID": "Invalid Database file",
+ "Name Your Workspace": "Name Your Workspace",
"DB_FILE_PATH_INVALID": "Database file path invalid",
- "DB_FILE_ALREADY_LOADED": "Database file already loaded",
- "UNKNOWN_ERROR": "Unknown error",
- "DB_FILE_INVALID": "Invalid Database file"
+ "Default db location hint": "By default will be saved to {{location}}",
+ "light": "light",
+ "dark": "dark",
+ "system": "system"
}
diff --git a/packages/i18n/src/resources/fr.json b/packages/i18n/src/resources/fr.json
index bda7f0a1cc..d0d16c3455 100644
--- a/packages/i18n/src/resources/fr.json
+++ b/packages/i18n/src/resources/fr.json
@@ -3,6 +3,8 @@
"all": "tout",
"Download data Description2": "Cela prend peu d’espace sur votre appareil.",
"Edit": "Éditer",
+ "Workspace Owner": "Propriétaire de l’espace de travail ",
+ "Add to favorites": "Ajouter aux favoris",
"Copied link to clipboard": "Lien copié dans le presse-papier",
"Enabled success": "Activation réussie",
"Failed to publish workspace": "La publication de l'espace de travail a échoué",
@@ -13,16 +15,20 @@
"Retain local cached data": "Conserver les données du cache local",
"Cloud Workspace": "Espace de travail distant",
"Force Sign Out": "Forcer la déconnexion",
- "Wait for Sync": "Attendre la synchronisation",
"Available Offline": "Disponible hors ligne",
"Delete Member?": "Supprimer le membre ?",
"All data has been stored in the cloud": "Toutes les données ont été sauvegardées dans le cloud.",
"Published to Web": "Publié sur Internet",
"Set a Workspace name": "Définir un nom pour l'espace de travail",
"Sign out description": "Se déconnecter provoquera la perte du contenu non synchronisé.",
+ "Wait for Sync": "Attendez la synchronisation",
+ "Help and Feedback": "Aide et feedbacks",
+ "Retain cached cloud data": "Conserver les données mises en cache dans le cloud",
+ "Check Our Docs": "Consultez notre documentation",
+ "Add to Favorites": "Ajouter aux Favoris",
+ "Delete permanently?": "Supprimer définitivement ?",
"404 - Page Not Found": "Erreur 404 - Page non trouvée",
"AFFiNE Community": "Communauté AFFiNE",
- "Add to Favorites": "Ajouter aux favoris",
"Added to Favorites": "Ajouté aux favoris ",
"All pages": "Toutes les pages",
"Bold": "Gras",
@@ -30,7 +36,6 @@
"Convert to ": "Convertir en",
"Created": "Objet créé ",
"Delete page?": "Supprimer la page ?",
- "Delete permanently?": "Supprimer de manière définitive ? ",
"Edgeless": "Mode sans bords",
"Expand sidebar": "Agrandir la barre latérale",
"Export": "Exporter ",
@@ -39,15 +44,15 @@
"Favorite": "Favoris ",
"Favorited": "Ajouté aux favoris",
"Updated": "Mis à jour",
- "Contact Us": "Contactez nous ",
+ "Divider": "Séparateur",
+ "How is AFFiNE Alpha different?": "Quelles sont les différences avec AFFiNE Alpha",
+ "Contact Us": "Contactez-nous ",
"Create": "Créer ",
"Delete permanently": "Supprimer définitivement",
- "Divider": "Diviseur ",
"Favorites": "Favoris ",
"Find 0 result": "Aucun résultat trouvé ",
"Find results": "{{number}} résultats trouvés",
"Get in touch!": "Contactez-nous ! ",
- "How is AFFiNE Alpha different?": "Quel sont les différences avec AFFiNE Alpha",
"Import": "Importer ",
"Italic": "Italique",
"Jump to": "Passer à ",
@@ -57,7 +62,6 @@
"Moved to Trash": "Déplacé à la corbeille ",
"New Keyword Page": "Nouvelle page '{{query}}'",
"New Page": "Nouvelle page",
- "Restart Install Client Update": "Redémarrer pour installer la mise à jour",
"New Workspace": "Nouvel espace de travail ",
"No item": "Aucun objet ",
"Official Website": "Site officiel ",
@@ -111,11 +115,11 @@
"Ooops!": "Oups !",
"Publish": "Publier",
"Publish to web": "Publier sur internet",
- "Quick search placeholder": "Recherche rapide...",
"Settings": "Paramètres",
"Stay logged out": "Rester déconnecté",
"Tips": "Astuces :",
"Users": "Utilisateur",
+ "Quick search placeholder": "Recherche Rapide...",
"Access level": "Permissions",
"Delete Workspace Description2": "La suppression de (<1>{{workspace}}</1>) aura pour effet de supprimer les données locales et les données dans le cloud. Attention, cette opération est irréversible.",
"Enable AFFiNE Cloud": "Activer AFFiNE Cloud",
@@ -136,6 +140,7 @@
"Set up an AFFiNE account to sync data": "Configurer un compte AFFiNE pour synchroniser les données",
"Sign in": "Se connecter à AFFiNE Cloud",
"Sign in and Enable": "Se connecter et activer",
+ "emptyFavorite": "Cliquez sur Ajouter aux Favoris et la page apparaitra ici.",
"Skip": "Passer",
"Stop publishing": "Arrêter de publier",
"Sync": "Synchroniser",
@@ -146,7 +151,6 @@
"Workspace Type": "Type de l'espace de travail",
"Workspace description": "Un espace de travail est votre espace virtuel pour capturer, créer et planifier aussi bien seul qu'en équipe.",
"emptyAllPages": "Cet espace de travail est vide. Créer une nouvelle page pour commencer l'édition.",
- "emptyFavorite": "Cliquez sur Ajouter aux favoris et la page apparaitra ici.",
"emptyTrash": "Cliquez sur Ajouter à la corbeille et la page apparaitra ici.",
"login success": "Connexion réussie",
"mobile device description": "Nous travaillons toujours sur le support des appareils mobiles. Ainsi, nous vous recommandons d'utiliser un ordinateur.",
@@ -163,7 +167,9 @@
"Body text": "Corps du texte",
"Data sync mode": "Mode de synchronisation des données",
"AFFiNE Cloud": "AFFiNE Cloud",
- "Saved then enable AFFiNE Cloud": "Toutes les modifications sont sauvegardées localement, cliquez afin d'activer le AFFiNE Cloud ",
+ "Please make sure you are online": "Vérifiez que vous êtes bien en ligne",
+ "Remove from workspace": "Retirer de l'espace de travail",
+ "Get in touch! Join our communities": "Contactez-nous ! Rejoignez nos communautés.",
"All changes are saved locally": "Les changements sont sauvegardés localement",
"Continue with Google": "Se connecter avec Google ",
"Delete": "Supprimer objet ",
@@ -177,9 +183,7 @@
"core": "l'essentiel",
"Download data": "Télécharger les données {{CoreOrAll}}",
"Download all data": "Télécharger toutes les données",
- "It takes up more space on your device": {
- "": "Cela prend davantage d’espace sur votre appareil."
- },
+ "It takes up more space on your device": "Cela prend davantage d’espace sur votre appareil.",
"is a Cloud Workspace": "est un espace de travail distant",
"will delete member": "supprimera le membre",
"is a Local Workspace": "est un espace de travail local",
@@ -187,7 +191,47 @@
"Export AFFiNE backup file": "Exporter un fichier de sauvegarde AFFiNE (à venir...)",
"Export Description": "Vous pouvez exporter l'intégralité des données de l'espace de travail à titre de sauvegarde ; les données ainsi exportées peuvent être réimportées.",
"Download data Description1": "Cela prend davantage d’espace sur votre appareil.",
- "It takes up little space on your device": {
- "": "Cela prend peu d’espace sur votre appareil."
- }
+ "It takes up little space on your device": "Cela prend peu d’espace sur votre appareil.",
+ "Members": "Membres",
+ "Move to Trash": "Déplacer à la corbeille",
+ "Saved then enable AFFiNE Cloud": "Toutes les modifications sont sauvegardées localement, cliquez ici pour activer la sauvegarde AFFiNE Cloud",
+ "Placeholder of delete workspace": "Entrez le nom de l'espace de travail pour de confirmer",
+ "Back to Quick Search": "Retourner à la Recherche Rapide",
+ "Navigation Path": "Chemin d'Accès",
+ "View Navigation Path": "Voir le Chemin d'Accès",
+ "Pivots": "Arborescence",
+ "Remove from Pivots": "Retirer de l'Arborescence",
+ "Add a subpage inside": "Ajouter une sous-page à l'intérieur ",
+ "Move page to": "Déplacer la page vers...",
+ "Move to": "Déplacer vers",
+ "Rename": "Renommer",
+ "Disable": "Désactiver",
+ "Disable Public Link ?": "Désactiver le lien public ?",
+ "Disable Public Sharing": "Désactiver le Partage Public ",
+ "Disable Public Link Description": "Désactiver ce lien public empêchera à quiconque avec le lien d’accéder à cette page.",
+ "Export Shared Pages Description": "Télécharger une copie de la version actuelle pour le partager avec les autres.",
+ "Shared Pages": "Pages partagées",
+ "Create Shared Link Description": "Créez un lien que vous pouvez facilement partager avec n'importe qui.",
+ "Open Workspace Settings": "Ouvrir les paramètres de l'espace de travail",
+ "Share Menu Public Workspace Description1": "Invitez d'autres personnes à rejoindre cet espace de travail ou publiez-le sur internet.",
+ "Share Menu Public Workspace Description2": "L'espace de travail actuel a été publié sur le web en tant qu'espace de travail public.",
+ "Shared Pages Description": "Le service de partage de page public nécessite AFFiNE Cloud.",
+ "Organize pages to build knowledge": "Organisez vos pages pour construire l'entièreté de votre savoir",
+ "Router is Loading": "Le Router est en cours de chargement",
+ "Disable Public Link": "Désactiver le lien public",
+ "Discover what's new!": "Découvrez les nouveautés !",
+ "Finding Current Workspace": "L'Espace de Travail actuel est en cours de recherche",
+ "Favorite pages for easy access": "Pages favorites pour un accès rapide",
+ "Finding Workspace ID": "L'ID de l'Espace de Travail est en cours de recherche",
+ "Loading All Workspaces": "Chargement de tous les Espaces de Travails",
+ "Loading Page": "La page est en train de charger",
+ "Page is Loading": "La page charge",
+ "Workspace Not Found": "L'Espace de Travail n'a pas été trouvé",
+ "emptySharedPages": "Les pages partagées apparaîtront ici",
+ "RFP": "Les pages peuvent librement être rajoutées à/retirées de l'Arborescence, tout en restant accessible depuis \"Toutes les pages\".",
+ "Shared Pages In Public Workspace Description": "L'intégralité de cet espace de travail a été publiée sur internet et peut être modifiée via les <1>Paramètre de l'espace de travail</1>.",
+ "You cannot delete the last workspace": "Vous ne pouvez pas supprimer le dernier Espace de travail",
+ "Recent": "Récent",
+ "Synced with AFFiNE Cloud": "Synchronisé avec AFFiNE Cloud",
+ "Successfully deleted": "Supprimé avec succès"
}
diff --git a/packages/i18n/src/resources/index.ts b/packages/i18n/src/resources/index.ts
index d9d34cc739..b59513969f 100644
--- a/packages/i18n/src/resources/index.ts
+++ b/packages/i18n/src/resources/index.ts
@@ -1,5 +1,5 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-// Run `pnpm run download-resources` to regenerate.
+// Run `yarn run download-resources` to regenerate.
// To overwrite this, please overwrite download.ts script.
import de from './de.json';
import en from './en.json';
@@ -25,7 +25,7 @@ export const LOCALES = [
originalName: '简体中文',
flagEmoji: '🇨🇳',
base: false,
- completeRate: 1,
+ completeRate: 0.7651515151515151,
res: zh_Hans,
},
{
@@ -35,7 +35,7 @@ export const LOCALES = [
originalName: 'français',
flagEmoji: '🇫🇷',
base: false,
- completeRate: 1,
+ completeRate: 0.8787878787878788,
res: fr,
},
{
@@ -45,7 +45,7 @@ export const LOCALES = [
originalName: 'Deutsch',
flagEmoji: '🇩🇪',
base: false,
- completeRate: 1,
+ completeRate: 0.8787878787878788,
res: de,
},
{
@@ -55,7 +55,7 @@ export const LOCALES = [
originalName: 'русский',
flagEmoji: '🇷🇺',
base: false,
- completeRate: 1,
+ completeRate: 0.7348484848484849,
res: ru,
},
] as const;
diff --git a/packages/i18n/src/resources/ru.json b/packages/i18n/src/resources/ru.json
index dc388b9d62..f2c8ff1816 100644
--- a/packages/i18n/src/resources/ru.json
+++ b/packages/i18n/src/resources/ru.json
@@ -1,37 +1,38 @@
{
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.": "",
- "Export AFFiNE backup file": "Экспорт файла резервной копии AFFiNE (скоро)",
"Local Workspace Description": "Все данные сохраняются на текущем устройстве. Вы можете включить AFFiNE Cloud для этого рабочего пространства, чтобы синхронизировать данные с облаком.",
"Member": "Участник",
"Member has been removed": "{{name}} был удален",
- "Owner": "Владелец",
- "is a Cloud Workspace": "это облачное рабочее пространство.",
- "Workspace Avatar": "Аватар рабочего пространства",
"Published to Web": "Опубликовано в Интернете",
"Sign out description": "Выход приведет к потере несинхронизированного контента.",
- "Export Description": "Вы можете экспортировать все данные рабочего пространства, а экспортированные данные можно повторно импортировать.",
+ "Remove from workspace": "Удалить из рабочего пространства",
+ "Check Our Docs": "Проверьте нашу документацию",
+ "is a Cloud Workspace": "это облачное рабочее пространство.",
+ "Owner": "Владелец",
+ "Export AFFiNE backup file": "Экспорт файла резервной копии AFFiNE (скоро)",
"is a Local Workspace": "это локальное рабочее пространство",
"Wait for Sync": "Дождитесь синхронизации",
- "Set a Workspace name": "Задайте имя рабочего пространства",
- "Published Description": "Текущее рабочее пространство было опубликовано в Интернете, каждый может просмотреть содержимое этого рабочего пространства по ссылке.",
"Joined Workspace": "Присоединенное рабочее пространство",
"Retain local cached data": "Сохранять локальные кэшированные данные",
"will delete member": "удалит участника",
- "Not now": "Не сейчас",
"Download all data": "Скачать все данные",
- "It takes up little space on your device": {
- "": "Занимает мало места на вашем устройстве."
- },
- "It takes up more space on your device": {
- "": "Занимает много места на вашем устройстве."
- },
+ "It takes up little space on your device": "Занимает мало места на вашем устройстве.",
+ "It takes up more space on your device": "Занимает много места на вашем устройстве.",
+ "Not now": "Не сейчас",
+ "Set a Workspace name": "Задайте имя рабочего пространства",
"Collaboration Description": "Для совместной работы с другими участниками требуется сервис AFFiNE Cloud.",
- "AFFiNE Cloud": "AFFiNE Cloud",
"Edit": "Редактировать",
+ "AFFiNE Cloud": "AFFiNE Cloud",
+ "Published Description": "Текущее рабочее пространство было опубликовано в Интернете. Любой может просматривать содержимое по ссылке. ",
"All data has been stored in the cloud": "Все данные хранятся в облаке.",
- "Confirm": "Подтвердить",
"Data sync mode": "Режим синхронизации данных",
+ "Retain cached cloud data": "Сохраняйте кэшированные облачные данные",
+ "Get in touch! Join our communities": "Свяжитесь с нами! Присоединяйтесь к нашим сообществам.",
+ "Add to favorites": "Добавить в избранное",
"Saved then enable AFFiNE Cloud": "Все изменения сохраняются локально, нажмите чтобы включить AFFiNE Cloud.",
+ "Enable AFFiNE Cloud Description": "Если этот параметр включен, данные в этом рабочем пространстве будут скопированы и синхронизированы с помощью AFFiNE Cloud.",
+ "Workspace description": "Рабочее пространство - это ваше виртуальное пространство для фиксации, создания и планирования в одиночку или в команде. ",
+ "Members": "Участники",
"Available Offline": "Доступно оффлайн",
"Back Home": "Вернуться на Главную",
"Cloud Workspace": "Облачное рабочее пространство",
@@ -39,109 +40,94 @@
"Copied link to clipboard": "Ссылка скопирована в буфер обмена",
"Delete Member?": "Удалить участника?",
"404 - Page Not Found": "404 - Страница не найдена",
- "Add to Favorites": "Добавить в избранное",
+ "Bold": "Жирный",
+ "All pages": "Все страницы",
"Added to Favorites": "Добавлено в Избранное",
+ "Add to Favorites": "Добавить в Избранное",
+ "Delete": "Удалить",
+ "Code block": "Блок кода",
+ "Create": "Создать",
"All changes are saved locally": "Все изменения сохраняются локально",
- "All pages": "Все страницы",
- "Cancel": "Отмена",
- "Bold": "Жирный",
"ClearData": "Удалить локальные данные",
- "Code block": "Блок кода",
- "Collaboration": "Совместная работа",
- "Collapse sidebar": "Свернуть боковую панель",
"Contact Us": "Связаться с нами",
"Continue with Google": "Продолжить с Google",
"Copy Link": "Копировать ссылку",
- "Create": "Создать",
"Create Or Import": "Создать или Импортировать",
- "Delete": "Удалить",
- "Delete Workspace": "Удалить рабочее пространство",
"Delete page?": "Удалить страницу?",
"Delete permanently": "Удалить навсегда",
"Delete permanently?": "Удалить навсегда?",
- "Enable": "Включить",
- "Enable AFFiNE Cloud": "Включить AFFiNE Cloud",
- "Expand sidebar": "Развернуть боковую панель",
- "Export": "Экспорт",
- "Export to HTML": "Экспорт в HTML",
- "Export to Markdown": "Экспорт в Markdown",
+ "Delete Workspace": "Удалить рабочее пространство",
+ "Cancel": "Отмена",
+ "Collaboration": "Совместная работа",
+ "Collapse sidebar": "Свернуть боковую панель",
"Find 0 result": "Найдено 0 результатов",
"How is AFFiNE Alpha different?": "Чем отличается AFFiNE Alpha?",
"Import": "Импорт",
"Increase indent": "Увеличить отступ",
"Inline code": "Встроенный код",
- "Invite Members": "Пригласить участников",
"Italic": "Курсив",
- "Jump to": "Перейти к",
"Keyboard Shortcuts": "Горячие Клавиши",
"Loading": "Загрузка...",
"mobile device": "Похоже, вы просматриваете веб-страницы на мобильном устройстве.",
"login success": "Успешный вход в систему",
"Upload": "Загрузить",
"Text": "Текст (скоро)",
- "Settings": "Настройки",
- "Publish to web": "Опубликовать в интернете",
- "Publish": "Опубликовать",
"Pen": "Ручка (скоро)",
- "Paper": "Бумага",
"Page": "Страница",
- "Open in new tab": "Открыть в новой вкладке",
"Ooops!": "Упс!",
"Official Website": "Официальный Сайт",
- "New Page": "Новая страница",
- "Restart Install Client Update": "Перезапустите для установки обновления",
"Moved to Trash": "Перемещено в корзину",
"Markdown Syntax": "Markdown Синтаксис",
- "Access level": "Уровень доступа",
- "Favorites": "Избранное",
"Select": "Выбор",
"Shape": "Фигура",
- "Untitled": "Без названия",
"Sticky": "Стикер (скоро)",
"Connector": "Коннектор (скоро)",
"Redo": "Повторно выполнить",
"Undo": "Отменить",
- "Convert to ": "Конвертировать в",
- "Quick search": "Быстрый поиск",
- "Quick search placeholder": "Быстрый поиск...",
"Quick search placeholder2": "Поиск в {{workspace}}",
- "Trash": "Корзина",
"TrashButtonGroupDescription": "После удаления вы не сможете отменить это действие. Уверены?",
"TrashButtonGroupTitle": "Удалить навсегда",
- "emptyTrash": "Нажмите «Добавить в корзину», и страница появится здесь.",
"Body text": "Основной текст",
"Leave Workspace": "Выйти из рабочего пространства",
"Leave Workspace Description": "После выхода вы больше не сможете получить доступ к содержимому этого рабочего пространства.",
- "My Workspaces": "Мои рабочие пространства",
- "New Workspace": "Новое рабочее пространство",
- "Publishing Description": "После публикации в Интернете все смогут просматривать содержимое этого рабочего пространства по ссылке.",
"Sync Description": "{{workspaceName}} это локальное рабочее пространство. Все данные сохраняются на текущем устройстве. Вы можете включить AFFiNE Cloud для этого рабочего пространства, чтобы синхронизировать данные с облаком.",
"Tips": "Совет:",
- "Sync Description2": "<1>{{workspaceName}}</1> это облачное рабочее пространство. Все данные будут синхронизированы и сохранены в AFFiNE Cloud.",
+ "Paper": "Лист",
+ "Quick search": "Быстрый поиск",
+ "Quick search placeholder": "Быстрый поиск...",
+ "Favorites": "Избранное",
+ "Settings": "Настройки",
+ "Trash": "Корзина",
+ "New Page": "Новая страница",
+ "Open in new tab": "Открыть в новой вкладке",
+ "Untitled": "Без названия",
+ "Jump to": "Перейти к",
+ "Enable AFFiNE Cloud": "Включить AFFiNE Cloud",
+ "Enable": "Включить",
+ "Export": "Экспорт",
+ "Export to HTML": "Экспорт в HTML",
+ "Export to Markdown": "Экспорт в Markdown",
+ "My Workspaces": "Мои рабочие пространства",
+ "New Workspace": "Новое рабочее пространство",
+ "Invite Members": "Пригласить участников",
+ "Access level": "Уровень доступа",
+ "Publish": "Публикация",
+ "Publish to web": "Опубликовать в Интернете",
+ "Publishing Description": "После публикации в Интернете любой сможет просматривать содержимое этого рабочего пространства по ссылке.",
+ "Expand sidebar": "Развернуть боковую панель",
"emptyAllPages": "Это рабочее пространство пусто. Создайте новую страницу, чтобы начать редактирование.",
"Export Workspace": "Экспорт рабочего пространства <1>{{workspace}}</1> скоро будет доступен",
"Delete Workspace placeholder": "Пожалуйста, введите \"Delete\" для подтверждения",
"Delete Workspace Description": "Удаление (<1>{{workspace}}</1>) нельзя отменить, пожалуйста, действуйте с осторожностью. Все содержимое будет потеряно.",
"Delete Workspace Description2": "Удаление (<1>{{workspace}}</1>) приведет к удалению как локальных, так и облачных данных, эта операция не может быть отменена, пожалуйста действуйте с осторожностью.",
- "Enable AFFiNE Cloud Description": "Если этот параметр включен, данные в этом рабочем пространстве будут скопированы и синхронизированы с помощью AFFiNE Cloud.",
- "Once deleted, you can't undo this action": {
- "": "После удаления вы не сможете отменить это действие."
- },
+ "Once deleted, you can't undo this action": "После удаления вы не сможете отменить это действие.",
"Permanently deleted": "Удалено навсегда",
- "No item": "Нет элементов",
"New Keyword Page": "Новая '{{query}}' страница",
- "emptyFavorite": "Нажмите «Добавить в избранное», и страница появится здесь.",
"Restore it": "Восстановить",
- "Removed from Favorites": "Удалено из Избранного",
"Remove from favorites": "Удалить из Избранного",
- "Favorited": "В Избранном",
- "Favorite": "В Избранное",
- "AFFiNE Community": "Сообщество AFFiNE",
"Underline": "Подчеркнутый",
"Heading": "Заголовок {{number}}",
- "Title": "Заголовок",
"Strikethrough": "Перечеркнутый",
- "Created": "Создан",
"Divider": "Разделитель",
"Link": "Гиперссылка (с выделенным текстом)",
"will be moved to Trash": "{{title}} будет перемещен в Корзину",
@@ -150,45 +136,62 @@
"restored": "{{title}} восстановлен",
"recommendBrowser": "Мы рекомендуем <1>Chrome</1> браузер для наилучшего взаимодействия.",
"mobile device description": "Мы все еще работаем над поддержкой мобильных устройств и рекомендуем использовать настольное устройство.",
+ "AFFiNE Community": "Сообщество AFFiNE",
"all": "все",
"core": "основных",
- "Workspace Type": "Тип рабочего пространства",
"Workspace Settings": "Настройки рабочего пространства",
- "Workspace Name": "Имя рабочего пространства",
"Workspace Icon": "Иконка рабочего пространства",
- "Users": "Пользователи",
- "Updated": "Обновлено",
"Sync": "Синхронизация",
- "Stop publishing": "Остановить публикацию",
"Stay logged out": "Не выходить из системы",
"Skip": "Пропустить",
+ "Title": "Название",
+ "Favorite": "В Избранное",
"Sign in and Enable": "Войти и Включить",
- "Sign out": "Выйти из AFFiNE Cloud",
"Sign in": "Войти в AFFiNE Cloud",
+ "Favorited": "В Избранном",
"Shortcuts": "Ярлыки",
"Share with link": "Поделиться ссылкой",
"Set up an AFFiNE account to sync data": "Настройте учетную запись AFFiNE для синхронизации данных",
- "Restore it": "Восстановить",
+ "Removed from Favorites": "Удалено из Избранного",
+ "emptyFavorite": "Нажмите «Добавить в избранное», и страница появится здесь.",
+ "Updated": "Обновлено",
+ "Created": "Создано",
+ "No item": "Нет элементов",
+ "Workspace Name": "Имя рабочего пространства",
+ "Workspace Type": "Тип рабочего пространства",
+ "Sync Description2": "<1>{{workspaceName}}</1> это облачное рабочее пространство. Все данные будут синхронизированы и сохранены в AFFiNE Cloud.",
+ "Users": "Пользователи",
+ "Stop publishing": "Остановить публикацию",
+ "Sign out": "Выйти из AFFiNE Cloud",
"Reduce indent": "Уменьшить отступ",
"Got it": "Понятно",
"Get in touch!": "Связаться!",
- "General": "Общие",
"Find results": "Найдено {{number}} результатов",
"Edgeless": "Без полей",
- "Invite": "Пригласить",
"Download data": "Скачать {{CoreOrAll}} данные",
+ "Please make sure you are online": "Пожалуйста, убедитесь, что вы онлайн",
+ "Workspace Owner": "Владелец рабочего пространства",
+ "Convert to ": "Конвертировать в режим",
+ "Local Workspace": "Локальное рабочее пространство",
+ "General": "Общие",
+ "Invite": "Пригласить",
"Publishing": "Для публикации в интернете требуется сервис AFFiNE Cloud",
"Pending": "В ожидании",
"NotLoggedIn": "В настоящее время на авторизован",
"Non-Gmail": "Поддерживается только Gmail",
"Invite placeholder": "Поиск почты (поддерживается только Gmail)",
- "Workspace description": "Рабочее пространство - это ваше виртуальное пространство для фиксации, создания и планирования в одиночку или в команде. ",
"Leave": "Выйти",
"Force Sign Out": "Принудительный выход",
- "Local Workspace": "Локальное рабочее пространство",
"Download data Description1": "Это занимает больше места на вашем устройстве.",
"Enabled success": "Успешно",
- "Failed to publish workspace": "Не удалось опубликовать рабочее пространство",
"Download data Description2": "Это занимает мало места на вашем устройстве.",
- "Download core data": "Скачать основные данные"
+ "Download core data": "Скачать основные данные",
+ "Help and Feedback": "Помощь и обратная связь",
+ "Failed to publish workspace": "Не удалось опубликовать рабочее пространство",
+ "emptyTrash": "Нажмите «Добавить в корзину», и страница появится здесь.",
+ "Workspace Avatar": "Аватар рабочего пространства",
+ "Confirm": "Подтвердить",
+ "Export Description": "Вы можете экспортировать все данные рабочего пространства, потом эти данные можно повторно импортировать.",
+ "Move to Trash": "Переместить в корзину",
+ "Placeholder of delete workspace": "Пожалуйста, введите имя рабочего пространства для подтверждения"
}
diff --git a/packages/i18n/src/resources/zh-Hans.json b/packages/i18n/src/resources/zh-Hans.json
index fc329b9ee4..b0d0674104 100644
--- a/packages/i18n/src/resources/zh-Hans.json
+++ b/packages/i18n/src/resources/zh-Hans.json
@@ -6,9 +6,11 @@
"will delete member": "将删除成员",
"Download data Description1": "此操作会在你的设备上占用更多空间。",
"Download data Description2": "此操作会在你的设备上占用少许空间。",
- "It takes up more space on your device": {
- "": "此操作会在你的设备上占用更多空间。"
- },
+ "It takes up more space on your device": "此操作会在你的设备上占用更多空间。",
+ "Help and Feedback": "帮助与反馈",
+ "Remove from workspace": "从工作区移除",
+ "Retain cached cloud data": "保留缓存的云数据",
+ "Workspace Owner": "工作区所有者",
"Cloud Workspace": "云端工作区",
"Cloud Workspace Description": "所有数据将被同步并保存在AFFiNE账户(<1>{{email}}</1>)中",
"Copied link to clipboard": "复制链接到剪贴板",
@@ -25,6 +27,8 @@
"Download all data": "下载所有数据",
"Download core data": "下载核心数据",
"Edit": "编辑",
+ "Members": "成员",
+ "Please make sure you are online": "请确保你在线",
"Add to Favorites": "加入收藏",
"All pages": "全部页面",
"Cancel": "取消",
@@ -90,19 +94,15 @@
"Leave Workspace": "退出工作区",
"Leave Workspace Description": "退出后,您将无法再访问此工作区的内容。",
"Link": "超链接(选定文本)",
- "Move to Trash": "移到垃圾箱",
"Moved to Trash": "已移到垃圾箱",
"My Workspaces": "我的工作区",
"New Page": "新建页面",
- "Restart Install Client Update": "重启安装更新",
"New Workspace": "新建工作区",
"No item": "无项目",
"Non-Gmail": "不支持非Gmail邮箱",
"NotLoggedIn": "当前未登录",
"Official Website": "官网",
- "Once deleted, you can't undo this action": {
- "": "一旦删除,将无法撤销!"
- },
+ "Once deleted, you can't undo this action": "一旦删除,将无法撤销!",
"Ooops!": "啊哦!",
"Created": "已创建",
"Delete Workspace Description": "正在删除 (<1>{{workspace}}</1>) ,此操作无法撤销,所有内容将会丢失。",
@@ -171,7 +171,6 @@
"core": "核心",
"Sync Description": "{{workspaceName}}是本地工作区,所有数据都存储在当前设备上。您可以为此工作区启用AFFiNE Cloud,以使数据与云端保持同步。",
"Delete Workspace Description2": "正在删除(<1>{{workspace}}</1>),将同时删除本地和云端数据。此操作无法撤消,请谨慎操作。",
- "AFFiNE Cloud": "AFFiNE 云",
"Failed to publish workspace": "工作区发布失败",
"Local Workspace Description": "所有数据都本地存储在当前设备。您可以为此工作区启用AFFiNE Cloud,以保证数据时刻被云端同步。",
"Member": "成员",
@@ -179,11 +178,11 @@
"Owner": "所有者",
"Published to Web": "公开到互联网",
"Data sync mode": "数据同步模式",
- "Export AFFiNE backup file": "导出 AFFiNE 备份文件",
+ "Export AFFiNE backup file": "导出 AFFiNE 备份文件(即将到来)",
+ "AFFiNE Cloud": "AFFiNE 云服务",
"Export Description": "您可以导出整个工作区数据进行备份,导出的数据可以重新被导入。",
- "It takes up little space on your device": {
- "": "此操作会在你的设备上占用少许空间。"
- },
+ "It takes up little space on your device": "此操作会在你的设备上占用少许空间。",
+ "Add to favorites": "加入收藏",
"Retain local cached data": "保留本地缓存数据",
"Set a Workspace name": "设置工作区名字",
"Workspace Avatar": "工作区头像",
@@ -191,5 +190,16 @@
"Sign out description": "登出会导致未同步的内容丢失",
"Not now": "稍后再说",
"Saved then enable AFFiNE Cloud": "所有改动已保存在本地,点击启用 AFFiNE 云服务",
- "You cannot delete the last workspace": "你不能删除最后一个工作区"
+ "Check Our Docs": "查看我们的文档",
+ "Move to Trash": "移到垃圾箱",
+ "Add a subpage inside": "添加一个子页面",
+ "Discover what's new!": "发现最近更新!",
+ "Get in touch! Join our communities": "加入社区,保持联络!",
+ "Move page to": "将此页面移动...",
+ "Move to": "移动到",
+ "Pivots": "枢纽",
+ "Placeholder of delete workspace": "请输入工作区名字以确认",
+ "RFP": "页面可以从枢纽上被自由添加或删除,但仍然可以在“所有页面”中访问。",
+ "Remove from Pivots": "从枢纽中删除",
+ "Rename": "重命名"
}
diff --git a/packages/i18n/src/scripts/download.ts b/packages/i18n/src/scripts/download.ts
index 98b018b55e..07367f2fc4 100644
--- a/packages/i18n/src/scripts/download.ts
+++ b/packages/i18n/src/scripts/download.ts
@@ -68,7 +68,7 @@ const main = async () => {
);
const availableLanguages = languagesWithTranslations.filter(
- language => language.completeRate > 0.8
+ language => language.completeRate > 0.6
);
availableLanguages
diff --git a/tests/parallels/shortcuts.spec.ts b/tests/parallels/shortcuts.spec.ts
index b9ef1d0fe9..f2263ad427 100644
--- a/tests/parallels/shortcuts.spec.ts
+++ b/tests/parallels/shortcuts.spec.ts
@@ -16,5 +16,5 @@ test('Open shortcuts modal', async ({ page }) => {
await shortcutsIcon.click();
await page.waitForTimeout(1000);
const shortcutsModal = page.locator('[data-testid=shortcuts-modal]');
- await expect(shortcutsModal).toContainText('Keyboard Shortcuts');
+ await expect(shortcutsModal).toContainText('Keyboard shortcuts');
});