chore: Release v0.0.1-alpha.12 (#439)
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
name: 🌐 Internationalization (i18n)
|
||||
description: Contribute to or report issues with translations
|
||||
title: "[i18n]: "
|
||||
labels: ["i18n", "triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to contribute to our internationalization efforts!
|
||||
|
||||
Before proceeding, please check our [i18n Contribution Guidelines](https://github.com/RSSNext/Follow/blob/dev/wiki/contribute-i18n.md) for detailed instructions.
|
||||
- type: dropdown
|
||||
id: type
|
||||
attributes:
|
||||
label: Type of i18n contribution
|
||||
options:
|
||||
- New language support
|
||||
- Update existing translations
|
||||
- Report incorrect translation
|
||||
- Other i18n-related issue
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: language
|
||||
attributes:
|
||||
label: Language
|
||||
description: What language are you contributing to or reporting about?
|
||||
placeholder: e.g., Spanish, French, Japanese
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: Please provide details about your contribution or the issue you're reporting.
|
||||
placeholder: |
|
||||
For new languages: List any specific challenges or considerations.
|
||||
For updates: Describe what you're changing and why.
|
||||
For issues: Provide the incorrect translation and suggest a correction.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: Add any other context, screenshots, or file references here.
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com/code-of-conduct)
|
||||
options:
|
||||
- label: I agree to follow this project's Code of Conduct
|
||||
required: true
|
||||
Vendored
+3
-9
@@ -61,13 +61,7 @@
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"i18n-ally.enabledFrameworks": ["i18next"],
|
||||
"i18n-ally.displayLanguage": "en",
|
||||
"i18n-ally.localesPaths": [
|
||||
// "locales/app",
|
||||
// "locales/lang",
|
||||
// "locales/common",
|
||||
"locales/**/*"
|
||||
]
|
||||
// "i18n-ally.namespace": true,
|
||||
// "i18n-ally.pathMatcher": "{namespace}/{locale}.json",
|
||||
// "i18n-ally.defaultNamespace": "app",
|
||||
"i18n-ally.localesPaths": ["locales"],
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.pathMatcher": "{namespaces}/{locale}.json"
|
||||
}
|
||||
|
||||
+59
-1
@@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## [0.0.1-alpha.11](https://github.com/RSSNext/follow/compare/v0.0.1-alpha.3...v0.0.1-alpha.11) (2024-09-13)
|
||||
## [0.0.1-alpha.12](https://github.com/RSSNext/follow/compare/v0.0.1-alpha.3...v0.0.1-alpha.12) (2024-09-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
@@ -13,6 +13,7 @@
|
||||
* accent color ([918d85a](https://github.com/RSSNext/follow/commit/918d85a591cdfc8c6c12261004a6a463516eaf5c))
|
||||
* accept import opml ([39ecc82](https://github.com/RSSNext/follow/commit/39ecc82a8ceecd77139ffccb31a33904082a3d1b))
|
||||
* add app version on posthog ([9933463](https://github.com/RSSNext/follow/commit/99334639e28b2a2a17b9c3fdd64f0d6d37bdd181))
|
||||
* add bg when context menu trigger, fix [#389](https://github.com/RSSNext/follow/issues/389) ([53f3185](https://github.com/RSSNext/follow/commit/53f3185e7955d1a72912905d8565c5efb0a0bda0))
|
||||
* add copy image in electron, fix [#317](https://github.com/RSSNext/follow/issues/317) ([466e0b7](https://github.com/RSSNext/follow/commit/466e0b78ccc5df66ab11a1e71a800e70c9b34312))
|
||||
* add db index ([a888a78](https://github.com/RSSNext/follow/commit/a888a789e10ecd8b3fab713e859bfe9f56bfe0ad))
|
||||
* add download app fab ([0f8309b](https://github.com/RSSNext/follow/commit/0f8309b2031d53a17eb74ed36f2a0f504c54c431))
|
||||
@@ -20,6 +21,7 @@
|
||||
* add feed should validate feed id first ([767710d](https://github.com/RSSNext/follow/commit/767710deda41af1842179ef03f9b6b1b79208f9e))
|
||||
* add feed temp store use nonce ([6e36232](https://github.com/RSSNext/follow/commit/6e36232b41f1b6d877caf74e1ad7be50da716381))
|
||||
* add feed when site url not match ([1a2190c](https://github.com/RSSNext/follow/commit/1a2190c1aa834a33932788e65269a1128fd3a7e2))
|
||||
* add language selector loading lock map ([2d14c1e](https://github.com/RSSNext/follow/commit/2d14c1e5b5ad086b3556dd9a8862a6ce00368c4d))
|
||||
* add link ([d9168c0](https://github.com/RSSNext/follow/commit/d9168c01b3f2a16fbfeadb722173e819dd3feb80))
|
||||
* add nonce id for temp feed ([8f81d99](https://github.com/RSSNext/follow/commit/8f81d99f1dd48e60f9861d69c840c77fa70bde93))
|
||||
* add page error boundary ([86d366d](https://github.com/RSSNext/follow/commit/86d366db76add0ad07eb921290b9444b211e2c4f))
|
||||
@@ -49,9 +51,11 @@
|
||||
* ci env `NODE_OPTIONS` max-old-space-size ([b4f9b1b](https://github.com/RSSNext/follow/commit/b4f9b1b8ea326b1613ca291ed5bbcd932c5e837a))
|
||||
* **ci:** fetch all depth ([a504a12](https://github.com/RSSNext/follow/commit/a504a127bca93a6675b3ff02bcea0b1eca6e9707))
|
||||
* clean local async data ([ae26dd7](https://github.com/RSSNext/follow/commit/ae26dd7763fe32990086e76fa896ec09dec170cd))
|
||||
* config `__dirname` resolve ([f3f3cac](https://github.com/RSSNext/follow/commit/f3f3cac2b4ff0865f863b848397f0e27caa435b3))
|
||||
* context menu sub menu ([9352dd1](https://github.com/RSSNext/follow/commit/9352dd1a2a2d4d30c04cb41a22b95a0dda3eeb40))
|
||||
* copywrite ([8967d20](https://github.com/RSSNext/follow/commit/8967d20102bc1ad6f2f94b38909c7abfca6168d1))
|
||||
* corner player tooltip bg color ([16b91f9](https://github.com/RSSNext/follow/commit/16b91f9a7d3267f34f525c2e820efff6e1cbc049))
|
||||
* correct follower word ([#438](https://github.com/RSSNext/follow/issues/438)) ([e31e343](https://github.com/RSSNext/follow/commit/e31e3433dfdafcab2276f2794065af81ca1f75fe))
|
||||
* custom modal ([8d03308](https://github.com/RSSNext/follow/commit/8d03308091a57745489bb48617b7e11134bb89c3))
|
||||
* daily report animation ([ff16272](https://github.com/RSSNext/follow/commit/ff162722a927d3708f3d857626e6412ae35d3880))
|
||||
* daily report link title ([0a58159](https://github.com/RSSNext/follow/commit/0a58159acd4fbc12e970f745f27e6488904a99d9))
|
||||
@@ -82,10 +86,13 @@
|
||||
* entry column padding top and filter unread/read in tweet view ([d181771](https://github.com/RSSNext/follow/commit/d181771a7bf314cdb30f2fdd76294c5cded524ab))
|
||||
* entry item overlay flash ([687e039](https://github.com/RSSNext/follow/commit/687e039ca2ad43eed2b4b48a29df96595dcdbc0f))
|
||||
* entry preview modal content ([8492c2a](https://github.com/RSSNext/follow/commit/8492c2afb3af79726b9448359a63b432b04a3518))
|
||||
* entry read history more not showing on desktop ([0c6494b](https://github.com/RSSNext/follow/commit/0c6494b5682078fa1da1ea2e6f5d81aa436a5155))
|
||||
* entry view tracker params ([0c05a8b](https://github.com/RSSNext/follow/commit/0c05a8b88c1c385b7809f1ea9e3355f0d11e69dd))
|
||||
* exit full screen before hiding window ([#341](https://github.com/RSSNext/follow/issues/341)) ([bd5b08f](https://github.com/RSSNext/follow/commit/bd5b08f314ddaddb9b079b3d10b6928d28962df5))
|
||||
* **exteral:** edit or follow in web app when login ([0ccadf7](https://github.com/RSSNext/follow/commit/0ccadf762bf5c761115a485ab4e68be938c527e6))
|
||||
* **external-page:** feed list overlay style ([1dcffc6](https://github.com/RSSNext/follow/commit/1dcffc60d26596065bc024653d69a109a1941578))
|
||||
* extract constants ([f48b589](https://github.com/RSSNext/follow/commit/f48b58941344a4a5e547a402e02f56bb5f9f5abf))
|
||||
* fallback image overflow, fixed [#375](https://github.com/RSSNext/follow/issues/375) ([ae3d52c](https://github.com/RSSNext/follow/commit/ae3d52cb7c8756e6524ad6fa7f758bbc6cfb1578))
|
||||
* feed claim action ([4a814ee](https://github.com/RSSNext/follow/commit/4a814ee917ea47ab214dba33b879e24ff4bb3e97))
|
||||
* feed column animation direction ([0767b6b](https://github.com/RSSNext/follow/commit/0767b6b4db3a69f54d1fc2de11a883d9deec4445))
|
||||
* feed column height ([0d4c70d](https://github.com/RSSNext/follow/commit/0d4c70d06eda97316b360740b9aa8ef08e9539c3))
|
||||
@@ -98,28 +105,34 @@
|
||||
* feed list can switch view, fix [#278](https://github.com/RSSNext/follow/issues/278) ([76a33b6](https://github.com/RSSNext/follow/commit/76a33b6f905bac61f6390b01b13c6a43b94f535f))
|
||||
* feed list overflow ([4941cf7](https://github.com/RSSNext/follow/commit/4941cf7b93a751f585ab5032974fe6eb191f7968))
|
||||
* **feed-icon:** re-render loop ([b6f78bb](https://github.com/RSSNext/follow/commit/b6f78bbbf89b804fc4a0ad89b524f0a24673c19a))
|
||||
* fill relative url in entry title link, fix [#372](https://github.com/RSSNext/follow/issues/372) ([7c3aab6](https://github.com/RSSNext/follow/commit/7c3aab6f042a710aaa99d8fb7a774fce89af2b08))
|
||||
* fix the fixed misalignment when image is empty and name is also empty ([#179](https://github.com/RSSNext/follow/issues/179)) ([f6b62c8](https://github.com/RSSNext/follow/commit/f6b62c8ce0908772c394d653857197c9302e332b))
|
||||
* flat ([6bada5e](https://github.com/RSSNext/follow/commit/6bada5e986ff77ef5de42d18734ea92f872ca818))
|
||||
* font name duplicated if installed default font ([1efdd40](https://github.com/RSSNext/follow/commit/1efdd40f99cb1ad52f048bd53648f32b4cfbbae8))
|
||||
* format time locale fallback ([6b1009e](https://github.com/RSSNext/follow/commit/6b1009ecfde47d68859a202a2be8a1cde901f2fc))
|
||||
* gird item text and icon align center ([eabd59c](https://github.com/RSSNext/follow/commit/eabd59cf1feb774759279832005fcd0e26aa7bb6))
|
||||
* gird mode skeleton ([0a7f648](https://github.com/RSSNext/follow/commit/0a7f6488c176ee059f7c87f3c51e0234c85c1d4c))
|
||||
* group header extra action button for wider mode ([213b4a5](https://github.com/RSSNext/follow/commit/213b4a5864c78716648b2319f5d6f0dfcb531e3a))
|
||||
* grouped list data item render ([da486bc](https://github.com/RSSNext/follow/commit/da486bce3eeafc84aeb3e560ff368c41771688cf))
|
||||
* handle empty title in entry translation ([#362](https://github.com/RSSNext/follow/issues/362)) ([a2457a7](https://github.com/RSSNext/follow/commit/a2457a7789aff5928714cbe55e3e7863bb51719b))
|
||||
* handle render error in code block ([8511a79](https://github.com/RSSNext/follow/commit/8511a7909237dd22ccd9f373a0f77a0355ff45ac))
|
||||
* header icon size ([aff559a](https://github.com/RSSNext/follow/commit/aff559a9ddd2a3a5c9235c8e5b0ab521a73d5db0))
|
||||
* header layout action button initial flash ([6758793](https://github.com/RSSNext/follow/commit/6758793a3ed1b5ac2ca74d17ef9828f9cd6b8817))
|
||||
* hide entry read history, fixed [#278](https://github.com/RSSNext/follow/issues/278) ([a73b4ab](https://github.com/RSSNext/follow/commit/a73b4abe2212b5ba969770358d8db7306b6ad4e6))
|
||||
* hide peek modal toc ([9c66b33](https://github.com/RSSNext/follow/commit/9c66b33887126287d9f6f5a39f85f76818e28f1f))
|
||||
* hide tip when feed owned by me ([dfb3c6d](https://github.com/RSSNext/follow/commit/dfb3c6d377041f524c9da80c03639e6fea304202))
|
||||
* i18n dispatcher ([c038c79](https://github.com/RSSNext/follow/commit/c038c791af14418ee641af08e689a619b99a1735))
|
||||
* **i18n:** dup key ([d90964e](https://github.com/RSSNext/follow/commit/d90964ea9e32d5d7b162d6d7525df213ac732e12))
|
||||
* icon button transition ([596538b](https://github.com/RSSNext/follow/commit/596538ba10b6b70d12ccc4efdd9f206d9ba11817))
|
||||
* icon fallback line height ([02cd98d](https://github.com/RSSNext/follow/commit/02cd98d9cc9c09006a91277a5b976d753054738d))
|
||||
* image url replacement ([8e75a8c](https://github.com/RSSNext/follow/commit/8e75a8cc6931b354e3206ea22917842c991d4c45))
|
||||
* improve code block parser ([e72cb2d](https://github.com/RSSNext/follow/commit/e72cb2df3f1f5cd314feeb4a9bcc20e30204bca5))
|
||||
* incorrect tooltip in read history ([#385](https://github.com/RSSNext/follow/issues/385)) ([cabe210](https://github.com/RSSNext/follow/commit/cabe210aaf8f4a1133fa653532874fa86d02c252))
|
||||
* inline table style ([5837bd4](https://github.com/RSSNext/follow/commit/5837bd4089b59855d0b583aed5d0e97fce04e094))
|
||||
* intelligence ([8b889d1](https://github.com/RSSNext/follow/commit/8b889d1307186d07c4672879d77f77e1d8fead7b))
|
||||
* invitation code wrap ([4b48202](https://github.com/RSSNext/follow/commit/4b48202ea70ed80b858312d35cf04d1d66515865))
|
||||
* invitation page error display area ([5915357](https://github.com/RSSNext/follow/commit/59153573d8a5d368adfe41b0f5cebc4d6d44a9f3))
|
||||
* **item:** center content if no desc ([18e26a4](https://github.com/RSSNext/follow/commit/18e26a41c3cf80316bc97c44a1239e6ec45c5db9))
|
||||
* kbd cls and set home scope in shortcuts guideline ([d9999a3](https://github.com/RSSNext/follow/commit/d9999a3fc6cfeae0f3b45b6390cf79d9135566b7))
|
||||
* link underline style when selected ([781b120](https://github.com/RSSNext/follow/commit/781b1200f8eae3f61b39dc53151c5a688fa36d1b))
|
||||
* lint ([ef0d80d](https://github.com/RSSNext/follow/commit/ef0d80d8546c804b1b52c58fca7640d2f541188a))
|
||||
@@ -154,10 +167,12 @@
|
||||
* preview image and video size ([e4e4700](https://github.com/RSSNext/follow/commit/e4e47006ee55aa59db5fdb76f565a5ec929f3d95))
|
||||
* preview image fallback ([7410ca2](https://github.com/RSSNext/follow/commit/7410ca229afdb6fafb01f5ebe370d01dc33a4500))
|
||||
* preview image size ([af474c1](https://github.com/RSSNext/follow/commit/af474c1592b5cf92c114936ccb3e6686ea737e37))
|
||||
* previous feed should not be preserved when switching feeds ([f1a2ecb](https://github.com/RSSNext/follow/commit/f1a2ecb7d2e517d45ca75dd6371f3570787f5c5f))
|
||||
* profile fields are not updated after modifying the profile ([#291](https://github.com/RSSNext/follow/issues/291)) ([b765349](https://github.com/RSSNext/follow/commit/b7653494b7fd6c69572d94aeeb2ee5bf15145658))
|
||||
* profile header transform when scroll up/down ([c0683ee](https://github.com/RSSNext/follow/commit/c0683eee6def2b835e79dab9eea37cb4567f02b7))
|
||||
* prose max widht ([2bd5b45](https://github.com/RSSNext/follow/commit/2bd5b45e6bb4cc127dd07aa073d3b83c0a8bee82))
|
||||
* provide a default ctx value for modal ([38ab5bf](https://github.com/RSSNext/follow/commit/38ab5bffafad32f97ac11a743a35be0a6012403d))
|
||||
* read history always show ([#413](https://github.com/RSSNext/follow/issues/413)) ([c3675b2](https://github.com/RSSNext/follow/commit/c3675b25886ddd33f232f0c146208cb8f42c0b36))
|
||||
* read history delay to polling ([f6f8ec8](https://github.com/RSSNext/follow/commit/f6f8ec84dbb0e86b2d5a109088a1759b62c17dec))
|
||||
* read history style in wide mode ([07ca5ea](https://github.com/RSSNext/follow/commit/07ca5ea22ea6675d08c5df72389733361c4789bb))
|
||||
* reduce Electron framework size ([#217](https://github.com/RSSNext/follow/issues/217)) ([34d5dd2](https://github.com/RSSNext/follow/commit/34d5dd228e6986ff8a15310dd9d5f8ed51933de6))
|
||||
@@ -180,20 +195,26 @@
|
||||
* set selector width as a fixed value ([eb2a845](https://github.com/RSSNext/follow/commit/eb2a84520df503ca4f36955b9d1b312d086fe75a))
|
||||
* setting align ([b0e86b0](https://github.com/RSSNext/follow/commit/b0e86b08d51deb3d62a96ce93c78bc5b7683e259))
|
||||
* setting item support props ([0d60da6](https://github.com/RSSNext/follow/commit/0d60da61cbd3bcec0544a4f328fc45dd065a004d))
|
||||
* setting sidebar icon size ([dd7042e](https://github.com/RSSNext/follow/commit/dd7042e462f68184566ddf7cc561072066705379))
|
||||
* setting wallet style update ([a4f155a](https://github.com/RSSNext/follow/commit/a4f155a7174b802e310baaeb2e8ed14d2f5735b2))
|
||||
* shadow dom font and colors variants ([0355d4f](https://github.com/RSSNext/follow/commit/0355d4fb6bf5e57a1b22bb25d51f7e2c0fbe483a))
|
||||
* shadow dom font default ([dcb62a5](https://github.com/RSSNext/follow/commit/dcb62a56cbfa47fc6dd58711f019de8511fa7e6c))
|
||||
* shadow dom style injected in prod build ([3f1c588](https://github.com/RSSNext/follow/commit/3f1c5881287ce11217766d876cded7635e1bb2b6))
|
||||
* shadow dom style injection in prod ([#270](https://github.com/RSSNext/follow/issues/270)) ([c05d95d](https://github.com/RSSNext/follow/commit/c05d95d495393f1957de609c1ba4de5e707b5a81))
|
||||
* shiki block style ([75908d4](https://github.com/RSSNext/follow/commit/75908d4a6f43847539accd4bad876983902bd5d8))
|
||||
* shortcut modal overlay and id ([c210dc9](https://github.com/RSSNext/follow/commit/c210dc900eda2b30e05a9a5434f06810c1a6cd14))
|
||||
* shortcuts kbd shake ([#433](https://github.com/RSSNext/follow/issues/433)) ([7e8f462](https://github.com/RSSNext/follow/commit/7e8f462424e6b2b98b316c9814610034db93f8c9))
|
||||
* should dismiss when outside (quick new panel) ([675ac84](https://github.com/RSSNext/follow/commit/675ac845d4b9d7c6a71b7891440d2860ca34f0a4))
|
||||
* show add feed error message ([7763129](https://github.com/RSSNext/follow/commit/77631299438b4fe6b575a9de5881cebfea6e4ba4))
|
||||
* show episode cover for podcast ([#315](https://github.com/RSSNext/follow/issues/315)) ([4ef7f8c](https://github.com/RSSNext/follow/commit/4ef7f8cbd38dd0a148c053e5ee0468e282efe5fb))
|
||||
* show filtered button only if no next page ([6fb46e7](https://github.com/RSSNext/follow/commit/6fb46e7887409f735df99f7aa08cd0ef61976981))
|
||||
* show owned feed icon ([f29e09c](https://github.com/RSSNext/follow/commit/f29e09c15ab16e9b48d412d628caf196d686eaa2))
|
||||
* sidebar layout browser wrong calculation ([e2df38f](https://github.com/RSSNext/follow/commit/e2df38f57e101fea85ce3377a8937b336ef46656))
|
||||
* slot icon in action button group ([79b26a0](https://github.com/RSSNext/follow/commit/79b26a0748f9e4f2eeac1726c7602b0a894ced24))
|
||||
* social media feed icon style ([841f445](https://github.com/RSSNext/follow/commit/841f445403aef7acc01e30345be963257eea5e14))
|
||||
* social media typesetting ([664b70d](https://github.com/RSSNext/follow/commit/664b70d00871ed7f3a3f327bff8aca24c7b4a9a5))
|
||||
* social media typography ([5d27d29](https://github.com/RSSNext/follow/commit/5d27d29e4bd2791248d6a907a889a4907f0e0d20))
|
||||
* sort by preferred title, fix [#390](https://github.com/RSSNext/follow/issues/390) ([cc25c67](https://github.com/RSSNext/follow/commit/cc25c6785e98f7a200904bdac2b36ff03cf358dd))
|
||||
* sort shortcut ([1f8e4a3](https://github.com/RSSNext/follow/commit/1f8e4a3b966891787f05d9b6d0ec0fe327260e49))
|
||||
* stable mark all feed list, fixed [#245](https://github.com/RSSNext/follow/issues/245) ([c9d098f](https://github.com/RSSNext/follow/commit/c9d098f4e9bc5d3e3ca5bd026f1947adf6dbcca7))
|
||||
* stable shadow dom key ([06cafb5](https://github.com/RSSNext/follow/commit/06cafb50d8490a29856c27d9344b76090e9f81af))
|
||||
@@ -228,11 +249,13 @@
|
||||
* type error ([c7f11f9](https://github.com/RSSNext/follow/commit/c7f11f99f28bf918aaf8c03b74145b2f9b126a72))
|
||||
* type error ([5cd41ad](https://github.com/RSSNext/follow/commit/5cd41ad10ccbd241083d6f951509eb0bafe6e25f))
|
||||
* type error ([60f8347](https://github.com/RSSNext/follow/commit/60f8347eec118176681a9ad7fcab7f45e383fc1b))
|
||||
* types ([a116dd4](https://github.com/RSSNext/follow/commit/a116dd4018f90886239f7583cbc82b511ff2a902))
|
||||
* types ([3c5b224](https://github.com/RSSNext/follow/commit/3c5b224904e8db1c8ba6b78cfb87d09cd81de98c))
|
||||
* types ([7f5bb1e](https://github.com/RSSNext/follow/commit/7f5bb1e9343243f5259f9fde8ee3ac44bf993913))
|
||||
* types ([4287b5d](https://github.com/RSSNext/follow/commit/4287b5d986e74fbb2f96c2f322f09f921f773d7a))
|
||||
* types ([d9458a1](https://github.com/RSSNext/follow/commit/d9458a1850b3e83e9bbb9374d4fc3b6884a24837))
|
||||
* typing ([a386fd6](https://github.com/RSSNext/follow/commit/a386fd6e97fb98c42b3eedf156c5b167ff67bd34))
|
||||
* typo ([deb96c5](https://github.com/RSSNext/follow/commit/deb96c538258c939c60762c723d58955899031cf))
|
||||
* undo kbd color in dark mode ([2a106ae](https://github.com/RSSNext/follow/commit/2a106ae632e0641d58d0d45b88f61a1c5c6eafa5))
|
||||
* unfollow ([613fdf8](https://github.com/RSSNext/follow/commit/613fdf85b7dc7148f4ade612805f9f3bd98f2268))
|
||||
* unify date item mark read styles ([9f5cbab](https://github.com/RSSNext/follow/commit/9f5cbabfafc905046258ceb5fe2c0bdd6993b830))
|
||||
@@ -249,9 +272,11 @@
|
||||
* user button color in dark mode ([04e3c38](https://github.com/RSSNext/follow/commit/04e3c386c5699e6b0907de2a98701668fc7f278b))
|
||||
* user modal list padding ([992ea15](https://github.com/RSSNext/follow/commit/992ea1594af02e3815adae2fe99de4f205543239))
|
||||
* user profile can not scroll by scrollbar ([eac1965](https://github.com/RSSNext/follow/commit/eac1965cfc3d2bc86e11f256237322f15892b897))
|
||||
* userActions in feed store ([8da4fb7](https://github.com/RSSNext/follow/commit/8da4fb71d9cc14832bc985cf8c1bd6f04dbe4e4c))
|
||||
* video preview ([e38820c](https://github.com/RSSNext/follow/commit/e38820c1aa2294f45e05d331bf4bce0e4d8efb44))
|
||||
* view icon color in dark mode ([991bff7](https://github.com/RSSNext/follow/commit/991bff7660e93b872f1398c89c0fe4316f4327d9))
|
||||
* virtuosoitem height zero issue ([3c5c7ba](https://github.com/RSSNext/follow/commit/3c5c7babc9b3f83ef89ef1007f25d7b3ccb8f6a1))
|
||||
* wait language load then switch to target language ([bbe4ea6](https://github.com/RSSNext/follow/commit/bbe4ea66e75a8911e9ef39764d02d22251ba743e))
|
||||
* wallet table latyout ([6c60dd2](https://github.com/RSSNext/follow/commit/6c60dd265245d08d622c59d035d2124285ff68f1))
|
||||
* **wallet:** add missing space between words in wallet ([#279](https://github.com/RSSNext/follow/issues/279)) ([6873d21](https://github.com/RSSNext/follow/commit/6873d21e267fda102b13bc2a4e52de9bd7eea206))
|
||||
* window titlebar position, fixed [#197](https://github.com/RSSNext/follow/issues/197) ([b6158ec](https://github.com/RSSNext/follow/commit/b6158ec0bd1e18aed29d028f2ff86008489c8a64))
|
||||
@@ -260,6 +285,8 @@
|
||||
* windows maximize will lost frame and background material ([2bd0e78](https://github.com/RSSNext/follow/commit/2bd0e78e4f859d9c98f53f748c9871a41348db1c))
|
||||
* windows multi-display ([7490cd1](https://github.com/RSSNext/follow/commit/7490cd12d0e42a7f41931acd9d77bf64be39a26d))
|
||||
* wrong text wrap ([#316](https://github.com/RSSNext/follow/issues/316)) ([0cee7ef](https://github.com/RSSNext/follow/commit/0cee7eff25ed1058b108f1c7a9c643ea17b479c0))
|
||||
* wtf, cursor deleted my code ([1852d1e](https://github.com/RSSNext/follow/commit/1852d1ee812567c473ff26d316b93d1ccf8e8a88))
|
||||
* zero tipUsers ([7f994d7](https://github.com/RSSNext/follow/commit/7f994d7a21080468cb07908b4b8fc694ebfeba37))
|
||||
|
||||
|
||||
### Features
|
||||
@@ -275,18 +302,23 @@
|
||||
* add guess code lang option ([cbd8a72](https://github.com/RSSNext/follow/commit/cbd8a722b2940c4ad9092bfe4e08f850b8bc7c5d))
|
||||
* add i18n detector ([7eb8a32](https://github.com/RSSNext/follow/commit/7eb8a322c78c7e075ed842036971e9aa5f094341))
|
||||
* add link parser for audio timestamp navigate ([1478fa5](https://github.com/RSSNext/follow/commit/1478fa5a9343384f45a57431d029480a96b8441c))
|
||||
* add manual setting lang lock keyu ([b9c6a8b](https://github.com/RSSNext/follow/commit/b9c6a8b58099c86a178494ffe4c875f7c31760a3))
|
||||
* add og image, fixed [#242](https://github.com/RSSNext/follow/issues/242) ([5d4e958](https://github.com/RSSNext/follow/commit/5d4e9586569e4afe212138d2001ed9007ce9950b))
|
||||
* add player download src ([fc50751](https://github.com/RSSNext/follow/commit/fc5075139f2f82a66c703349a719927c35b11b09))
|
||||
* add preview image bottom indicator ([bbc1591](https://github.com/RSSNext/follow/commit/bbc15913e8a1afd148c4c70a8056c64d46587791))
|
||||
* add readability action rules ([5e8fb17](https://github.com/RSSNext/follow/commit/5e8fb17f4a849abd755d92d32d3e5e1a76a2d2ab))
|
||||
* add reason debug for response error toast ([7d4260a](https://github.com/RSSNext/follow/commit/7d4260a614e678ae40c04630840e870db1298830))
|
||||
* add setting user profile avatar preview ([2412d59](https://github.com/RSSNext/follow/commit/2412d59e3e91b327af102cc9f006e1022fa3b69e))
|
||||
* add show all when filtered media mode ([38c21da](https://github.com/RSSNext/follow/commit/38c21dae11b84d1cb493078f999c7dac9b72d348))
|
||||
* add theme in user dropmemu ([f254e14](https://github.com/RSSNext/follow/commit/f254e144ed6172f11250f3fd9bcbca3fbfc02add))
|
||||
* add tts ([#215](https://github.com/RSSNext/follow/issues/215)) ([b9fecc4](https://github.com/RSSNext/follow/commit/b9fecc46bf523a0ad07a9a9dc26adf40287f7653))
|
||||
* add view feed url on exteral feed url ([0a61fa3](https://github.com/RSSNext/follow/commit/0a61fa37c3df29b686c937f802202534ba79d602))
|
||||
* ai daily in article content column ([a625d04](https://github.com/RSSNext/follow/commit/a625d04328ea209ead68ce0391a7108cbb2c4e6a))
|
||||
* ai daily modal ([67d9559](https://github.com/RSSNext/follow/commit/67d9559229baca34aa3328ba711d0e29def5bb8e))
|
||||
* apm ([602f50a](https://github.com/RSSNext/follow/commit/602f50aa1a2b1ad9559ae22c92c599907df0b8cc))
|
||||
* auto claim daily `POWER`, and update table style ([ca381ce](https://github.com/RSSNext/follow/commit/ca381cebf81cc745e56fe35811004d89b55609ba))
|
||||
* auto enable readability if no content ([27ecfc4](https://github.com/RSSNext/follow/commit/27ecfc4a86f3e35f245c1bca2d1dba57ff7364f2))
|
||||
* cache i18n resource to speed up loading time ([b3748cc](https://github.com/RSSNext/follow/commit/b3748ccfe07964c0b7c45f6e29a8225883d1dfa4))
|
||||
* cache tips for feed claim ([b307553](https://github.com/RSSNext/follow/commit/b3075535d67438cd78ffbe8209da216d8a57f433))
|
||||
* cancel hover read when mouse leave quickly ([c5d5fc2](https://github.com/RSSNext/follow/commit/c5d5fc23193ad5faa30903113f1df1056c508fc4))
|
||||
* clear autocompletion ([1118870](https://github.com/RSSNext/follow/commit/1118870c9e288d868b7a98fb085da1915043101d))
|
||||
@@ -297,11 +329,17 @@
|
||||
* custom feed title ([#300](https://github.com/RSSNext/follow/issues/300)) ([501e2f4](https://github.com/RSSNext/follow/commit/501e2f44c1d3eb9a1a316549faedb2e1288f7fbe))
|
||||
* date item in entry column ([#199](https://github.com/RSSNext/follow/issues/199)) ([9d5a811](https://github.com/RSSNext/follow/commit/9d5a81112e873f5b422356fa0b3fcf526abb84e5))
|
||||
* dayjs locale ([6ed0a3b](https://github.com/RSSNext/follow/commit/6ed0a3bf3a937a95985c98bb24c4bc23f6b776de))
|
||||
* display a tip button and tip users at the bottom of the entry content. ([971f81d](https://github.com/RSSNext/follow/commit/971f81d25d5745748884dcc96a1a072aee3d3dbb))
|
||||
* display claimed feed list in settings ([d9ae277](https://github.com/RSSNext/follow/commit/d9ae277cfa861c4e558542820896bde821341dc4))
|
||||
* display feed certification in discover result ([425b8c3](https://github.com/RSSNext/follow/commit/425b8c3003b552215350d534640e18512e9d819b))
|
||||
* display power purchase and tx ([dbe7aee](https://github.com/RSSNext/follow/commit/dbe7aee9151ee04147edbce7d34e1275edfc1254))
|
||||
* double click to video fullscreen ([c066820](https://github.com/RSSNext/follow/commit/c066820ce8baeed808b788e9c780f75c53ba8909))
|
||||
* dynamic update relative time ([744422f](https://github.com/RSSNext/follow/commit/744422fc12050e09d3cb147c2affe5e95af2056b))
|
||||
* electron about redirect to app setting about, and add some other action ([159a11d](https://github.com/RSSNext/follow/commit/159a11da67affde5dcd220ed4ea192d34d0c0884))
|
||||
* entry preview modal ([3981995](https://github.com/RSSNext/follow/commit/3981995a248680844cdd5a1f7663135863f4ef5f))
|
||||
* expand entry read history ([#377](https://github.com/RSSNext/follow/issues/377)) ([e7f923a](https://github.com/RSSNext/follow/commit/e7f923a0a08e5a4c7e13ff8dd76820f1b4265f25))
|
||||
* external page i18n ([8d8aa09](https://github.com/RSSNext/follow/commit/8d8aa09230eb5ddd55dffe074b20c9ed81e84a99))
|
||||
* extract i18n text ([8454691](https://github.com/RSSNext/follow/commit/8454691e221d2f8544b2b741dbaeaf95303abc51))
|
||||
* fade in when image loaded ([8ba0498](https://github.com/RSSNext/follow/commit/8ba0498b5ca408e713db8e9fb186276537581f45))
|
||||
* feed action add mark all as read ([7b72ef2](https://github.com/RSSNext/follow/commit/7b72ef211b962fc112647a34b10b815cf1b611ae))
|
||||
* feed claim indicator ([85d8e22](https://github.com/RSSNext/follow/commit/85d8e226fbc7abe56d135cbf3afb2beffe076f13))
|
||||
@@ -310,16 +348,28 @@
|
||||
* follow feed by feed id ([30d1851](https://github.com/RSSNext/follow/commit/30d1851e3aefcc2da06981537627ccd415bb082c))
|
||||
* guess code language ([03ba85a](https://github.com/RSSNext/follow/commit/03ba85a37302d41f3403d629849b1b4d3db915ba))
|
||||
* hoverable translation design, fixes [#268](https://github.com/RSSNext/follow/issues/268) ([3ff11dc](https://github.com/RSSNext/follow/commit/3ff11dce35061de2b784621519eee79f87a93993))
|
||||
* i18n for user profile ([d81c2b5](https://github.com/RSSNext/follow/commit/d81c2b5791fcf1284809b68dd68b4067581cdb44))
|
||||
* i18n generator ([d20ef05](https://github.com/RSSNext/follow/commit/d20ef05794dd6872cf553c11948172655275818a))
|
||||
* **i18n:** add French language support ([#409](https://github.com/RSSNext/follow/issues/409)) ([4197824](https://github.com/RSSNext/follow/commit/4197824a25f6b77a5d1f22489b6d9c76587eb392))
|
||||
* **i18n:** add Japanese language support ([#404](https://github.com/RSSNext/follow/issues/404)) ([6a8b243](https://github.com/RSSNext/follow/commit/6a8b243c3338a7c866383afb9e4ff845d7d2389a))
|
||||
* **i18n:** add Portuguese language support ([#406](https://github.com/RSSNext/follow/issues/406)) ([d624c43](https://github.com/RSSNext/follow/commit/d624c43d1b9efabd927db4ff9af79afe009cf9a0))
|
||||
* **i18n:** add zh-CN i18n for external page ([#399](https://github.com/RSSNext/follow/issues/399)) ([49a5c50](https://github.com/RSSNext/follow/commit/49a5c50236d51c3c728bb51cd19f34915291e59a))
|
||||
* **i18n:** fill out and optimized partial Chinese translations ([#431](https://github.com/RSSNext/follow/issues/431)) ([5f87190](https://github.com/RSSNext/follow/commit/5f87190f018fea7f34c3ccbfad081fd8b855f5b8))
|
||||
* **i18n:** improve zh-CN ([#410](https://github.com/RSSNext/follow/issues/410)) ([0b0304e](https://github.com/RSSNext/follow/commit/0b0304eaa1dfa8396e78612a9a6a50653ce9669e))
|
||||
* **i18n:** Simplified Chinese (partial) ([#353](https://github.com/RSSNext/follow/issues/353)) ([140d01a](https://github.com/RSSNext/follow/commit/140d01a521a472b56f420585f57b577727dee996))
|
||||
* ignore feed errors within 9 hours ([b71926e](https://github.com/RSSNext/follow/commit/b71926ec286b77dd1b9fc25df459176063b194da))
|
||||
* impl cmd+b ([ea8a832](https://github.com/RSSNext/follow/commit/ea8a83271e9be37c277540eb605651d7166d2ea4))
|
||||
* impl masonry in view mark read and scroll to mark read ([4263658](https://github.com/RSSNext/follow/commit/4263658e3240850ca74fcaa666bf8145553f8874))
|
||||
* improve shiki code block renderer and show language ([590d9cb](https://github.com/RSSNext/follow/commit/590d9cbb94a63f843d00bf54848bba40157d2452))
|
||||
* integration settings page ([f9f1938](https://github.com/RSSNext/follow/commit/f9f19386b28e853eb03b3ca5bae629d4f6542cb3))
|
||||
* invitation limitation message ([fa37a0c](https://github.com/RSSNext/follow/commit/fa37a0ca2c8235fb5fd47f96c26de7fdcd762ad8))
|
||||
* invitations page ([0fc1110](https://github.com/RSSNext/follow/commit/0fc1110e3b1e067a02a65ba7afe5b1456bb76815))
|
||||
* invitations page tips ([18de381](https://github.com/RSSNext/follow/commit/18de381343d58f19a36fa6e681711fe06c07b1c1))
|
||||
* invitations tips and confirm modal ([c919e59](https://github.com/RSSNext/follow/commit/c919e5907bae4303b667d6cff39c19ebbf6a4dc6))
|
||||
* kbd and shoutcuts modal ([4fcacbf](https://github.com/RSSNext/follow/commit/4fcacbfd66affbe0bbd9c0fbf02dfe135adf2994))
|
||||
* kbd interactive when user keydown ([b0bf5a1](https://github.com/RSSNext/follow/commit/b0bf5a1438fbf1feb67c655b41b5bdf26a7b0537))
|
||||
* **kbd:** simulate key press ([db2cd99](https://github.com/RSSNext/follow/commit/db2cd99f7135cef3d43483cd6e6aa91d7faa7280))
|
||||
* language indicator ([bf7da04](https://github.com/RSSNext/follow/commit/bf7da0431fdffc45cf0136b9e5709bb1952f1036))
|
||||
* larger text for date item ([c1ea43f](https://github.com/RSSNext/follow/commit/c1ea43fee280bf539d61b1f3c439a7031cf4ed3e))
|
||||
* lighter unread number ([e7dba4f](https://github.com/RSSNext/follow/commit/e7dba4f18e8a078889e7923d1760cb08c29873fc))
|
||||
* load archived entries ([d7f4bb6](https://github.com/RSSNext/follow/commit/d7f4bb6b9f388849565a7d8fc21d2eafc0610d08))
|
||||
@@ -332,6 +382,7 @@
|
||||
* mark read for cateogry in ctx menu ([da79f1c](https://github.com/RSSNext/follow/commit/da79f1c2783fa65f164aaf4942ebfa2156b4bf26))
|
||||
* markdown heading render ([f3ac1ac](https://github.com/RSSNext/follow/commit/f3ac1ac3c6e2c36203288921f0ea8c3635eec539))
|
||||
* modal resize and draggable to absolute position ([aad5eba](https://github.com/RSSNext/follow/commit/aad5eba2edb66039d123e9e60e484b55d9a037df))
|
||||
* more i18n text ([6f8acce](https://github.com/RSSNext/follow/commit/6f8acced7bc51d2bb22325506e1c9bc97ee963f7))
|
||||
* navigator bar ([56750fd](https://github.com/RSSNext/follow/commit/56750fd1722eaca7416e5c8617fb501fcf055cac))
|
||||
* new design for mark read in date item ([e5b0583](https://github.com/RSSNext/follow/commit/e5b0583d38e41d81663bec1ee16e0c24cb385d7a))
|
||||
* new platform icons ([7513130](https://github.com/RSSNext/follow/commit/7513130c17c501f3e2d7c29fc13e2315edb4dc8c))
|
||||
@@ -339,6 +390,7 @@
|
||||
* no media available tip in picture item ([1d4fca4](https://github.com/RSSNext/follow/commit/1d4fca4e7d0e7c6f02f1ac775f36079ef5ce1129))
|
||||
* no media available tip in picture item ([58d9b3b](https://github.com/RSSNext/follow/commit/58d9b3b1b09f52def911521c08d9835f31221401))
|
||||
* only closing window can trigger query invalidation ([a8e48f4](https://github.com/RSSNext/follow/commit/a8e48f493127104035e9537e0461c4a40e2dc339))
|
||||
* only show has media entry item in picture view ([f7dedf2](https://github.com/RSSNext/follow/commit/f7dedf2b27f2597a49e9381af5581b6d0550421b))
|
||||
* optimize 404 page ([f51b1e2](https://github.com/RSSNext/follow/commit/f51b1e2de9e8d8c3bdea9db79476c17cd7247a4b))
|
||||
* optimize daily report and report modal for social media ([252962c](https://github.com/RSSNext/follow/commit/252962c188e29293f4b6baca2e99568a064f79f4))
|
||||
* optimize the style of the profile to maximize the presentation of the content ([96769fb](https://github.com/RSSNext/follow/commit/96769fbe49eb68ea09f1307ac27d0c0d904d0abf))
|
||||
@@ -346,6 +398,7 @@
|
||||
* path parser v8 ([5be2e9a](https://github.com/RSSNext/follow/commit/5be2e9aad4309ba5d63451460d674e233981f6e3))
|
||||
* pictures masonry ([#212](https://github.com/RSSNext/follow/issues/212)) ([3f9533a](https://github.com/RSSNext/follow/commit/3f9533aa3a4470b6d705eda15ed988dc0686858a))
|
||||
* preview social media ai daily ([0252bc0](https://github.com/RSSNext/follow/commit/0252bc022306123973ffd27b1cb211aadffae052))
|
||||
* prompt the full categories when editing the feed ([#392](https://github.com/RSSNext/follow/issues/392)) ([d5ce474](https://github.com/RSSNext/follow/commit/d5ce4744fe28c5d4d05844af6fe344fdf7849424))
|
||||
* read clipboard ([e115b6d](https://github.com/RSSNext/follow/commit/e115b6de66df93422465044bc2d2930aa7a073fc))
|
||||
* readability support ([#178](https://github.com/RSSNext/follow/issues/178)) ([6c052b8](https://github.com/RSSNext/follow/commit/6c052b881b77e75763a9c4117cd562d21a58044d))
|
||||
* redesign image preview swiper style ([23971b5](https://github.com/RSSNext/follow/commit/23971b53f383dc1d6793c3b0dd4ca58a71c5b71e))
|
||||
@@ -362,8 +415,10 @@
|
||||
* setting sidebar titles i18n ([39f84cd](https://github.com/RSSNext/follow/commit/39f84cdaffdafb241d391c0dfe709651104fe10d))
|
||||
* setting sync ([#273](https://github.com/RSSNext/follow/issues/273)) ([f1a3481](https://github.com/RSSNext/follow/commit/f1a34812fbb7ef0a503fc4e1c8ebdc46e376e391))
|
||||
* shortcut h to show shortcuts modal ([#361](https://github.com/RSSNext/follow/issues/361)) ([e9dc7b2](https://github.com/RSSNext/follow/commit/e9dc7b2f4c2cb26d55f2b24ebfa12d1cf3db568d))
|
||||
* show edit when self ([#412](https://github.com/RSSNext/follow/issues/412)) ([22b94a5](https://github.com/RSSNext/follow/commit/22b94a5d13e82468da1c9a14d6cfc9d272f22841))
|
||||
* smaller and fixed unread dot ([72aa3a8](https://github.com/RSSNext/follow/commit/72aa3a8cae968893b7ca3b0f8abf11c50c739c74))
|
||||
* some optimize ([5f61579](https://github.com/RSSNext/follow/commit/5f6157972c7ce2bf45b6e7b4026d9e727795c9a3))
|
||||
* sort the query results by the number of followers in asc order ([#379](https://github.com/RSSNext/follow/issues/379)) ([304cb7f](https://github.com/RSSNext/follow/commit/304cb7f59f8622cb076e5bf2b240b1a3f6c2614c))
|
||||
* sortable feed list ([5dc93af](https://github.com/RSSNext/follow/commit/5dc93af2a77d6a81222c70f5d7b588e087d72af4))
|
||||
* sortable feed list ([fdd2623](https://github.com/RSSNext/follow/commit/fdd26235548e0a5e24bd1e1eee679a14cd0bb527))
|
||||
* subscribe to other user ([b531a21](https://github.com/RSSNext/follow/commit/b531a21ddeea111ab28d2a83b07181d5ca3bc852))
|
||||
@@ -373,6 +428,7 @@
|
||||
* support i18n ([#345](https://github.com/RSSNext/follow/issues/345)) ([53c1c66](https://github.com/RSSNext/follow/commit/53c1c6639f3e7383ec77f6aace672ba34cd8bbba))
|
||||
* support pageup/pagedown to scroll up/down ([6e0c3bc](https://github.com/RSSNext/follow/commit/6e0c3bc5e3e2437a51fa991940b4e4496ed2bb75))
|
||||
* support toc parser ([fb4ca52](https://github.com/RSSNext/follow/commit/fb4ca522440aced4d2aa18fda2a9d5c43e32d0d1))
|
||||
* sync indicator when disable ([945ddda](https://github.com/RSSNext/follow/commit/945dddae2534f07e5289e307c36de1f8334636bc))
|
||||
* tip to entries ([de22411](https://github.com/RSSNext/follow/commit/de22411dab3a5a0ddac886de93cd3da4f31e5494))
|
||||
* toast when upgrade ([2a71bfc](https://github.com/RSSNext/follow/commit/2a71bfc0756011c0226c16ef53a755a47cf44acb))
|
||||
* toc hoverable ([3be6f2b](https://github.com/RSSNext/follow/commit/3be6f2ba019cb914e8ff452065d252e01e7ae496))
|
||||
@@ -386,12 +442,14 @@
|
||||
* use check api for dailytask; claim toast ([feec0b0](https://github.com/RSSNext/follow/commit/feec0b0f0fb717725bf34208715d89c73968e885))
|
||||
* use claim check api ([03764da](https://github.com/RSSNext/follow/commit/03764dac0ec500068376372ce4d85b1bc412bcd4))
|
||||
* video player ([#225](https://github.com/RSSNext/follow/issues/225)) ([bb7d312](https://github.com/RSSNext/follow/commit/bb7d3127a9fe4543af12edfc49ce745e6ee7099e))
|
||||
* video player i18n ([a498228](https://github.com/RSSNext/follow/commit/a4982289f8b4a7967e9ebea837109bd5e342b663))
|
||||
* warn when go to external untrusted link ([06be9b5](https://github.com/RSSNext/follow/commit/06be9b58f7c054ef166ea7d5759944280de9a201))
|
||||
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* memo entry column to reduce resize panel re-render ([6bca4b4](https://github.com/RSSNext/follow/commit/6bca4b4a033d27b0953a8e6c3e625e3cd9b71277))
|
||||
* merge all namespace of i18n resource in prod ([92bfce0](https://github.com/RSSNext/follow/commit/92bfce0f7e5faa6eef8d19d813f682271dc1bbf0))
|
||||
* prefetch for entry list ([5c7a27d](https://github.com/RSSNext/follow/commit/5c7a27de7dedfaf1812f26823207331543dfcead))
|
||||
* reduce re-render when ctx menu open ([96ff9f6](https://github.com/RSSNext/follow/commit/96ff9f660c0a469daafbb5f5cad47370bcd3a8f0))
|
||||
* shadow dom css cache ([c1e3a02](https://github.com/RSSNext/follow/commit/c1e3a025f7ef8ff570399a44a95797c2c8261e42))
|
||||
|
||||
@@ -85,6 +85,7 @@ You can get an invitation code in the following ways:
|
||||
|
||||
If you have access, you are welcome to use the following methods to download and install it:
|
||||
|
||||
- Visit our online webapp at [app.follow.is](https://app.follow.is)
|
||||
- You can get the installation packages for each platform from the [Releases page](https://github.com/RSSNext/Follow/releases).
|
||||
- If you are using Arch linux, you can install package [follow-appimage](https://aur.archlinux.org/packages/follow-appimage) that maintained by [timochan](https://github.com/ttimochan).
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
import fs from "node:fs"
|
||||
import path from "node:path"
|
||||
|
||||
type LanguageCompletion = Record<string, number>
|
||||
|
||||
function getLanguageFiles(dir: string): string[] {
|
||||
return fs.readdirSync(dir).filter((file) => file.endsWith(".json"))
|
||||
}
|
||||
|
||||
function getNamespaces(localesDir: string): string[] {
|
||||
return fs
|
||||
.readdirSync(localesDir)
|
||||
.filter((file) => fs.statSync(path.join(localesDir, file)).isDirectory())
|
||||
}
|
||||
|
||||
function countKeys(obj: any): number {
|
||||
let count = 0
|
||||
for (const key in obj) {
|
||||
if (typeof obj[key] === "object") {
|
||||
count += countKeys(obj[key])
|
||||
} else {
|
||||
count++
|
||||
}
|
||||
}
|
||||
return count
|
||||
}
|
||||
|
||||
function calculateCompleteness(localesDir: string): LanguageCompletion {
|
||||
const namespaces = getNamespaces(localesDir)
|
||||
const languages = new Set<string>()
|
||||
const keyCount: Record<string, number> = {}
|
||||
|
||||
namespaces.forEach((namespace) => {
|
||||
const namespaceDir = path.join(localesDir, namespace)
|
||||
const files = getLanguageFiles(namespaceDir)
|
||||
|
||||
files.forEach((file) => {
|
||||
const lang = path.basename(file, ".json")
|
||||
languages.add(lang)
|
||||
|
||||
const content = JSON.parse(fs.readFileSync(path.join(namespaceDir, file), "utf-8"))
|
||||
keyCount[lang] = (keyCount[lang] || 0) + countKeys(content)
|
||||
})
|
||||
})
|
||||
|
||||
const enCount = keyCount["en"] || 0
|
||||
const completeness: LanguageCompletion = {}
|
||||
|
||||
languages.forEach((lang) => {
|
||||
if (lang !== "en") {
|
||||
const percent = Math.round((keyCount[lang] / enCount) * 100)
|
||||
completeness[lang] = percent
|
||||
}
|
||||
})
|
||||
|
||||
return completeness
|
||||
}
|
||||
|
||||
const i18n = calculateCompleteness(path.resolve(__dirname, "../locales"))
|
||||
export default i18n
|
||||
@@ -1,5 +1,5 @@
|
||||
import { readFileSync } from "node:fs"
|
||||
import { resolve } from "node:path"
|
||||
import fs, { readFileSync } from "node:fs"
|
||||
import path, { resolve } from "node:path"
|
||||
|
||||
import * as babel from "@babel/core"
|
||||
import generate from "@babel/generator"
|
||||
@@ -11,9 +11,76 @@ import { prerelease } from "semver"
|
||||
import type { Plugin, UserConfig } from "vite"
|
||||
|
||||
import { getGitHash } from "../scripts/lib"
|
||||
import i18nCompleteness from "./i18n-completeness"
|
||||
|
||||
const pkg = JSON.parse(readFileSync("package.json", "utf8"))
|
||||
const isCI = process.env.CI === "true" || process.env.CI === "1"
|
||||
function localesPlugin(): Plugin {
|
||||
return {
|
||||
name: "locales-merge",
|
||||
enforce: "post",
|
||||
generateBundle(options, bundle) {
|
||||
const localesDir = path.resolve(__dirname, "../locales")
|
||||
const namespaces = fs.readdirSync(localesDir)
|
||||
const languageResources = {}
|
||||
|
||||
namespaces.forEach((namespace) => {
|
||||
const namespacePath = path.join(localesDir, namespace)
|
||||
const files = fs.readdirSync(namespacePath).filter((file) => file.endsWith(".json"))
|
||||
|
||||
files.forEach((file) => {
|
||||
const lang = path.basename(file, ".json")
|
||||
const filePath = path.join(namespacePath, file)
|
||||
const content = JSON.parse(fs.readFileSync(filePath, "utf-8"))
|
||||
|
||||
if (!languageResources[lang]) {
|
||||
languageResources[lang] = {}
|
||||
}
|
||||
languageResources[lang][namespace] = content
|
||||
})
|
||||
})
|
||||
|
||||
Object.entries(languageResources).forEach(([lang, resources]) => {
|
||||
const fileName = `locales/${lang}.js`
|
||||
const content = `export default ${JSON.stringify(resources)};`
|
||||
|
||||
this.emitFile({
|
||||
type: "asset",
|
||||
fileName,
|
||||
source: content,
|
||||
})
|
||||
})
|
||||
|
||||
// Remove original JSON chunks
|
||||
Object.keys(bundle).forEach((key) => {
|
||||
if (key.startsWith("locales/") && key.endsWith(".json")) {
|
||||
delete bundle[key]
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
function customI18nHmrPlugin(): Plugin {
|
||||
return {
|
||||
name: "custom-i18n-hmr",
|
||||
handleHotUpdate({ file, server }) {
|
||||
if (file.endsWith(".json") && file.includes("locales")) {
|
||||
server.ws.send({
|
||||
type: "custom",
|
||||
event: "i18n-update",
|
||||
data: {
|
||||
file,
|
||||
content: readFileSync(file, "utf-8"),
|
||||
},
|
||||
})
|
||||
|
||||
// return empty array to prevent the default HMR
|
||||
return []
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export const viteRenderBaseConfig = {
|
||||
resolve: {
|
||||
@@ -52,26 +119,9 @@ export const viteRenderBaseConfig = {
|
||||
},
|
||||
}),
|
||||
|
||||
localesPlugin(),
|
||||
viteTwToRawString(),
|
||||
|
||||
{
|
||||
name: "custom-i18n-hmr",
|
||||
handleHotUpdate({ file, server }) {
|
||||
if (file.endsWith(".json") && file.includes("locales")) {
|
||||
server.ws.send({
|
||||
type: "custom",
|
||||
event: "i18n-update",
|
||||
data: {
|
||||
file,
|
||||
content: readFileSync(file, "utf-8"),
|
||||
},
|
||||
})
|
||||
|
||||
// return empty array to prevent the default HMR
|
||||
return []
|
||||
}
|
||||
},
|
||||
},
|
||||
customI18nHmrPlugin(),
|
||||
],
|
||||
define: {
|
||||
APP_VERSION: JSON.stringify(pkg.version),
|
||||
@@ -83,6 +133,8 @@ export const viteRenderBaseConfig = {
|
||||
RELEASE_CHANNEL: JSON.stringify((prerelease(pkg.version)?.[0] as string) || "stable"),
|
||||
|
||||
DEBUG: process.env.DEBUG === "true",
|
||||
|
||||
I18N_COMPLETENESS_MAP: JSON.stringify({ ...i18nCompleteness, en: 100 }),
|
||||
},
|
||||
} satisfies UserConfig
|
||||
|
||||
|
||||
@@ -32,4 +32,22 @@ export default defineConfig(
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.tsx"],
|
||||
rules: {
|
||||
"@stylistic/jsx-self-closing-comp": "error",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["locales/**/*.json"],
|
||||
rules: {
|
||||
"jsonc/sort-keys": [
|
||||
"error",
|
||||
{
|
||||
pathPattern: ".*",
|
||||
order: { type: "asc" },
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" fill-rule="evenodd" d="M10.427 2.5H18a1 1 0 1 1 0 2h-7.5c-1.914 0-3.249.002-4.256.138-.978.131-1.496.372-1.865.74-.37.37-.61.888-.741 1.866C3.502 8.251 3.5 9.586 3.5 11.5v5.155a1 1 0 1 1-2 0v-5.228c0-1.824 0-3.293.155-4.45.162-1.2.507-2.21 1.31-3.013.802-.802 1.813-1.147 3.013-1.309C7.134 2.5 8.603 2.5 10.427 2.5m1.002 3h4.142c1.354 0 2.47 0 3.354.119.928.125 1.747.396 2.403 1.053.657.656.928 1.475 1.053 2.403.12.884.119 2 .119 3.355v2.474c0 1.354 0 2.47-.119 3.354-.125.928-.396 1.748-1.053 2.404-.656.656-1.475.928-2.403 1.053-.884.118-2 .118-3.355.118h-4.14c-1.355 0-2.471 0-3.355-.118-.928-.125-1.747-.397-2.403-1.053-.657-.656-.928-1.476-1.053-2.404-.12-.883-.119-2-.119-3.354v-2.475c0-1.354 0-2.47.119-3.354.125-.928.396-1.747 1.053-2.403.656-.657 1.475-.928 2.403-1.053.884-.12 2-.119 3.354-.119M8.341 7.6c-.706.096-1.033.263-1.255.486-.223.222-.39.55-.485 1.255-.099.735-.101 1.717-.101 3.159v2.333c0 1.038.001 1.836.038 2.476l3.073-3.072.038-.038c.3-.3.592-.592.864-.8.308-.234.706-.455 1.22-.455.513 0 .91.22 1.218.455.273.208.564.5.864.8l.039.038 2.004 2.005c.189-.183.372-.352.548-.486.307-.234.705-.455 1.219-.455.513 0 .911.22 1.219.455.272.208.564.5.863.8l.039.038.716.716c.037-.64.038-1.44.038-2.477V12.5c0-1.443-.002-2.424-.1-3.159-.096-.706-.263-1.033-.486-1.255-.222-.223-.55-.39-1.255-.485-.735-.099-1.716-.101-3.159-.101h-4c-1.443 0-2.424.002-3.159.1M15 11a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="M17 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0"/><path stroke="#10161F" stroke-linecap="round" stroke-width="2" d="m15.857 16.655.354-.354c.666-.666 1-1 1.414-1 .414 0 .747.334 1.414 1L21 18.262m-15 0 4.318-4.318c.667-.667 1-1 1.414-1 .414 0 .748.333 1.414 1l3.473 3.473M18 3.5h-7.5c-3.771 0-5.657 0-6.828 1.172C2.5 5.843 2.5 7.729 2.5 11.5v5.155M17 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-5.5 9.833h4c2.828 0 4.243 0 5.121-.878.879-.879.879-2.293.879-5.122V12.5c0-2.828 0-4.243-.879-5.121C19.743 6.5 18.328 6.5 15.5 6.5h-4c-2.828 0-4.243 0-5.121.879C5.5 8.257 5.5 9.672 5.5 12.5v2.333c0 2.829 0 4.243.879 5.122.878.878 2.293.878 5.121.878Z"/></svg>
|
||||
|
After Width: | Height: | Size: 789 B |
+208
-106
@@ -1,108 +1,210 @@
|
||||
{
|
||||
"words": {
|
||||
"search": "Search",
|
||||
"import": "Import",
|
||||
"discover": "Discover",
|
||||
"language": "Language"
|
||||
},
|
||||
"signin": {
|
||||
"continue_with_github": "Continue with GitHub",
|
||||
"continue_with_google": "Continue with Google",
|
||||
"sign_in_to": "Sign in to"
|
||||
},
|
||||
"settings": {
|
||||
"titles": {
|
||||
"general": "General",
|
||||
"appearance": "Appearance",
|
||||
"actions": "Actions",
|
||||
"integration": "Integration",
|
||||
"about": "About",
|
||||
"profile": "Profile",
|
||||
"shortcuts": "Shortcuts",
|
||||
"power": "Power",
|
||||
"invitations": "Invitations"
|
||||
},
|
||||
"general": {
|
||||
"app": "App",
|
||||
"launch_at_login": "Launch at login",
|
||||
"timeline": "Timeline",
|
||||
"show_unread_on_launch": {
|
||||
"description": "Show unread content on launch",
|
||||
"label": "Show unread content on launch"
|
||||
},
|
||||
"rebuild_database": {
|
||||
"warning": {
|
||||
"line1": "Rebuilding the database will clear all your local data.",
|
||||
"line2": "Are you sure you want to continue?"
|
||||
},
|
||||
"label": "Rebuild Database",
|
||||
"description": "If you are experiencing rendering issues, rebuilding the database may solve them.",
|
||||
"button": "Rebuild",
|
||||
"title": "Rebuild Database"
|
||||
},
|
||||
"group_by_date": {
|
||||
"label": "Group by date",
|
||||
"description": "Group entries by date."
|
||||
},
|
||||
"mark_as_read": {
|
||||
"scroll": {
|
||||
"label": "Mark as read when scrolling",
|
||||
"description": "Automatically mark entries as read when scrolled out of the view."
|
||||
},
|
||||
"hover": {
|
||||
"label": "Mark as read when hovering",
|
||||
"description": "Automatically mark entries as read when hovered."
|
||||
},
|
||||
"render": {
|
||||
"label": "Mark as read when in the view",
|
||||
"description": "Automatically mark single-level entries (e.g. social media posts, pictures, video views) as read when they enter the view."
|
||||
}
|
||||
},
|
||||
"privacy_data": "Privacy & Data",
|
||||
"data_persist": {
|
||||
"label": "Persist data for offline usage",
|
||||
"description": "Persist data locally to enable offline access and local search."
|
||||
},
|
||||
"send_anonymous_data": {
|
||||
"label": "Send anonymous data",
|
||||
"description": "By opting to send anonymized telemetry data, you contribute to improving the overall user experience of Follow."
|
||||
},
|
||||
"voices": "Voices"
|
||||
},
|
||||
"integration": {
|
||||
"title": "Integration",
|
||||
"eagle": {
|
||||
"title": "Eagle",
|
||||
"enable": {
|
||||
"label": "Enable",
|
||||
"description": "Display 'Save media to Eagle' button when available."
|
||||
}
|
||||
},
|
||||
"readwise": {
|
||||
"title": "Readwise",
|
||||
"enable": {
|
||||
"label": "Enable",
|
||||
"description": "Display 'Save to Readwise' button when available."
|
||||
},
|
||||
"token": {
|
||||
"label": "Readwise Access Token",
|
||||
"description": "You can get it here: readwise.io/access_token."
|
||||
}
|
||||
},
|
||||
"instapaper": {
|
||||
"title": "Instapaper",
|
||||
"enable": {
|
||||
"label": "Enable",
|
||||
"description": "Display 'Save to Instapaper' button when available."
|
||||
},
|
||||
"username": {
|
||||
"label": "Instapaper Username"
|
||||
},
|
||||
"password": {
|
||||
"label": "Instapaper Password"
|
||||
}
|
||||
},
|
||||
"tip": "Tip: Your sensitive data is stored locally and is not uploaded to the server."
|
||||
}
|
||||
}
|
||||
"ai_daily.title": "Top News - {{title}}",
|
||||
"ai_daily.tooltip.content": "Here is news selected by AI from your timeline (<From /> - <To />) that may be important to you.",
|
||||
"ai_daily.tooltip.update_schedule": "Update daily at 8 AM and 8 PM.",
|
||||
"app.copy_logo_svg": "Copy Logo SVG",
|
||||
"app.toggle_sidebar": "Toggle Sidebar",
|
||||
"discover.any_url_or_keyword": "Any URL or Keyword",
|
||||
"discover.default_option": " (default)",
|
||||
"discover.feed_description": "The description of this feed is as follows, and you can fill out the parameter form with the relevant information.",
|
||||
"discover.feed_maintainers": "This feed is provided by RSSHub, with credit to <maintainers />",
|
||||
"discover.import.click_to_upload": "Click to upload OPML file",
|
||||
"discover.popular": "Popular",
|
||||
"discover.preview": "Preview",
|
||||
"discover.rss_hub_route": "RSSHub Route",
|
||||
"discover.rss_url": "RSS URL",
|
||||
"discover.select_placeholder": "Select",
|
||||
"early_access": "Early Access",
|
||||
"entry_actions.copy_link": "Copy link",
|
||||
"entry_actions.failed_to_save_to_eagle": "Failed to save to Eagle.",
|
||||
"entry_actions.failed_to_save_to_instapaper": "Failed to save to Instapaper.",
|
||||
"entry_actions.failed_to_save_to_readwise": "Failed to save to Readwise.",
|
||||
"entry_actions.link_copied": "Link copied to clipboard.",
|
||||
"entry_actions.mark_as_read": "Mark as read",
|
||||
"entry_actions.mark_as_unread": "Mark as unread",
|
||||
"entry_actions.open_in_browser": "Open in browser",
|
||||
"entry_actions.save_media_to_eagle": "Save media to Eagle",
|
||||
"entry_actions.save_to_instapaper": "Save to Instapaper",
|
||||
"entry_actions.save_to_readwise": "Save to Readwise",
|
||||
"entry_actions.saved_to_eagle": "Saved to Eagle.",
|
||||
"entry_actions.saved_to_instapaper": "Saved to Instapaper.",
|
||||
"entry_actions.saved_to_readwise": "Saved to Readwise.",
|
||||
"entry_actions.share": "Share",
|
||||
"entry_actions.star": "Star",
|
||||
"entry_actions.starred": "Starred.",
|
||||
"entry_actions.tip": "Tip",
|
||||
"entry_actions.unstar": "Unstar",
|
||||
"entry_actions.unstarred": "Unstarred.",
|
||||
"entry_column.filtered_content_tip": "You have filtered content hidden.",
|
||||
"entry_column.filtered_content_tip_2": "In addition to the entries shown above, there is also filtered content.",
|
||||
"entry_column.refreshing": "Refreshing new entries...",
|
||||
"entry_content.ai_summary": "AI summary",
|
||||
"entry_content.fetching_content": "Fetching original content and processing...",
|
||||
"entry_content.header.play_tts": "Play TTS",
|
||||
"entry_content.header.readability": "Readability",
|
||||
"entry_content.no_content": "No media available",
|
||||
"entry_content.readability_notice": "This content is provided by Readability. If you find typographical anomalies, please go to the source site to view the original content.",
|
||||
"entry_content.render_error": "Render error:",
|
||||
"entry_content.report_issue": "Report issue",
|
||||
"entry_content.support_amount": "{{amount}} people supported this feed's creator.",
|
||||
"entry_content.support_creator": "Support Creator",
|
||||
"entry_content.web_app_notice": "Maybe web app doesn't support this content type. But you can download the desktop app.",
|
||||
"entry_list.zero_unread": "Zero Unread",
|
||||
"entry_list_header.daily_report": "Daily Report",
|
||||
"entry_list_header.hide_no_image_items": "Hide no images's entry items",
|
||||
"entry_list_header.items": "items",
|
||||
"entry_list_header.new_entries_available": "New entries available",
|
||||
"entry_list_header.refetch": "Refetch",
|
||||
"entry_list_header.refresh": "Refresh",
|
||||
"entry_list_header.show_all": "Show all",
|
||||
"entry_list_header.show_all_items": "Show all entry items",
|
||||
"entry_list_header.show_unread_only": "Show unread Only",
|
||||
"entry_list_header.switch_to_grid": "Switch to Grid",
|
||||
"entry_list_header.switch_to_masonry": "Switch to Masonry",
|
||||
"entry_list_header.unread": "unread",
|
||||
"feed_claim_modal.choose_verification_method": "There are three ways to choose from, you can choose one of them to verify.",
|
||||
"feed_claim_modal.claim_button": "Claim",
|
||||
"feed_claim_modal.content_instructions": "Copy the content below and post it to your latest RSS feed.",
|
||||
"feed_claim_modal.description_current": "Current description:",
|
||||
"feed_claim_modal.description_instructions": "Copy the following content and paste it into the <code /> field of your RSS feed.",
|
||||
"feed_claim_modal.failed_to_load": "Failed to load claim message",
|
||||
"feed_claim_modal.rss_format_choice": "RSS generators generally have two formats to choose from. Please copy the XML and JSON formats below as needed.",
|
||||
"feed_claim_modal.rss_instructions": "Copy the code below and paste it into your RSS generator.",
|
||||
"feed_claim_modal.rss_json_format": "JSON Format",
|
||||
"feed_claim_modal.rss_xml_format": "XML Format",
|
||||
"feed_claim_modal.rsshub_notice": "This feed is provided by RSSHub with a 1 hour cache time. Please allow up to 1 hour for changes to appear after publishing content.",
|
||||
"feed_claim_modal.tab_content": "Content",
|
||||
"feed_claim_modal.tab_description": "Description",
|
||||
"feed_claim_modal.tab_rss": "RSS Tag",
|
||||
"feed_claim_modal.verify_ownership": "To claim this feed as your own, you need to verify ownership.",
|
||||
"feed_form.add_follow": "Add follow",
|
||||
"feed_form.category": "Category",
|
||||
"feed_form.category_description": "By default, your follows will be grouped by website.",
|
||||
"feed_form.error_fetching_feed": "Error in fetching feed.",
|
||||
"feed_form.feed_not_found": "Feed not found.",
|
||||
"feed_form.feedback": "Feedback",
|
||||
"feed_form.follow": "Follow",
|
||||
"feed_form.followed": "🎉 Followed.",
|
||||
"feed_form.private_follow": "Private Follow",
|
||||
"feed_form.private_follow_description": "Whether this follow is publicly visible on your profile page.",
|
||||
"feed_form.retry": "Retry",
|
||||
"feed_form.title": "Title",
|
||||
"feed_form.title_description": "Custom title for this Feed. Leave empty to use the default.",
|
||||
"feed_form.unfollow": "Unfollow",
|
||||
"feed_form.update": "Update",
|
||||
"feed_form.update_follow": "Update follow",
|
||||
"feed_form.updated": "🎉 Updated.",
|
||||
"feed_form.view": "View",
|
||||
"feed_item.claimed_by_owner": "This feed is claimed by",
|
||||
"feed_item.claimed_by_unknown": "its owner.",
|
||||
"feed_item.claimed_by_you": "Claimed by you",
|
||||
"feed_item.claimed_feed": "Claimed Feed",
|
||||
"feed_item.error_since": "Error since",
|
||||
"feed_item.not_publicly_visible": "Not publicly visible on your profile page",
|
||||
"feed_view_type.articles": "Articles",
|
||||
"feed_view_type.audios": "Audios",
|
||||
"feed_view_type.notifications": "Notifications",
|
||||
"feed_view_type.pictures": "Pictures",
|
||||
"feed_view_type.social_media": "Social Media",
|
||||
"feed_view_type.videos": "Videos",
|
||||
"mark_all_read_button.auto_confirm_info": "Will be confirmed automatically after 3s.",
|
||||
"mark_all_read_button.confirm": "Confirm",
|
||||
"mark_all_read_button.confirm_mark_all": "Mark {{which}} as read?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "Confirm mark all as read?",
|
||||
"mark_all_read_button.mark_all_as_read": "Mark all as read",
|
||||
"mark_all_read_button.mark_as_read": "Mark {{which}} as read",
|
||||
"mark_all_read_button.undo": "Undo",
|
||||
"player.back_10s": "Back 10s",
|
||||
"player.close": "Close",
|
||||
"player.download": "Download",
|
||||
"player.exit_full_screen": "Exit Full Screen",
|
||||
"player.forward_10s": "Forward 10s",
|
||||
"player.full_screen": "Full Screen",
|
||||
"player.mute": "Mute",
|
||||
"player.open_entry": "Open Entry",
|
||||
"player.pause": "Pause",
|
||||
"player.play": "Play",
|
||||
"player.playback_rate": "Playback Rate",
|
||||
"player.unmute": "Unmute",
|
||||
"player.volume": "Volume",
|
||||
"search.empty.no_results": "No results found.",
|
||||
"search.group.entries": "Entries",
|
||||
"search.group.feeds": "Feeds",
|
||||
"search.options.all": "All",
|
||||
"search.options.entries": "Entries",
|
||||
"search.options.feeds": "Feeds",
|
||||
"search.options.search_type": "Search Type",
|
||||
"search.placeholder": "Search...",
|
||||
"search.result_count_local_mode": "(Local mode)",
|
||||
"search.tooltip.local_search": "This search covers locally available data. Try a Refetch to include the latest data.",
|
||||
"shortcuts.guide.title": "Shortcuts Guideline",
|
||||
"sidebar.category_remove_dialog.cancel": "Cancel",
|
||||
"sidebar.category_remove_dialog.continue": "Continue",
|
||||
"sidebar.category_remove_dialog.description": "This operation will delete your category, but the feeds it contains will be retained and grouped by website.",
|
||||
"sidebar.category_remove_dialog.title": "Remove Category",
|
||||
"sidebar.feed_actions.claim": "Claim",
|
||||
"sidebar.feed_actions.claim_feed": "Claim Feed",
|
||||
"sidebar.feed_actions.copy_feed_id": "Copy feed ID",
|
||||
"sidebar.feed_actions.copy_feed_url": "Copy feed URL",
|
||||
"sidebar.feed_actions.edit": "Edit",
|
||||
"sidebar.feed_actions.edit_feed": "Edit feed",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "This feed is owned by you",
|
||||
"sidebar.feed_actions.mark_all_as_read": "Mark all as read",
|
||||
"sidebar.feed_actions.navigate_to_feed": "Navigate to feed",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "Open feed in browser",
|
||||
"sidebar.feed_actions.open_site_in_browser": "Open site in browser",
|
||||
"sidebar.feed_actions.unfollow": "Unfollow",
|
||||
"sidebar.feed_actions.unfollow_feed": "Unfollow feed",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "Change to other view",
|
||||
"sidebar.feed_column.context_menu.delete_category": "Delete category",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "Delete category {{folderName}}?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "Mark as read",
|
||||
"sidebar.feed_column.context_menu.rename_category": "Rename category",
|
||||
"sidebar.select_sort_method": "Select a sort method",
|
||||
"signin.continue_with_github": "Continue with GitHub",
|
||||
"signin.continue_with_google": "Continue with Google",
|
||||
"signin.sign_in_to": "Sign in to",
|
||||
"sync_indicator.disabled": "Due to security reasons, sync is disabled.",
|
||||
"sync_indicator.offline": "Offline",
|
||||
"sync_indicator.synced": "Synced with server",
|
||||
"tip_modal.amount": "Amount",
|
||||
"tip_modal.claim_feed": "Claim this feed",
|
||||
"tip_modal.create_wallet": "Create For Free",
|
||||
"tip_modal.feed_owner": "Feed Owner",
|
||||
"tip_modal.low_balance": "Your balance is not enough to cover this tip. Please adjust the amount.",
|
||||
"tip_modal.no_wallet": "You don't have a wallet yet. Please create a wallet to tip.",
|
||||
"tip_modal.tip_amount_sent": "has been sent to the author.",
|
||||
"tip_modal.tip_now": "Tip Now",
|
||||
"tip_modal.tip_sent": "Tip sent successfully! Thank you for your support.",
|
||||
"tip_modal.tip_support": "⭐ Tip to show your support!",
|
||||
"tip_modal.unclaimed_feed": "No one has claimed this feed yet. The received Power will be securely held in the blockchain contract until it is claimed.",
|
||||
"user_button.account": "Account",
|
||||
"user_button.download_desktop_app": "Download Desktop app",
|
||||
"user_button.log_out": "Log out",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "Preferences",
|
||||
"user_button.profile": "Profile",
|
||||
"user_profile.close": "Close",
|
||||
"user_profile.edit": "Edit",
|
||||
"user_profile.loading": "Loading",
|
||||
"user_profile.share": "Share",
|
||||
"user_profile.toggle_item_style": "Toggle Item Style",
|
||||
"words.add": "Add",
|
||||
"words.confirm": "Confirm",
|
||||
"words.discover": "Discover",
|
||||
"words.email": "Email",
|
||||
"words.import": "Import",
|
||||
"words.items": "Items",
|
||||
"words.language": "Language",
|
||||
"words.load_archived_entries": "Load archived entries",
|
||||
"words.login": "Login",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "Search",
|
||||
"words.starred": "Starred",
|
||||
"words.unread": "Unread",
|
||||
"words.user": "User",
|
||||
"words.which.all": "all",
|
||||
"words.zero_items": "Zero items"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"ai_daily.title": "Actualités Principales - {{title}}",
|
||||
"ai_daily.tooltip.content": "Voici des nouvelles sélectionnées par l'IA à partir de votre chronologie (<From /> - <To />) qui peuvent être importantes pour vous.",
|
||||
"ai_daily.tooltip.update_schedule": "Mise à jour quotidienne à 8h00 et 20h00.",
|
||||
"app.app_name": "NOM_APP",
|
||||
"app.copy_logo_svg": "Copier le logo SVG",
|
||||
"app.toggle_sidebar": "Afficher/Masquer la barre latérale",
|
||||
"discover.any_url_or_keyword": "Toute URL ou mot-clé",
|
||||
"discover.default_option": " (par défaut)",
|
||||
"discover.feed_description": "La description de ce flux est la suivante, et vous pouvez remplir le formulaire des paramètres avec les informations pertinentes.",
|
||||
"discover.feed_maintainers": "Ce flux est fourni par RSSHub, avec crédit à <maintainers />",
|
||||
"discover.import.click_to_upload": "Cliquez pour télécharger un fichier OPML",
|
||||
"discover.popular": "Populaire",
|
||||
"discover.preview": "Aperçu",
|
||||
"discover.rss_hub_route": "Itinéraire RSSHub",
|
||||
"discover.rss_url": "URL du RSS",
|
||||
"discover.select_placeholder": "Sélectionner",
|
||||
"early_access": "Accès Anticipé",
|
||||
"entry_actions.copy_link": "Copier le lien",
|
||||
"entry_actions.failed_to_save_to_eagle": "Échec de l'enregistrement sur Eagle.",
|
||||
"entry_actions.failed_to_save_to_instapaper": "Échec de l'enregistrement sur Instapaper.",
|
||||
"entry_actions.failed_to_save_to_readwise": "Échec de l'enregistrement sur Readwise.",
|
||||
"entry_actions.link_copied": "Lien copié dans le presse-papiers.",
|
||||
"entry_actions.mark_as_read": "Marquer comme lu",
|
||||
"entry_actions.mark_as_unread": "Marquer comme non lu",
|
||||
"entry_actions.open_in_browser": "Ouvrir dans le navigateur",
|
||||
"entry_actions.save_media_to_eagle": "Enregistrer le média sur Eagle",
|
||||
"entry_actions.save_to_instapaper": "Enregistrer sur Instapaper",
|
||||
"entry_actions.save_to_readwise": "Enregistrer sur Readwise",
|
||||
"entry_actions.saved_to_eagle": "Enregistré sur Eagle.",
|
||||
"entry_actions.saved_to_instapaper": "Enregistré sur Instapaper.",
|
||||
"entry_actions.saved_to_readwise": "Enregistré sur Readwise.",
|
||||
"entry_actions.share": "Partager",
|
||||
"entry_actions.star": "Mettre en favori",
|
||||
"entry_actions.starred": "Favori.",
|
||||
"entry_actions.tip": "Pourboire",
|
||||
"entry_actions.unstar": "Retirer des favoris",
|
||||
"entry_actions.unstarred": "Retiré des favoris.",
|
||||
"entry_column.refreshing": "Actualisation des nouvelles entrées...",
|
||||
"entry_content.ai_summary": "Résumé AI",
|
||||
"entry_content.fetching_content": "Récupération du contenu original et traitement...",
|
||||
"entry_content.header.play_tts": "Lire TTS",
|
||||
"entry_content.header.readability": "Lisibilité",
|
||||
"entry_content.no_content": "Aucun contenu",
|
||||
"entry_content.readability_notice": "Ce contenu est fourni par Readability. Si vous remarquez des anomalies typographiques, veuillez visiter le site source pour voir le contenu original.",
|
||||
"entry_content.render_error": "Erreur de rendu :",
|
||||
"entry_content.report_issue": "Signaler un problème",
|
||||
"entry_content.web_app_notice": "Peut-être que l'application web ne prend pas en charge ce type de contenu. Mais vous pouvez télécharger l'application de bureau.",
|
||||
"entry_list.zero_unread": "Zéro non lu",
|
||||
"entry_list_header.daily_report": "Rapport Quotidien",
|
||||
"entry_list_header.hide_no_image_items": "Masquer les éléments sans images",
|
||||
"entry_list_header.items": "éléments",
|
||||
"entry_list_header.new_entries_available": "Nouvelles entrées disponibles",
|
||||
"entry_list_header.refetch": "Récupérer de nouveau",
|
||||
"entry_list_header.refresh": "Actualiser",
|
||||
"entry_list_header.show_all": "Tout afficher",
|
||||
"entry_list_header.show_all_items": "Afficher tous les éléments",
|
||||
"entry_list_header.show_unread_only": "Afficher uniquement les non lus",
|
||||
"entry_list_header.switch_to_grid": "Passer en grille",
|
||||
"entry_list_header.switch_to_masonry": "Passer en maçonnerie",
|
||||
"entry_list_header.unread": "non lu",
|
||||
"feed_claim_modal.choose_verification_method": "Il existe trois méthodes au choix, vous pouvez en choisir une pour vérifier.",
|
||||
"feed_claim_modal.claim_button": "Réclamer",
|
||||
"feed_claim_modal.content_instructions": "Copiez le contenu ci-dessous et publiez-le dans votre dernier flux RSS.",
|
||||
"feed_claim_modal.description_current": "Description actuelle :",
|
||||
"feed_claim_modal.description_instructions": "Copiez le contenu suivant et collez-le dans le champ <code /> de votre flux RSS.",
|
||||
"feed_claim_modal.failed_to_load": "Échec du chargement du message de réclamation",
|
||||
"feed_claim_modal.rss_format_choice": "Les générateurs RSS offrent généralement deux formats au choix. Veuillez copier les formats XML et JSON ci-dessous selon vos besoins.",
|
||||
"feed_claim_modal.rss_instructions": "Copiez le code ci-dessous et collez-le dans votre générateur RSS.",
|
||||
"feed_claim_modal.rss_json_format": "Format JSON",
|
||||
"feed_claim_modal.rss_xml_format": "Format XML",
|
||||
"feed_claim_modal.rsshub_notice": "Ce flux est fourni par RSSHub avec un cache d'une heure. Veuillez prévoir jusqu'à 1 heure pour que les modifications apparaissent après la publication du contenu.",
|
||||
"feed_claim_modal.tab_content": "Contenu",
|
||||
"feed_claim_modal.tab_description": "Description",
|
||||
"feed_claim_modal.tab_rss": "Balise RSS",
|
||||
"feed_claim_modal.verify_ownership": "Pour réclamer ce flux comme le vôtre, vous devez vérifier la propriété.",
|
||||
"feed_form.add_follow": "Ajouter un abonnement",
|
||||
"feed_form.category": "Catégorie",
|
||||
"feed_form.category_description": "Par défaut, vos abonnements seront regroupés par site web.",
|
||||
"feed_form.error_fetching_feed": "Erreur lors de la récupération du flux.",
|
||||
"feed_form.feed_not_found": "Flux non trouvé.",
|
||||
"feed_form.feedback": "Retour d'information",
|
||||
"feed_form.follow": "Suivre",
|
||||
"feed_form.followed": "🎉 Suivi.",
|
||||
"feed_form.private_follow": "Suivi privé",
|
||||
"feed_form.private_follow_description": "Ce suivi est-il visible publiquement sur votre page de profil ?",
|
||||
"feed_form.retry": "Réessayer",
|
||||
"feed_form.title": "Titre",
|
||||
"feed_form.title_description": "Titre personnalisé pour ce flux. Laisser vide pour utiliser le titre par défaut.",
|
||||
"feed_form.unfollow": "Se désabonner",
|
||||
"feed_form.update": "Mettre à jour",
|
||||
"feed_form.update_follow": "Mettre à jour l'abonnement",
|
||||
"feed_form.updated": "🎉 Mis à jour.",
|
||||
"feed_form.view": "Voir",
|
||||
"feed_item.claimed_by_owner": "Ce flux est réclamé par",
|
||||
"feed_item.claimed_by_unknown": "son propriétaire.",
|
||||
"feed_item.claimed_by_you": "Réclamé par vous",
|
||||
"feed_item.claimed_feed": "Flux Réclamé",
|
||||
"feed_item.error_since": "Erreur depuis",
|
||||
"feed_item.not_publicly_visible": "Non visible publiquement sur votre page de profil",
|
||||
"feed_view_type.articles": "Articles",
|
||||
"feed_view_type.audios": "Audios",
|
||||
"feed_view_type.notifications": "Notifications",
|
||||
"feed_view_type.pictures": "Images",
|
||||
"feed_view_type.social_media": "Réseaux sociaux",
|
||||
"feed_view_type.videos": "Vidéos",
|
||||
"mark_all_read_button.auto_confirm_info": "Sera confirmé automatiquement après 3s.",
|
||||
"mark_all_read_button.confirm": "Confirmer",
|
||||
"mark_all_read_button.confirm_mark_all": "Marquer {{which}} comme lu ?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "Confirmez que vous voulez tout marquer comme lu ?",
|
||||
"mark_all_read_button.mark_all_as_read": "Tout marquer comme lu",
|
||||
"mark_all_read_button.mark_as_read": "Marquer {{which}} comme lu",
|
||||
"mark_all_read_button.undo": "Annuler",
|
||||
"player.back_10s": "Retour de 10s",
|
||||
"player.close": "Fermer",
|
||||
"player.download": "Télécharger",
|
||||
"player.exit_full_screen": "Quitter le mode plein écran",
|
||||
"player.forward_10s": "Avancer de 10s",
|
||||
"player.full_screen": "Plein écran",
|
||||
"player.mute": "Muet",
|
||||
"player.open_entry": "Ouvrir l'entrée",
|
||||
"player.pause": "Pause",
|
||||
"player.play": "Lecture",
|
||||
"player.playback_rate": "Vitesse de lecture",
|
||||
"player.unmute": "Réactiver le son",
|
||||
"player.volume": "Volume",
|
||||
"search.empty.no_results": "Aucun résultat trouvé.",
|
||||
"search.group.entries": "Entrées",
|
||||
"search.group.feeds": "Flux",
|
||||
"search.options.all": "Tous",
|
||||
"search.options.entries": "Entrées",
|
||||
"search.options.feeds": "Flux",
|
||||
"search.options.search_type": "Type de recherche",
|
||||
"search.placeholder": "Rechercher...",
|
||||
"search.result_count_local_mode": "(Mode local)",
|
||||
"search.tooltip.local_search": "Cette recherche couvre les données disponibles localement. Essayez de récupérer de nouveau pour inclure les dernières données.",
|
||||
"shortcuts.guide.title": "Guide des raccourcis",
|
||||
"sidebar.category_remove_dialog.cancel": "Annuler",
|
||||
"sidebar.category_remove_dialog.continue": "Continuer",
|
||||
"sidebar.category_remove_dialog.description": "Cette opération supprimera votre catégorie, mais les flux qu'elle contient seront conservés et regroupés par site Web.",
|
||||
"sidebar.category_remove_dialog.title": "Supprimer la catégorie",
|
||||
"sidebar.feed_actions.claim": "Réclamer",
|
||||
"sidebar.feed_actions.claim_feed": "Réclamer le flux",
|
||||
"sidebar.feed_actions.copy_feed_id": "Copier l'ID du flux",
|
||||
"sidebar.feed_actions.copy_feed_url": "Copier l'URL du flux",
|
||||
"sidebar.feed_actions.edit": "Éditer",
|
||||
"sidebar.feed_actions.edit_feed": "Éditer le flux",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "Ce flux vous appartient",
|
||||
"sidebar.feed_actions.mark_all_as_read": "Tout marquer comme lu",
|
||||
"sidebar.feed_actions.navigate_to_feed": "Naviguer vers le flux",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "Ouvrir le flux dans le navigateur",
|
||||
"sidebar.feed_actions.open_site_in_browser": "Ouvrir le site dans le navigateur",
|
||||
"sidebar.feed_actions.unfollow": "Se désabonner",
|
||||
"sidebar.feed_actions.unfollow_feed": "Se désabonner du flux",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "Changer pour une autre vue",
|
||||
"sidebar.feed_column.context_menu.delete_category": "Supprimer la catégorie",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "Supprimer la catégorie {{folderName}} ?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "Marquer comme lu",
|
||||
"sidebar.feed_column.context_menu.rename_category": "Renommer la catégorie",
|
||||
"sidebar.select_sort_method": "Sélectionnez une méthode de tri",
|
||||
"signin.continue_with_github": "Continuer avec GitHub",
|
||||
"signin.continue_with_google": "Continuer avec Google",
|
||||
"signin.sign_in_to": "Se connecter à",
|
||||
"sync_indicator.disabled": "Pour des raisons de sécurité, la synchronisation est désactivée.",
|
||||
"sync_indicator.offline": "Hors ligne",
|
||||
"sync_indicator.synced": "Synchronisé avec le serveur",
|
||||
"tip_modal.amount": "Montant",
|
||||
"tip_modal.claim_feed": "Réclamer ce flux",
|
||||
"tip_modal.create_wallet": "Créer gratuitement",
|
||||
"tip_modal.feed_owner": "Propriétaire du flux",
|
||||
"tip_modal.low_balance": "Votre solde n'est pas suffisant pour couvrir ce pourboire. Veuillez ajuster le montant.",
|
||||
"tip_modal.no_wallet": "Vous n'avez pas encore de portefeuille. Veuillez créer un portefeuille pour donner un pourboire.",
|
||||
"tip_modal.tip_amount_sent": "a été envoyé à l'auteur.",
|
||||
"tip_modal.tip_now": "Donner un pourboire maintenant",
|
||||
"tip_modal.tip_sent": "Pourboire envoyé avec succès ! Merci pour votre soutien.",
|
||||
"tip_modal.tip_support": "⭐ Donnez un pourboire pour montrer votre soutien !",
|
||||
"tip_modal.unclaimed_feed": "Personne n'a encore réclamé ce flux. Le Power reçu sera conservé en toute sécurité dans le contrat blockchain jusqu'à ce qu'il soit réclamé.",
|
||||
"user_button.account": "Compte",
|
||||
"user_button.download_desktop_app": "Télécharger l'application de bureau",
|
||||
"user_button.log_out": "Se déconnecter",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "Préférences",
|
||||
"user_button.profile": "Profil",
|
||||
"user_profile.close": "Fermer",
|
||||
"user_profile.edit": "Modifier",
|
||||
"user_profile.loading": "Chargement",
|
||||
"user_profile.share": "Partager",
|
||||
"user_profile.toggle_item_style": "Changer le style de l'élément",
|
||||
"words.add": "Ajouter",
|
||||
"words.confirm": "Confirmer",
|
||||
"words.discover": "Découvrir",
|
||||
"words.email": "Email",
|
||||
"words.import": "Importer",
|
||||
"words.items": "Éléments",
|
||||
"words.language": "Langue",
|
||||
"words.load_archived_entries": "Charger les entrées archivées",
|
||||
"words.login": "Connexion",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "Rechercher",
|
||||
"words.starred": "Favoris",
|
||||
"words.unread": "Non lu",
|
||||
"words.user": "Utilisateur",
|
||||
"words.which.all": "tous",
|
||||
"words.zero_items": "Zéro élément"
|
||||
}
|
||||
@@ -0,0 +1,206 @@
|
||||
{
|
||||
"ai_daily.title": "トップニュース - {{title}}",
|
||||
"ai_daily.tooltip.content": "こちらは、AIがあなたのタイムラインから選んだニュースです(<From /> - <To />)。あなたにとって重要なニュースかもしれません。",
|
||||
"ai_daily.tooltip.update_schedule": "毎日午前8時と午後8時に更新されます。",
|
||||
"app.copy_logo_svg": "ロゴSVGをコピー",
|
||||
"app.toggle_sidebar": "サイドバーを切り替え",
|
||||
"discover.any_url_or_keyword": "任意のURLまたはキーワード",
|
||||
"discover.default_option": " (デフォルト)",
|
||||
"discover.feed_description": "このフィードの説明は以下の通りです。必要な情報をパラメータフォームに入力してください。",
|
||||
"discover.feed_maintainers": "このフィードはRSSHubが提供しています。<maintainers />に感謝します。",
|
||||
"discover.import.click_to_upload": "OPMLファイルをアップロードするにはクリック",
|
||||
"discover.popular": "人気",
|
||||
"discover.preview": "プレビュー",
|
||||
"discover.rss_hub_route": "RSSHubルート",
|
||||
"discover.rss_url": "RSS URL",
|
||||
"discover.select_placeholder": "選択",
|
||||
"early_access": "アーリーアクセス",
|
||||
"entry_actions.copy_link": "リンクをコピー",
|
||||
"entry_actions.failed_to_save_to_eagle": "Eagleへの保存に失敗しました。",
|
||||
"entry_actions.failed_to_save_to_instapaper": "Instapaperへの保存に失敗しました。",
|
||||
"entry_actions.failed_to_save_to_readwise": "Readwiseへの保存に失敗しました。",
|
||||
"entry_actions.link_copied": "リンクがクリップボードにコピーされました。",
|
||||
"entry_actions.mark_as_read": "既読にする",
|
||||
"entry_actions.mark_as_unread": "未読にする",
|
||||
"entry_actions.open_in_browser": "ブラウザで開く",
|
||||
"entry_actions.save_media_to_eagle": "メディアをEagleに保存",
|
||||
"entry_actions.save_to_instapaper": "Instapaperに保存",
|
||||
"entry_actions.save_to_readwise": "Readwiseに保存",
|
||||
"entry_actions.saved_to_eagle": "Eagleに保存されました。",
|
||||
"entry_actions.saved_to_instapaper": "Instapaperに保存されました。",
|
||||
"entry_actions.saved_to_readwise": "Readwiseに保存されました。",
|
||||
"entry_actions.share": "共有",
|
||||
"entry_actions.star": "スター",
|
||||
"entry_actions.starred": "スターに登録されました。",
|
||||
"entry_actions.tip": "チップ",
|
||||
"entry_actions.unstar": "スターを解除",
|
||||
"entry_actions.unstarred": "スターが解除されました。",
|
||||
"entry_column.refreshing": "新しいエントリを更新中...",
|
||||
"entry_content.ai_summary": "AIによる要約",
|
||||
"entry_content.fetching_content": "元のコンテンツを取得し、処理中です...",
|
||||
"entry_content.header.play_tts": "TTSを再生",
|
||||
"entry_content.header.readability": "読みやすさ",
|
||||
"entry_content.no_content": "コンテンツがありません",
|
||||
"entry_content.readability_notice": "このコンテンツはReadabilityにより提供されています。誤字などを発見した場合は、元のサイトでオリジナルのコンテンツをご覧ください。",
|
||||
"entry_content.render_error": "レンダリングエラー:",
|
||||
"entry_content.report_issue": "問題を報告",
|
||||
"entry_content.web_app_notice": "このコンテンツタイプはウェブアプリではサポートされていないかもしれません。デスクトップアプリをダウンロードしてください。",
|
||||
"entry_list.zero_unread": "未読ゼロ",
|
||||
"entry_list_header.daily_report": "日報",
|
||||
"entry_list_header.hide_no_image_items": "画像がないエントリを非表示",
|
||||
"entry_list_header.items": "項目",
|
||||
"entry_list_header.new_entries_available": "新しいエントリが利用可能です",
|
||||
"entry_list_header.refetch": "再取得",
|
||||
"entry_list_header.refresh": "更新",
|
||||
"entry_list_header.show_all": "すべて表示",
|
||||
"entry_list_header.show_all_items": "すべてのエントリを表示",
|
||||
"entry_list_header.show_unread_only": "未読のみ表示",
|
||||
"entry_list_header.switch_to_grid": "グリッドに切り替え",
|
||||
"entry_list_header.switch_to_masonry": "メイソンリーレイアウトに切り替え",
|
||||
"entry_list_header.unread": "未読",
|
||||
"feed_claim_modal.choose_verification_method": "選択肢は3つあります。そのうち1つを選んで確認してください。",
|
||||
"feed_claim_modal.claim_button": "クレーム",
|
||||
"feed_claim_modal.content_instructions": "以下の内容をコピーして、最新のRSSフィードに投稿してください。",
|
||||
"feed_claim_modal.description_current": "現在の説明:",
|
||||
"feed_claim_modal.description_instructions": "次の内容をコピーし、RSSフィードの<code />フィールドに貼り付けてください。",
|
||||
"feed_claim_modal.failed_to_load": "クレームメッセージの読み込みに失敗しました",
|
||||
"feed_claim_modal.rss_format_choice": "RSSジェネレータには通常2つのフォーマットがあります。必要に応じて以下のXMLおよびJSONフォーマットをコピーしてください。",
|
||||
"feed_claim_modal.rss_instructions": "以下のコードをコピーし、RSSジェネレータに貼り付けてください。",
|
||||
"feed_claim_modal.rss_json_format": "JSONフォーマット",
|
||||
"feed_claim_modal.rss_xml_format": "XMLフォーマット",
|
||||
"feed_claim_modal.rsshub_notice": "このフィードはRSSHubによって提供されており、キャッシュ時間は1時間です。コンテンツの変更が反映されるまで最大1時間かかる場合があります。",
|
||||
"feed_claim_modal.tab_content": "コンテンツ",
|
||||
"feed_claim_modal.tab_description": "説明",
|
||||
"feed_claim_modal.tab_rss": "RSSタグ",
|
||||
"feed_claim_modal.verify_ownership": "このフィードを自分のものとしてクレームするには、所有権を確認する必要があります。",
|
||||
"feed_form.add_follow": "フォローを追加",
|
||||
"feed_form.category": "カテゴリー",
|
||||
"feed_form.category_description": "デフォルトでは、フォローはウェブサイトごとにグループ化されます。",
|
||||
"feed_form.error_fetching_feed": "フィードの取得に失敗しました。",
|
||||
"feed_form.feed_not_found": "フィードが見つかりません。",
|
||||
"feed_form.feedback": "フィードバック",
|
||||
"feed_form.follow": "フォロー",
|
||||
"feed_form.followed": "🎉 フォローしました。",
|
||||
"feed_form.private_follow": "プライベートフォロー",
|
||||
"feed_form.private_follow_description": "このフォローがあなたのプロフィールページに公開されるかどうか。",
|
||||
"feed_form.retry": "再試行",
|
||||
"feed_form.title": "タイトル",
|
||||
"feed_form.title_description": "このフィードのカスタムタイトル。デフォルトを使用するには空白のままにしてください。",
|
||||
"feed_form.unfollow": "フォロー解除",
|
||||
"feed_form.update": "更新",
|
||||
"feed_form.update_follow": "フォローを更新",
|
||||
"feed_form.updated": "🎉 更新されました。",
|
||||
"feed_form.view": "表示",
|
||||
"feed_item.claimed_by_owner": "このフィードは",
|
||||
"feed_item.claimed_by_unknown": "その所有者によってクレームされています。",
|
||||
"feed_item.claimed_by_you": "あなたによってクレームされています",
|
||||
"feed_item.claimed_feed": "クレームされたフィード",
|
||||
"feed_item.error_since": "エラー発生時刻",
|
||||
"feed_item.not_publicly_visible": "プロフィールページに公開されていません",
|
||||
"feed_view_type.articles": "記事",
|
||||
"feed_view_type.audios": "オーディオ",
|
||||
"feed_view_type.notifications": "通知",
|
||||
"feed_view_type.pictures": "画像",
|
||||
"feed_view_type.social_media": "ソーシャルメディア",
|
||||
"feed_view_type.videos": "動画",
|
||||
"mark_all_read_button.auto_confirm_info": "3秒後に自動的に確認されます。",
|
||||
"mark_all_read_button.confirm": "確認",
|
||||
"mark_all_read_button.confirm_mark_all": "{{which}}を既読にしますか?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "すべてを既読にしますか?",
|
||||
"mark_all_read_button.mark_all_as_read": "すべてを既読にする",
|
||||
"mark_all_read_button.mark_as_read": "{{which}}を既読にする",
|
||||
"mark_all_read_button.undo": "元に戻す",
|
||||
"player.back_10s": "10秒戻る",
|
||||
"player.close": "閉じる",
|
||||
"player.download": "ダウンロード",
|
||||
"player.exit_full_screen": "フルスクリーンを終了",
|
||||
"player.forward_10s": "10秒進む",
|
||||
"player.full_screen": "フルスクリーン",
|
||||
"player.mute": "ミュート",
|
||||
"player.open_entry": "エントリを開く",
|
||||
"player.pause": "一時停止",
|
||||
"player.play": "再生",
|
||||
"player.playback_rate": "再生速度",
|
||||
"player.unmute": "ミュート解除",
|
||||
"player.volume": "音量",
|
||||
"search.empty.no_results": "結果が見つかりませんでした。",
|
||||
"search.group.entries": "エントリ",
|
||||
"search.group.feeds": "フィード",
|
||||
"search.options.all": "すべて",
|
||||
"search.options.entries": "エントリ",
|
||||
"search.options.feeds": "フィード",
|
||||
"search.options.search_type": "検索タイプ",
|
||||
"search.placeholder": "検索...",
|
||||
"search.result_count_local_mode": "(ローカルモード)",
|
||||
"search.tooltip.local_search": "この検索は、ローカルで利用可能なデータを対象としています。最新データを含めるために再取得を試してください。",
|
||||
"shortcuts.guide.title": "ショートカットガイドライン",
|
||||
"sidebar.category_remove_dialog.cancel": "キャンセル",
|
||||
"sidebar.category_remove_dialog.continue": "続行",
|
||||
"sidebar.category_remove_dialog.description": "この操作によりカテゴリーが削除されますが、含まれているフィードは保持され、ウェブサイトごとにグループ化されます。",
|
||||
"sidebar.category_remove_dialog.title": "カテゴリーを削除",
|
||||
"sidebar.feed_actions.claim": "クレーム",
|
||||
"sidebar.feed_actions.claim_feed": "フィードをクレーム",
|
||||
"sidebar.feed_actions.copy_feed_id": "フィードIDをコピー",
|
||||
"sidebar.feed_actions.copy_feed_url": "フィードURLをコピー",
|
||||
"sidebar.feed_actions.edit": "編集",
|
||||
"sidebar.feed_actions.edit_feed": "フィードを編集",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "このフィードはあなたが所有しています",
|
||||
"sidebar.feed_actions.mark_all_as_read": "すべてを既読にする",
|
||||
"sidebar.feed_actions.navigate_to_feed": "フィードに移動",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "ブラウザでフィードを開く",
|
||||
"sidebar.feed_actions.open_site_in_browser": "ブラウザでサイトを開く",
|
||||
"sidebar.feed_actions.unfollow": "フォロー解除",
|
||||
"sidebar.feed_actions.unfollow_feed": "フィードのフォローを解除",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "他のビューに切り替え",
|
||||
"sidebar.feed_column.context_menu.delete_category": "カテゴリーを削除",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "カテゴリー{{folderName}}を削除しますか?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "既読にする",
|
||||
"sidebar.feed_column.context_menu.rename_category": "カテゴリーの名前を変更",
|
||||
"sidebar.select_sort_method": "並べ替え方法を選択",
|
||||
"signin.continue_with_github": "GitHubで続ける",
|
||||
"signin.continue_with_google": "Googleで続ける",
|
||||
"signin.sign_in_to": "サインイン",
|
||||
"sync_indicator.disabled": "セキュリティ上の理由により、同期は無効になっています。",
|
||||
"sync_indicator.offline": "オフライン",
|
||||
"sync_indicator.synced": "サーバーと同期済み",
|
||||
"tip_modal.amount": "金額",
|
||||
"tip_modal.claim_feed": "このフィードをクレーム",
|
||||
"tip_modal.create_wallet": "無料で作成",
|
||||
"tip_modal.feed_owner": "フィードの所有者",
|
||||
"tip_modal.low_balance": "このチップをカバーするには残高が不足しています。金額を調整してください。",
|
||||
"tip_modal.no_wallet": "まだウォレットがありません。ウォレットを作成してチップを送信してください。",
|
||||
"tip_modal.tip_amount_sent": "が作者に送信されました。",
|
||||
"tip_modal.tip_now": "今すぐチップ",
|
||||
"tip_modal.tip_sent": "チップが正常に送信されました!ご支援ありがとうございます。",
|
||||
"tip_modal.tip_support": "⭐ サポートを示すためにチップを送る!",
|
||||
"tip_modal.unclaimed_feed": "このフィードはまだ誰にもクレームされていません。受け取ったPowerは、フィードがクレームされるまでブロックチェーン契約で安全に保持されます。",
|
||||
"user_button.account": "アカウント",
|
||||
"user_button.download_desktop_app": "デスクトップアプリをダウンロード",
|
||||
"user_button.log_out": "ログアウト",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "設定",
|
||||
"user_button.profile": "プロフィール",
|
||||
"user_profile.close": "閉じる",
|
||||
"user_profile.edit": "編集",
|
||||
"user_profile.loading": "読み込み中",
|
||||
"user_profile.share": "共有",
|
||||
"user_profile.toggle_item_style": "アイテムスタイルを切り替え",
|
||||
"words.add": "追加",
|
||||
"words.confirm": "確認",
|
||||
"words.discover": "発見",
|
||||
"words.email": "メール",
|
||||
"words.import": "インポート",
|
||||
"words.items": "アイテム",
|
||||
"words.language": "言語",
|
||||
"words.load_archived_entries": "アーカイブされたエントリを読み込む",
|
||||
"words.login": "ログイン",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "検索",
|
||||
"words.starred": "スター付き",
|
||||
"words.unread": "未読",
|
||||
"words.user": "ユーザー",
|
||||
"words.which.all": "すべて",
|
||||
"words.zero_items": "アイテムがありません"
|
||||
}
|
||||
@@ -0,0 +1,206 @@
|
||||
{
|
||||
"ai_daily.title": "トップニュース - {{title}}",
|
||||
"ai_daily.tooltip.content": "こちらは、AI があなたのタイムラインから選んだニュースです(<From /> - <To />)。あなたにとって重要なニュースかもしれません。",
|
||||
"ai_daily.tooltip.update_schedule": "毎日午前 8 時と午後 8 時に更新されます。",
|
||||
"app.copy_logo_svg": "ロゴ SVG をコピー",
|
||||
"app.toggle_sidebar": "サイドバーを切り替え",
|
||||
"discover.any_url_or_keyword": "任意の URL またはキーワード",
|
||||
"discover.default_option": " (デフォルト)",
|
||||
"discover.feed_description": "このフィードの説明は以下の通りです。必要な情報をパラメータフォームに入力してください。",
|
||||
"discover.feed_maintainers": "このフィードは RSSHub が提供しています。<maintainers />に感謝します。",
|
||||
"discover.import.click_to_upload": "OPML ファイルをアップロードするにはクリック",
|
||||
"discover.popular": "人気",
|
||||
"discover.preview": "プレビュー",
|
||||
"discover.rss_hub_route": "RSSHub ルート",
|
||||
"discover.rss_url": "RSS URL",
|
||||
"discover.select_placeholder": "選択",
|
||||
"early_access": "アーリーアクセス",
|
||||
"entry_actions.copy_link": "リンクをコピー",
|
||||
"entry_actions.failed_to_save_to_eagle": "Eagle への保存に失敗しました。",
|
||||
"entry_actions.failed_to_save_to_instapaper": "Instapaper への保存に失敗しました。",
|
||||
"entry_actions.failed_to_save_to_readwise": "Readwise への保存に失敗しました。",
|
||||
"entry_actions.link_copied": "リンクがクリップボードにコピーされました。",
|
||||
"entry_actions.mark_as_read": "既読にする",
|
||||
"entry_actions.mark_as_unread": "未読にする",
|
||||
"entry_actions.open_in_browser": "ブラウザで開く",
|
||||
"entry_actions.save_media_to_eagle": "メディアを Eagle に保存",
|
||||
"entry_actions.save_to_instapaper": "Instapaper に保存",
|
||||
"entry_actions.save_to_readwise": "Readwise に保存",
|
||||
"entry_actions.saved_to_eagle": "Eagle に保存されました。",
|
||||
"entry_actions.saved_to_instapaper": "Instapaper に保存されました。",
|
||||
"entry_actions.saved_to_readwise": "Readwise に保存されました。",
|
||||
"entry_actions.share": "共有",
|
||||
"entry_actions.star": "スター",
|
||||
"entry_actions.starred": "スターに登録されました。",
|
||||
"entry_actions.tip": "チップ",
|
||||
"entry_actions.unstar": "スターを解除",
|
||||
"entry_actions.unstarred": "スターが解除されました。",
|
||||
"entry_column.refreshing": "新しいエントリを更新中...",
|
||||
"entry_content.ai_summary": "AI による要約",
|
||||
"entry_content.fetching_content": "元のコンテンツを取得し、処理中です...",
|
||||
"entry_content.header.play_tts": "TTS を再生",
|
||||
"entry_content.header.readability": "読みやすさ",
|
||||
"entry_content.no_content": "コンテンツがありません",
|
||||
"entry_content.readability_notice": "このコンテンツは Readability により提供されています。誤字などを発見した場合は、元のサイトでオリジナルのコンテンツをご覧ください。",
|
||||
"entry_content.render_error": "レンダリングエラー:",
|
||||
"entry_content.report_issue": "問題を報告",
|
||||
"entry_content.web_app_notice": "このコンテンツタイプはウェブアプリではサポートされていないかもしれません。デスクトップアプリをダウンロードしてください。",
|
||||
"entry_list.zero_unread": "未読ゼロ",
|
||||
"entry_list_header.daily_report": "日報",
|
||||
"entry_list_header.hide_no_image_items": "画像がないエントリを非表示",
|
||||
"entry_list_header.items": "項目",
|
||||
"entry_list_header.new_entries_available": "新しいエントリが利用可能です",
|
||||
"entry_list_header.refetch": "再取得",
|
||||
"entry_list_header.refresh": "更新",
|
||||
"entry_list_header.show_all": "すべて表示",
|
||||
"entry_list_header.show_all_items": "すべてのエントリを表示",
|
||||
"entry_list_header.show_unread_only": "未読のみ表示",
|
||||
"entry_list_header.switch_to_grid": "グリッドに切り替え",
|
||||
"entry_list_header.switch_to_masonry": "メイソンリーレイアウトに切り替え",
|
||||
"entry_list_header.unread": "未読",
|
||||
"feed_claim_modal.choose_verification_method": "選択肢は 3 つあります。そのうち 1 つを選んで確認してください。",
|
||||
"feed_claim_modal.claim_button": "クレーム",
|
||||
"feed_claim_modal.content_instructions": "以下の内容をコピーして、最新の RSS フィードに投稿してください。",
|
||||
"feed_claim_modal.description_current": "現在の説明:",
|
||||
"feed_claim_modal.description_instructions": "次の内容をコピーし、RSS フィードの<code />フィールドに貼り付けてください。",
|
||||
"feed_claim_modal.failed_to_load": "クレームメッセージの読み込みに失敗しました",
|
||||
"feed_claim_modal.rss_format_choice": "RSS ジェネレータには通常 2 つのフォーマットがあります。必要に応じて以下の XML および JSON フォーマットをコピーしてください。",
|
||||
"feed_claim_modal.rss_instructions": "以下のコードをコピーし、RSS ジェネレータに貼り付けてください。",
|
||||
"feed_claim_modal.rss_json_format": "JSON フォーマット",
|
||||
"feed_claim_modal.rss_xml_format": "XML フォーマット",
|
||||
"feed_claim_modal.rsshub_notice": "このフィードは RSSHub によって提供されており、キャッシュ時間は 1 時間です。コンテンツの変更が反映されるまで最大 1 時間かかる場合があります。",
|
||||
"feed_claim_modal.tab_content": "コンテンツ",
|
||||
"feed_claim_modal.tab_description": "説明",
|
||||
"feed_claim_modal.tab_rss": "RSS タグ",
|
||||
"feed_claim_modal.verify_ownership": "このフィードを自分のものとしてクレームするには、所有権を確認する必要があります。",
|
||||
"feed_form.add_follow": "フォローを追加",
|
||||
"feed_form.category": "カテゴリー",
|
||||
"feed_form.category_description": "デフォルトでは、フォローはウェブサイトごとにグループ化されます。",
|
||||
"feed_form.error_fetching_feed": "フィードの取得に失敗しました。",
|
||||
"feed_form.feed_not_found": "フィードが見つかりません。",
|
||||
"feed_form.feedback": "フィードバック",
|
||||
"feed_form.follow": "フォロー",
|
||||
"feed_form.followed": "🎉 フォローしました。",
|
||||
"feed_form.private_follow": "プライベートフォロー",
|
||||
"feed_form.private_follow_description": "このフォローがあなたのプロフィールページに公開されるかどうか。",
|
||||
"feed_form.retry": "再試行",
|
||||
"feed_form.title": "タイトル",
|
||||
"feed_form.title_description": "このフィードのカスタムタイトル。デフォルトを使用するには空白のままにしてください。",
|
||||
"feed_form.unfollow": "フォロー解除",
|
||||
"feed_form.update": "更新",
|
||||
"feed_form.update_follow": "フォローを更新",
|
||||
"feed_form.updated": "🎉 更新されました。",
|
||||
"feed_form.view": "表示",
|
||||
"feed_item.claimed_by_owner": "このフィードは",
|
||||
"feed_item.claimed_by_unknown": "その所有者によってクレームされています。",
|
||||
"feed_item.claimed_by_you": "あなたによってクレームされています",
|
||||
"feed_item.claimed_feed": "クレームされたフィード",
|
||||
"feed_item.error_since": "エラー発生時刻",
|
||||
"feed_item.not_publicly_visible": "プロフィールページに公開されていません",
|
||||
"feed_view_type.articles": "記事",
|
||||
"feed_view_type.audios": "オーディオ",
|
||||
"feed_view_type.notifications": "通知",
|
||||
"feed_view_type.pictures": "画像",
|
||||
"feed_view_type.social_media": "ソーシャルメディア",
|
||||
"feed_view_type.videos": "動画",
|
||||
"mark_all_read_button.auto_confirm_info": "3 秒後に自動的に確認されます。",
|
||||
"mark_all_read_button.confirm": "確認",
|
||||
"mark_all_read_button.confirm_mark_all": "{{which}}を既読にしますか?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "すべてを既読にしますか?",
|
||||
"mark_all_read_button.mark_all_as_read": "すべてを既読にする",
|
||||
"mark_all_read_button.mark_as_read": "{{which}}を既読にする",
|
||||
"mark_all_read_button.undo": "元に戻す",
|
||||
"player.back_10s": "10 秒戻る",
|
||||
"player.close": "閉じる",
|
||||
"player.download": "ダウンロード",
|
||||
"player.exit_full_screen": "フルスクリーンを終了",
|
||||
"player.forward_10s": "10 秒進む",
|
||||
"player.full_screen": "フルスクリーン",
|
||||
"player.mute": "ミュート",
|
||||
"player.open_entry": "エントリを開く",
|
||||
"player.pause": "一時停止",
|
||||
"player.play": "再生",
|
||||
"player.playback_rate": "再生速度",
|
||||
"player.unmute": "ミュート解除",
|
||||
"player.volume": "音量",
|
||||
"search.empty.no_results": "結果が見つかりませんでした。",
|
||||
"search.group.entries": "エントリ",
|
||||
"search.group.feeds": "フィード",
|
||||
"search.options.all": "すべて",
|
||||
"search.options.entries": "エントリ",
|
||||
"search.options.feeds": "フィード",
|
||||
"search.options.search_type": "検索タイプ",
|
||||
"search.placeholder": "検索...",
|
||||
"search.result_count_local_mode": "(ローカルモード)",
|
||||
"search.tooltip.local_search": "この検索は、ローカルで利用可能なデータを対象としています。最新データを含めるために再取得を試してください。",
|
||||
"shortcuts.guide.title": "ショートカットガイドライン",
|
||||
"sidebar.category_remove_dialog.cancel": "キャンセル",
|
||||
"sidebar.category_remove_dialog.continue": "続行",
|
||||
"sidebar.category_remove_dialog.description": "この操作によりカテゴリーが削除されますが、含まれているフィードは保持され、ウェブサイトごとにグループ化されます。",
|
||||
"sidebar.category_remove_dialog.title": "カテゴリーを削除",
|
||||
"sidebar.feed_actions.claim": "クレーム",
|
||||
"sidebar.feed_actions.claim_feed": "フィードをクレーム",
|
||||
"sidebar.feed_actions.copy_feed_id": "フィード ID をコピー",
|
||||
"sidebar.feed_actions.copy_feed_url": "フィード URL をコピー",
|
||||
"sidebar.feed_actions.edit": "編集",
|
||||
"sidebar.feed_actions.edit_feed": "フィードを編集",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "このフィードはあなたが所有しています",
|
||||
"sidebar.feed_actions.mark_all_as_read": "すべてを既読にする",
|
||||
"sidebar.feed_actions.navigate_to_feed": "フィードに移動",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "ブラウザでフィードを開く",
|
||||
"sidebar.feed_actions.open_site_in_browser": "ブラウザでサイトを開く",
|
||||
"sidebar.feed_actions.unfollow": "フォロー解除",
|
||||
"sidebar.feed_actions.unfollow_feed": "フィードのフォローを解除",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "他のビューに切り替え",
|
||||
"sidebar.feed_column.context_menu.delete_category": "カテゴリーを削除",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "カテゴリー{{folderName}}を削除しますか?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "既読にする",
|
||||
"sidebar.feed_column.context_menu.rename_category": "カテゴリーの名前を変更",
|
||||
"sidebar.select_sort_method": "並べ替え方法を選択",
|
||||
"signin.continue_with_github": "GitHub で続ける",
|
||||
"signin.continue_with_google": "Google で続ける",
|
||||
"signin.sign_in_to": "サインイン",
|
||||
"sync_indicator.disabled": "セキュリティ上の理由により、同期は無効になっています。",
|
||||
"sync_indicator.offline": "オフライン",
|
||||
"sync_indicator.synced": "サーバーと同期済み",
|
||||
"tip_modal.amount": "金額",
|
||||
"tip_modal.claim_feed": "このフィードをクレーム",
|
||||
"tip_modal.create_wallet": "無料で作成",
|
||||
"tip_modal.feed_owner": "フィードの所有者",
|
||||
"tip_modal.low_balance": "このチップをカバーするには残高が不足しています。金額を調整してください。",
|
||||
"tip_modal.no_wallet": "まだウォレットがありません。ウォレットを作成してチップを送信してください。",
|
||||
"tip_modal.tip_amount_sent": "が作者に送信されました。",
|
||||
"tip_modal.tip_now": "今すぐチップ",
|
||||
"tip_modal.tip_sent": "チップが正常に送信されました!ご支援ありがとうございます。",
|
||||
"tip_modal.tip_support": "⭐ サポートを示すためにチップを送る!",
|
||||
"tip_modal.unclaimed_feed": "このフィードはまだ誰にもクレームされていません。受け取った Power は、フィードがクレームされるまでブロックチェーン契約で安全に保持されます。",
|
||||
"user_button.account": "アカウント",
|
||||
"user_button.download_desktop_app": "デスクトップアプリをダウンロード",
|
||||
"user_button.log_out": "ログアウト",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "設定",
|
||||
"user_button.profile": "プロフィール",
|
||||
"user_profile.close": "閉じる",
|
||||
"user_profile.edit": "編集",
|
||||
"user_profile.loading": "読み込み中",
|
||||
"user_profile.share": "共有",
|
||||
"user_profile.toggle_item_style": "アイテムスタイルを切り替え",
|
||||
"words.add": "追加",
|
||||
"words.confirm": "確認",
|
||||
"words.discover": "発見",
|
||||
"words.email": "メール",
|
||||
"words.import": "インポート",
|
||||
"words.items": "アイテム",
|
||||
"words.language": "言語",
|
||||
"words.load_archived_entries": "アーカイブされたエントリを読み込む",
|
||||
"words.login": "ログイン",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "検索",
|
||||
"words.starred": "スター付き",
|
||||
"words.unread": "未読",
|
||||
"words.user": "ユーザー",
|
||||
"words.which.all": "すべて",
|
||||
"words.zero_items": "アイテムがありません"
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"ai_daily.title": "热点 - {{title}}",
|
||||
"ai_daily.tooltip.content": "AI 根据时间线(<From /> - <To />)提取的重点信息",
|
||||
"ai_daily.tooltip.update_schedule": "每天 8:00 和 20:00 定时更新",
|
||||
"app.copy_logo_svg": "复制 Logo SVG",
|
||||
"app.toggle_sidebar": "切换侧边栏",
|
||||
"discover.any_url_or_keyword": "任意链接或关键词",
|
||||
"discover.default_option": " (默认)",
|
||||
"discover.feed_description": "根据描述完善目标订阅源的相关信息",
|
||||
"discover.feed_maintainers": "由 RSSHub 提供,感谢贡献者 <maintainers />",
|
||||
"discover.import.click_to_upload": "导入 OPML 文件",
|
||||
"discover.popular": "热门",
|
||||
"discover.preview": "预览",
|
||||
"discover.rss_hub_route": "RSSHub 路由",
|
||||
"discover.rss_url": "RSS URL",
|
||||
"discover.select_placeholder": "选择",
|
||||
"early_access": "预览版本",
|
||||
"entry_actions.copy_link": "复制链接",
|
||||
"entry_actions.failed_to_save_to_eagle": "保存到 Eagle 失败",
|
||||
"entry_actions.failed_to_save_to_instapaper": "保存到 Instapaper 失败",
|
||||
"entry_actions.failed_to_save_to_readwise": "保存到 Readwise 失败",
|
||||
"entry_actions.link_copied": "链接已复制到剪贴板",
|
||||
"entry_actions.mark_as_read": "标记为已读",
|
||||
"entry_actions.mark_as_unread": "标记为未读",
|
||||
"entry_actions.open_in_browser": "在浏览器打开",
|
||||
"entry_actions.save_media_to_eagle": "保存到 Eagle",
|
||||
"entry_actions.save_to_instapaper": "保存到 Instapaper",
|
||||
"entry_actions.save_to_readwise": "保存到 Readwise",
|
||||
"entry_actions.saved_to_eagle": "保存到 Eagle",
|
||||
"entry_actions.saved_to_instapaper": "保存到 Instapaper.",
|
||||
"entry_actions.saved_to_readwise": "保存到 Readwise.",
|
||||
"entry_actions.share": "分享",
|
||||
"entry_actions.star": "收藏",
|
||||
"entry_actions.starred": "已收藏",
|
||||
"entry_actions.tip": "打赏",
|
||||
"entry_actions.unstar": "取消收藏",
|
||||
"entry_actions.unstarred": "取消收藏",
|
||||
"entry_column.filtered_content_tip": "部分内容已被过滤隐藏",
|
||||
"entry_column.filtered_content_tip_2": "除了上面显示的内容外,还有一些被过滤的内容",
|
||||
"entry_column.refreshing": "正在刷新",
|
||||
"entry_content.ai_summary": "AI 总结",
|
||||
"entry_content.fetching_content": "正在加载...",
|
||||
"entry_content.header.play_tts": "播放文本转语音",
|
||||
"entry_content.header.readability": "阅读模式",
|
||||
"entry_content.no_content": "没有内容",
|
||||
"entry_content.readability_notice": "由 Readability 提供\n若内容或排版异常,请前往原始站点查看",
|
||||
"entry_content.render_error": "渲染错误:",
|
||||
"entry_content.report_issue": "反馈问题",
|
||||
"entry_content.web_app_notice": "网页版不支持展示该类型,请下载客户端查看",
|
||||
"entry_list.zero_unread": "全部已读",
|
||||
"entry_list_header.daily_report": "每日总结",
|
||||
"entry_list_header.hide_no_image_items": "隐藏没有图片的条目",
|
||||
"entry_list_header.items": "内容",
|
||||
"entry_list_header.new_entries_available": "有新内容",
|
||||
"entry_list_header.refetch": "刷新",
|
||||
"entry_list_header.refresh": "刷新",
|
||||
"entry_list_header.show_all": "显示全部",
|
||||
"entry_list_header.show_all_items": "显示全部条目",
|
||||
"entry_list_header.show_unread_only": "仅显示未读",
|
||||
"entry_list_header.switch_to_grid": "切换到网格",
|
||||
"entry_list_header.switch_to_masonry": "切换到瀑布流",
|
||||
"entry_list_header.unread": "未读",
|
||||
"feed_claim_modal.choose_verification_method": "提供三种认证方式,选择其中一种继续:",
|
||||
"feed_claim_modal.claim_button": "认证",
|
||||
"feed_claim_modal.content_instructions": "复制以下内容,发布到需要认证的订阅源",
|
||||
"feed_claim_modal.description_current": "当前描述:",
|
||||
"feed_claim_modal.description_instructions": "复制以下内容,添加到需要认证的订阅源的 <code /> 字段内",
|
||||
"feed_claim_modal.failed_to_load": "加载认证数据失败",
|
||||
"feed_claim_modal.rss_format_choice": "RSS生成器通常有两种格式可供选择,根据需要复制下面内容",
|
||||
"feed_claim_modal.rss_instructions": "复制以下内容并粘贴到对应的 RSS 生成工具",
|
||||
"feed_claim_modal.rss_json_format": "JSON 格式",
|
||||
"feed_claim_modal.rss_xml_format": "XML 格式",
|
||||
"feed_claim_modal.rsshub_notice": "订阅源由 RSSHub 提供,缓存时间为 1 小时,信息可能会有最多 1 小时的延迟",
|
||||
"feed_claim_modal.tab_content": "内容",
|
||||
"feed_claim_modal.tab_description": "描述",
|
||||
"feed_claim_modal.tab_rss": "RSS 标签",
|
||||
"feed_claim_modal.verify_ownership": "完成订阅源所有权验证,证明源由你提供",
|
||||
"feed_form.add_follow": "新增订阅",
|
||||
"feed_form.category": "分类",
|
||||
"feed_form.category_description": "默认按照网站分类",
|
||||
"feed_form.error_fetching_feed": "获取订阅源出错",
|
||||
"feed_form.feed_not_found": "未找到订阅源",
|
||||
"feed_form.feedback": "反馈",
|
||||
"feed_form.follow": "订阅",
|
||||
"feed_form.followed": "🎉 订阅成功",
|
||||
"feed_form.private_follow": "私密订阅",
|
||||
"feed_form.private_follow_description": "开启后,该订阅不再显示在个人主页",
|
||||
"feed_form.retry": "重试",
|
||||
"feed_form.title": "标题",
|
||||
"feed_form.title_description": "自定义标题,留空则使用默认标题",
|
||||
"feed_form.unfollow": "取消订阅",
|
||||
"feed_form.update": "更新",
|
||||
"feed_form.update_follow": "更新订阅",
|
||||
"feed_form.updated": "🎉 订阅更新成功",
|
||||
"feed_form.view": "视图",
|
||||
"feed_item.claimed_by_owner": "订阅源所有者",
|
||||
"feed_item.claimed_by_unknown": "未知所有者",
|
||||
"feed_item.claimed_by_you": "订阅源由你提供",
|
||||
"feed_item.claimed_feed": "已认证源",
|
||||
"feed_item.error_since": "源失效:",
|
||||
"feed_item.not_publicly_visible": "在个人资料页面上隐藏",
|
||||
"feed_view_type.articles": "文章",
|
||||
"feed_view_type.audios": "音频",
|
||||
"feed_view_type.notifications": "通知",
|
||||
"feed_view_type.pictures": "图片",
|
||||
"feed_view_type.social_media": "社交媒体",
|
||||
"feed_view_type.videos": "视频",
|
||||
"mark_all_read_button.auto_confirm_info": "3 秒后自动确认",
|
||||
"mark_all_read_button.confirm": "确认",
|
||||
"mark_all_read_button.confirm_mark_all": "将 {{which}} 标记为已读?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "确认将全部标记为已读?",
|
||||
"mark_all_read_button.mark_all_as_read": "全部标记为已读",
|
||||
"mark_all_read_button.mark_as_read": "标记 {{which}} 为已读",
|
||||
"mark_all_read_button.undo": "撤销",
|
||||
"player.back_10s": "后退 10s",
|
||||
"player.close": "关闭",
|
||||
"player.download": "下载",
|
||||
"player.exit_full_screen": "退出全屏",
|
||||
"player.forward_10s": "快进 10s",
|
||||
"player.full_screen": "进入全屏",
|
||||
"player.mute": "静音",
|
||||
"player.open_entry": "跳转到条目",
|
||||
"player.pause": "暂停",
|
||||
"player.play": "播放",
|
||||
"player.playback_rate": "播放速度",
|
||||
"player.unmute": "取消静音",
|
||||
"player.volume": "音量",
|
||||
"search.empty.no_results": "搜索结果为空",
|
||||
"search.group.entries": "条目",
|
||||
"search.group.feeds": "订阅源",
|
||||
"search.options.all": "全部",
|
||||
"search.options.entries": "条目",
|
||||
"search.options.feeds": "订阅源",
|
||||
"search.options.search_type": "搜索类型",
|
||||
"search.placeholder": "搜索...",
|
||||
"search.result_count_local_mode": "(本地模式)",
|
||||
"search.tooltip.local_search": "当前搜索仅包含本地可用数据,尝试重新搜索得到更多结果",
|
||||
"shortcuts.guide.title": "快捷键指南",
|
||||
"sidebar.category_remove_dialog.cancel": "取消",
|
||||
"sidebar.category_remove_dialog.continue": "继续",
|
||||
"sidebar.category_remove_dialog.description": "正在删除分类,操作后仍保留订阅源并按网站分组",
|
||||
"sidebar.category_remove_dialog.title": "删除分类",
|
||||
"sidebar.feed_actions.claim": "认证",
|
||||
"sidebar.feed_actions.claim_feed": "认证订阅",
|
||||
"sidebar.feed_actions.copy_feed_id": "复制 ID",
|
||||
"sidebar.feed_actions.copy_feed_url": "复制链接",
|
||||
"sidebar.feed_actions.edit": "编辑",
|
||||
"sidebar.feed_actions.edit_feed": "编辑订阅",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "该订阅源归你所有",
|
||||
"sidebar.feed_actions.mark_all_as_read": "全部标记为已读",
|
||||
"sidebar.feed_actions.navigate_to_feed": "跳转至",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "在浏览器打开订阅源",
|
||||
"sidebar.feed_actions.open_site_in_browser": "在浏览器打开网站",
|
||||
"sidebar.feed_actions.unfollow": "取消订阅",
|
||||
"sidebar.feed_actions.unfollow_feed": "取消订阅",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "更改为其他视图",
|
||||
"sidebar.feed_column.context_menu.delete_category": "删除分类",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "删除分类 {{folderName}}?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "标记为已读",
|
||||
"sidebar.feed_column.context_menu.rename_category": "重命名分类",
|
||||
"sidebar.select_sort_method": "选择排序方法",
|
||||
"signin.continue_with_github": "使用 GitHub 登录",
|
||||
"signin.continue_with_google": "使用 Google 登录",
|
||||
"signin.sign_in_to": "登录到",
|
||||
"sync_indicator.disabled": "由于信息安全合规问题,自动同步已禁用",
|
||||
"sync_indicator.offline": "离线",
|
||||
"sync_indicator.synced": "已同步至云端",
|
||||
"tip_modal.amount": "数量",
|
||||
"tip_modal.claim_feed": "认证该订阅源",
|
||||
"tip_modal.create_wallet": "免费创建",
|
||||
"tip_modal.feed_owner": "订阅源所有者",
|
||||
"tip_modal.low_balance": "钱包里没有足够的数量完成打赏,请调整打赏数量",
|
||||
"tip_modal.no_wallet": "当前没有钱包,创建钱包继续完成打赏",
|
||||
"tip_modal.tip_amount_sent": "发送给作者",
|
||||
"tip_modal.tip_now": "立即打赏",
|
||||
"tip_modal.tip_sent": "成功打赏!感谢支持",
|
||||
"tip_modal.tip_support": "⭐ 打赏表示支持!",
|
||||
"tip_modal.unclaimed_feed": "这个订阅源还没有被认证,收到的 Power 将存放在区块链直到源所有者完成认证",
|
||||
"user_button.account": "账号",
|
||||
"user_button.download_desktop_app": "下载客户端",
|
||||
"user_button.log_out": "登出",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "设置",
|
||||
"user_button.profile": "个人资料",
|
||||
"user_profile.close": "关闭",
|
||||
"user_profile.edit": "编辑",
|
||||
"user_profile.loading": "加载中",
|
||||
"user_profile.share": "分享",
|
||||
"user_profile.toggle_item_style": "切换列表样式",
|
||||
"words.add": "添加",
|
||||
"words.confirm": "确认",
|
||||
"words.discover": "发现",
|
||||
"words.email": "邮箱",
|
||||
"words.import": "导入",
|
||||
"words.items": "内容",
|
||||
"words.language": "语言",
|
||||
"words.load_archived_entries": "加载已归档条目",
|
||||
"words.login": "登录",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "搜索",
|
||||
"words.starred": "收藏",
|
||||
"words.unread": "未读",
|
||||
"words.user": "用户",
|
||||
"words.which.all": "全部",
|
||||
"words.zero_items": "没有内容"
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"ai_daily.title": "頭條新聞 - {{title}}",
|
||||
"ai_daily.tooltip.content": "以下是 AI 從您的時間軸中選擇的新聞(<From /> - <To />),可能對您很重要。",
|
||||
"ai_daily.tooltip.update_schedule": "每天早上 8 點和晚上 8 點更新。",
|
||||
"app.app_name": "APP_NAME",
|
||||
"app.copy_logo_svg": "複製 Logo SVG",
|
||||
"app.toggle_sidebar": "切換側邊欄",
|
||||
"discover.any_url_or_keyword": "任何 URL 或關鍵字",
|
||||
"discover.default_option": "(預設)",
|
||||
"discover.feed_description": "此 Feed 的說明如下,您可以填寫參數表單中的相關資訊",
|
||||
"discover.feed_maintainers": "此 Feed 由 RSSHub 提供,感謝 <maintainers />",
|
||||
"discover.import.click_to_upload": "點擊上傳 OPML file 以導入",
|
||||
"discover.popular": "熱門",
|
||||
"discover.preview": "預覽",
|
||||
"discover.rss_hub_route": "RSSHub 路由",
|
||||
"discover.rss_url": "RSS URL",
|
||||
"discover.select_placeholder": "選擇",
|
||||
"early_access": "搶先體驗",
|
||||
"entry_actions.copy_link": "複製連結",
|
||||
"entry_actions.failed_to_save_to_eagle": "無法儲存到 Eagle。",
|
||||
"entry_actions.failed_to_save_to_instapaper": "無法儲存到 Instapaper。",
|
||||
"entry_actions.failed_to_save_to_readwise": "無法儲存到 Readwise。",
|
||||
"entry_actions.link_copied": "連結已複製到剪貼簿。",
|
||||
"entry_actions.mark_as_read": "標記為已讀",
|
||||
"entry_actions.mark_as_unread": "標記為未讀",
|
||||
"entry_actions.open_in_browser": "在瀏覽器中打開",
|
||||
"entry_actions.save_media_to_eagle": "儲存媒體至 Eagle",
|
||||
"entry_actions.save_to_instapaper": "儲存到 Instapaper",
|
||||
"entry_actions.save_to_readwise": "儲存到 Readwise",
|
||||
"entry_actions.saved_to_eagle": "已儲存至 Eagle。",
|
||||
"entry_actions.saved_to_instapaper": "已儲存至 Instapaper。",
|
||||
"entry_actions.saved_to_readwise": "已儲存至 Readwise。",
|
||||
"entry_actions.share": "分享",
|
||||
"entry_actions.star": "收藏",
|
||||
"entry_actions.starred": "已收藏",
|
||||
"entry_actions.tip": "贊助",
|
||||
"entry_actions.unstar": "取消收藏",
|
||||
"entry_actions.unstarred": "已取消收藏",
|
||||
"entry_column.refreshing": "正在更新",
|
||||
"entry_content.ai_summary": "AI 摘要",
|
||||
"entry_content.fetching_content": "正在獲取原始內容並處理……",
|
||||
"entry_content.header.play_tts": "播放 TTS",
|
||||
"entry_content.header.readability": "可讀",
|
||||
"entry_content.no_content": "無內容",
|
||||
"entry_content.readability_notice": "此內容由 Readability 提供。如果您發現排版異常,請訪問來源網站查看原始內容。",
|
||||
"entry_content.render_error": "渲染錯誤:",
|
||||
"entry_content.report_issue": "報告問題",
|
||||
"entry_content.web_app_notice": "Web 應用程式不支援此類型內容。您可以下載桌面應用程式。",
|
||||
"entry_list.zero_unread": "零未讀",
|
||||
"entry_list_header.daily_report": "每日報告",
|
||||
"entry_list_header.hide_no_image_items": "隱藏無圖條目",
|
||||
"entry_list_header.items": "項目",
|
||||
"entry_list_header.new_entries_available": "有新項目可用",
|
||||
"entry_list_header.refetch": "重新獲取",
|
||||
"entry_list_header.refresh": "重新整理",
|
||||
"entry_list_header.show_all": "顯示全部",
|
||||
"entry_list_header.show_all_items": "顯示所有條目",
|
||||
"entry_list_header.show_unread_only": "僅顯示未讀",
|
||||
"entry_list_header.switch_to_grid": "切換到網格",
|
||||
"entry_list_header.switch_to_masonry": "切換到 Masonry",
|
||||
"entry_list_header.unread": "未讀",
|
||||
"feed_claim_modal.choose_verification_method": "有三種驗證方式,您可以選擇其中一種進行驗證。",
|
||||
"feed_claim_modal.claim_button": "認領",
|
||||
"feed_claim_modal.content_instructions": "複製以下內容並將其發佈到您的最新 RSS 摘要中。",
|
||||
"feed_claim_modal.description_current": "當前描述:",
|
||||
"feed_claim_modal.description_instructions": "複製以下內容並將其貼入您的 RSS 摘要中的 <code /> 欄位。",
|
||||
"feed_claim_modal.failed_to_load": "無法載入認領訊息",
|
||||
"feed_claim_modal.rss_format_choice": "RSS 生成器通常有兩種格式可供選擇。請根據需要複製以下 XML 和 JSON 格式。",
|
||||
"feed_claim_modal.rss_instructions": "複製以下程式碼並將其黏貼到您的 RSS 生成器中。",
|
||||
"feed_claim_modal.rss_json_format": "JSON 格式",
|
||||
"feed_claim_modal.rss_xml_format": "XML 格式",
|
||||
"feed_claim_modal.rsshub_notice": "此摘要由 RSSHub 提供,快取時間為 1 小時。發佈內容後,請最多等待 1 小時以顯示變更。",
|
||||
"feed_claim_modal.tab_content": "內容",
|
||||
"feed_claim_modal.tab_description": "描述",
|
||||
"feed_claim_modal.tab_rss": "RSS 標籤",
|
||||
"feed_claim_modal.verify_ownership": "要認領此摘要為您的內容,您需要驗證所有權。",
|
||||
"feed_form.add_follow": "關注",
|
||||
"feed_form.category": "類別",
|
||||
"feed_form.category_description": "預設情況下,您的關注將按網站分組。",
|
||||
"feed_form.error_fetching_feed": "獲取摘要時出錯。",
|
||||
"feed_form.feed_not_found": "未找到摘要。",
|
||||
"feed_form.feedback": "回饋",
|
||||
"feed_form.follow": "關注",
|
||||
"feed_form.followed": "🎉 已關注。",
|
||||
"feed_form.private_follow": "私人關注",
|
||||
"feed_form.private_follow_description": "此關注是否在您的個人資料頁面上公開顯示。",
|
||||
"feed_form.retry": "重試",
|
||||
"feed_form.title": "標題",
|
||||
"feed_form.title_description": "為此摘要自訂標題。留空以使用預設標題。",
|
||||
"feed_form.unfollow": "取消關注",
|
||||
"feed_form.update": "更新",
|
||||
"feed_form.update_follow": "更新關注",
|
||||
"feed_form.updated": "🎉 已更新。",
|
||||
"feed_form.view": "檢視",
|
||||
"feed_item.claimed_by_owner": "此摘要",
|
||||
"feed_item.claimed_by_unknown": "其擁有者。",
|
||||
"feed_item.claimed_by_you": "您已認領",
|
||||
"feed_item.claimed_feed": "已認領摘要",
|
||||
"feed_item.error_since": "錯誤發生時間",
|
||||
"feed_item.not_publicly_visible": "在您的個人資料頁面上不公開顯示",
|
||||
"feed_view_type.articles": "文章",
|
||||
"feed_view_type.audios": "音訊",
|
||||
"feed_view_type.notifications": "通知",
|
||||
"feed_view_type.pictures": "圖片",
|
||||
"feed_view_type.social_media": "社交媒體",
|
||||
"feed_view_type.videos": "影片",
|
||||
"mark_all_read_button.auto_confirm_info": "將在 3 秒後自動確認。",
|
||||
"mark_all_read_button.confirm": "確認",
|
||||
"mark_all_read_button.confirm_mark_all": "將 {{which}} 標記為已讀?",
|
||||
"mark_all_read_button.confirm_mark_all_info": "確認將全部標記為已讀?",
|
||||
"mark_all_read_button.mark_all_as_read": "全部標記為已讀",
|
||||
"mark_all_read_button.mark_as_read": "將 {{which}} 標記為已讀",
|
||||
"mark_all_read_button.undo": "復原",
|
||||
"player.back_10s": "後退 10 秒",
|
||||
"player.close": "關閉",
|
||||
"player.download": "下載",
|
||||
"player.exit_full_screen": "退出全螢幕",
|
||||
"player.forward_10s": "前進 10 秒",
|
||||
"player.full_screen": "全螢幕",
|
||||
"player.mute": "靜音",
|
||||
"player.open_entry": "打開項目",
|
||||
"player.pause": "暫停",
|
||||
"player.play": "播放",
|
||||
"player.playback_rate": "播放速率",
|
||||
"player.unmute": "取消靜音",
|
||||
"player.volume": "音量",
|
||||
"search.empty.no_results": "未找到結果。",
|
||||
"search.group.entries": "條目",
|
||||
"search.group.feeds": "摘要",
|
||||
"search.options.all": "全部",
|
||||
"search.options.entries": "項目",
|
||||
"search.options.feeds": "摘要",
|
||||
"search.options.search_type": "搜尋類型",
|
||||
"search.placeholder": "搜尋……",
|
||||
"search.result_count_local_mode": "(本地模式)",
|
||||
"search.tooltip.local_search": "此搜尋涵蓋本地可用資料。嘗試重新獲取以包含最新資料。",
|
||||
"shortcuts.guide.title": "快捷鍵指南",
|
||||
"sidebar.category_remove_dialog.cancel": "取消",
|
||||
"sidebar.category_remove_dialog.continue": "繼續",
|
||||
"sidebar.category_remove_dialog.description": "此操作將刪除您的類別,但它包含的摘要將被保留並按網站分組。",
|
||||
"sidebar.category_remove_dialog.title": "移除類別",
|
||||
"sidebar.feed_actions.claim": "認領",
|
||||
"sidebar.feed_actions.claim_feed": "認領摘要",
|
||||
"sidebar.feed_actions.copy_feed_id": "複製摘要 ID",
|
||||
"sidebar.feed_actions.copy_feed_url": "複製摘要 URL",
|
||||
"sidebar.feed_actions.edit": "編輯",
|
||||
"sidebar.feed_actions.edit_feed": "編輯摘要",
|
||||
"sidebar.feed_actions.feed_owned_by_you": "此摘要由你所擁有",
|
||||
"sidebar.feed_actions.mark_all_as_read": "全部標記為已讀",
|
||||
"sidebar.feed_actions.navigate_to_feed": "導航到摘要",
|
||||
"sidebar.feed_actions.open_feed_in_browser": "使用瀏覽器打開這個摘要",
|
||||
"sidebar.feed_actions.open_site_in_browser": "使用瀏覽器打開這個網站",
|
||||
"sidebar.feed_actions.unfollow": "取消關注",
|
||||
"sidebar.feed_actions.unfollow_feed": "取消關注摘要",
|
||||
"sidebar.feed_column.context_menu.change_to_other_view": "切換到其他視圖",
|
||||
"sidebar.feed_column.context_menu.delete_category": "刪除類別",
|
||||
"sidebar.feed_column.context_menu.delete_category_confirmation": "刪除類別 {{folderName}}?",
|
||||
"sidebar.feed_column.context_menu.mark_as_read": "標記為已讀",
|
||||
"sidebar.feed_column.context_menu.rename_category": "重命名類別",
|
||||
"sidebar.select_sort_method": "選擇排序方式",
|
||||
"signin.continue_with_github": "繼續使用 GitHub",
|
||||
"signin.continue_with_google": "繼續使用 Google",
|
||||
"signin.sign_in_to": "登入",
|
||||
"sync_indicator.disabled": "由於安全原因,同步功能已停用。",
|
||||
"sync_indicator.offline": "離線",
|
||||
"sync_indicator.synced": "已與伺服器同步",
|
||||
"tip_modal.amount": "金額",
|
||||
"tip_modal.claim_feed": "認領此摘要",
|
||||
"tip_modal.create_wallet": "免費建立",
|
||||
"tip_modal.feed_owner": "摘要擁有者",
|
||||
"tip_modal.low_balance": "您的餘額不足以支付此小費。請調整金額。",
|
||||
"tip_modal.no_wallet": "您尚未擁有錢包。請創建錢包以進行贊助。",
|
||||
"tip_modal.tip_amount_sent": "已經發送給作者。",
|
||||
"tip_modal.tip_now": "立刻贊助",
|
||||
"tip_modal.tip_sent": "贊助成功! 謝謝您的支持",
|
||||
"tip_modal.tip_support": "⭐ 贊助以表示你的支持!",
|
||||
"tip_modal.unclaimed_feed": "目前尚無人認領此摘要。收到的 Power 將安全地保存在區塊鏈合約中,直到被認領為止。",
|
||||
"user_button.account": "帳戶",
|
||||
"user_button.download_desktop_app": "下載桌面應用程式",
|
||||
"user_button.log_out": "登出",
|
||||
"user_button.power": "Power",
|
||||
"user_button.preferences": "偏好設定",
|
||||
"user_button.profile": "個人檔案",
|
||||
"user_profile.close": "關閉",
|
||||
"user_profile.edit": "編輯",
|
||||
"user_profile.loading": "載入中",
|
||||
"user_profile.share": "分享",
|
||||
"user_profile.toggle_item_style": "切換項目樣式",
|
||||
"words.add": "新增",
|
||||
"words.confirm": "確認",
|
||||
"words.discover": "發現",
|
||||
"words.email": "Email",
|
||||
"words.import": "匯入",
|
||||
"words.items": "內容",
|
||||
"words.language": "語言",
|
||||
"words.load_archived_entries": "載入已封存項目",
|
||||
"words.login": "登入",
|
||||
"words.rss": "RSS",
|
||||
"words.rss3": "RSS3",
|
||||
"words.rsshub": "RSSHub",
|
||||
"words.search": "搜尋",
|
||||
"words.starred": "收藏",
|
||||
"words.unread": "未讀",
|
||||
"words.user": "使用者",
|
||||
"words.which.all": "全部",
|
||||
"words.zero_items": "沒有內容"
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
{
|
||||
"words": {
|
||||
"search": "搜索",
|
||||
"import": "导入",
|
||||
"discover": "发现",
|
||||
"language": "语言"
|
||||
},
|
||||
"signin": {
|
||||
"continue_with_github": "使用 GitHub 登录",
|
||||
"continue_with_google": "使用 Google 登录",
|
||||
"sign_in_to": "登录到"
|
||||
},
|
||||
"settings": {
|
||||
"titles": {
|
||||
"general": "常规",
|
||||
"appearance": "外观",
|
||||
"actions": "操作",
|
||||
"integration": "集成",
|
||||
"about": "关于",
|
||||
"profile": "个人资料",
|
||||
"shortcuts": "热键",
|
||||
"power": "Power",
|
||||
"invitations": "邀请"
|
||||
},
|
||||
"general": {
|
||||
"app": "应用程序",
|
||||
"data_persist": {
|
||||
"description": "在本地保留数据以启用离线访问和本地搜索。",
|
||||
"label": "保留数据以供离线使用"
|
||||
},
|
||||
"group_by_date": {
|
||||
"description": "按日期对条目进行分组。",
|
||||
"label": "按日期分组"
|
||||
},
|
||||
"launch_at_login": "登录时启动",
|
||||
"mark_as_read": {
|
||||
"hover": {
|
||||
"description": "悬停时自动将条目标记为已读。",
|
||||
"label": "悬停时标记为已读"
|
||||
},
|
||||
"render": {
|
||||
"description": "当单级条目(例如社交媒体帖子、图片、视频视图)进入视图时自动将其标记为已读。",
|
||||
"label": "在视图中标记为已读"
|
||||
},
|
||||
"scroll": {
|
||||
"description": "当滚动出视图时自动将条目标记为已读。",
|
||||
"label": "滚动时标记为已读"
|
||||
}
|
||||
},
|
||||
"privacy_data": "隐私",
|
||||
"rebuild_database": {
|
||||
"button": "重建",
|
||||
"description": "如果您遇到渲染问题,重建数据库可能会解决这些问题。",
|
||||
"label": "重建数据库",
|
||||
"title": "重建数据库",
|
||||
"warning[0]": "重建数据库将清除所有本地数据。",
|
||||
"warning[1]": "您确定要继续吗?",
|
||||
"warning": {
|
||||
"line1": "重建数据库将清除所有本地数据。",
|
||||
"line2": "您确定要继续吗?"
|
||||
}
|
||||
},
|
||||
"send_anonymous_data": {
|
||||
"description": "通过选择发送匿名遥测数据,您可以为改善“关注”的整体用户体验做出贡献。",
|
||||
"label": "发送匿名数据"
|
||||
},
|
||||
"show_unread_on_launch": {
|
||||
"description": "启动时显示未读内容",
|
||||
"label": "启动时显示未读内容"
|
||||
},
|
||||
"timeline": "时间轴",
|
||||
"voices": "声音"
|
||||
}
|
||||
}
|
||||
}
|
||||
+24
-4
@@ -1,8 +1,28 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "Copied to clipboard",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm",
|
||||
"ok": "OK",
|
||||
"cancel": "Cancel",
|
||||
"tips": {
|
||||
"load-lng-error": "Failed to load language pack"
|
||||
}
|
||||
"quantifier.piece": "",
|
||||
"time.last_night": "Last Night",
|
||||
"time.the_night_before_last": "The Night Before Last",
|
||||
"time.today": "Today",
|
||||
"time.yesterday": "Yesterday",
|
||||
"tips.load-lng-error": "Failed to load language pack",
|
||||
"words.back": "Back",
|
||||
"words.copy": "Copy",
|
||||
"words.edit": "Edit",
|
||||
"words.entry": "Entry",
|
||||
"words.id": "ID",
|
||||
"words.items_one": "Item",
|
||||
"words.items_other": "Items",
|
||||
"words.local": "local",
|
||||
"words.record": "record",
|
||||
"words.record_one": "record",
|
||||
"words.record_other": "records",
|
||||
"words.result": "result",
|
||||
"words.result_one": "result",
|
||||
"words.result_other": "results",
|
||||
"words.space": " ",
|
||||
"words.which.all": "All"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "Copié dans le presse-papier",
|
||||
"cancel": "Annuler",
|
||||
"confirm": "Confirmer",
|
||||
"ok": "OK",
|
||||
"quantifier.piece": "",
|
||||
"time.last_night": "La nuit dernière",
|
||||
"time.the_night_before_last": "L'avant-dernière nuit",
|
||||
"time.today": "Aujourd'hui",
|
||||
"time.yesterday": "Hier",
|
||||
"tips.load-lng-error": "Échec du chargement du pack de langue",
|
||||
"words.back": "Retour",
|
||||
"words.copy": "Copier",
|
||||
"words.edit": "Éditer",
|
||||
"words.entry": "Entrée",
|
||||
"words.id": "ID",
|
||||
"words.items_one": "Élément",
|
||||
"words.items_other": "Éléments",
|
||||
"words.local": "local",
|
||||
"words.record": "enregistrement",
|
||||
"words.record_one": "enregistrement",
|
||||
"words.record_other": "enregistrements",
|
||||
"words.result": "résultat",
|
||||
"words.result_one": "résultat",
|
||||
"words.result_other": "résultats",
|
||||
"words.space": " ",
|
||||
"words.which.all": "Tous"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "クリップボードにコピーしました",
|
||||
"cancel": "キャンセル",
|
||||
"confirm": "確認",
|
||||
"ok": "OK",
|
||||
"quantifier.piece": "個",
|
||||
"time.last_night": "昨夜",
|
||||
"time.the_night_before_last": "一昨夜",
|
||||
"time.today": "今日",
|
||||
"time.yesterday": "昨日",
|
||||
"tips.load-lng-error": "言語パックの読み込みに失敗しました",
|
||||
"words.back": "戻る",
|
||||
"words.copy": "コピー",
|
||||
"words.edit": "編集",
|
||||
"words.entry": "エントリー",
|
||||
"words.id": "ID",
|
||||
"words.items_one": "アイテム",
|
||||
"words.items_other": "アイテム",
|
||||
"words.local": "ローカル",
|
||||
"words.record": "記録",
|
||||
"words.record_one": "記録",
|
||||
"words.record_other": "記録",
|
||||
"words.result": "結果",
|
||||
"words.result_one": "結果",
|
||||
"words.result_other": "結果",
|
||||
"words.space": "",
|
||||
"words.which.all": "すべて"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "Copiado para a área de transferência",
|
||||
"cancel": "Cancelar",
|
||||
"confirm": "Confirmar",
|
||||
"ok": "OK",
|
||||
"quantifier.piece": "",
|
||||
"time.last_night": "Ontem à noite",
|
||||
"time.the_night_before_last": "Anteontem à noite",
|
||||
"time.today": "Hoje",
|
||||
"time.yesterday": "Ontem",
|
||||
"tips.load-lng-error": "Falha ao carregar o pacote de idioma",
|
||||
"words.back": "Voltar",
|
||||
"words.copy": "Copiar",
|
||||
"words.edit": "Editar",
|
||||
"words.entry": "Entrada",
|
||||
"words.id": "ID",
|
||||
"words.items_one": "Item",
|
||||
"words.items_other": "Itens",
|
||||
"words.local": "local",
|
||||
"words.record": "registo",
|
||||
"words.record_one": "registo",
|
||||
"words.record_other": "registos",
|
||||
"words.result": "resultado",
|
||||
"words.result_one": "resultado",
|
||||
"words.result_other": "resultados",
|
||||
"words.space": " ",
|
||||
"words.which.all": "Todos"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "已复制到剪贴板",
|
||||
"cancel": "取消",
|
||||
"confirm": "确认",
|
||||
"ok": "好",
|
||||
"quantifier.piece": "条",
|
||||
"time.last_night": "昨晚",
|
||||
"time.the_night_before_last": "前天晚上",
|
||||
"time.today": "今天",
|
||||
"time.yesterday": "昨天",
|
||||
"tips.load-lng-error": "加载语言包失败",
|
||||
"words.back": "返回",
|
||||
"words.copy": "复制",
|
||||
"words.edit": "编辑",
|
||||
"words.entry": "条目",
|
||||
"words.id": "ID",
|
||||
"words.items": "内容",
|
||||
"words.items_one": "内容",
|
||||
"words.items_other": "内容",
|
||||
"words.local": "本地",
|
||||
"words.record": "记录",
|
||||
"words.record_one": "记录",
|
||||
"words.record_other": "记录",
|
||||
"words.result": "结果",
|
||||
"words.result_one": "结果",
|
||||
"words.result_other": "结果",
|
||||
"words.space": "",
|
||||
"words.which.all": "全部"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"app.copied_to_clipboard": "已複製到剪貼簿",
|
||||
"cancel": "取消",
|
||||
"confirm": "確認",
|
||||
"ok": "確定",
|
||||
"quantifier.piece": "",
|
||||
"time.last_night": "昨晚",
|
||||
"time.the_night_before_last": "前晚",
|
||||
"time.today": "今天",
|
||||
"time.yesterday": "昨天",
|
||||
"tips.load-lng-error": "語言包載入失敗",
|
||||
"words.back": "返回",
|
||||
"words.copy": "複製",
|
||||
"words.edit": "編輯",
|
||||
"words.entry": "條目",
|
||||
"words.id": "識別碼",
|
||||
"words.items_one": "項目",
|
||||
"words.items_other": "多個項目",
|
||||
"words.local": "本地",
|
||||
"words.record": "記錄",
|
||||
"words.record_one": "記錄",
|
||||
"words.record_other": "多筆記錄",
|
||||
"words.result": "結果",
|
||||
"words.result_one": "結果",
|
||||
"words.result_other": "多筆結果",
|
||||
"words.space": " ",
|
||||
"words.which.all": "全部"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"confirm": "确认",
|
||||
"ok": "好",
|
||||
"cancel": "取消",
|
||||
"tips": {
|
||||
"load-lng-error": "加载语言包失败"
|
||||
}
|
||||
}
|
||||
Vendored
+38
-3
@@ -1,8 +1,43 @@
|
||||
{
|
||||
"copied_link": "Copied link to clipboard",
|
||||
"feed": {
|
||||
"follower_one": "follower",
|
||||
"follower_other": "followers",
|
||||
"followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} with {{readCount}} {{readNoun}} on {{appName}}",
|
||||
"read_one": "read",
|
||||
"read_other": "reads"
|
||||
},
|
||||
"header": {
|
||||
"app": "App",
|
||||
"download": "Download"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "Activate",
|
||||
"codeOptions": {
|
||||
"1": "Looking for any alpha test user to invite you.",
|
||||
"2": "Join our Discord server for occasional giveaways.",
|
||||
"3": "Follow our X account for occasional giveaways."
|
||||
},
|
||||
"earlyAccess": "Follow is currently in early access and requires an invitation code to use.",
|
||||
"earlyAccessMessage": "😰 Sorry, Follow is currently in early access and requires an invitation code to use.",
|
||||
"generateButton": "Generate new code",
|
||||
"generateCost": "You can spend {{INVITATION_PRICE}} Power to generate an invitation code for your friends.",
|
||||
"getCodeMessage": "You can get an invitation code in the following ways:",
|
||||
"title": "Invitation Code"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "Back To Web App",
|
||||
"continueWithGitHub": "Continue with GitHub",
|
||||
"continueWithGoogle": "Continue with Google",
|
||||
"logInTo": "Log in to ",
|
||||
"openApp": "Open App",
|
||||
"redirecting": "Redirecting",
|
||||
"welcomeTo": "Welcome to "
|
||||
},
|
||||
"redirect": {
|
||||
"successMessage": "You have successfully connected to {{APP_NAME}} Account.",
|
||||
"instruction": "Now is the time to open {{APP_NAME}} and safely close this page.",
|
||||
"continueInBrowser": "Continue in Browser",
|
||||
"openApp": "Open {{APP_NAME}}"
|
||||
"instruction": "Now is the time to open {{APP_NAME}} and safely close this page.",
|
||||
"openApp": "Open {{APP_NAME}}",
|
||||
"successMessage": "You have successfully connected to {{APP_NAME}} Account."
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"feed": {
|
||||
"follower_one": "suivi",
|
||||
"follower_other": "suivis",
|
||||
"followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} avec {{readCount}} {{readNoun}} sur {{appName}}",
|
||||
"read_one": "lecture",
|
||||
"read_other": "lectures"
|
||||
},
|
||||
"header": {
|
||||
"app": "Application",
|
||||
"download": "Télécharger"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "Activer",
|
||||
"codeOptions": {
|
||||
"1": "Cherchez un utilisateur de test alpha pour vous inviter.",
|
||||
"2": "Rejoignez notre serveur Discord pour des cadeaux occasionnels.",
|
||||
"3": "Suivez notre compte X pour des cadeaux occasionnels."
|
||||
},
|
||||
"earlyAccess": "Follow est actuellement en accès anticipé et nécessite un code d'invitation pour être utilisé.",
|
||||
"earlyAccessMessage": "😰 Désolé, Follow est actuellement en accès anticipé et nécessite un code d'invitation pour être utilisé.",
|
||||
"generateButton": "Générer un nouveau code",
|
||||
"generateCost": "Vous pouvez dépenser {{INVITATION_PRICE}} Power pour générer un code d'invitation pour vos amis.",
|
||||
"getCodeMessage": "Vous pouvez obtenir un code d'invitation de la manière suivante :",
|
||||
"title": "Code d'invitation"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "Retour à l'application web",
|
||||
"continueWithGitHub": "Continuer avec GitHub",
|
||||
"continueWithGoogle": "Continuer avec Google",
|
||||
"logInTo": "Se connecter à",
|
||||
"openApp": "Ouvrir l'application",
|
||||
"redirecting": "Redirection",
|
||||
"welcomeTo": "Bienvenue sur"
|
||||
},
|
||||
"redirect": {
|
||||
"continueInBrowser": "Continuer dans le navigateur",
|
||||
"instruction": "Il est maintenant temps d'ouvrir {{APP_NAME}} et de fermer cette page en toute sécurité.",
|
||||
"openApp": "Ouvrir {{APP_NAME}}",
|
||||
"successMessage": "Vous vous êtes connecté avec succès à votre compte {{APP_NAME}}."
|
||||
}
|
||||
}
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"feed": {
|
||||
"follower_one": "フォロー",
|
||||
"follower_other": "フォロー",
|
||||
"followsAndReads": "{{appName}} で {{subscriptionCount}} {{subscriptionNoun}} と {{readCount}} {{readNoun}}",
|
||||
"read_one": "読んだ",
|
||||
"read_other": "既読"
|
||||
},
|
||||
"header": {
|
||||
"app": "アプリ",
|
||||
"download": "ダウンロード"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "有効化",
|
||||
"codeOptions": {
|
||||
"1": "招待してくれるアルファテストユーザーを探しましょう。",
|
||||
"2": "時折行われるプレゼント企画のために、私たちのDiscordサーバーに参加しましょう。",
|
||||
"3": "時折行われるプレゼント企画のために、私たちのXアカウントをフォローしましょう。"
|
||||
},
|
||||
"earlyAccess": "現在、Followはアーリーアクセス中で、利用には招待コードが必要です。",
|
||||
"earlyAccessMessage": "😰 申し訳ありませんが、Followは現在アーリーアクセス中で、招待コードが必要です。",
|
||||
"generateButton": "新しいコードを生成",
|
||||
"generateCost": "友達のために招待コードを生成するには、{{INVITATION_PRICE}} Power を消費できます。",
|
||||
"getCodeMessage": "以下の方法で招待コードを入手できます:",
|
||||
"title": "招待コード"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "ウェブアプリに戻る",
|
||||
"continueWithGitHub": "GitHubで続行",
|
||||
"continueWithGoogle": "Googleで続行",
|
||||
"logInTo": "ログイン ",
|
||||
"openApp": "アプリを開く",
|
||||
"redirecting": "リダイレクト中",
|
||||
"welcomeTo": "ようこそ "
|
||||
},
|
||||
"redirect": {
|
||||
"continueInBrowser": "ブラウザで続行",
|
||||
"instruction": "今が{{APP_NAME}}を開き、このページを安全に閉じる時です。",
|
||||
"openApp": "{{APP_NAME}}を開く",
|
||||
"successMessage": "{{APP_NAME}}アカウントに正常に接続されました。"
|
||||
}
|
||||
}
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"feed": {
|
||||
"follower_one": "seguir",
|
||||
"follower_other": "seguimentos",
|
||||
"followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} com {{readCount}} {{readNoun}} no {{appName}}",
|
||||
"read_one": "leitura",
|
||||
"read_other": "leituras"
|
||||
},
|
||||
"header": {
|
||||
"app": "App",
|
||||
"download": "Descarregar"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "Ativar",
|
||||
"codeOptions": {
|
||||
"1": "Procure um utilizador de teste alpha que o convide.",
|
||||
"2": "Junte-se ao nosso servidor Discord para receber ofertas ocasionais.",
|
||||
"3": "Siga a nossa conta no X para receber ofertas ocasionais."
|
||||
},
|
||||
"earlyAccess": "O Follow está atualmente em acesso antecipado e requer um código de convite para ser utilizado.",
|
||||
"earlyAccessMessage": "😰 Lamentamos, o Follow está atualmente em acesso antecipado e requer um código de convite.",
|
||||
"generateButton": "Gerar novo código",
|
||||
"generateCost": "Pode gastar {{INVITATION_PRICE}} Power para gerar um código de convite para os seus amigos.",
|
||||
"getCodeMessage": "Pode obter um código de convite das seguintes maneiras:",
|
||||
"title": "Código de Convite"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "Voltar à App Web",
|
||||
"continueWithGitHub": "Continuar com GitHub",
|
||||
"continueWithGoogle": "Continuar com Google",
|
||||
"logInTo": "Iniciar sessão em ",
|
||||
"openApp": "Abrir Aplicação",
|
||||
"redirecting": "A redirecionar",
|
||||
"welcomeTo": "Bem-vindo ao "
|
||||
},
|
||||
"redirect": {
|
||||
"continueInBrowser": "Continuar no Navegador",
|
||||
"instruction": "Agora é o momento de abrir {{APP_NAME}} e fechar esta página com segurança.",
|
||||
"openApp": "Abrir {{APP_NAME}}",
|
||||
"successMessage": "Conectou-se com sucesso à conta {{APP_NAME}}."
|
||||
}
|
||||
}
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"feed": {
|
||||
"follower_one": "关注者",
|
||||
"follower_other": "关注者",
|
||||
"followsAndReads": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}},{{readCount}} 篇{{readNoun}}",
|
||||
"read_one": "文章",
|
||||
"read_other": "文章"
|
||||
},
|
||||
"header": {
|
||||
"app": "应用",
|
||||
"download": "下载"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "激活",
|
||||
"codeOptions": {
|
||||
"1": "寻找任何内测用户帮你生成邀请码",
|
||||
"2": "加入官方 Discord 频道,不定期发放邀请码",
|
||||
"3": "关注官方 X 账号动态,不定期发放邀请码"
|
||||
},
|
||||
"earlyAccess": "Follow 目前处于早期体验阶段,需要邀请码才能使用",
|
||||
"earlyAccessMessage": "😰 抱歉,Follow 目前处于早期体验阶段,需要邀请码才能使用",
|
||||
"generateButton": "生成邀请码",
|
||||
"generateCost": "花费 {{INVITATION_PRICE}} Power 生成一个邀请码给你的朋友。",
|
||||
"getCodeMessage": "通过以下方式获取:",
|
||||
"title": "邀请码"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "返回网页版",
|
||||
"continueWithGitHub": "使用 GitHub 继续",
|
||||
"continueWithGoogle": "使用 Google 继续",
|
||||
"logInTo": "登录到 ",
|
||||
"openApp": "打开应用",
|
||||
"redirecting": "重定向中",
|
||||
"welcomeTo": "欢迎来到 "
|
||||
},
|
||||
"redirect": {
|
||||
"continueInBrowser": "在浏览器中继续",
|
||||
"instruction": "现在可以打开 {{APP_NAME}} 并关闭此页面",
|
||||
"openApp": "打开 {{APP_NAME}}",
|
||||
"successMessage": "已成功连接到 {{APP_NAME}} 账户。"
|
||||
}
|
||||
}
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"feed": {
|
||||
"follower_one": "追隨者",
|
||||
"follower_other": "追隨者",
|
||||
"followsAndReads": "{{subscriptionCount}} 個 {{subscriptionNoun}} 和 {{readCount}} 個 {{readNoun}} 在 {{appName}}",
|
||||
"read_one": "閱讀",
|
||||
"read_other": "閱讀數"
|
||||
},
|
||||
"header": {
|
||||
"app": "應用程式",
|
||||
"download": "下載"
|
||||
},
|
||||
"invitation": {
|
||||
"activate": "啟用",
|
||||
"codeOptions": {
|
||||
"1": "尋找任何內測用戶邀請您。",
|
||||
"2": "加入我們的 Discord 伺服器,不定期贈送邀請碼。",
|
||||
"3": "關注我們的 X 帳號,不定期贈送邀請碼。"
|
||||
},
|
||||
"earlyAccess": "Follow 目前處於搶先體驗階段,需要邀請碼才能使用。",
|
||||
"earlyAccessMessage": "😰 抱歉,Follow 目前處於搶先體驗階段,需要邀請碼才能使用。",
|
||||
"generateButton": "生成新邀請碼",
|
||||
"generateCost": "您可以花費 {{INVITATION_PRICE}} 點 Power 為您的朋友生成邀請碼。",
|
||||
"getCodeMessage": "您可以通過以下方式獲取邀請碼:",
|
||||
"title": "邀請碼"
|
||||
},
|
||||
"login": {
|
||||
"backToWebApp": "返回網頁應用程式",
|
||||
"continueWithGitHub": "繼續使用 GitHub",
|
||||
"continueWithGoogle": "繼續使用 Google",
|
||||
"logInTo": "登入至 ",
|
||||
"openApp": "開啟應用程式",
|
||||
"redirecting": "正在重定向",
|
||||
"welcomeTo": "歡迎來到 "
|
||||
},
|
||||
"redirect": {
|
||||
"continueInBrowser": "在瀏覽器中繼續",
|
||||
"instruction": "現在是時候打開 {{APP_NAME}} 並安全地關閉此頁面。",
|
||||
"openApp": "開啟 {{APP_NAME}}",
|
||||
"successMessage": "您已成功連接至 {{APP_NAME}} 帳戶。"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"name": "English",
|
||||
"langs": {
|
||||
"en": "English",
|
||||
"zh_CN": "简体中文(部分完成)"
|
||||
}
|
||||
"langs.en": "English",
|
||||
"langs.fr": "Français",
|
||||
"langs.ja": "日本語",
|
||||
"langs.pt": "Português",
|
||||
"langs.zh-CN": "简体中文",
|
||||
"langs.zh-TW": "繁體中文",
|
||||
"name": "English"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"langs.en": "Anglais",
|
||||
"langs.fr": "Français",
|
||||
"langs.ja": "Japonais",
|
||||
"langs.zh-CN": "Chinois simplifié",
|
||||
"name": "Français"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"langs.en": "English",
|
||||
"langs.fr": "Français",
|
||||
"langs.ja": "日本語",
|
||||
"langs.pt": "Português",
|
||||
"langs.zh-CN": "简体中文",
|
||||
"langs.zh-TW": "繁體中文",
|
||||
"name": "日本語"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"langs.en": "English",
|
||||
"langs.ja": "日本語",
|
||||
"langs.pt": "Português",
|
||||
"langs.zh-CN": "简体中文",
|
||||
"name": "Português"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"langs.en": "English",
|
||||
"langs.fr": "Français",
|
||||
"langs.ja": "日本語",
|
||||
"langs.pt": "Português",
|
||||
"langs.zh-CN": "简体中文",
|
||||
"name": "简体中文"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"langs.en": "English",
|
||||
"langs.ja": "日本語",
|
||||
"langs.zh-CN": "簡體中文",
|
||||
"langs.zh-TW": "繁體中文",
|
||||
"name": "繁體中文"
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"name": "English"
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
{
|
||||
"about.changelog": "Changelog",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) is in the early stages of development. If you have any feedback or suggestions, please feel free to <OpenIssueLink>open an issue</OpenIssueLink> <ExternalLinkIcon /> on our GitHub.",
|
||||
"about.iconLibrary": "The icon library used is copyrighted by <IconLibraryLink /> <ExternalLinkIcon /> and cannot be redistributed.",
|
||||
"about.licenseInfo": "{{appName}} is and will always be a free and open-source project. It is licensed under {{license}}.",
|
||||
"about.sidebar_title": "About",
|
||||
"about.socialMedia": "Social Media",
|
||||
"actions.actionName": "Action {{number}}",
|
||||
"actions.action_card.add": "Add",
|
||||
"actions.action_card.all": "All",
|
||||
"actions.action_card.block_rules": "Block Rules",
|
||||
"actions.action_card.custom_filters": "Custom filters",
|
||||
"actions.action_card.enable_readability": "Enable readability",
|
||||
"actions.action_card.entry_options.all": "All",
|
||||
"actions.action_card.entry_options.author": "Author",
|
||||
"actions.action_card.entry_options.content": "Content",
|
||||
"actions.action_card.entry_options.order": "Order",
|
||||
"actions.action_card.entry_options.title": "Title",
|
||||
"actions.action_card.entry_options.url": "Url",
|
||||
"actions.action_card.feed_options.category": "Category",
|
||||
"actions.action_card.feed_options.feed_url": "Feed URL",
|
||||
"actions.action_card.feed_options.site_url": "Site URL",
|
||||
"actions.action_card.feed_options.title": "Title",
|
||||
"actions.action_card.feed_options.view": "View",
|
||||
"actions.action_card.field": "Field",
|
||||
"actions.action_card.from": "From",
|
||||
"actions.action_card.generate_summary": "Generate summary using AI",
|
||||
"actions.action_card.name": "Name",
|
||||
"actions.action_card.operation_options.contains": "contains",
|
||||
"actions.action_card.operation_options.does_not_contain": "does not contain",
|
||||
"actions.action_card.operation_options.is_equal_to": "is equal to",
|
||||
"actions.action_card.operation_options.is_greater_than": "is greater than",
|
||||
"actions.action_card.operation_options.is_less_than": "is less than",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "is not equal to",
|
||||
"actions.action_card.operation_options.matches_regex": "matches regex",
|
||||
"actions.action_card.operator": "Operator",
|
||||
"actions.action_card.rewrite_rules": "Rewrite Rules",
|
||||
"actions.action_card.then_do": "Then do…",
|
||||
"actions.action_card.to": "To",
|
||||
"actions.action_card.translate_into": "Translate into",
|
||||
"actions.action_card.value": "Value",
|
||||
"actions.action_card.when_feeds_match": "When feeds match…",
|
||||
"actions.newRule": "New Rule",
|
||||
"actions.save": "Save",
|
||||
"actions.saveSuccess": "🎉 Actions saved.",
|
||||
"actions.sidebar_title": "Actions",
|
||||
"actions.title": "Actions",
|
||||
"appearance.code_highlight_theme": "Code highlight theme",
|
||||
"appearance.content": "Content",
|
||||
"appearance.content_font": "Content Font",
|
||||
"appearance.custom_font": "Custom Font",
|
||||
"appearance.fonts": "Fonts",
|
||||
"appearance.general": "General",
|
||||
"appearance.guess_code_language.description": "Major programming languages that use models to infer unlabeled code blocks",
|
||||
"appearance.guess_code_language.label": "Guess code language",
|
||||
"appearance.misc": "Misc",
|
||||
"appearance.modal_overlay.description": "Show modal overlay",
|
||||
"appearance.modal_overlay.label": "Show modal overlay",
|
||||
"appearance.opaque_sidebars.label": "Opaque sidebars",
|
||||
"appearance.reader_render_inline_style.description": "Allows rendering of the inline style of the original HTML.",
|
||||
"appearance.reader_render_inline_style.label": "Render inline style",
|
||||
"appearance.reduce_motion.description": "Reducing the motion of elements to improve performance and reduce energy consumption",
|
||||
"appearance.reduce_motion.label": "Reduce motion",
|
||||
"appearance.save": "Save",
|
||||
"appearance.show_dock_badge.label": "Show as Dock badge",
|
||||
"appearance.sidebar_show_unread_count.label": "Show in sidebar",
|
||||
"appearance.sidebar_title": "Appearance",
|
||||
"appearance.text_size": "Text size",
|
||||
"appearance.theme.dark": "Dark",
|
||||
"appearance.theme.label": "Theme",
|
||||
"appearance.theme.light": "Light",
|
||||
"appearance.theme.system": "System",
|
||||
"appearance.title": "Appearance",
|
||||
"appearance.ui_font": "UI Font",
|
||||
"appearance.unread_count": "Unread count",
|
||||
"feeds.claimTips": "To claim your feeds and receive tips, right-click on the feed in your subscription list and select Claim.",
|
||||
"feeds.noFeeds": "No claimed feeds",
|
||||
"feeds.tableHeaders.entryCount": "Entries",
|
||||
"feeds.tableHeaders.name": "Name",
|
||||
"feeds.tableHeaders.subscriptionCount": "Subscriptions",
|
||||
"feeds.tableHeaders.tipAmount": "Received tips",
|
||||
"general.app": "App",
|
||||
"general.data_persist.description": "Persist data locally to enable offline access and local search.",
|
||||
"general.data_persist.label": "Persist data for offline usage",
|
||||
"general.group_by_date.description": "Group entries by date.",
|
||||
"general.group_by_date.label": "Group by date",
|
||||
"general.language": "Language",
|
||||
"general.launch_at_login": "Launch at login",
|
||||
"general.mark_as_read.hover.description": "Automatically mark entries as read when hovered.",
|
||||
"general.mark_as_read.hover.label": "Mark as read when hovering",
|
||||
"general.mark_as_read.render.description": "Automatically mark single-level entries (e.g. social media posts, pictures, video views) as read when they enter the view.",
|
||||
"general.mark_as_read.render.label": "Mark as read when in the view",
|
||||
"general.mark_as_read.scroll.description": "Automatically mark entries as read when scrolled out of the view.",
|
||||
"general.mark_as_read.scroll.label": "Mark as read when scrolling",
|
||||
"general.privacy_data": "Privacy & Data",
|
||||
"general.rebuild_database.button": "Rebuild",
|
||||
"general.rebuild_database.description": "If you are experiencing rendering issues, rebuilding the database may solve them.",
|
||||
"general.rebuild_database.label": "Rebuild Database",
|
||||
"general.rebuild_database.title": "Rebuild Database",
|
||||
"general.rebuild_database.warning.line1": "Rebuilding the database will clear all your local data.",
|
||||
"general.rebuild_database.warning.line2": "Are you sure you want to continue?",
|
||||
"general.send_anonymous_data.description": "By opting to send anonymized telemetry data, you contribute to improving the overall user experience of Follow.",
|
||||
"general.send_anonymous_data.label": "Send anonymous data",
|
||||
"general.show_unread_on_launch.description": "Show unread content on launch",
|
||||
"general.show_unread_on_launch.label": "Show unread content on launch",
|
||||
"general.sidebar_title": "General",
|
||||
"general.timeline": "Timeline",
|
||||
"general.unread": "Unread",
|
||||
"general.voices": "Voices",
|
||||
"integration.eagle.enable.description": "Display 'Save media to Eagle' button when available.",
|
||||
"integration.eagle.enable.label": "Enable",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "Display 'Save to Instapaper' button when available.",
|
||||
"integration.instapaper.enable.label": "Enable",
|
||||
"integration.instapaper.password.label": "Instapaper Password",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Instapaper Username",
|
||||
"integration.readwise.enable.description": "Display 'Save to Readwise' button when available.",
|
||||
"integration.readwise.enable.label": "Enable",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "You can get it here: readwise.io/access_token.",
|
||||
"integration.readwise.token.label": "Readwise Access Token",
|
||||
"integration.sidebar_title": "Integration",
|
||||
"integration.tip": "Tip: Your sensitive data is stored locally and is not uploaded to the server.",
|
||||
"integration.title": "Integration",
|
||||
"invitation.activate": "Activate",
|
||||
"invitation.codeOptions.betaUser": "1. Find a beta user who invites you.",
|
||||
"invitation.codeOptions.discord": "2. Join our Discord server and occasionally get gifts.",
|
||||
"invitation.codeOptions.xAccount": "3. Follow our X account, and get gifts from time to time.",
|
||||
"invitation.confirmModal.cancel": "Cancel",
|
||||
"invitation.confirmModal.confirm": "Do you want to continue?",
|
||||
"invitation.confirmModal.continue": "Continue",
|
||||
"invitation.confirmModal.message": "Generating an invitation code will cost you {{INVITATION_PRICE}} <PowerIcon /> Power.",
|
||||
"invitation.confirmModal.title": "Confirm",
|
||||
"invitation.earlyAccess": "Follow is currently in <strong>early access</strong> and requires an invitation code to use.",
|
||||
"invitation.earlyAccessMessage": "😰 Sorry, Follow is currently in early access and requires an invitation code to use.",
|
||||
"invitation.generateButton": "Generate new code",
|
||||
"invitation.generateCost": "You can spend {{INVITATION_PRICE}} <PowerIcon /> Power to generate an invitation code for your friends.",
|
||||
"invitation.getCodeMessage": "You can get an invitation code through the following methods:",
|
||||
"invitation.limitationMessage": "Based on your usage time, you can generate up to {{limitation}} invitation codes.",
|
||||
"invitation.newInvitationSuccess": "🎉 New invitation generated, invite code is copied",
|
||||
"invitation.noInvitations": "No invitations",
|
||||
"invitation.notUsed": "Not used",
|
||||
"invitation.sidebar_title": "Invitations",
|
||||
"invitation.tableHeaders.code": "Code",
|
||||
"invitation.tableHeaders.creationTime": "Creation Time",
|
||||
"invitation.tableHeaders.usedBy": "Used by",
|
||||
"invitation.title": "Invitation Code",
|
||||
"profile.avatar.label": "Avatar",
|
||||
"profile.handle.description": "Your unique identifier.",
|
||||
"profile.handle.label": "Handle",
|
||||
"profile.name.description": "Your public display name.",
|
||||
"profile.name.label": "Display Name",
|
||||
"profile.sidebar_title": "Profile",
|
||||
"profile.submit": "Submit",
|
||||
"profile.title": "Profile Settings",
|
||||
"profile.updateSuccess": "Profile updated.",
|
||||
"titles.about": "About",
|
||||
"titles.actions": "Actions",
|
||||
"titles.appearance": "Appearance",
|
||||
"titles.feeds": "Feeds",
|
||||
"titles.general": "General",
|
||||
"titles.integration": "Integration",
|
||||
"titles.invitations": "Invitations",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "Profile",
|
||||
"titles.shortcuts": "Shortcuts",
|
||||
"wallet.address.title": "Your Address",
|
||||
"wallet.balance.title": "Your Balance",
|
||||
"wallet.balance.withdrawable": "Withdrawable",
|
||||
"wallet.balance.withdrawableTooltip": "Withdrawable Power includes both the tips you've received and the Power you've recharged.",
|
||||
"wallet.claim.button.claim": "Claim Daily Power",
|
||||
"wallet.claim.button.claimed": "Claimed today",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "You have already claimed today.",
|
||||
"wallet.claim.tooltip.canClaim": "Claim your {{amount}} Daily Power now!",
|
||||
"wallet.create.button": "Create Wallet",
|
||||
"wallet.create.description": "Create a free wallet to receive <PowerIcon /> <strong>Power</strong>, which can be used to reward creators and also get rewarded for your content contributions.",
|
||||
"wallet.power.dailyClaim": "You can claim {{amount}} free Power daily, which can be used to tip RSS entries on Follow.",
|
||||
"wallet.power.description": "Power is an <Link>ERC-20 token</Link> on the {{blockchainName}} blockchain.",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "Amount",
|
||||
"wallet.transactions.date": "Date",
|
||||
"wallet.transactions.from": "From",
|
||||
"wallet.transactions.noTransactions": "No transactions",
|
||||
"wallet.transactions.title": "Transactions",
|
||||
"wallet.transactions.to": "To",
|
||||
"wallet.transactions.tx": "Tx",
|
||||
"wallet.transactions.type": "Type",
|
||||
"wallet.transactions.types.burn": "burn",
|
||||
"wallet.transactions.types.mint": "mint",
|
||||
"wallet.transactions.types.purchase": "purchase",
|
||||
"wallet.transactions.types.tip": "tip",
|
||||
"wallet.transactions.types.withdraw": "withdraw",
|
||||
"wallet.transactions.you": "You",
|
||||
"wallet.withdraw.addressLabel": "Your Ethereum Address",
|
||||
"wallet.withdraw.amountLabel": "Amount",
|
||||
"wallet.withdraw.availableBalance": "You have <Balance></Balance> withdrawable Power in your wallet.",
|
||||
"wallet.withdraw.button": "Withdraw",
|
||||
"wallet.withdraw.error": "Withdrawal failed: {{error}}",
|
||||
"wallet.withdraw.modalTitle": "Withdraw Power",
|
||||
"wallet.withdraw.submitButton": "Submit",
|
||||
"wallet.withdraw.success": "Withdrawal successful!"
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"about.changelog": "Journal des modifications",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) est en phase de développement précoce. Si vous avez des retours ou des suggestions, n'hésitez pas à <OpenIssueLink>ouvrir une issue</OpenIssueLink> <ExternalLinkIcon /> sur notre GitHub.",
|
||||
"about.iconLibrary": "La bibliothèque d'icônes utilisée est protégée par les droits d'auteur de <IconLibraryLink /> <ExternalLinkIcon /> et ne peut être redistribuée.",
|
||||
"about.licenseInfo": "{{appName}} est et sera toujours un projet libre et open-source. Il est sous licence {{license}}.",
|
||||
"about.sidebar_title": "À propos",
|
||||
"about.socialMedia": "Réseaux sociaux",
|
||||
"actions.actionName": "Action {{number}}",
|
||||
"actions.action_card.add": "Ajouter",
|
||||
"actions.action_card.all": "Tous",
|
||||
"actions.action_card.block_rules": "Règles de blocage",
|
||||
"actions.action_card.custom_filters": "Filtres personnalisés",
|
||||
"actions.action_card.enable_readability": "Activer la lisibilité",
|
||||
"actions.action_card.entry_options.all": "Tous",
|
||||
"actions.action_card.entry_options.author": "Auteur",
|
||||
"actions.action_card.entry_options.content": "Contenu",
|
||||
"actions.action_card.entry_options.order": "Ordre",
|
||||
"actions.action_card.entry_options.title": "Titre",
|
||||
"actions.action_card.entry_options.url": "Url",
|
||||
"actions.action_card.feed_options.category": "Catégorie",
|
||||
"actions.action_card.feed_options.feed_url": "URL du flux",
|
||||
"actions.action_card.feed_options.site_url": "URL du site",
|
||||
"actions.action_card.feed_options.title": "Titre",
|
||||
"actions.action_card.feed_options.view": "Vue",
|
||||
"actions.action_card.field": "Champ",
|
||||
"actions.action_card.from": "De",
|
||||
"actions.action_card.generate_summary": "Générer un résumé avec l'IA",
|
||||
"actions.action_card.name": "Nom",
|
||||
"actions.action_card.operation_options.contains": "contient",
|
||||
"actions.action_card.operation_options.does_not_contain": "ne contient pas",
|
||||
"actions.action_card.operation_options.is_equal_to": "est égal à",
|
||||
"actions.action_card.operation_options.is_greater_than": "est supérieur à",
|
||||
"actions.action_card.operation_options.is_less_than": "est inférieur à",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "n'est pas égal à",
|
||||
"actions.action_card.operation_options.matches_regex": "correspond à l'expression régulière",
|
||||
"actions.action_card.operator": "Opérateur",
|
||||
"actions.action_card.rewrite_rules": "Réécrire les règles",
|
||||
"actions.action_card.then_do": "Puis faire…",
|
||||
"actions.action_card.to": "À",
|
||||
"actions.action_card.translate_into": "Traduire en",
|
||||
"actions.action_card.value": "Valeur",
|
||||
"actions.action_card.when_feeds_match": "Quand les flux correspondent…",
|
||||
"actions.newRule": "Nouvelle règle",
|
||||
"actions.save": "Enregistrer",
|
||||
"actions.saveSuccess": "🎉 Actions enregistrées.",
|
||||
"actions.sidebar_title": "Actions",
|
||||
"actions.title": "Actions",
|
||||
"appearance.code_highlight_theme": "Thème de mise en évidence du code",
|
||||
"appearance.content": "Contenu",
|
||||
"appearance.content_font": "Police de contenu",
|
||||
"appearance.custom_font": "Police personnalisée",
|
||||
"appearance.fonts": "Polices",
|
||||
"appearance.general": "Général",
|
||||
"appearance.guess_code_language.description": "Langages de programmation principaux utilisés pour déduire les blocs de code non étiquetés",
|
||||
"appearance.guess_code_language.label": "Déduire la langue du code",
|
||||
"appearance.misc": "Divers",
|
||||
"appearance.modal_overlay.description": "Afficher l'overlay modal",
|
||||
"appearance.modal_overlay.label": "Afficher l'overlay",
|
||||
"appearance.opaque_sidebars.label": "Barres latérales opaques",
|
||||
"appearance.reader_render_inline_style.description": "Autorise le rendu du style inline du HTML original.",
|
||||
"appearance.reader_render_inline_style.label": "Afficher le style inline",
|
||||
"appearance.reduce_motion.description": "Réduire le mouvement des éléments pour améliorer les performances et réduire la consommation d'énergie",
|
||||
"appearance.reduce_motion.label": "Réduire les mouvements",
|
||||
"appearance.save": "Enregistrer",
|
||||
"appearance.show_dock_badge.label": "Afficher comme badge Dock",
|
||||
"appearance.sidebar_show_unread_count.label": "Afficher dans la barre latérale",
|
||||
"appearance.sidebar_title": "Apparence",
|
||||
"appearance.text_size": "Taille du texte",
|
||||
"appearance.theme.dark": "Sombre",
|
||||
"appearance.theme.label": "Thème",
|
||||
"appearance.theme.light": "Clair",
|
||||
"appearance.theme.system": "Système",
|
||||
"appearance.title": "Apparence",
|
||||
"appearance.ui_font": "Police de l'interface utilisateur",
|
||||
"appearance.unread_count": "Nombre de non lus",
|
||||
"general.app": "Application",
|
||||
"general.data_persist.description": "Conserver les données localement pour permettre un accès hors ligne et une recherche locale.",
|
||||
"general.data_persist.label": "Conserver les données pour une utilisation hors ligne",
|
||||
"general.group_by_date.description": "Grouper les entrées par date.",
|
||||
"general.group_by_date.label": "Grouper par date",
|
||||
"general.language": "Langue",
|
||||
"general.launch_at_login": "Lancer à la connexion",
|
||||
"general.mark_as_read.hover.description": "Marquer automatiquement les entrées comme lues lorsqu'elles sont survolées.",
|
||||
"general.mark_as_read.hover.label": "Marquer comme lu au survol",
|
||||
"general.mark_as_read.render.description": "Marquer automatiquement les entrées de niveau unique (par ex. les publications sur les réseaux sociaux, les images, les vidéos) comme lues lorsqu'elles apparaissent dans la vue.",
|
||||
"general.mark_as_read.render.label": "Marquer comme lu lors de l'affichage",
|
||||
"general.mark_as_read.scroll.description": "Marquer automatiquement les entrées comme lues lorsqu'elles sortent de la vue.",
|
||||
"general.mark_as_read.scroll.label": "Marquer comme lu lors du défilement",
|
||||
"general.privacy_data": "Confidentialité & Données",
|
||||
"general.rebuild_database.button": "Reconstruire",
|
||||
"general.rebuild_database.description": "Si vous rencontrez des problèmes d'affichage, la reconstruction de la base de données peut les résoudre.",
|
||||
"general.rebuild_database.label": "Reconstruire la base de données",
|
||||
"general.rebuild_database.title": "Reconstruire la base de données",
|
||||
"general.rebuild_database.warning.line1": "La reconstruction de la base de données effacera toutes vos données locales.",
|
||||
"general.rebuild_database.warning.line2": "Êtes-vous sûr de vouloir continuer ?",
|
||||
"general.send_anonymous_data.description": "En choisissant d'envoyer des données anonymisées, vous contribuez à améliorer l'expérience utilisateur globale de Follow.",
|
||||
"general.send_anonymous_data.label": "Envoyer des données anonymes",
|
||||
"general.show_unread_on_launch.description": "Afficher le contenu non lu au lancement",
|
||||
"general.show_unread_on_launch.label": "Afficher le contenu non lu au lancement",
|
||||
"general.sidebar_title": "Général",
|
||||
"general.timeline": "Chronologie",
|
||||
"general.unread": "Non lu",
|
||||
"general.voices": "Voix",
|
||||
"integration.eagle.enable.description": "Afficher le bouton 'Enregistrer le média sur Eagle' lorsqu'il est disponible.",
|
||||
"integration.eagle.enable.label": "Activer",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "Afficher le bouton 'Enregistrer sur Instapaper' lorsqu'il est disponible.",
|
||||
"integration.instapaper.enable.label": "Activer",
|
||||
"integration.instapaper.password.label": "Mot de passe Instapaper",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Nom d'utilisateur Instapaper",
|
||||
"integration.readwise.enable.description": "Afficher le bouton 'Enregistrer sur Readwise' lorsqu'il est disponible.",
|
||||
"integration.readwise.enable.label": "Activer",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "Vous pouvez l'obtenir ici : readwise.io/access_token.",
|
||||
"integration.readwise.token.label": "Jeton d'accès Readwise",
|
||||
"integration.sidebar_title": "Intégration",
|
||||
"integration.tip": "Astuce : Vos données sensibles sont stockées localement et ne sont pas envoyées au serveur.",
|
||||
"integration.title": "Intégration",
|
||||
"invitation.activate": "Activer",
|
||||
"invitation.codeOptions.betaUser": "1. Trouvez un utilisateur bêta pour vous inviter.",
|
||||
"invitation.codeOptions.discord": "2. Rejoignez notre serveur Discord et obtenez occasionnellement des cadeaux.",
|
||||
"invitation.codeOptions.xAccount": "3. Suivez notre compte X pour obtenir occasionnellement des cadeaux.",
|
||||
"invitation.confirmModal.cancel": "Annuler",
|
||||
"invitation.confirmModal.confirm": "Voulez-vous continuer ?",
|
||||
"invitation.confirmModal.continue": "Continuer",
|
||||
"invitation.confirmModal.message": "Générer un code d'invitation vous coûtera {{INVITATION_PRICE}} <PowerIcon /> Power.",
|
||||
"invitation.confirmModal.title": "Confirmer",
|
||||
"invitation.earlyAccess": "Follow est actuellement en <strong>accès anticipé</strong> et nécessite un code d'invitation pour l'utiliser.",
|
||||
"invitation.earlyAccessMessage": "😰 Désolé, Follow est actuellement en accès anticipé et nécessite un code d'invitation pour l'utiliser.",
|
||||
"invitation.generateButton": "Générer un nouveau code",
|
||||
"invitation.generateCost": "Vous pouvez dépenser {{INVITATION_PRICE}} <PowerIcon /> Power pour générer un code d'invitation pour vos amis.",
|
||||
"invitation.getCodeMessage": "Vous pouvez obtenir un code d'invitation par les moyens suivants :",
|
||||
"invitation.newInvitationSuccess": "🎉 Nouvelle invitation générée, le code d'invitation a été copié",
|
||||
"invitation.noInvitations": "Aucune invitation",
|
||||
"invitation.notUsed": "Non utilisé",
|
||||
"invitation.sidebar_title": "Invitations",
|
||||
"invitation.tableHeaders.code": "Code",
|
||||
"invitation.tableHeaders.creationTime": "Date de création",
|
||||
"invitation.tableHeaders.usedBy": "Utilisé par",
|
||||
"invitation.title": "Code d'invitation",
|
||||
"profile.avatar.label": "Avatar",
|
||||
"profile.handle.description": "Votre identifiant unique.",
|
||||
"profile.handle.label": "Pseudo",
|
||||
"profile.name.description": "Votre nom d'affichage public.",
|
||||
"profile.name.label": "Nom d'affichage",
|
||||
"profile.sidebar_title": "Profil",
|
||||
"profile.submit": "Envoyer",
|
||||
"profile.title": "Paramètres du profil",
|
||||
"profile.updateSuccess": "Profil mis à jour.",
|
||||
"titles.about": "À propos",
|
||||
"titles.actions": "Actions",
|
||||
"titles.appearance": "Apparence",
|
||||
"titles.general": "Général",
|
||||
"titles.integration": "Intégration",
|
||||
"titles.invitations": "Invitations",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "Profil",
|
||||
"titles.shortcuts": "Raccourcis",
|
||||
"wallet.address.title": "Votre adresse",
|
||||
"wallet.balance.title": "Votre solde",
|
||||
"wallet.balance.withdrawable": "Retirable",
|
||||
"wallet.balance.withdrawableTooltip": "Le solde retirable inclut à la fois les pourboires que vous avez reçus et le Power que vous avez rechargé.",
|
||||
"wallet.claim.button.claim": "Réclamer le Power quotidien",
|
||||
"wallet.claim.button.claimed": "Réclamé aujourd'hui",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "Vous avez déjà réclamé aujourd'hui.",
|
||||
"wallet.claim.tooltip.canClaim": "Réclamez votre {{amount}} Power quotidien maintenant !",
|
||||
"wallet.create.button": "Créer un portefeuille",
|
||||
"wallet.create.description": "Créez un portefeuille gratuit pour recevoir <PowerIcon /> <strong>Power</strong>, qui peut être utilisé pour récompenser les créateurs et aussi pour recevoir des récompenses pour vos contributions au contenu.",
|
||||
"wallet.power.dailyClaim": "Vous pouvez réclamer {{amount}} Power gratuit quotidiennement, qui peut être utilisé pour donner des pourboires aux entrées RSS sur Follow.",
|
||||
"wallet.power.description": "Power est un jeton <Link>ERC-20</Link> sur la blockchain {{blockchainName}}.",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "Montant",
|
||||
"wallet.transactions.date": "Date",
|
||||
"wallet.transactions.from": "De",
|
||||
"wallet.transactions.noTransactions": "Aucune transaction",
|
||||
"wallet.transactions.title": "Transactions",
|
||||
"wallet.transactions.to": "À",
|
||||
"wallet.transactions.tx": "Tx",
|
||||
"wallet.transactions.type": "Type",
|
||||
"wallet.transactions.types.burn": "brûler",
|
||||
"wallet.transactions.types.mint": "frapper",
|
||||
"wallet.transactions.types.purchase": "acheter",
|
||||
"wallet.transactions.types.tip": "pourboire",
|
||||
"wallet.transactions.types.withdraw": "retirer",
|
||||
"wallet.transactions.you": "Vous",
|
||||
"wallet.withdraw.addressLabel": "Votre adresse Ethereum",
|
||||
"wallet.withdraw.amountLabel": "Montant",
|
||||
"wallet.withdraw.availableBalance": "Vous avez <Balance></Balance> Power retirable dans votre portefeuille.",
|
||||
"wallet.withdraw.button": "Retirer",
|
||||
"wallet.withdraw.error": "Le retrait a échoué : {{error}}",
|
||||
"wallet.withdraw.modalTitle": "Retirer Power",
|
||||
"wallet.withdraw.submitButton": "Soumettre",
|
||||
"wallet.withdraw.success": "Retrait réussi !"
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"about.changelog": "変更履歴",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) は開発の初期段階にあります。フィードバックや提案があれば、気軽に <OpenIssueLink>GitHubで課題を報告してください</OpenIssueLink> <ExternalLinkIcon />。",
|
||||
"about.iconLibrary": "使用されているアイコンライブラリは <IconLibraryLink /> <ExternalLinkIcon /> によって著作権が保護されており、再配布できません。",
|
||||
"about.licenseInfo": "{{appName}} は、常に無料でオープンソースのプロジェクトです。{{license}}の下でライセンスされています。",
|
||||
"about.sidebar_title": "アバウト",
|
||||
"about.socialMedia": "ソーシャルメディア",
|
||||
"actions.actionName": "アクション {{number}}",
|
||||
"actions.action_card.add": "追加",
|
||||
"actions.action_card.all": "すべて",
|
||||
"actions.action_card.block_rules": "ブロックルール",
|
||||
"actions.action_card.custom_filters": "カスタムフィルター",
|
||||
"actions.action_card.enable_readability": "読みやすさを有効化",
|
||||
"actions.action_card.entry_options.all": "すべて",
|
||||
"actions.action_card.entry_options.author": "著者",
|
||||
"actions.action_card.entry_options.content": "内容",
|
||||
"actions.action_card.entry_options.order": "順番",
|
||||
"actions.action_card.entry_options.title": "タイトル",
|
||||
"actions.action_card.entry_options.url": "URL",
|
||||
"actions.action_card.feed_options.category": "カテゴリ",
|
||||
"actions.action_card.feed_options.feed_url": "フィードURL",
|
||||
"actions.action_card.feed_options.site_url": "サイトURL",
|
||||
"actions.action_card.feed_options.title": "タイトル",
|
||||
"actions.action_card.feed_options.view": "表示",
|
||||
"actions.action_card.field": "フィールド",
|
||||
"actions.action_card.from": "から",
|
||||
"actions.action_card.generate_summary": "AIを使って要約を生成",
|
||||
"actions.action_card.name": "名前",
|
||||
"actions.action_card.operation_options.contains": "含む",
|
||||
"actions.action_card.operation_options.does_not_contain": "含まない",
|
||||
"actions.action_card.operation_options.is_equal_to": "等しい",
|
||||
"actions.action_card.operation_options.is_greater_than": "より大きい",
|
||||
"actions.action_card.operation_options.is_less_than": "より小さい",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "等しくない",
|
||||
"actions.action_card.operation_options.matches_regex": "正規表現に一致する",
|
||||
"actions.action_card.operator": "オペレーター",
|
||||
"actions.action_card.rewrite_rules": "書き換えルール",
|
||||
"actions.action_card.then_do": "次に行う…",
|
||||
"actions.action_card.to": "へ",
|
||||
"actions.action_card.translate_into": "翻訳する",
|
||||
"actions.action_card.value": "値",
|
||||
"actions.action_card.when_feeds_match": "フィードが一致した場合…",
|
||||
"actions.newRule": "新しいルール",
|
||||
"actions.save": "保存",
|
||||
"actions.saveSuccess": "🎉 アクションが保存されました。",
|
||||
"actions.sidebar_title": "アクション",
|
||||
"actions.title": "アクション",
|
||||
"appearance.code_highlight_theme": "コードハイライトテーマ",
|
||||
"appearance.content": "コンテンツ",
|
||||
"appearance.content_font": "コンテンツフォント",
|
||||
"appearance.custom_font": "カスタムフォント",
|
||||
"appearance.fonts": "フォント",
|
||||
"appearance.general": "一般",
|
||||
"appearance.guess_code_language.description": "ラベルがないコードブロックの言語を推測するためにモデルを使用する主要なプログラミング言語",
|
||||
"appearance.guess_code_language.label": "コード言語を推測",
|
||||
"appearance.misc": "その他",
|
||||
"appearance.modal_overlay.description": "モーダルオーバーレイを表示",
|
||||
"appearance.modal_overlay.label": "モーダルオーバーレイを表示",
|
||||
"appearance.opaque_sidebars.label": "不透明なサイドバー",
|
||||
"appearance.reader_render_inline_style.description": "オリジナルHTMLのインラインスタイルをレンダリングします。",
|
||||
"appearance.reader_render_inline_style.label": "インラインスタイルをレンダリング",
|
||||
"appearance.reduce_motion.description": "要素の動きを減らして、パフォーマンスを向上させ、エネルギー消費を抑えます",
|
||||
"appearance.reduce_motion.label": "動きを減らす",
|
||||
"appearance.save": "保存",
|
||||
"appearance.show_dock_badge.label": "Dockバッジとして表示",
|
||||
"appearance.sidebar_show_unread_count.label": "サイドバーに表示",
|
||||
"appearance.sidebar_title": "外観",
|
||||
"appearance.text_size": "テキストサイズ",
|
||||
"appearance.theme.dark": "ダーク",
|
||||
"appearance.theme.label": "テーマ",
|
||||
"appearance.theme.light": "ライト",
|
||||
"appearance.theme.system": "システム",
|
||||
"appearance.title": "外観",
|
||||
"appearance.ui_font": "UIフォント",
|
||||
"appearance.unread_count": "未読数",
|
||||
"general.app": "アプリ",
|
||||
"general.data_persist.description": "ローカルデータを保持してオフラインアクセスとローカル検索を可能にします。",
|
||||
"general.data_persist.label": "オフライン使用のためにデータを保持",
|
||||
"general.group_by_date.description": "エントリを日付ごとにグループ化します。",
|
||||
"general.group_by_date.label": "日付ごとにグループ化",
|
||||
"general.language": "言語",
|
||||
"general.launch_at_login": "ログイン時に起動",
|
||||
"general.mark_as_read.hover.description": "ホバー時にエントリを自動的に既読にします。",
|
||||
"general.mark_as_read.hover.label": "ホバー時に既読にする",
|
||||
"general.mark_as_read.render.description": "表示されると、単一レベルのエントリ(例:ソーシャルメディアの投稿、画像、動画)が自動的に既読になります。",
|
||||
"general.mark_as_read.render.label": "表示中に既読にする",
|
||||
"general.mark_as_read.scroll.description": "表示からスクロールアウトしたときにエントリを自動的に既読にします。",
|
||||
"general.mark_as_read.scroll.label": "スクロール時に既読にする",
|
||||
"general.privacy_data": "プライバシーとデータ",
|
||||
"general.rebuild_database.button": "再構築",
|
||||
"general.rebuild_database.description": "レンダリングに問題がある場合、データベースの再構築が解決するかもしれません。",
|
||||
"general.rebuild_database.label": "データベースを再構築",
|
||||
"general.rebuild_database.title": "データベースを再構築",
|
||||
"general.rebuild_database.warning.line1": "データベースの再構築により、すべてのローカルデータが消去されます。",
|
||||
"general.rebuild_database.warning.line2": "本当に続行しますか?",
|
||||
"general.send_anonymous_data.description": "匿名化されたテレメトリーデータを送信することにより、Followの全体的なユーザーエクスペリエンスの向上に貢献します。",
|
||||
"general.send_anonymous_data.label": "匿名データを送信",
|
||||
"general.show_unread_on_launch.description": "起動時に未読コンテンツを表示",
|
||||
"general.show_unread_on_launch.label": "起動時に未読コンテンツを表示",
|
||||
"general.sidebar_title": "一般",
|
||||
"general.timeline": "タイムライン",
|
||||
"general.unread": "未読",
|
||||
"general.voices": "音声",
|
||||
"integration.eagle.enable.description": "利用可能な場合、'Eagleにメディアを保存' ボタンを表示します。",
|
||||
"integration.eagle.enable.label": "有効化",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "利用可能な場合、'Instapaperに保存' ボタンを表示します。",
|
||||
"integration.instapaper.enable.label": "有効化",
|
||||
"integration.instapaper.password.label": "Instapaperパスワード",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Instapaperユーザー名",
|
||||
"integration.readwise.enable.description": "利用可能な場合、'Readwiseに保存' ボタンを表示します。",
|
||||
"integration.readwise.enable.label": "有効化",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "こちらで取得できます: readwise.io/access_token.",
|
||||
"integration.readwise.token.label": "Readwiseアクセス トークン",
|
||||
"integration.sidebar_title": "統合",
|
||||
"integration.tip": "ヒント: あなたの機密データはローカルに保存され、サーバーにアップロードされません。",
|
||||
"integration.title": "統合",
|
||||
"invitation.activate": "アクティベート",
|
||||
"invitation.codeOptions.betaUser": "1. ベータユーザーから招待を受ける。",
|
||||
"invitation.codeOptions.discord": "2. Discordサーバーに参加して、時々プレゼントをもらいましょう。",
|
||||
"invitation.codeOptions.xAccount": "3. Xアカウントをフォローして、時々プレゼントをもらいましょう。",
|
||||
"invitation.confirmModal.cancel": "キャンセル",
|
||||
"invitation.confirmModal.confirm": "続けますか?",
|
||||
"invitation.confirmModal.continue": "続行",
|
||||
"invitation.confirmModal.message": "招待コードを生成するには、{{INVITATION_PRICE}} <PowerIcon /> Powerが必要です。",
|
||||
"invitation.confirmModal.title": "確認",
|
||||
"invitation.earlyAccess": "現在、Followは<strong>アーリーアクセス</strong>中で、招待コードが必要です。",
|
||||
"invitation.earlyAccessMessage": "😰 申し訳ありません。Followは現在アーリーアクセス中で、招待コードが必要です。",
|
||||
"invitation.generateButton": "新しいコードを生成",
|
||||
"invitation.generateCost": "{{INVITATION_PRICE}} <PowerIcon /> Powerを消費して、友達のために招待コードを生成できます。",
|
||||
"invitation.getCodeMessage": "以下の方法で招待コードを取得できます:",
|
||||
"invitation.newInvitationSuccess": "🎉 新しい招待コードが生成され、クリップボードにコピーされました",
|
||||
"invitation.noInvitations": "招待はありません",
|
||||
"invitation.notUsed": "未使用",
|
||||
"invitation.sidebar_title": "招待",
|
||||
"invitation.tableHeaders.code": "コード",
|
||||
"invitation.tableHeaders.creationTime": "作成時間",
|
||||
"invitation.tableHeaders.usedBy": "使用者",
|
||||
"invitation.title": "招待コード",
|
||||
"profile.avatar.label": "アバター",
|
||||
"profile.handle.description": "あなたの一意の識別子。",
|
||||
"profile.handle.label": "ハンドル",
|
||||
"profile.name.description": "公開表示名。",
|
||||
"profile.name.label": "表示名",
|
||||
"profile.sidebar_title": "プロフィール",
|
||||
"profile.submit": "送信",
|
||||
"profile.title": "プロフィール設定",
|
||||
"profile.updateSuccess": "プロフィールが更新されました。",
|
||||
"titles.about": "アバウト",
|
||||
"titles.actions": "アクション",
|
||||
"titles.appearance": "外観",
|
||||
"titles.general": "一般",
|
||||
"titles.integration": "統合",
|
||||
"titles.invitations": "招待",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "プロフィール",
|
||||
"titles.shortcuts": "ショートカット",
|
||||
"wallet.address.title": "あなたのアドレス",
|
||||
"wallet.balance.title": "残高",
|
||||
"wallet.balance.withdrawable": "引き出し可能",
|
||||
"wallet.balance.withdrawableTooltip": "引き出し可能なPowerには、受け取ったチップと、再チャージしたPowerの両方が含まれます。",
|
||||
"wallet.claim.button.claim": "デイリーパワーを取得",
|
||||
"wallet.claim.button.claimed": "今日取得済み",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "今日はすでに取得済みです。",
|
||||
"wallet.claim.tooltip.canClaim": "{{amount}}のデイリーパワーを今すぐ取得しましょう!",
|
||||
"wallet.create.button": "ウォレットを作成",
|
||||
"wallet.create.description": "<PowerIcon /> <strong>Power</strong>を受け取るための無料ウォレットを作成し、クリエイターを報酬したり、コンテンツ貢献で報酬を得ることができます。",
|
||||
"wallet.power.dailyClaim": "毎日{{amount}}の無料Powerを取得でき、それを使ってFollowのRSSエントリにチップを送ることができます。",
|
||||
"wallet.power.description": "Powerは、{{blockchainName}}ブロックチェーン上の<Link>ERC-20トークン</Link>です。",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "金額",
|
||||
"wallet.transactions.date": "日付",
|
||||
"wallet.transactions.from": "送信元",
|
||||
"wallet.transactions.noTransactions": "トランザクションなし",
|
||||
"wallet.transactions.title": "トランザクション",
|
||||
"wallet.transactions.to": "送信先",
|
||||
"wallet.transactions.tx": "取引ID",
|
||||
"wallet.transactions.type": "タイプ",
|
||||
"wallet.transactions.types.burn": "バーン",
|
||||
"wallet.transactions.types.mint": "ミント",
|
||||
"wallet.transactions.types.purchase": "購入",
|
||||
"wallet.transactions.types.tip": "チップ",
|
||||
"wallet.transactions.types.withdraw": "引き出し",
|
||||
"wallet.transactions.you": "あなた",
|
||||
"wallet.withdraw.addressLabel": "あなたのEthereumアドレス",
|
||||
"wallet.withdraw.amountLabel": "金額",
|
||||
"wallet.withdraw.availableBalance": "引き出し可能なPowerは<Balance></Balance>です。",
|
||||
"wallet.withdraw.button": "引き出し",
|
||||
"wallet.withdraw.error": "引き出しに失敗しました: {{error}}",
|
||||
"wallet.withdraw.modalTitle": "Powerを引き出す",
|
||||
"wallet.withdraw.submitButton": "送信",
|
||||
"wallet.withdraw.success": "引き出しが成功しました!"
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"about.changelog": "Histórico de Alterações",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) está nas fases iniciais de desenvolvimento. Se tiver algum feedback ou sugestão, fique à vontade para <OpenIssueLink>abrir uma issue</OpenIssueLink> <ExternalLinkIcon /> no nosso GitHub.",
|
||||
"about.iconLibrary": "A biblioteca de ícones utilizada é protegida por direitos de autor por <IconLibraryLink /> <ExternalLinkIcon /> e não pode ser redistribuída.",
|
||||
"about.licenseInfo": "{{appName}} é e sempre será um projeto gratuito e de código aberto. Está licenciado sob {{license}}.",
|
||||
"about.sidebar_title": "Sobre",
|
||||
"about.socialMedia": "Redes Sociais",
|
||||
"actions.actionName": "Ação {{number}}",
|
||||
"actions.action_card.add": "Adicionar",
|
||||
"actions.action_card.all": "Tudo",
|
||||
"actions.action_card.block_rules": "Regras de Bloqueio",
|
||||
"actions.action_card.custom_filters": "Filtros Personalizados",
|
||||
"actions.action_card.enable_readability": "Ativar legibilidade",
|
||||
"actions.action_card.entry_options.all": "Tudo",
|
||||
"actions.action_card.entry_options.author": "Autor",
|
||||
"actions.action_card.entry_options.content": "Conteúdo",
|
||||
"actions.action_card.entry_options.order": "Ordem",
|
||||
"actions.action_card.entry_options.title": "Título",
|
||||
"actions.action_card.entry_options.url": "Url",
|
||||
"actions.action_card.feed_options.category": "Categoria",
|
||||
"actions.action_card.feed_options.feed_url": "URL do Feed",
|
||||
"actions.action_card.feed_options.site_url": "URL do Site",
|
||||
"actions.action_card.feed_options.title": "Título",
|
||||
"actions.action_card.feed_options.view": "Visualizar",
|
||||
"actions.action_card.field": "Campo",
|
||||
"actions.action_card.from": "De",
|
||||
"actions.action_card.generate_summary": "Gerar resumo com IA",
|
||||
"actions.action_card.name": "Nome",
|
||||
"actions.action_card.operation_options.contains": "contém",
|
||||
"actions.action_card.operation_options.does_not_contain": "não contém",
|
||||
"actions.action_card.operation_options.is_equal_to": "é igual a",
|
||||
"actions.action_card.operation_options.is_greater_than": "é maior que",
|
||||
"actions.action_card.operation_options.is_less_than": "é menor que",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "não é igual a",
|
||||
"actions.action_card.operation_options.matches_regex": "corresponde ao regex",
|
||||
"actions.action_card.operator": "Operador",
|
||||
"actions.action_card.rewrite_rules": "Reescrever Regras",
|
||||
"actions.action_card.then_do": "Então faz…",
|
||||
"actions.action_card.to": "Para",
|
||||
"actions.action_card.translate_into": "Traduzir para",
|
||||
"actions.action_card.value": "Valor",
|
||||
"actions.action_card.when_feeds_match": "Quando os feeds corresponderem…",
|
||||
"actions.newRule": "Nova Regra",
|
||||
"actions.save": "Guardar",
|
||||
"actions.saveSuccess": "🎉 Ações guardadas.",
|
||||
"actions.sidebar_title": "Ações",
|
||||
"actions.title": "Ações",
|
||||
"appearance.code_highlight_theme": "Tema de destaque de código",
|
||||
"appearance.content": "Conteúdo",
|
||||
"appearance.content_font": "Fonte do conteúdo",
|
||||
"appearance.custom_font": "Fonte personalizada",
|
||||
"appearance.fonts": "Fontes",
|
||||
"appearance.general": "Geral",
|
||||
"appearance.guess_code_language.description": "Principais linguagens de programação que utilizam modelos para inferir blocos de código não rotulados",
|
||||
"appearance.guess_code_language.label": "Adivinhar linguagem de código",
|
||||
"appearance.misc": "Vários",
|
||||
"appearance.modal_overlay.description": "Mostrar sobreposição modal",
|
||||
"appearance.modal_overlay.label": "Mostrar sobreposição modal",
|
||||
"appearance.opaque_sidebars.label": "Barras laterais opacas",
|
||||
"appearance.reader_render_inline_style.description": "Permite renderizar o estilo inline do HTML original.",
|
||||
"appearance.reader_render_inline_style.label": "Renderizar estilo inline",
|
||||
"appearance.reduce_motion.description": "Reduzir o movimento dos elementos para melhorar o desempenho e reduzir o consumo de energia",
|
||||
"appearance.reduce_motion.label": "Reduzir movimento",
|
||||
"appearance.save": "Guardar",
|
||||
"appearance.show_dock_badge.label": "Mostrar como badge no Dock",
|
||||
"appearance.sidebar_show_unread_count.label": "Mostrar na barra lateral",
|
||||
"appearance.sidebar_title": "Aparência",
|
||||
"appearance.text_size": "Tamanho do texto",
|
||||
"appearance.theme.dark": "Escuro",
|
||||
"appearance.theme.label": "Tema",
|
||||
"appearance.theme.light": "Claro",
|
||||
"appearance.theme.system": "Sistema",
|
||||
"appearance.title": "Aparência",
|
||||
"appearance.ui_font": "Fonte da interface",
|
||||
"appearance.unread_count": "Contagem de não lidos",
|
||||
"general.app": "App",
|
||||
"general.data_persist.description": "Guardar os dados localmente para permitir o acesso offline e pesquisa local.",
|
||||
"general.data_persist.label": "Guardar dados para uso offline",
|
||||
"general.group_by_date.description": "Agrupar entradas por data.",
|
||||
"general.group_by_date.label": "Agrupar por data",
|
||||
"general.language": "Idioma",
|
||||
"general.launch_at_login": "Lançar ao iniciar sessão",
|
||||
"general.mark_as_read.hover.description": "Marcar automaticamente as entradas como lidas quando passar o rato sobre elas.",
|
||||
"general.mark_as_read.hover.label": "Marcar como lido ao passar o rato",
|
||||
"general.mark_as_read.render.description": "Marcar automaticamente as entradas de nível único (por exemplo, posts em redes sociais, imagens, vídeos visualizados) como lidas quando aparecerem.",
|
||||
"general.mark_as_read.render.label": "Marcar como lido ao visualizar",
|
||||
"general.mark_as_read.scroll.description": "Marcar automaticamente as entradas como lidas quando saem do campo de visão.",
|
||||
"general.mark_as_read.scroll.label": "Marcar como lido ao rolar a página",
|
||||
"general.privacy_data": "Privacidade & Dados",
|
||||
"general.rebuild_database.button": "Reconstruir",
|
||||
"general.rebuild_database.description": "Se estiver a ter problemas de renderização, reconstruir a base de dados pode resolver.",
|
||||
"general.rebuild_database.label": "Reconstruir Base de Dados",
|
||||
"general.rebuild_database.title": "Reconstruir Base de Dados",
|
||||
"general.rebuild_database.warning.line1": "Reconstruir a base de dados vai apagar todos os seus dados locais.",
|
||||
"general.rebuild_database.warning.line2": "Tem a certeza de que quer continuar?",
|
||||
"general.send_anonymous_data.description": "Ao optar por enviar dados anónimos de telemetria, está a contribuir para a melhoria da experiência do utilizador no Follow.",
|
||||
"general.send_anonymous_data.label": "Enviar dados anónimos",
|
||||
"general.show_unread_on_launch.description": "Mostrar conteúdo não lido ao iniciar",
|
||||
"general.show_unread_on_launch.label": "Mostrar conteúdo não lido ao iniciar",
|
||||
"general.sidebar_title": "Geral",
|
||||
"general.timeline": "Linha do tempo",
|
||||
"general.unread": "Não lidos",
|
||||
"general.voices": "Vozes",
|
||||
"integration.eagle.enable.description": "Exibir o botão 'Guardar mídia no Eagle' quando disponível.",
|
||||
"integration.eagle.enable.label": "Ativar",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "Exibir o botão 'Guardar no Instapaper' quando disponível.",
|
||||
"integration.instapaper.enable.label": "Ativar",
|
||||
"integration.instapaper.password.label": "Palavra-passe do Instapaper",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Nome de utilizador do Instapaper",
|
||||
"integration.readwise.enable.description": "Exibir o botão 'Guardar no Readwise' quando disponível.",
|
||||
"integration.readwise.enable.label": "Ativar",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "Pode obtê-lo aqui: readwise.io/access_token.",
|
||||
"integration.readwise.token.label": "Token de Acesso do Readwise",
|
||||
"integration.sidebar_title": "Integração",
|
||||
"integration.tip": "Dica: Os seus dados sensíveis são armazenados localmente e não são carregados para o servidor.",
|
||||
"integration.title": "Integração",
|
||||
"invitation.activate": "Ativar",
|
||||
"invitation.codeOptions.betaUser": "1. Encontre um utilizador beta que o convide.",
|
||||
"invitation.codeOptions.discord": "2. Junte-se ao nosso servidor Discord e receba presentes ocasionais.",
|
||||
"invitation.codeOptions.xAccount": "3. Siga a nossa conta no X para receber presentes ocasionalmente.",
|
||||
"invitation.confirmModal.cancel": "Cancelar",
|
||||
"invitation.confirmModal.confirm": "Deseja continuar?",
|
||||
"invitation.confirmModal.continue": "Continuar",
|
||||
"invitation.confirmModal.message": "Gerar um código de convite vai custar-lhe {{INVITATION_PRICE}} <PowerIcon /> Power.",
|
||||
"invitation.confirmModal.title": "Confirmar",
|
||||
"invitation.earlyAccess": "O Follow está atualmente em <strong>acesso antecipado</strong> e requer um código de convite para ser utilizado.",
|
||||
"invitation.earlyAccessMessage": "😰 Desculpe, o Follow está atualmente em acesso antecipado e requer um código de convite para ser utilizado.",
|
||||
"invitation.generateButton": "Gerar novo código",
|
||||
"invitation.generateCost": "Pode gastar {{INVITATION_PRICE}} <PowerIcon /> Power para gerar um código de convite para os seus amigos.",
|
||||
"invitation.getCodeMessage": "Pode obter um código de convite através dos seguintes métodos:",
|
||||
"invitation.newInvitationSuccess": "🎉 Novo convite gerado, o código de convite foi copiado",
|
||||
"invitation.noInvitations": "Sem convites",
|
||||
"invitation.notUsed": "Não utilizado",
|
||||
"invitation.sidebar_title": "Convites",
|
||||
"invitation.tableHeaders.code": "Código",
|
||||
"invitation.tableHeaders.creationTime": "Hora de Criação",
|
||||
"invitation.tableHeaders.usedBy": "Utilizado por",
|
||||
"invitation.title": "Código de Convite",
|
||||
"profile.avatar.label": "Avatar",
|
||||
"profile.handle.description": "O seu identificador único.",
|
||||
"profile.handle.label": "Identificador",
|
||||
"profile.name.description": "O seu nome público visível.",
|
||||
"profile.name.label": "Nome de Exibição",
|
||||
"profile.sidebar_title": "Perfil",
|
||||
"profile.submit": "Submeter",
|
||||
"profile.title": "Configurações de Perfil",
|
||||
"profile.updateSuccess": "Perfil atualizado.",
|
||||
"titles.about": "Sobre",
|
||||
"titles.actions": "Ações",
|
||||
"titles.appearance": "Aparência",
|
||||
"titles.general": "Geral",
|
||||
"titles.integration": "Integração",
|
||||
"titles.invitations": "Convites",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "Perfil",
|
||||
"titles.shortcuts": "Atalhos",
|
||||
"wallet.address.title": "O Seu Endereço",
|
||||
"wallet.balance.title": "O Seu Saldo",
|
||||
"wallet.balance.withdrawable": "Levantável",
|
||||
"wallet.balance.withdrawableTooltip": "O Power levantável inclui tanto as dicas que recebeu quanto o Power que recarregou.",
|
||||
"wallet.claim.button.claim": "Reivindicar Power Diário",
|
||||
"wallet.claim.button.claimed": "Reivindicado hoje",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "Já reivindicou o seu Power hoje.",
|
||||
"wallet.claim.tooltip.canClaim": "Reivindique agora o seu {{amount}} Power Diário!",
|
||||
"wallet.create.button": "Criar Carteira",
|
||||
"wallet.create.description": "Crie uma carteira gratuita para receber <PowerIcon /> <strong>Power</strong>, que pode ser utilizado para recompensar criadores e também para ser recompensado pelas suas contribuições de conteúdo.",
|
||||
"wallet.power.dailyClaim": "Pode reivindicar {{amount}} de Power gratuito diariamente, que pode ser usado para dar dicas em entradas de RSS no Follow.",
|
||||
"wallet.power.description": "O Power é um <Link>token ERC-20</Link> na blockchain {{blockchainName}}.",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "Quantia",
|
||||
"wallet.transactions.date": "Data",
|
||||
"wallet.transactions.from": "De",
|
||||
"wallet.transactions.noTransactions": "Sem transações",
|
||||
"wallet.transactions.title": "Transações",
|
||||
"wallet.transactions.to": "Para",
|
||||
"wallet.transactions.tx": "Tx",
|
||||
"wallet.transactions.type": "Tipo",
|
||||
"wallet.transactions.types.burn": "queima",
|
||||
"wallet.transactions.types.mint": "cunhagem",
|
||||
"wallet.transactions.types.purchase": "compra",
|
||||
"wallet.transactions.types.tip": "dica",
|
||||
"wallet.transactions.types.withdraw": "levantamento",
|
||||
"wallet.transactions.you": "Você",
|
||||
"wallet.withdraw.addressLabel": "O seu endereço Ethereum",
|
||||
"wallet.withdraw.amountLabel": "Quantia",
|
||||
"wallet.withdraw.availableBalance": "Tem <Balance></Balance> de Power levantável na sua carteira.",
|
||||
"wallet.withdraw.button": "Levantar",
|
||||
"wallet.withdraw.error": "O levantamento falhou: {{error}}",
|
||||
"wallet.withdraw.modalTitle": "Levantar Power",
|
||||
"wallet.withdraw.submitButton": "Submeter",
|
||||
"wallet.withdraw.success": "Levantamento bem-sucedido!"
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
{
|
||||
"about.changelog": "更新日志",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) 正处于开发的早期阶段。\n请随时在我们的 GitHub 上<OpenIssueLink>提出任何反馈或建议</OpenIssueLink> <ExternalLinkIcon />。",
|
||||
"about.iconLibrary": "使用的图标库版权归 <IconLibraryLink /><ExternalLinkIcon /> 所有,不能重新分发。",
|
||||
"about.licenseInfo": "{{appName}} 现在和将来都是一个免费且开源的项目,开源协议为 {{license}} 。",
|
||||
"about.sidebar_title": "关于",
|
||||
"about.socialMedia": "社交媒体",
|
||||
"actions.actionName": "规则 {{number}}",
|
||||
"actions.action_card.add": "添加",
|
||||
"actions.action_card.all": "全部",
|
||||
"actions.action_card.block_rules": "阻止规则",
|
||||
"actions.action_card.custom_filters": "指定条件",
|
||||
"actions.action_card.enable_readability": "启用阅读模式",
|
||||
"actions.action_card.entry_options.all": "全部",
|
||||
"actions.action_card.entry_options.author": "作者",
|
||||
"actions.action_card.entry_options.content": "内容",
|
||||
"actions.action_card.entry_options.order": "顺序",
|
||||
"actions.action_card.entry_options.title": "标题",
|
||||
"actions.action_card.entry_options.url": "链接",
|
||||
"actions.action_card.feed_options.category": "分类",
|
||||
"actions.action_card.feed_options.feed_url": "订阅源地址",
|
||||
"actions.action_card.feed_options.site_url": "网站链接",
|
||||
"actions.action_card.feed_options.title": "标题",
|
||||
"actions.action_card.feed_options.view": "视图",
|
||||
"actions.action_card.field": "字段",
|
||||
"actions.action_card.from": "从",
|
||||
"actions.action_card.generate_summary": "使用 AI 生成摘要",
|
||||
"actions.action_card.name": "名称",
|
||||
"actions.action_card.operation_options.contains": "包含",
|
||||
"actions.action_card.operation_options.does_not_contain": "不包含",
|
||||
"actions.action_card.operation_options.is_equal_to": "等于",
|
||||
"actions.action_card.operation_options.is_greater_than": "大于",
|
||||
"actions.action_card.operation_options.is_less_than": "小于",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "不等于",
|
||||
"actions.action_card.operation_options.matches_regex": "匹配正则表达式",
|
||||
"actions.action_card.operator": "运算符",
|
||||
"actions.action_card.rewrite_rules": "重写规则",
|
||||
"actions.action_card.then_do": "执行动作",
|
||||
"actions.action_card.to": "到",
|
||||
"actions.action_card.translate_into": "翻译成",
|
||||
"actions.action_card.value": "值",
|
||||
"actions.action_card.when_feeds_match": "当订阅源满足:",
|
||||
"actions.newRule": "新规则",
|
||||
"actions.save": "保存",
|
||||
"actions.saveSuccess": "🎉 规则已保存",
|
||||
"actions.sidebar_title": "自动化",
|
||||
"actions.title": "自动化",
|
||||
"appearance.code_highlight_theme": "代码高亮主题",
|
||||
"appearance.content": "内容",
|
||||
"appearance.content_font": "正文字体",
|
||||
"appearance.custom_font": "自定义字体",
|
||||
"appearance.fonts": "字体",
|
||||
"appearance.general": "一般",
|
||||
"appearance.guess_code_language.description": "使用模型推断未标记代码块的编程语言",
|
||||
"appearance.guess_code_language.label": "代码语言检测",
|
||||
"appearance.misc": "杂项",
|
||||
"appearance.modal_overlay.description": "显示遮罩,获得更好的使用体验,推荐开启",
|
||||
"appearance.modal_overlay.label": "显示遮罩",
|
||||
"appearance.opaque_sidebars.label": "不透明侧边栏",
|
||||
"appearance.reader_render_inline_style.description": "允许渲染原始 HTML 的内联样式",
|
||||
"appearance.reader_render_inline_style.label": "渲染内联样式",
|
||||
"appearance.reduce_motion.description": "减少界面动效,提高整体性能并减少电量消耗",
|
||||
"appearance.reduce_motion.label": "减少动效",
|
||||
"appearance.save": "保存",
|
||||
"appearance.show_dock_badge.label": "显示 Dock 徽章",
|
||||
"appearance.sidebar_show_unread_count.label": "在侧边栏显示",
|
||||
"appearance.sidebar_title": "外观",
|
||||
"appearance.text_size": "字体大小",
|
||||
"appearance.theme.dark": "深色",
|
||||
"appearance.theme.label": "主题",
|
||||
"appearance.theme.light": "亮色",
|
||||
"appearance.theme.system": "跟随系统",
|
||||
"appearance.title": "外观",
|
||||
"appearance.ui_font": "界面字体",
|
||||
"appearance.unread_count": "未读数",
|
||||
"feeds.claimTips": "要认证您的订阅源并接收打赏,请在订阅列表中右键点击订阅源并选择“认证”",
|
||||
"feeds.noFeeds": "没有已认证的订阅源",
|
||||
"feeds.tableHeaders.entryCount": "条目数",
|
||||
"feeds.tableHeaders.name": "名称",
|
||||
"feeds.tableHeaders.subscriptionCount": "订阅数",
|
||||
"feeds.tableHeaders.tipAmount": "收到的打赏",
|
||||
"general.app": "应用程序",
|
||||
"general.data_persist.description": "在本地保留数据以启用离线访问和本地搜索",
|
||||
"general.data_persist.label": "保留数据以供离线使用",
|
||||
"general.group_by_date.description": "按日期对条目进行分组",
|
||||
"general.group_by_date.label": "按日期分组",
|
||||
"general.language": "语言",
|
||||
"general.launch_at_login": "开机自启动",
|
||||
"general.mark_as_read.hover.description": "鼠标悬停在条目时将自动标记为已读",
|
||||
"general.mark_as_read.hover.label": "悬停时标记为已读",
|
||||
"general.mark_as_read.render.description": "条目进入可视区域时自动标记为已读",
|
||||
"general.mark_as_read.render.label": "在窗口中时标记为已读",
|
||||
"general.mark_as_read.scroll.description": "当条目滚动出窗口时自动标记为已读",
|
||||
"general.mark_as_read.scroll.label": "滚动时标记为已读",
|
||||
"general.privacy_data": "隐私与数据",
|
||||
"general.rebuild_database.button": "重建",
|
||||
"general.rebuild_database.description": "尝试重建数据库可以解决部分渲染或其他类型问题",
|
||||
"general.rebuild_database.label": "重建数据库",
|
||||
"general.rebuild_database.title": "重建数据库",
|
||||
"general.rebuild_database.warning.line1": "重建数据库将清除所有本地数据且无法恢复",
|
||||
"general.rebuild_database.warning.line2": "确定继续?",
|
||||
"general.rebuild_database.warning[0]": "重建数据库将清除所有本地数据且无法恢复",
|
||||
"general.rebuild_database.warning[1]": "确定继续?",
|
||||
"general.send_anonymous_data.description": "发送匿名用户数据,帮助产品改进和功能迭代",
|
||||
"general.send_anonymous_data.label": "发送匿名数据",
|
||||
"general.show_unread_on_launch.description": "启动时显示未读内容",
|
||||
"general.show_unread_on_launch.label": "启动时显示未读内容",
|
||||
"general.sidebar_title": "通用",
|
||||
"general.timeline": "时间轴",
|
||||
"general.unread": "未读",
|
||||
"general.voices": "声音",
|
||||
"integration.eagle.enable.description": "显示\"保存到 Eagle\"按钮(如果可用)",
|
||||
"integration.eagle.enable.label": "启用",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "显示\"保存到 Instapaper\"按钮(如果可用)",
|
||||
"integration.instapaper.enable.label": "启用",
|
||||
"integration.instapaper.password.label": "密码",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Instapaper 用户名",
|
||||
"integration.readwise.enable.description": "显示\"保存到 Readwise\"按钮(如果可用)",
|
||||
"integration.readwise.enable.label": "启用",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "在这里获取令牌",
|
||||
"integration.readwise.token.label": "Readwise 访问令牌",
|
||||
"integration.sidebar_title": "第三方接入",
|
||||
"integration.tip": "提示:敏感数据仅在本地存储,不会被收集或上传到云端",
|
||||
"integration.title": "第三方接入",
|
||||
"invitation.activate": "激活",
|
||||
"invitation.codeOptions.betaUser": "1. 寻找并邀请内测用户",
|
||||
"invitation.codeOptions.discord": "2. 加入官方 Discord 频道,不定期有赠品发放",
|
||||
"invitation.codeOptions.xAccount": "3. 关注官方 X 账号动态,不定期有赠品发放",
|
||||
"invitation.confirmModal.cancel": "取消",
|
||||
"invitation.confirmModal.confirm": "确认继续?",
|
||||
"invitation.confirmModal.continue": "继续",
|
||||
"invitation.confirmModal.message": "生成邀请码将花费 {{INVITATION_PRICE}} <PowerIcon>Power</PowerIcon>",
|
||||
"invitation.confirmModal.title": "确认",
|
||||
"invitation.earlyAccess": "Follow 目前处于<strong>早期开发</strong>状态,需要邀请码才能使用",
|
||||
"invitation.earlyAccessMessage": "😰 抱歉,关注目前处于抢先体验阶段,需要邀请码才能使用",
|
||||
"invitation.generateButton": "生成邀请码",
|
||||
"invitation.generateCost": "花费 {{INVITATION_PRICE}} <PowerIcon>Power</PowerIcon> 生成邀请码",
|
||||
"invitation.getCodeMessage": "通过以下方式获取邀请码:",
|
||||
"invitation.newInvitationSuccess": "🎉 邀请码已生成,已复制到剪贴板",
|
||||
"invitation.noInvitations": "没有邀请",
|
||||
"invitation.notUsed": "未使用",
|
||||
"invitation.sidebar_title": "邀请",
|
||||
"invitation.tableHeaders.code": "代码",
|
||||
"invitation.tableHeaders.creationTime": "创建时间",
|
||||
"invitation.tableHeaders.usedBy": "使用者",
|
||||
"invitation.title": "邀请码",
|
||||
"profile.avatar.label": "头像",
|
||||
"profile.handle.description": "唯一标识",
|
||||
"profile.handle.label": "唯一标识",
|
||||
"profile.name.description": "个人主页公开显示的名称",
|
||||
"profile.name.label": "名称",
|
||||
"profile.sidebar_title": "个人资料",
|
||||
"profile.submit": "提交",
|
||||
"profile.title": "配置文件设置",
|
||||
"profile.updateSuccess": "个人资料已更新",
|
||||
"titles.about": "关于",
|
||||
"titles.actions": "自动化",
|
||||
"titles.appearance": "外观",
|
||||
"titles.general": "通用",
|
||||
"titles.integration": "集成",
|
||||
"titles.invitations": "邀请",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "个人资料",
|
||||
"titles.shortcuts": "快捷键",
|
||||
"wallet.address.title": "地址",
|
||||
"wallet.balance.title": "余额",
|
||||
"wallet.balance.withdrawable": "可提取",
|
||||
"wallet.balance.withdrawableTooltip": "可提取的 Power 包括收到的打赏和充值",
|
||||
"wallet.claim.button.claim": "领取每日 Power",
|
||||
"wallet.claim.button.claimed": "今日已领取",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "已经领取,明日再来",
|
||||
"wallet.claim.tooltip.canClaim": "立即领取你的 {{amount}} 每日 Power!",
|
||||
"wallet.create.button": "创建钱包",
|
||||
"wallet.create.description": "创建一个免费钱包 <PowerIcon /> <strong>Power</strong>。除了给其他创作者打赏,也可以通过贡献内容来获得奖励。",
|
||||
"wallet.power.dailyClaim": "每天领取 {{amount}} 个免费 Power,可以在 Follow 上打赏 RSS 条目",
|
||||
"wallet.power.description": "Power 是 {{blockchainName}} 区块链上的一种 <Link>ERC-20 代币</Link>",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "数量",
|
||||
"wallet.transactions.date": "日期",
|
||||
"wallet.transactions.from": "发送至",
|
||||
"wallet.transactions.noTransactions": "无交易记录",
|
||||
"wallet.transactions.title": "交易记录",
|
||||
"wallet.transactions.to": "接收自",
|
||||
"wallet.transactions.tx": "交易",
|
||||
"wallet.transactions.type": "类型",
|
||||
"wallet.transactions.types.burn": "销毁",
|
||||
"wallet.transactions.types.mint": "铸造",
|
||||
"wallet.transactions.types.purchase": "购买",
|
||||
"wallet.transactions.types.tip": "打赏",
|
||||
"wallet.transactions.types.withdraw": "提现",
|
||||
"wallet.transactions.you": "你",
|
||||
"wallet.withdraw.addressLabel": "以太坊地址",
|
||||
"wallet.withdraw.amountLabel": "数量",
|
||||
"wallet.withdraw.availableBalance": "钱包中有 <Balance></Balance> 个可提现的 Power",
|
||||
"wallet.withdraw.button": "提现",
|
||||
"wallet.withdraw.error": "提现失败:{{error}}",
|
||||
"wallet.withdraw.modalTitle": "提现 Power",
|
||||
"wallet.withdraw.submitButton": "提交",
|
||||
"wallet.withdraw.success": "提现成功!"
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"about.changelog": "更新日誌",
|
||||
"about.feedbackInfo": "{{appName}} ({{commitSha}}) 正處於開發早期階段。如果您有任何反饋或建議,請隨時在我們的 GitHub 上 <OpenIssueLink>提交問題</OpenIssueLink> <ExternalLinkIcon />。",
|
||||
"about.iconLibrary": "所使用的圖標庫版權由 <IconLibraryLink /> <ExternalLinkIcon /> 所有,不得重新分發。",
|
||||
"about.licenseInfo": "{{appName}} 是且將永遠是一個免費且開源的項目。它遵循 {{license}} 授權。",
|
||||
"about.sidebar_title": "關於",
|
||||
"about.socialMedia": "社群媒體",
|
||||
"actions.actionName": "操作 {{number}}",
|
||||
"actions.action_card.add": "新增",
|
||||
"actions.action_card.all": "全部",
|
||||
"actions.action_card.block_rules": "封鎖規則",
|
||||
"actions.action_card.custom_filters": "自訂過濾條件",
|
||||
"actions.action_card.enable_readability": "啟用閱讀模式",
|
||||
"actions.action_card.entry_options.all": "全部",
|
||||
"actions.action_card.entry_options.author": "作者",
|
||||
"actions.action_card.entry_options.content": "內容",
|
||||
"actions.action_card.entry_options.order": "順序",
|
||||
"actions.action_card.entry_options.title": "標題",
|
||||
"actions.action_card.entry_options.url": "網址",
|
||||
"actions.action_card.feed_options.category": "類別",
|
||||
"actions.action_card.feed_options.feed_url": "摘要 URL",
|
||||
"actions.action_card.feed_options.site_url": "網站 URL",
|
||||
"actions.action_card.feed_options.title": "標題",
|
||||
"actions.action_card.feed_options.view": "View",
|
||||
"actions.action_card.field": "欄位",
|
||||
"actions.action_card.from": "從",
|
||||
"actions.action_card.generate_summary": "使用 AI 生成摘要",
|
||||
"actions.action_card.name": "名稱",
|
||||
"actions.action_card.operation_options.contains": "包含",
|
||||
"actions.action_card.operation_options.does_not_contain": "不包含",
|
||||
"actions.action_card.operation_options.is_equal_to": "等於",
|
||||
"actions.action_card.operation_options.is_greater_than": "大於",
|
||||
"actions.action_card.operation_options.is_less_than": "小於",
|
||||
"actions.action_card.operation_options.is_not_equal_to": "不等於",
|
||||
"actions.action_card.operation_options.matches_regex": "匹配正則表達式",
|
||||
"actions.action_card.operator": "運算符",
|
||||
"actions.action_card.rewrite_rules": "重寫規則",
|
||||
"actions.action_card.then_do": "然後執行…",
|
||||
"actions.action_card.to": "到",
|
||||
"actions.action_card.translate_into": "翻譯成",
|
||||
"actions.action_card.value": "值",
|
||||
"actions.action_card.when_feeds_match": "當摘要匹配時…",
|
||||
"actions.newRule": "新增規則",
|
||||
"actions.save": "儲存",
|
||||
"actions.saveSuccess": "🎉 操作已儲存。",
|
||||
"actions.sidebar_title": "操作",
|
||||
"actions.title": "操作",
|
||||
"appearance.code_highlight_theme": "程式碼高亮主題",
|
||||
"appearance.content": "內容",
|
||||
"appearance.content_font": "內容字體",
|
||||
"appearance.custom_font": "自定義字體",
|
||||
"appearance.fonts": "字體",
|
||||
"appearance.general": "一般",
|
||||
"appearance.guess_code_language.description": "使用模型來推斷未標記程式碼區塊的主要程式語言",
|
||||
"appearance.guess_code_language.label": "推測程式碼語言",
|
||||
"appearance.misc": "Misc",
|
||||
"appearance.modal_overlay.description": "顯示模態覆蓋層",
|
||||
"appearance.modal_overlay.label": "顯示模態覆蓋層",
|
||||
"appearance.opaque_sidebars.label": "不透明側邊欄",
|
||||
"appearance.reader_render_inline_style.description": "允許渲染原始 HTML 的行內樣式。",
|
||||
"appearance.reader_render_inline_style.label": "渲染行內樣式",
|
||||
"appearance.reduce_motion.description": "減少元素的動畫效果以提升效能並降低能耗。",
|
||||
"appearance.reduce_motion.label": "減少動畫",
|
||||
"appearance.save": "儲存",
|
||||
"appearance.show_dock_badge.label": "顯示為 Dock 徽章",
|
||||
"appearance.sidebar_show_unread_count.label": "在側邊欄中顯示",
|
||||
"appearance.sidebar_title": "外觀",
|
||||
"appearance.text_size": "文字大小",
|
||||
"appearance.theme.dark": "深色",
|
||||
"appearance.theme.label": "主題",
|
||||
"appearance.theme.light": "淺色",
|
||||
"appearance.theme.system": "系統",
|
||||
"appearance.title": "外觀",
|
||||
"appearance.ui_font": "介面字體",
|
||||
"appearance.unread_count": "未讀計數",
|
||||
"general.app": "App",
|
||||
"general.data_persist.description": "本地保存數據以啟用離線訪問和本地搜尋。",
|
||||
"general.data_persist.label": "離線時保持資料",
|
||||
"general.group_by_date.description": "按日期分組項目",
|
||||
"general.group_by_date.label": "按日期分組",
|
||||
"general.language": "語言",
|
||||
"general.launch_at_login": "登入時啟動",
|
||||
"general.mark_as_read.hover.description": "游標懸停時自動將條目標記為已讀。",
|
||||
"general.mark_as_read.hover.label": "滑過時標記為已讀",
|
||||
"general.mark_as_read.render.description": "當單層級條目(例如社群媒體貼文、圖片、影片瀏覽)進入視圖時自動標記為已讀。",
|
||||
"general.mark_as_read.render.label": "顯示時標記為已讀",
|
||||
"general.mark_as_read.scroll.description": "當條目捲動離開視圖時自動標記為已讀。",
|
||||
"general.mark_as_read.scroll.label": "捲動時標記為已讀",
|
||||
"general.privacy_data": "隱私與數據",
|
||||
"general.rebuild_database.button": "重建",
|
||||
"general.rebuild_database.description": "如果您遇到渲染問題,重建資料庫可能可以解決。",
|
||||
"general.rebuild_database.label": "重建資料庫",
|
||||
"general.rebuild_database.title": "重建資料庫",
|
||||
"general.rebuild_database.warning.line1": "重建資料庫將會清除您所有的本地資料。",
|
||||
"general.rebuild_database.warning.line2": "您確定要繼續嗎?",
|
||||
"general.send_anonymous_data.description": "選擇傳送匿名遙測數據,您將幫助改善 Follow 的整體使用體驗。",
|
||||
"general.send_anonymous_data.label": "傳送匿名資料",
|
||||
"general.show_unread_on_launch.description": "啟動時顯示未讀內容",
|
||||
"general.show_unread_on_launch.label": "啟動時顯示未讀內容",
|
||||
"general.sidebar_title": "一般",
|
||||
"general.timeline": "時間軸",
|
||||
"general.unread": "未讀",
|
||||
"general.voices": "聲音",
|
||||
"integration.eagle.enable.description": "顯示\"將媒體保存到 Eagle\"按鈕(如果可用)。",
|
||||
"integration.eagle.enable.label": "啟用",
|
||||
"integration.eagle.title": "Eagle",
|
||||
"integration.instapaper.enable.description": "顯示\"保存到 Instapaper\"按钮(如果可用)。",
|
||||
"integration.instapaper.enable.label": "啟用",
|
||||
"integration.instapaper.password.label": "密碼",
|
||||
"integration.instapaper.title": "Instapaper",
|
||||
"integration.instapaper.username.label": "Instapaper 使用者",
|
||||
"integration.readwise.enable.description": "顯示\"保存到 Readwise\"按钮(如果可用)。",
|
||||
"integration.readwise.enable.label": "啟用",
|
||||
"integration.readwise.title": "Readwise",
|
||||
"integration.readwise.token.description": "您可以在這裡獲取它",
|
||||
"integration.readwise.token.label": "Readwise 存取令牌",
|
||||
"integration.sidebar_title": "整合功能",
|
||||
"integration.tip": "提示:您的敏感資料儲存於本地,不會上傳到伺服器。",
|
||||
"integration.title": "整合功能",
|
||||
"invitation.activate": "啟用",
|
||||
"invitation.codeOptions.betaUser": "1. 尋找邀請您的測試版用戶。",
|
||||
"invitation.codeOptions.discord": "2. 加入我们的 Discord 伺服器,偶而獲得贈品。",
|
||||
"invitation.codeOptions.xAccount": "3.關注我們的 X 帳號,不定期有贈品。",
|
||||
"invitation.confirmModal.cancel": "取消",
|
||||
"invitation.confirmModal.confirm": "您想繼續嗎?",
|
||||
"invitation.confirmModal.continue": "繼續",
|
||||
"invitation.confirmModal.message": "產生邀請碼將會花費您 {{INVITATION_PRICE}} <PowerIcon>Power</PowerIcon>。",
|
||||
"invitation.confirmModal.title": "確認",
|
||||
"invitation.earlyAccess": "Follow 目前處於 <strong>早期開發</strong>狀態,需要邀請碼才能使用。",
|
||||
"invitation.earlyAccessMessage": "😰 抱歉,關注目前處於搶先體驗階段,需要邀請碼才能使用。",
|
||||
"invitation.generateButton": "產生邀請碼",
|
||||
"invitation.generateCost": "您可以花費 {{INVITATION_PRICE}} <PowerIcon>Power</PowerIcon> 為您的朋友產生邀請碼。",
|
||||
"invitation.getCodeMessage": "您可以通過以下方式獲取邀請碼:",
|
||||
"invitation.newInvitationSuccess": "🎉 邀請碼已產生, 邀請碼已複製",
|
||||
"invitation.noInvitations": "沒有邀請",
|
||||
"invitation.notUsed": "為使用",
|
||||
"invitation.sidebar_title": "邀請",
|
||||
"invitation.tableHeaders.code": "代碼",
|
||||
"invitation.tableHeaders.creationTime": "建立時間",
|
||||
"invitation.tableHeaders.usedBy": "使用者",
|
||||
"invitation.title": "邀請碼",
|
||||
"profile.avatar.label": "大頭貼",
|
||||
"profile.handle.description": "您的唯一識別碼",
|
||||
"profile.handle.label": "Handle",
|
||||
"profile.name.description": "您的公開顯示名稱。",
|
||||
"profile.name.label": "顯示名稱",
|
||||
"profile.sidebar_title": "個人資料",
|
||||
"profile.submit": "送出",
|
||||
"profile.title": "配置文件設定",
|
||||
"profile.updateSuccess": "個人資料已更新。",
|
||||
"titles.about": "關於",
|
||||
"titles.actions": "指令",
|
||||
"titles.appearance": "外觀",
|
||||
"titles.general": "一般",
|
||||
"titles.integration": "整合",
|
||||
"titles.invitations": "邀請",
|
||||
"titles.power": "Power",
|
||||
"titles.profile": "個人資料",
|
||||
"titles.shortcuts": "快捷鍵",
|
||||
"wallet.address.title": "您的地址",
|
||||
"wallet.balance.title": "您的餘額",
|
||||
"wallet.balance.withdrawable": "可提取",
|
||||
"wallet.balance.withdrawableTooltip": "可提取的 Power 包括你收到的贊助和充值的 Power。",
|
||||
"wallet.claim.button.claim": "領取每日 Power",
|
||||
"wallet.claim.button.claimed": "今日已領取",
|
||||
"wallet.claim.tooltip.alreadyClaimed": "您今天已經領取過了。",
|
||||
"wallet.claim.tooltip.canClaim": "立即領取您的 {{amount}} 每日 Power!",
|
||||
"wallet.create.button": "建立錢包",
|
||||
"wallet.create.description": "建立一個免費錢包以接收 <PowerIcon /> <strong>Power</strong>,可用於獎勵創作者,也可以因您的內容貢獻而獲得獎勵。",
|
||||
"wallet.power.dailyClaim": "您每天可以領取 {{amount}} 個免費 Power,可用於在 Follow 上贊助 RSS 項目。",
|
||||
"wallet.power.description": "Power 是 {{blockchainName}} 區塊鏈上的一種 <Link>ERC-20 代幣</Link>。",
|
||||
"wallet.sidebar_title": "Power",
|
||||
"wallet.transactions.amount": "數量",
|
||||
"wallet.transactions.date": "日期",
|
||||
"wallet.transactions.from": "發送至",
|
||||
"wallet.transactions.noTransactions": "無交易紀錄",
|
||||
"wallet.transactions.title": "交易紀錄",
|
||||
"wallet.transactions.to": "接收自",
|
||||
"wallet.transactions.tx": "交易",
|
||||
"wallet.transactions.type": "類型",
|
||||
"wallet.transactions.types.burn": "burn",
|
||||
"wallet.transactions.types.mint": "mint",
|
||||
"wallet.transactions.types.purchase": "purchase",
|
||||
"wallet.transactions.types.tip": "tip",
|
||||
"wallet.transactions.types.withdraw": "withdraw",
|
||||
"wallet.transactions.you": "您",
|
||||
"wallet.withdraw.addressLabel": "您的以太坊地址",
|
||||
"wallet.withdraw.amountLabel": "數量",
|
||||
"wallet.withdraw.availableBalance": "您的錢包中有 <Balance></Balance> 可提取 Power。",
|
||||
"wallet.withdraw.button": "提取",
|
||||
"wallet.withdraw.error": "提取失败:{{error}}",
|
||||
"wallet.withdraw.modalTitle": "提取 Power",
|
||||
"wallet.withdraw.submitButton": "送出",
|
||||
"wallet.withdraw.success": "提取成功!"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "Play/Pause (When the audio player is open)",
|
||||
"keys.entries.markAllAsRead": "Mark All as Read",
|
||||
"keys.entries.next": "Next Entry",
|
||||
"keys.entries.previous": "Previous Entry",
|
||||
"keys.entries.refetch": "Refetch",
|
||||
"keys.entries.toggleUnreadOnly": "Toggle Unread Only",
|
||||
"keys.entry.copyLink": "Copy Link",
|
||||
"keys.entry.openInBrowser": "Open in Browser",
|
||||
"keys.entry.openInNewTab": "Open in New Tab",
|
||||
"keys.entry.scrollDown": "Scroll Down",
|
||||
"keys.entry.scrollUp": "Scroll Up",
|
||||
"keys.entry.share": "Share",
|
||||
"keys.entry.tip": "Tip Power",
|
||||
"keys.entry.toggleRead": "Toggle Read",
|
||||
"keys.entry.toggleStarred": "Toggle Starred",
|
||||
"keys.entry.tts": "Play TTS",
|
||||
"keys.feeds.add": "Add Subscription",
|
||||
"keys.feeds.switchBetweenViews": "Switch Between Views",
|
||||
"keys.feeds.switchToView": "Switch to View",
|
||||
"keys.layout.showShortcuts": "Show/Hide Shortcuts",
|
||||
"keys.layout.toggleSidebar": "Show/Hide Feed Sidebar",
|
||||
"sidebar_title": "Shortcuts"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "Lecture/Pause (Lorsque le lecteur audio est ouvert)",
|
||||
"keys.entries.markAllAsRead": "Marquer tout comme lu",
|
||||
"keys.entries.next": "Entrée suivante",
|
||||
"keys.entries.previous": "Entrée précédente",
|
||||
"keys.entries.refetch": "Recharger",
|
||||
"keys.entries.toggleUnreadOnly": "Basculer sur Non lus uniquement",
|
||||
"keys.entry.copyLink": "Copier le lien",
|
||||
"keys.entry.openInBrowser": "Ouvrir dans le navigateur",
|
||||
"keys.entry.openInNewTab": "Ouvrir dans un nouvel onglet",
|
||||
"keys.entry.scrollDown": "Faire défiler vers le bas",
|
||||
"keys.entry.scrollUp": "Faire défiler vers le haut",
|
||||
"keys.entry.share": "Partager",
|
||||
"keys.entry.tip": "Donner un pourboire Power",
|
||||
"keys.entry.toggleRead": "Basculer comme lu/non lu",
|
||||
"keys.entry.toggleStarred": "Basculer en favori",
|
||||
"keys.entry.tts": "Lire le texte à haute voix",
|
||||
"keys.feeds.add": "Ajouter un abonnement",
|
||||
"keys.feeds.switchBetweenViews": "Changer entre les vues",
|
||||
"keys.feeds.switchToView": "Passer à la vue",
|
||||
"keys.layout.showShortcuts": "Afficher/Masquer les raccourcis",
|
||||
"keys.layout.toggleSidebar": "Afficher/Masquer la barre latérale des flux",
|
||||
"sidebar_title": "Raccourcis"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "再生/一時停止(オーディオプレーヤーが開いているとき)",
|
||||
"keys.entries.markAllAsRead": "すべて既読にする",
|
||||
"keys.entries.next": "次のエントリ",
|
||||
"keys.entries.previous": "前のエントリ",
|
||||
"keys.entries.refetch": "再取得",
|
||||
"keys.entries.toggleUnreadOnly": "未読のみ切り替え",
|
||||
"keys.entry.copyLink": "リンクをコピー",
|
||||
"keys.entry.openInBrowser": "ブラウザで開く",
|
||||
"keys.entry.openInNewTab": "新しいタブで開く",
|
||||
"keys.entry.scrollDown": "下にスクロール",
|
||||
"keys.entry.scrollUp": "上にスクロール",
|
||||
"keys.entry.share": "共有",
|
||||
"keys.entry.tip": "チップを送る",
|
||||
"keys.entry.toggleRead": "既読/未読の切り替え",
|
||||
"keys.entry.toggleStarred": "スターの切り替え",
|
||||
"keys.entry.tts": "TTSを再生",
|
||||
"keys.feeds.add": "購読を追加",
|
||||
"keys.feeds.switchBetweenViews": "ビューを切り替え",
|
||||
"keys.feeds.switchToView": "ビューに切り替え",
|
||||
"keys.layout.showShortcuts": "ショートカットを表示/非表示",
|
||||
"keys.layout.toggleSidebar": "フィードサイドバーの表示/非表示",
|
||||
"sidebar_title": "ショートカット"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "Reproduzir/Pausar (Quando o reprodutor de áudio estiver aberto)",
|
||||
"keys.entries.markAllAsRead": "Marcar Tudo como Lido",
|
||||
"keys.entries.next": "Próxima Entrada",
|
||||
"keys.entries.previous": "Entrada Anterior",
|
||||
"keys.entries.refetch": "Recarregar",
|
||||
"keys.entries.toggleUnreadOnly": "Alternar Apenas Não Lidos",
|
||||
"keys.entry.copyLink": "Copiar Link",
|
||||
"keys.entry.openInBrowser": "Abrir no Navegador",
|
||||
"keys.entry.openInNewTab": "Abrir numa Nova Aba",
|
||||
"keys.entry.scrollDown": "Rolar para Baixo",
|
||||
"keys.entry.scrollUp": "Rolar para Cima",
|
||||
"keys.entry.share": "Partilhar",
|
||||
"keys.entry.tip": "Dar Dica",
|
||||
"keys.entry.toggleRead": "Alternar Leitura",
|
||||
"keys.entry.toggleStarred": "Alternar Favorito",
|
||||
"keys.entry.tts": "Reproduzir TTS",
|
||||
"keys.feeds.add": "Adicionar Subscrição",
|
||||
"keys.feeds.switchBetweenViews": "Alternar Entre Visualizações",
|
||||
"keys.feeds.switchToView": "Mudar para Visualização",
|
||||
"keys.layout.showShortcuts": "Mostrar/Ocultar Atalhos",
|
||||
"keys.layout.toggleSidebar": "Mostrar/Ocultar Barra Lateral de Feed",
|
||||
"sidebar_title": "Atalhos"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "播放/暂停",
|
||||
"keys.entries.markAllAsRead": "全部标记为已读",
|
||||
"keys.entries.next": "下一个条目",
|
||||
"keys.entries.previous": "上一个条目",
|
||||
"keys.entries.refetch": "刷新",
|
||||
"keys.entries.toggleUnreadOnly": "切换仅未读",
|
||||
"keys.entry.copyLink": "复制链接",
|
||||
"keys.entry.openInBrowser": "在浏览器打开",
|
||||
"keys.entry.openInNewTab": "在新的标签页打开",
|
||||
"keys.entry.scrollDown": "向下滚动",
|
||||
"keys.entry.scrollUp": "向上滚动",
|
||||
"keys.entry.share": "分享",
|
||||
"keys.entry.tip": "打赏",
|
||||
"keys.entry.toggleRead": "标记为已读/未读",
|
||||
"keys.entry.toggleStarred": "加入收藏/取消收藏",
|
||||
"keys.entry.tts": "文本转语音",
|
||||
"keys.feeds.add": "添加订阅源",
|
||||
"keys.feeds.switchBetweenViews": "在类型之间切换",
|
||||
"keys.feeds.switchToView": "切换到指定类型",
|
||||
"keys.layout.showShortcuts": "显示/隐藏快捷键",
|
||||
"keys.layout.toggleSidebar": "显示/隐藏侧边栏",
|
||||
"sidebar_title": "快捷键"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"keys.audio.playPause": "播放/暫停(當音頻播放器開啟時)",
|
||||
"keys.entries.markAllAsRead": "全部標記為已讀",
|
||||
"keys.entries.next": "下一條目",
|
||||
"keys.entries.previous": "上一條目",
|
||||
"keys.entries.refetch": "重新獲取",
|
||||
"keys.entries.toggleUnreadOnly": "切換僅顯示未讀",
|
||||
"keys.entry.copyLink": "複製連結",
|
||||
"keys.entry.openInBrowser": "在瀏覽器中打開",
|
||||
"keys.entry.openInNewTab": "在新分頁中打開",
|
||||
"keys.entry.scrollDown": "向下捲動",
|
||||
"keys.entry.scrollUp": "向上捲動",
|
||||
"keys.entry.share": "分享",
|
||||
"keys.entry.tip": "打賞 Power",
|
||||
"keys.entry.toggleRead": "切換已讀/未讀",
|
||||
"keys.entry.toggleStarred": "切換收藏/取消收藏",
|
||||
"keys.entry.tts": "播放語音朗讀",
|
||||
"keys.feeds.add": "新增訂閱",
|
||||
"keys.feeds.switchBetweenViews": "切換視圖",
|
||||
"keys.feeds.switchToView": "切換到視圖",
|
||||
"keys.layout.showShortcuts": "顯示/隱藏快捷鍵",
|
||||
"keys.layout.toggleSidebar": "顯示/隱藏摘要側邊欄",
|
||||
"sidebar_title": "快捷鍵"
|
||||
}
|
||||
+6
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Follow",
|
||||
"type": "module",
|
||||
"version": "0.0.1-alpha.11",
|
||||
"version": "0.0.1-alpha.12",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
|
||||
"description": "Next generation information browser",
|
||||
@@ -23,6 +23,7 @@
|
||||
"dev:debug": "export DEBUG=true && vite --debug",
|
||||
"dev:web": "vite",
|
||||
"format": "prettier --write .",
|
||||
"generator:i18n-template": "tsx scripts/generate-i18n-locale.ts",
|
||||
"lint": "eslint",
|
||||
"lint:fix": "eslint --fix",
|
||||
"polyfill-optimize": "pnpx nolyfill install",
|
||||
@@ -90,7 +91,7 @@
|
||||
"electron-updater": "^6.3.4",
|
||||
"font-list": "1.5.1",
|
||||
"foxact": "0.2.38",
|
||||
"framer-motion": "11.0.10",
|
||||
"framer-motion": "11.5.4",
|
||||
"franc-min": "6.2.0",
|
||||
"fuse.js": "7.0.0",
|
||||
"hast-util-to-jsx-runtime": "2.3.0",
|
||||
@@ -147,6 +148,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/generator": "7.25.6",
|
||||
"@clack/prompts": "0.7.0",
|
||||
"@egoist/tailwindcss-icons": "1.8.1",
|
||||
"@electron-forge/cli": "7.4.0",
|
||||
"@electron-forge/maker-dmg": "7.4.0",
|
||||
@@ -191,6 +193,7 @@
|
||||
"simple-git-hooks": "2.11.1",
|
||||
"tailwindcss": "3.4.11",
|
||||
"tailwindcss-animate": "1.0.7",
|
||||
"tsx": "4.19.1",
|
||||
"typescript": "^5.6.2",
|
||||
"vite": "^5.4.4",
|
||||
"vite-bundle-analyzer": "0.10.6",
|
||||
@@ -217,7 +220,7 @@
|
||||
"lint-staged": {
|
||||
"*": "eslint --fix",
|
||||
"*.{js,jsx,ts,tsx,json}": [
|
||||
"prettier --ignore-path ./.gitignore --write "
|
||||
"prettier --write "
|
||||
]
|
||||
},
|
||||
"bump": {
|
||||
|
||||
Generated
+42
-9
@@ -195,8 +195,8 @@ importers:
|
||||
specifier: 0.2.38
|
||||
version: 0.2.38(react@18.3.1)
|
||||
framer-motion:
|
||||
specifier: 11.0.10
|
||||
version: 11.0.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
specifier: 11.5.4
|
||||
version: 11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
franc-min:
|
||||
specifier: 6.2.0
|
||||
version: 6.2.0
|
||||
@@ -360,6 +360,9 @@ importers:
|
||||
'@babel/generator':
|
||||
specifier: 7.25.6
|
||||
version: 7.25.6
|
||||
'@clack/prompts':
|
||||
specifier: 0.7.0
|
||||
version: 0.7.0
|
||||
'@egoist/tailwindcss-icons':
|
||||
specifier: 1.8.1
|
||||
version: 1.8.1(tailwindcss@3.4.11)
|
||||
@@ -492,6 +495,9 @@ importers:
|
||||
tailwindcss-animate:
|
||||
specifier: 1.0.7
|
||||
version: 1.0.7(tailwindcss@3.4.11)
|
||||
tsx:
|
||||
specifier: 4.19.1
|
||||
version: 4.19.1
|
||||
typescript:
|
||||
specifier: ^5.6.2
|
||||
version: 5.6.2
|
||||
@@ -1157,6 +1163,14 @@ packages:
|
||||
'@cfcs/core@0.0.5':
|
||||
resolution: {integrity: sha512-TZ/RXKV7MUrqFpiX+16uaaptv5jgChWNsuE6w8Rn3eJbO1PFd4Wpn25zeJbii7ch46ck8/ZIIYCcW3pHiYtm4Q==}
|
||||
|
||||
'@clack/core@0.3.4':
|
||||
resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==}
|
||||
|
||||
'@clack/prompts@0.7.0':
|
||||
resolution: {integrity: sha512-0MhX9/B4iL6Re04jPrttDm+BsP8y6mS7byuv0BvXgdXhbV5PdlsHt55dvNsuBCPZ7xq1oTAOOuotR9NFbQyMSA==}
|
||||
bundledDependencies:
|
||||
- is-unicode-supported
|
||||
|
||||
'@conventional-changelog/git-client@1.0.1':
|
||||
resolution: {integrity: sha512-PJEqBwAleffCMETaVm/fUgHldzBE35JFk3/9LL6NUA5EXa3qednu+UT6M7E5iBu3zIQZCULYIiZ90fBYHt6xUw==}
|
||||
engines: {node: '>=18'}
|
||||
@@ -4999,12 +5013,15 @@ packages:
|
||||
react:
|
||||
optional: true
|
||||
|
||||
framer-motion@11.0.10:
|
||||
resolution: {integrity: sha512-aaImib9FQlfno2yiZAdkvN6zLXLr8a9uGsGFlQO64hSm8NoCeiUng2//5ok7RHCW2ufzT74uuPsmWzUsrHPYDQ==}
|
||||
framer-motion@11.5.4:
|
||||
resolution: {integrity: sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==}
|
||||
peerDependencies:
|
||||
'@emotion/is-prop-valid': '*'
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
peerDependenciesMeta:
|
||||
'@emotion/is-prop-valid':
|
||||
optional: true
|
||||
react:
|
||||
optional: true
|
||||
react-dom:
|
||||
@@ -7469,6 +7486,9 @@ packages:
|
||||
resolution: {integrity: sha512-tgqwPUMDcNDhuf1Xf6KTUsyeqGdgKMhzaH4PAZZuzguOgTl5uuyeYe/8mWgAr6IBxB5V06uqEf6Dy37gIWDtDg==}
|
||||
hasBin: true
|
||||
|
||||
sisteransi@1.0.5:
|
||||
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
|
||||
|
||||
slash@3.0.0:
|
||||
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
|
||||
engines: {node: '>=8'}
|
||||
@@ -7840,8 +7860,8 @@ packages:
|
||||
tslib@2.7.0:
|
||||
resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==}
|
||||
|
||||
tsx@4.19.0:
|
||||
resolution: {integrity: sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==}
|
||||
tsx@4.19.1:
|
||||
resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
hasBin: true
|
||||
|
||||
@@ -9156,6 +9176,17 @@ snapshots:
|
||||
dependencies:
|
||||
'@egjs/component': 3.0.5
|
||||
|
||||
'@clack/core@0.3.4':
|
||||
dependencies:
|
||||
picocolors: 1.1.0
|
||||
sisteransi: 1.0.5
|
||||
|
||||
'@clack/prompts@0.7.0':
|
||||
dependencies:
|
||||
'@clack/core': 0.3.4
|
||||
picocolors: 1.1.0
|
||||
sisteransi: 1.0.5
|
||||
|
||||
'@conventional-changelog/git-client@1.0.1(conventional-commits-filter@5.0.0)(conventional-commits-parser@6.0.0)':
|
||||
dependencies:
|
||||
'@types/semver': 7.5.8
|
||||
@@ -13937,7 +13968,7 @@ snapshots:
|
||||
optionalDependencies:
|
||||
react: 18.3.1
|
||||
|
||||
framer-motion@11.0.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
framer-motion@11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
||||
dependencies:
|
||||
tslib: 2.7.0
|
||||
optionalDependencies:
|
||||
@@ -14592,7 +14623,7 @@ snapshots:
|
||||
jiti: 2.0.0-beta.3
|
||||
jiti-v1: jiti@1.21.6
|
||||
pathe: 1.1.2
|
||||
tsx: 4.19.0
|
||||
tsx: 4.19.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -16873,6 +16904,8 @@ snapshots:
|
||||
|
||||
simple-git-hooks@2.11.1: {}
|
||||
|
||||
sisteransi@1.0.5: {}
|
||||
|
||||
slash@3.0.0: {}
|
||||
|
||||
slice-ansi@3.0.0:
|
||||
@@ -17260,7 +17293,7 @@ snapshots:
|
||||
|
||||
tslib@2.7.0: {}
|
||||
|
||||
tsx@4.19.0:
|
||||
tsx@4.19.1:
|
||||
dependencies:
|
||||
esbuild: 0.23.1
|
||||
get-tsconfig: 4.8.0
|
||||
|
||||
@@ -0,0 +1,405 @@
|
||||
import { execSync } from "node:child_process"
|
||||
import { readdirSync, readFileSync, writeFileSync } from "node:fs"
|
||||
import path, { dirname } from "node:path"
|
||||
import { fileURLToPath } from "node:url"
|
||||
|
||||
import { intro, outro, select } from "@clack/prompts"
|
||||
import color from "picocolors"
|
||||
import * as ts from "typescript"
|
||||
|
||||
const locales = [
|
||||
"af",
|
||||
"am",
|
||||
"ar-dz",
|
||||
"ar-iq",
|
||||
"ar-kw",
|
||||
"ar-ly",
|
||||
"ar-ma",
|
||||
"ar-sa",
|
||||
"ar-tn",
|
||||
|
||||
"az",
|
||||
"be",
|
||||
"bg",
|
||||
"bi",
|
||||
"bm",
|
||||
"bn-bd",
|
||||
"bn",
|
||||
"bo",
|
||||
"br",
|
||||
|
||||
"bs",
|
||||
"ca",
|
||||
"cs",
|
||||
"cv",
|
||||
"cy",
|
||||
"da-at",
|
||||
"da-ch",
|
||||
"da",
|
||||
"dv",
|
||||
|
||||
"el",
|
||||
"en-au",
|
||||
"en-ca",
|
||||
"en-gb",
|
||||
"en-ie",
|
||||
"en-il",
|
||||
"en-in",
|
||||
"en-nz",
|
||||
"en-sg",
|
||||
"en-tt",
|
||||
|
||||
"eo",
|
||||
"es-do",
|
||||
"es-mx",
|
||||
"es-pr",
|
||||
"es-us",
|
||||
"es",
|
||||
"et",
|
||||
"eu",
|
||||
|
||||
"fa",
|
||||
"fi",
|
||||
"fo",
|
||||
"fr-ca",
|
||||
"fr-ch",
|
||||
"fr",
|
||||
"fy",
|
||||
"ga",
|
||||
|
||||
"gd",
|
||||
"gl",
|
||||
"gom-latn",
|
||||
"gu",
|
||||
"he",
|
||||
"hi",
|
||||
"hr",
|
||||
"ht",
|
||||
|
||||
"hu",
|
||||
"hy-am",
|
||||
"id",
|
||||
"is",
|
||||
"it-ch",
|
||||
"it",
|
||||
"ja",
|
||||
"jv",
|
||||
|
||||
"ka",
|
||||
"kk",
|
||||
"km",
|
||||
"kn",
|
||||
"ko",
|
||||
"ku",
|
||||
"ky",
|
||||
"lb",
|
||||
|
||||
"lo",
|
||||
"lt",
|
||||
"lv",
|
||||
"me",
|
||||
"mi",
|
||||
"mk",
|
||||
"ml",
|
||||
"mn",
|
||||
|
||||
"mr",
|
||||
"ms-my",
|
||||
"ms",
|
||||
"mt",
|
||||
"my",
|
||||
"nb",
|
||||
"ne",
|
||||
"nl-be",
|
||||
"nl",
|
||||
|
||||
"oc-lnc",
|
||||
"pa-in",
|
||||
"pl",
|
||||
"pt-br",
|
||||
"pt",
|
||||
"rn",
|
||||
"ro",
|
||||
"ru",
|
||||
"sd",
|
||||
"se",
|
||||
"si",
|
||||
"sk",
|
||||
"sl",
|
||||
"sq",
|
||||
"sr-cyrl",
|
||||
"sr",
|
||||
"ss",
|
||||
|
||||
"sv-fi",
|
||||
"sv",
|
||||
"sw",
|
||||
"ta",
|
||||
"te",
|
||||
"tet",
|
||||
"tg",
|
||||
"th",
|
||||
"tk",
|
||||
"tl-ph",
|
||||
"tlh",
|
||||
"tr",
|
||||
"tzl",
|
||||
"tzm-latn",
|
||||
"tzm",
|
||||
"ug-cn",
|
||||
"uk",
|
||||
|
||||
"ur",
|
||||
"uz-latn",
|
||||
"uz",
|
||||
"vi",
|
||||
"x-pseudo",
|
||||
"yo",
|
||||
"zh-cn",
|
||||
"zh-hk",
|
||||
"zh-tw",
|
||||
"zh",
|
||||
]
|
||||
|
||||
async function selectLocale(): Promise<string> {
|
||||
intro(color.blue("Locale Selection"))
|
||||
|
||||
const selectedLocale = await select({
|
||||
message: "Select a locale:",
|
||||
options: locales.map((locale) => ({ value: locale, label: locale })),
|
||||
maxItems: 10,
|
||||
})
|
||||
|
||||
if (typeof selectedLocale !== "string") {
|
||||
throw new TypeError("No locale selected")
|
||||
}
|
||||
|
||||
return selectedLocale
|
||||
}
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
const LOCALE_DIR = path.resolve(__dirname, "../locales")
|
||||
const CONFIG_DIR = path.resolve(__dirname, "../src/renderer/src/@types")
|
||||
|
||||
async function main() {
|
||||
const selectedLocale = await selectLocale()
|
||||
outro(`You selected: ${color.green(selectedLocale)}`)
|
||||
|
||||
const readdirLocales = readdirSync(LOCALE_DIR)
|
||||
for (const ns of readdirLocales) {
|
||||
const isExistResource = readdirSync(path.resolve(LOCALE_DIR, ns)).includes(
|
||||
`${selectedLocale}.json`,
|
||||
)
|
||||
if (!isExistResource) {
|
||||
// Create new resource file, write a empty json
|
||||
writeFileSync(path.resolve(LOCALE_DIR, ns, `${selectedLocale}.json`), "{}")
|
||||
}
|
||||
}
|
||||
|
||||
// Update config file
|
||||
const defaultResourceFilePath = path.resolve(CONFIG_DIR, "default-resource.ts")
|
||||
const defaultResourceFileContent = readFileSync(defaultResourceFilePath, "utf8")
|
||||
|
||||
const sourceFile = ts.createSourceFile(
|
||||
defaultResourceFilePath,
|
||||
defaultResourceFileContent,
|
||||
ts.ScriptTarget.Latest,
|
||||
true,
|
||||
)
|
||||
|
||||
const updatedContent = updateDefaultResourceFile(sourceFile, selectedLocale)
|
||||
if (updatedContent !== defaultResourceFileContent) {
|
||||
writeFileSync(defaultResourceFilePath, updatedContent)
|
||||
console.info(`Updated ${defaultResourceFilePath} with new locale: ${selectedLocale}`)
|
||||
} else {
|
||||
console.info(`Locale ${selectedLocale} already exists in default-resource.ts`)
|
||||
}
|
||||
|
||||
// Update constants file
|
||||
const constantsFilePath = path.resolve(CONFIG_DIR, "constants.ts")
|
||||
const constantsFileContent = readFileSync(constantsFilePath, "utf8")
|
||||
|
||||
const constantsSourceFile = ts.createSourceFile(
|
||||
constantsFilePath,
|
||||
constantsFileContent,
|
||||
ts.ScriptTarget.Latest,
|
||||
true,
|
||||
)
|
||||
|
||||
const updatedConstantsContent = updateConstantsFile(constantsSourceFile, selectedLocale)
|
||||
if (updatedConstantsContent !== constantsFileContent) {
|
||||
writeFileSync(constantsFilePath, updatedConstantsContent)
|
||||
console.info(`Updated ${constantsFilePath} with new locale: ${selectedLocale}`)
|
||||
} else {
|
||||
console.info(`Locale ${selectedLocale} already exists in constants.ts`)
|
||||
}
|
||||
|
||||
// format these files
|
||||
execSync(`npx prettier --write ${defaultResourceFilePath} ${constantsFilePath}`)
|
||||
|
||||
console.info("Done!")
|
||||
console.info("Please open your editor and fill in the missing translations.")
|
||||
console.info(`Resources: ${color.green("locales/")}${color.green(selectedLocale)}`)
|
||||
}
|
||||
|
||||
function updateDefaultResourceFile(sourceFile: ts.SourceFile, locale: string): string {
|
||||
const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed })
|
||||
const result = ts.transform(sourceFile, [
|
||||
(context) => (rootNode) => {
|
||||
let importsAdded = false
|
||||
|
||||
function visit(node: ts.Node): ts.Node {
|
||||
if (ts.isImportDeclaration(node) && !importsAdded) {
|
||||
const newImports = [
|
||||
createImportDeclaration(
|
||||
`lang_${locale.replace("-", "")}`,
|
||||
`../../../../locales/lang/${locale}.json`,
|
||||
),
|
||||
createImportDeclaration(
|
||||
`common_${locale.replace("-", "")}`,
|
||||
`../../../../locales/common/${locale}.json`,
|
||||
),
|
||||
]
|
||||
importsAdded = true
|
||||
return [node, ...newImports] as unknown as ts.Node
|
||||
}
|
||||
|
||||
if (
|
||||
ts.isVariableDeclaration(node) &&
|
||||
ts.isIdentifier(node.name) &&
|
||||
node.name.text === "defaultResources" &&
|
||||
node.initializer &&
|
||||
ts.isObjectLiteralExpression(node.initializer)
|
||||
) {
|
||||
const existingLocale = node.initializer.properties.find(
|
||||
(prop) => ts.isPropertyAssignment(prop) && prop.name.getText() === `"${locale}"`,
|
||||
)
|
||||
|
||||
if (existingLocale) {
|
||||
return node
|
||||
}
|
||||
|
||||
const newProperties = [
|
||||
...node.initializer.properties,
|
||||
ts.factory.createPropertyAssignment(
|
||||
ts.factory.createStringLiteral(locale),
|
||||
ts.factory.createObjectLiteralExpression([
|
||||
ts.factory.createPropertyAssignment(
|
||||
"lang",
|
||||
ts.factory.createIdentifier(`lang_${locale.replace("-", "")}`),
|
||||
),
|
||||
ts.factory.createPropertyAssignment(
|
||||
"common",
|
||||
ts.factory.createIdentifier(`common_${locale.replace("-", "")}`),
|
||||
),
|
||||
]),
|
||||
),
|
||||
]
|
||||
|
||||
return ts.factory.updateVariableDeclaration(
|
||||
node,
|
||||
node.name,
|
||||
node.exclamationToken,
|
||||
node.type,
|
||||
ts.factory.createObjectLiteralExpression(newProperties, true),
|
||||
)
|
||||
}
|
||||
return ts.visitEachChild(node, visit, context)
|
||||
}
|
||||
|
||||
return ts.visitNode(rootNode, visit) as ts.SourceFile
|
||||
},
|
||||
])
|
||||
|
||||
return printer.printFile(result.transformed[0] as ts.SourceFile)
|
||||
}
|
||||
|
||||
function createImportDeclaration(identifier: string, path: string): ts.ImportDeclaration {
|
||||
return ts.factory.createImportDeclaration(
|
||||
undefined,
|
||||
ts.factory.createImportClause(false, ts.factory.createIdentifier(identifier), void 0),
|
||||
ts.factory.createStringLiteral(path),
|
||||
)
|
||||
}
|
||||
|
||||
function updateConstantsFile(sourceFile: ts.SourceFile, locale: string): string {
|
||||
const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed })
|
||||
const result = ts.transform(sourceFile, [
|
||||
(context) => (rootNode) => {
|
||||
function visit(node: ts.Node): ts.Node {
|
||||
if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name)) {
|
||||
if (node.name.text === "langs") {
|
||||
return updateLangsArray(node, locale)
|
||||
}
|
||||
if (node.name.text === "dayjsLocaleImportMap") {
|
||||
return updateDayjsLocaleImportMap(node, locale)
|
||||
}
|
||||
}
|
||||
return ts.visitEachChild(node, visit, context)
|
||||
}
|
||||
return ts.visitNode(rootNode, visit) as ts.SourceFile
|
||||
},
|
||||
])
|
||||
|
||||
return printer.printFile(result.transformed[0] as ts.SourceFile)
|
||||
}
|
||||
|
||||
function updateLangsArray(node: ts.VariableDeclaration, locale: string): ts.VariableDeclaration {
|
||||
if (node.initializer && ts.isArrayLiteralExpression(node.initializer)) {
|
||||
const existingElements = node.initializer.elements
|
||||
if (!existingElements.some((el) => ts.isStringLiteral(el) && el.text === locale)) {
|
||||
const newElements = [...existingElements, ts.factory.createStringLiteral(locale)]
|
||||
const newInitializer = ts.factory.createArrayLiteralExpression(newElements, true)
|
||||
return ts.factory.updateVariableDeclaration(
|
||||
node,
|
||||
node.name,
|
||||
node.exclamationToken,
|
||||
node.type,
|
||||
newInitializer,
|
||||
)
|
||||
}
|
||||
}
|
||||
return node
|
||||
}
|
||||
|
||||
function updateDayjsLocaleImportMap(
|
||||
node: ts.VariableDeclaration,
|
||||
locale: string,
|
||||
): ts.VariableDeclaration {
|
||||
if (node.initializer && ts.isObjectLiteralExpression(node.initializer)) {
|
||||
const existingProperties = node.initializer.properties
|
||||
if (
|
||||
!existingProperties.some(
|
||||
(prop) => ts.isPropertyAssignment(prop) && prop.name.getText() === `["${locale}"]`,
|
||||
)
|
||||
) {
|
||||
const newProperty = ts.factory.createPropertyAssignment(
|
||||
ts.factory.createComputedPropertyName(ts.factory.createStringLiteral(locale)),
|
||||
ts.factory.createArrayLiteralExpression([
|
||||
ts.factory.createStringLiteral(locale.toLowerCase()),
|
||||
ts.factory.createArrowFunction(
|
||||
undefined,
|
||||
undefined,
|
||||
[],
|
||||
undefined,
|
||||
ts.factory.createToken(ts.SyntaxKind.EqualsGreaterThanToken),
|
||||
ts.factory.createCallExpression(ts.factory.createIdentifier("import"), undefined, [
|
||||
ts.factory.createStringLiteral(`dayjs/locale/${locale.toLowerCase()}`),
|
||||
]),
|
||||
),
|
||||
]),
|
||||
)
|
||||
const newProperties = [...existingProperties, newProperty]
|
||||
return ts.factory.updateVariableDeclaration(
|
||||
node,
|
||||
node.name,
|
||||
node.exclamationToken,
|
||||
node.type,
|
||||
ts.factory.createObjectLiteralExpression(newProperties, true),
|
||||
)
|
||||
}
|
||||
}
|
||||
return node
|
||||
}
|
||||
|
||||
main().catch(console.error)
|
||||
+3726
-5626
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,12 @@
|
||||
export const currentSupportedLanguages = (() => {
|
||||
const langsFiles = import.meta.glob("../../../../locales/app/*.json")
|
||||
|
||||
const langs = [] as string[]
|
||||
for (const key in langsFiles) {
|
||||
langs.push(key.split("/").pop()?.replace(".json", "") as string)
|
||||
}
|
||||
return langs
|
||||
})()
|
||||
|
||||
const langs = ["en", "ja", "zh-CN", "zh-TW", "pt", "fr"]
|
||||
export const currentSupportedLanguages = langs.sort()
|
||||
export const dayjsLocaleImportMap = {
|
||||
en: ["en", () => import("dayjs/locale/en")],
|
||||
zh_CN: ["zh-cn", () => import("dayjs/locale/zh-cn")],
|
||||
["zh-CN"]: ["zh-cn", () => import("dayjs/locale/zh-cn")],
|
||||
["ja"]: ["ja", () => import("dayjs/locale/ja")],
|
||||
["fr"]: ["fr", () => import("dayjs/locale/fr")],
|
||||
["pt"]: ["pt", () => import("dayjs/locale/pt")],
|
||||
["zh-TW"]: ["zh-tw", () => import("dayjs/locale/zh-tw")],
|
||||
}
|
||||
export const ns = ["app", "common", "lang", "settings", "shortcuts"] as const
|
||||
export const defaultNS = "app" as const
|
||||
|
||||
@@ -1,9 +1,19 @@
|
||||
import en from "../../../../locales/app/en.json"
|
||||
import common_en from "../../../../locales/common/en.json"
|
||||
import common_zhCN from "../../../../locales/common/zh_CN.json"
|
||||
import common_fr from "../../../../locales/common/fr.json"
|
||||
import common_ja from "../../../../locales/common/ja.json"
|
||||
import common_pt from "../../../../locales/common/pt.json"
|
||||
import common_zhCN from "../../../../locales/common/zh-CN.json"
|
||||
import common_zhTW from "../../../../locales/common/zh-TW.json"
|
||||
import external_en from "../../../../locales/external/en.json"
|
||||
import lang_en from "../../../../locales/lang/en.json"
|
||||
|
||||
import lang_fr from "../../../../locales/lang/fr.json"
|
||||
import lang_ja from "../../../../locales/lang/ja.json"
|
||||
import lang_pt from "../../../../locales/lang/pt.json"
|
||||
import lang_zhCN from "../../../../locales/lang/zh-CN.json"
|
||||
import lang_zhTW from "../../../../locales/lang/zh-TW.json"
|
||||
import settings_en from "../../../../locales/settings/en.json"
|
||||
import shortcuts_en from "../../../../locales/shortcuts/en.json"
|
||||
/**
|
||||
* This file is the language resource that is loaded in full when the app is initialized.
|
||||
* When switching languages, the app will automatically download the required language resources,
|
||||
@@ -11,16 +21,24 @@ import lang_en from "../../../../locales/lang/en.json"
|
||||
* Generally, we only load english resources synchronously by default.
|
||||
* In addition, we attach common resources for other languages, and the size of the common resources must be controlled.
|
||||
*/
|
||||
|
||||
export const defaultResources = {
|
||||
en: {
|
||||
app: en,
|
||||
lang: lang_en,
|
||||
common: common_en,
|
||||
external: external_en,
|
||||
settings: settings_en,
|
||||
shortcuts: shortcuts_en,
|
||||
},
|
||||
|
||||
zh_CN: {
|
||||
"zh-CN": {
|
||||
lang: lang_zhCN,
|
||||
common: common_zhCN,
|
||||
},
|
||||
"zh-tw": { lang: lang_zhTW, common: common_zhTW },
|
||||
ja: {
|
||||
lang: lang_ja,
|
||||
common: common_ja,
|
||||
},
|
||||
fr: { lang: lang_fr, common: common_fr },
|
||||
pt: { lang: lang_pt, common: common_pt },
|
||||
}
|
||||
|
||||
Vendored
+4
-1
@@ -1,9 +1,12 @@
|
||||
import type { defaultNS, ns } from "./constants"
|
||||
import type { defaultResources as resources } from "./default-resource"
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
// ns: ["app", "common", "external", "lang", "settings", "shortcuts"]
|
||||
ns: typeof ns
|
||||
resources: (typeof resources)["en"]
|
||||
defaultNS: "app"
|
||||
defaultNS: typeof defaultNS
|
||||
// if you see an error like: "Argument of type 'DefaultTFuncReturn' is not assignable to parameter of type xyz"
|
||||
// set returnNull to false (and also in the i18next init options)
|
||||
// returnNull: false;
|
||||
|
||||
@@ -30,6 +30,7 @@ export const createDefaultSettings = (): UISettings => ({
|
||||
|
||||
// View
|
||||
pictureViewMasonry: true,
|
||||
pictureViewFilterNoImage: false,
|
||||
|
||||
// TTS
|
||||
voice: "en-US-AndrewMultilingualNeural",
|
||||
|
||||
@@ -77,7 +77,7 @@ export function ErrorElement() {
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<FallbackIssue message={message} stack={stack} />
|
||||
<FeedbackIssue message={message} stack={stack} />
|
||||
<div className="grow" />
|
||||
|
||||
<PoweredByFooter />
|
||||
@@ -85,7 +85,7 @@ export function ErrorElement() {
|
||||
)
|
||||
}
|
||||
|
||||
export const FallbackIssue = ({
|
||||
export const FeedbackIssue = ({
|
||||
message,
|
||||
stack,
|
||||
}: {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { attachOpenInEditor } from "@renderer/lib/dev"
|
||||
import type { FC } from "react"
|
||||
|
||||
import type { AppErrorFallbackProps } from "../common/AppErrorBoundary"
|
||||
import { FallbackIssue } from "../common/ErrorElement"
|
||||
import { FeedbackIssue } from "../common/ErrorElement"
|
||||
import { m } from "../common/Motion"
|
||||
import { Button } from "../ui/button"
|
||||
import { useCurrentModal } from "../ui/modal"
|
||||
@@ -44,7 +44,7 @@ export const ModalErrorFallback: FC<AppErrorFallbackProps> = (props) => {
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<FallbackIssue message={message!} stack={stack} />
|
||||
<FeedbackIssue message={message!} stack={stack} />
|
||||
</div>
|
||||
</m.div>
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@ import { attachOpenInEditor } from "@renderer/lib/dev"
|
||||
import type { FC } from "react"
|
||||
|
||||
import type { AppErrorFallbackProps } from "../common/AppErrorBoundary"
|
||||
import { FallbackIssue } from "../common/ErrorElement"
|
||||
import { FeedbackIssue } from "../common/ErrorElement"
|
||||
import { Button } from "../ui/button"
|
||||
import { parseError, useResetErrorWhenRouteChange } from "./helper"
|
||||
|
||||
@@ -37,7 +37,7 @@ export const PageErrorFallback: FC<AppErrorFallbackProps> = (props) => {
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<FallbackIssue message={message!} stack={stack} />
|
||||
<FeedbackIssue message={message!} stack={stack} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
import { useWhoami } from "@renderer/atoms/user"
|
||||
import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar"
|
||||
import {
|
||||
Tooltip,
|
||||
TooltipContent,
|
||||
TooltipPortal,
|
||||
TooltipTrigger,
|
||||
} from "@renderer/components/ui/tooltip"
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import type { FeedModel } from "@renderer/models"
|
||||
import { usePresentUserProfileModal } from "@renderer/modules/profile/hooks"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
export const FeedCertification = ({ feed, className }: { feed: FeedModel; className?: string }) => {
|
||||
const me = useWhoami()
|
||||
const presentUserProfile = usePresentUserProfileModal("drawer")
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
feed.ownerUserId &&
|
||||
(feed.ownerUserId === me?.id ? (
|
||||
<Tooltip delayDuration={300}>
|
||||
<TooltipTrigger asChild>
|
||||
<i className={cn("i-mgc-certificate-cute-fi ml-1.5 shrink-0 text-accent", className)} />
|
||||
</TooltipTrigger>
|
||||
|
||||
<TooltipPortal>
|
||||
<TooltipContent className="px-4 py-2">
|
||||
<div className="flex items-center text-base font-semibold">
|
||||
<i className="i-mgc-certificate-cute-fi mr-2 shrink-0 text-accent" />
|
||||
{t("feed_item.claimed_feed")}
|
||||
</div>
|
||||
<div>{t("feed_item.claimed_by_you")}</div>
|
||||
</TooltipContent>
|
||||
</TooltipPortal>
|
||||
</Tooltip>
|
||||
) : (
|
||||
<Tooltip delayDuration={300}>
|
||||
<TooltipTrigger asChild>
|
||||
<i
|
||||
className={cn("i-mgc-certificate-cute-fi ml-1.5 shrink-0 text-amber-500", className)}
|
||||
/>
|
||||
</TooltipTrigger>
|
||||
|
||||
<TooltipPortal>
|
||||
<TooltipContent className="px-4 py-2">
|
||||
<div className="flex items-center text-base font-semibold">
|
||||
<i className="i-mgc-certificate-cute-fi mr-2 shrink-0 text-amber-500" />
|
||||
{t("feed_item.claimed_feed")}
|
||||
</div>
|
||||
<div className="mt-1 flex items-center gap-1.5">
|
||||
<span>{t("feed_item.claimed_by_owner")}</span>
|
||||
{feed.owner ? (
|
||||
<Avatar
|
||||
className="inline-flex aspect-square size-5 rounded-full"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
presentUserProfile(feed.owner!.id)
|
||||
}}
|
||||
>
|
||||
<AvatarImage src={feed.owner.image || undefined} />
|
||||
<AvatarFallback>{feed.owner.name?.slice(0, 2)}</AvatarFallback>
|
||||
</Avatar>
|
||||
) : (
|
||||
<span>{t("feed_item.claimed_by_unknown")}</span>
|
||||
)}
|
||||
</div>
|
||||
</TooltipContent>
|
||||
</TooltipPortal>
|
||||
</Tooltip>
|
||||
))
|
||||
)
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import { FeedIcon } from "@renderer/components/feed-icon"
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import type { FeedModel } from "@renderer/models"
|
||||
|
||||
import { FeedCertification } from "./feed-certification"
|
||||
import { EllipsisHorizontalTextWithTooltip } from "./ui/typography"
|
||||
|
||||
export function FollowSummary({
|
||||
@@ -28,7 +29,10 @@ export function FollowSummary({
|
||||
size={32}
|
||||
/>
|
||||
<div className="truncate text-base font-semibold leading-tight">
|
||||
{feed.title}
|
||||
<div className="flex items-center gap-1">
|
||||
{feed.title}
|
||||
<FeedCertification feed={feed} />
|
||||
</div>
|
||||
<EllipsisHorizontalTextWithTooltip className="truncate text-xs font-normal text-zinc-500">
|
||||
{feed.description}
|
||||
</EllipsisHorizontalTextWithTooltip>
|
||||
|
||||
@@ -5,6 +5,7 @@ import type { MotionValue } from "framer-motion"
|
||||
import { useMotionValueEvent, useScroll } from "framer-motion"
|
||||
import type { FC } from "react"
|
||||
import { cloneElement, useState } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { Link } from "react-router-dom"
|
||||
|
||||
import { FollowIcon } from "./icons/follow"
|
||||
@@ -19,6 +20,7 @@ const useMotionValueToState = (value: MotionValue<number>) => {
|
||||
|
||||
export function Header() {
|
||||
const present = usePresentUserProfileModal()
|
||||
const { t } = useTranslation("external")
|
||||
|
||||
const { scrollY } = useScroll()
|
||||
const scrollYState = useMotionValueToState(scrollY)
|
||||
@@ -40,12 +42,16 @@ export function Header() {
|
||||
</div>
|
||||
|
||||
<div className="mx-6 hidden gap-12 text-sm font-medium lg:flex [&>div]:hover:cursor-pointer">
|
||||
<HoverableLink href="/" icon={<FollowIcon />} label="App" />
|
||||
<HoverableLink
|
||||
href="/"
|
||||
icon={<FollowIcon className="!size-3" />}
|
||||
label={t("header.app")}
|
||||
/>
|
||||
|
||||
<HoverableLink
|
||||
href="https://github.com/RSSNext/follow/releases"
|
||||
icon={<i className="i-mgc-download-2-cute-fi" />}
|
||||
label="Download"
|
||||
label={t("header.download")}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -75,7 +81,9 @@ const HoverableLink: FC<{
|
||||
target={href.startsWith("http") ? "_blank" : undefined}
|
||||
className={cn("group center flex gap-3 duration-200 hover:text-accent", className)}
|
||||
>
|
||||
<span>{cloneElement(icon, { className: `size-3 ${icon.props.className}` })}</span>
|
||||
<span className="center">
|
||||
{cloneElement(icon, { className: `size-4 ${icon.props.className}` })}
|
||||
</span>
|
||||
<span className="inline-flex h-[1.5em] flex-col overflow-hidden leading-[1.5em]">
|
||||
<span className="inline-flex flex-col gap-2 duration-200 group-hover:translate-y-[calc(-50%-0.25em)]">
|
||||
<span>{label}</span>
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
import type { SVGProps } from "react"
|
||||
|
||||
export function MdiLanguageTypescript(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M3 3h18v18H3zm10.71 14.86c.5.98 1.51 1.73 3.09 1.73c1.6 0 2.8-.83 2.8-2.36c0-1.41-.81-2.04-2.25-2.66l-.42-.18c-.73-.31-1.04-.52-1.04-1.02c0-.41.31-.73.81-.73c.48 0 .8.21 1.09.73l1.31-.87c-.55-.96-1.33-1.33-2.4-1.33c-1.51 0-2.48.96-2.48 2.23c0 1.38.81 2.03 2.03 2.55l.42.18c.78.34 1.24.55 1.24 1.13c0 .48-.45.83-1.15.83c-.83 0-1.31-.43-1.67-1.03zM13 11.25H8v1.5h1.5V20h1.75v-7.25H13z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function UilReact(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M11.103 10.438a1.786 1.786 0 1 0 2.44.654a1.786 1.786 0 0 0-2.44-.654m8.005 1.938q-.176-.201-.371-.403q.136-.144.264-.287c1.605-1.804 2.283-3.614 1.655-4.701c-.602-1.043-2.393-1.354-4.636-.918q-.331.065-.659.146q-.063-.216-.133-.43C14.467 3.49 13.238 1.999 11.982 2c-1.204 0-2.368 1.397-3.111 3.558q-.11.32-.203.644q-.219-.054-.44-.1c-2.366-.485-4.271-.165-4.898.924c-.601 1.043.027 2.75 1.528 4.472q.224.255.46.5c-.186.19-.361.381-.525.571c-1.465 1.698-2.057 3.376-1.457 4.415c.62 1.074 2.498 1.425 4.785.975q.278-.055.553-.124q.1.351.221.697C9.635 20.649 10.792 22 11.992 22c1.24 0 2.482-1.453 3.235-3.659c.06-.174.115-.355.169-.541q.355.088.715.156c2.203.417 3.952.09 4.551-.95c.619-1.075-.02-2.877-1.554-4.63M4.07 7.452c.386-.67 1.943-.932 3.986-.512q.196.04.399.09a20.464 20.464 0 0 0-.422 2.678A20.887 20.887 0 0 0 5.93 11.4q-.219-.227-.427-.465C4.216 9.461 3.708 8.081 4.07 7.452m3.887 5.728c-.51-.387-.985-.783-1.416-1.181c.43-.396.905-.79 1.415-1.176q-.028.589-.027 1.179q0 .59.028 1.178m0 3.94a7.237 7.237 0 0 1-2.64.094a1.766 1.766 0 0 1-1.241-.657c-.365-.63.111-1.978 1.364-3.43q.236-.273.488-.532a20.49 20.49 0 0 0 2.107 1.7a20.802 20.802 0 0 0 .426 2.712q-.25.063-.505.114m7.1-8.039q-.503-.317-1.018-.613q-.508-.292-1.027-.563a18.7 18.7 0 0 1 1.739-.635a18.218 18.218 0 0 1 .306 1.811M9.68 5.835c.636-1.85 1.578-2.98 2.304-2.98c.773-.001 1.777 1.218 2.434 3.197q.064.194.12.39a20.478 20.478 0 0 0-2.526.97a20.061 20.061 0 0 0-2.52-.981q.087-.3.188-.596m-.4 1.424a18.307 18.307 0 0 1 1.73.642q-1.052.542-2.048 1.181c.08-.638.187-1.249.318-1.823m-.317 7.66q.497.319 1.009.613q.522.3 1.057.576a18.196 18.196 0 0 1-1.744.665a19.144 19.144 0 0 1-.322-1.853m5.456 3.146a7.236 7.236 0 0 1-1.238 2.333a1.766 1.766 0 0 1-1.188.748c-.729 0-1.658-1.085-2.29-2.896q-.112-.321-.206-.648a20.109 20.109 0 0 0 2.53-1.01a20.8 20.8 0 0 0 2.547.979q-.072.249-.155.494m.362-1.324a19.267 19.267 0 0 1-1.762-.646q.509-.267 1.025-.565q.53-.306 1.032-.627a18.152 18.152 0 0 1-.295 1.838m.447-4.743q0 .911-.057 1.82c-.493.334-1.013.66-1.554.972c-.54.311-1.073.597-1.597.856q-.827-.396-1.622-.854q-.79-.455-1.544-.969q-.07-.91-.07-1.822q0-.911.068-1.821a24.168 24.168 0 0 1 3.158-1.823q.816.397 1.603.851q.79.454 1.55.959q.065.914.065 1.831m.956-5.093c1.922-.373 3.37-.122 3.733.507c.387.67-.167 2.148-1.554 3.706q-.115.129-.238.259a20.061 20.061 0 0 0-2.144-1.688a20.04 20.04 0 0 0-.405-2.649q.31-.076.608-.135m-.13 3.885a18.164 18.164 0 0 1 1.462 1.188a18.12 18.12 0 0 1-1.457 1.208q.023-.594.023-1.188q0-.604-.028-1.208m3.869 5.789c-.364.631-1.768.894-3.653.538q-.324-.061-.664-.146a20.069 20.069 0 0 0 .387-2.682a19.94 19.94 0 0 0 2.137-1.715q.177.183.336.364a7.234 7.234 0 0 1 1.403 2.238a1.766 1.766 0 0 1 .054 1.403"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function MdiLanguageJavascript(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M3 3h18v18H3zm4.73 15.04c.4.85 1.19 1.55 2.54 1.55c1.5 0 2.53-.8 2.53-2.55v-5.78h-1.7V17c0 .86-.35 1.08-.9 1.08c-.58 0-.82-.4-1.09-.87zm5.98-.18c.5.98 1.51 1.73 3.09 1.73c1.6 0 2.8-.83 2.8-2.36c0-1.41-.81-2.04-2.25-2.66l-.42-.18c-.73-.31-1.04-.52-1.04-1.02c0-.41.31-.73.81-.73c.48 0 .8.21 1.09.73l1.31-.87c-.55-.96-1.33-1.33-2.4-1.33c-1.51 0-2.48.96-2.48 2.23c0 1.38.81 2.03 2.03 2.55l.42.18c.78.34 1.24.55 1.24 1.13c0 .48-.45.83-1.15.83c-.83 0-1.31-.43-1.67-1.03z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function MdiBash(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M5 9h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H15v2h-1.9l-.2 2H15v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H5v-2h1.9l.2-2H5zm4.1 2l-.2 2h2l.2-2M19 6h-2v8h2m0 2h-2v2h2Z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function MdiLanguageCss3(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="m5 3l-.65 3.34h13.59L17.5 8.5H3.92l-.66 3.33h13.59l-.76 3.81l-5.48 1.81l-4.75-1.81l.33-1.64H2.85l-.79 4l7.85 3l9.05-3l1.2-6.03l.24-1.21L21.94 3z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function MdiLanguageHtml5(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="m12 17.56l4.07-1.13l.55-6.1H9.38L9.2 8.3h7.6l.2-1.99H7l.56 6.01h6.89l-.23 2.58l-2.22.6l-2.22-.6l-.14-1.66h-2l.29 3.19zM4.07 3h15.86L18.5 19.2L12 21l-6.5-1.8z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function RiMarkdownFill(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1m4 12.5v-4l2 2l2-2v4h2v-7h-2l-2 2l-2-2H5v7zm11-3v-4h-2v4h-2l3 3l3-3z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import type { SVGProps } from "react"
|
||||
|
||||
export function PhCloudWarning(props: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="1em"
|
||||
height="1em"
|
||||
viewBox="0 0 256 256"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M160 40a88.09 88.09 0 0 0-78.71 48.67A64 64 0 1 0 72 216h88a88 88 0 0 0 0-176m0 160H72a48 48 0 0 1 0-96c1.1 0 2.2 0 3.29.11A88 88 0 0 0 72 128a8 8 0 0 0 16 0a72 72 0 1 1 72 72m-8-72V88a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
import {
|
||||
MdiLanguageCss3,
|
||||
MdiLanguageHtml5,
|
||||
MdiLanguageJavascript,
|
||||
MdiLanguageTypescript,
|
||||
RiMarkdownFill,
|
||||
UilReact,
|
||||
} from "@renderer/components/icons/Language"
|
||||
|
||||
const LanguageAlias = {
|
||||
ts: "typescript",
|
||||
js: "javascript",
|
||||
|
||||
tsx: "typescriptreact",
|
||||
jsx: "javascriptreact",
|
||||
md: "markdown",
|
||||
}
|
||||
const LanguageToColorMap = {
|
||||
typescript: "#2b7489",
|
||||
javascript: "#f1e05a",
|
||||
javascriptreact: "#f1e05a",
|
||||
typescriptreact: "#2b7489",
|
||||
html: "#e34c26",
|
||||
java: "#b07219",
|
||||
go: "#00add8",
|
||||
vue: "#2c3e50",
|
||||
css: "#563d7c",
|
||||
yaml: "#cb171e",
|
||||
json: "#292929",
|
||||
markdown: "#083fa1",
|
||||
csharp: "#178600",
|
||||
"c#": "#178600",
|
||||
c: "#555555",
|
||||
cpp: "#f34b7d",
|
||||
"c++": "#f34b7d",
|
||||
python: "#3572a5",
|
||||
lua: "#000080",
|
||||
vimscript: "#199f4b",
|
||||
shell: "#89e051",
|
||||
dockerfile: "#384d54",
|
||||
ruby: "#701516",
|
||||
php: "#4f5d95",
|
||||
lisp: "#3fb68b",
|
||||
kotlin: "#F18E33",
|
||||
rust: "#dea584",
|
||||
dart: "#00B4AB",
|
||||
swift: "#ffac45",
|
||||
"objective-c": "#438eff",
|
||||
"objective-c++": "#6866fb",
|
||||
r: "#198ce7",
|
||||
matlab: "#e16737",
|
||||
scala: "#c22d40",
|
||||
sql: "#e38c00",
|
||||
perl: "#0298c3",
|
||||
}
|
||||
const languageToIconMap = {
|
||||
javascriptreact: <UilReact />,
|
||||
typescriptreact: <UilReact />,
|
||||
javascript: <MdiLanguageJavascript />,
|
||||
typescript: <MdiLanguageTypescript />,
|
||||
html: <MdiLanguageHtml5 />,
|
||||
css: <MdiLanguageCss3 />,
|
||||
markdown: <RiMarkdownFill />,
|
||||
}
|
||||
export const getLanguageColor = (language?: string) => {
|
||||
if (!language) return
|
||||
|
||||
const alias = LanguageAlias[language]
|
||||
if (alias) {
|
||||
return LanguageToColorMap[alias]
|
||||
}
|
||||
return LanguageToColorMap[language]
|
||||
}
|
||||
|
||||
export const getLanguageIcon = (language?: string) => {
|
||||
if (!language) return null
|
||||
|
||||
const alias = LanguageAlias[language]
|
||||
if (alias) {
|
||||
return languageToIconMap[alias]
|
||||
}
|
||||
|
||||
return languageToIconMap[language]
|
||||
}
|
||||
@@ -23,7 +23,8 @@ const copyIconVariants: Variants = {
|
||||
|
||||
export const CopyButton: Component<{
|
||||
value: string
|
||||
}> = ({ value, className }) => {
|
||||
style?: React.CSSProperties
|
||||
}> = ({ value, className, style }) => {
|
||||
const [copied, setCopied] = useState(false)
|
||||
const copiedTimerRef = useRef<any>()
|
||||
const handleCopy = useCallback(() => {
|
||||
@@ -45,6 +46,7 @@ export const CopyButton: Component<{
|
||||
|
||||
className,
|
||||
)}
|
||||
style={style}
|
||||
>
|
||||
<AnimatePresence mode="wait">
|
||||
{copied ? (
|
||||
|
||||
@@ -10,21 +10,13 @@ import type {
|
||||
BundledTheme,
|
||||
DynamicImportLanguageRegistration,
|
||||
DynamicImportThemeRegistration,
|
||||
HighlighterCore,
|
||||
} from "shiki"
|
||||
import { createHighlighterCoreSync, createJavaScriptRegexEngine } from "shiki/core"
|
||||
|
||||
import { getLanguageColor, getLanguageIcon } from "../constants"
|
||||
import { CopyButton } from "../copy-button"
|
||||
import { shikiTransformers } from "./shared"
|
||||
import { shiki, shikiTransformers } from "./shared"
|
||||
import styles from "./shiki.module.css"
|
||||
|
||||
const js = createJavaScriptRegexEngine()
|
||||
const shiki = createHighlighterCoreSync({
|
||||
themes: [],
|
||||
langs: [],
|
||||
engine: js,
|
||||
})
|
||||
|
||||
export interface ShikiProps {
|
||||
language: string | undefined
|
||||
code: string
|
||||
@@ -42,24 +34,7 @@ let themeModule: Record<BundledTheme, DynamicImportThemeRegistration> | null = n
|
||||
let bundledLanguagesKeysSet: Set<string> | null = null
|
||||
|
||||
export const ShikiHighLighter: FC<ShikiProps> = (props) => {
|
||||
if (!shiki) {
|
||||
const { code, className } = props
|
||||
return (
|
||||
<pre className={className}>
|
||||
<code>{code}</code>
|
||||
</pre>
|
||||
)
|
||||
}
|
||||
|
||||
return <ShikiHighLighterRender {...props} shiki={shiki} />
|
||||
}
|
||||
|
||||
const ShikiHighLighterRender: FC<
|
||||
ShikiProps & {
|
||||
shiki: HighlighterCore
|
||||
}
|
||||
> = (props) => {
|
||||
const { code, language, className, theme: overrideTheme, shiki } = props
|
||||
const { code, language, className, theme: overrideTheme } = props
|
||||
const [currentLanguage, setCurrentLanguage] = useState(language || "plaintext")
|
||||
|
||||
const guessCodeLanguage = useUISettingKey("guessCodeLanguage")
|
||||
@@ -179,9 +154,8 @@ const ShikiHighLighterRender: FC<
|
||||
const ShikiCode: FC<
|
||||
ShikiProps & {
|
||||
codeTheme: string
|
||||
shiki: HighlighterCore
|
||||
}
|
||||
> = ({ code, language, codeTheme, className, transparent, shiki }) => {
|
||||
> = ({ code, language, codeTheme, className, transparent }) => {
|
||||
const rendered = useMemo(() => {
|
||||
try {
|
||||
return shiki.codeToHtml(code, {
|
||||
@@ -193,10 +167,9 @@ const ShikiCode: FC<
|
||||
transformers: shikiTransformers,
|
||||
})
|
||||
} catch {
|
||||
// console.error(err)
|
||||
return null
|
||||
}
|
||||
}, [shiki, code, language, codeTheme])
|
||||
}, [code, language, codeTheme])
|
||||
|
||||
if (!rendered) {
|
||||
return (
|
||||
@@ -205,6 +178,7 @@ const ShikiCode: FC<
|
||||
</pre>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
@@ -217,8 +191,17 @@ const ShikiCode: FC<
|
||||
<div dangerouslySetInnerHTML={{ __html: rendered }} data-language={language} />
|
||||
<CopyButton
|
||||
value={code}
|
||||
className="absolute right-1 top-1 opacity-0 duration-200 group-hover:opacity-100"
|
||||
style={{
|
||||
backgroundColor: getLanguageColor(language),
|
||||
}}
|
||||
className={"absolute right-2 top-2 opacity-0 duration-200 group-hover:opacity-100"}
|
||||
/>
|
||||
{language !== "plaintext" && (
|
||||
<span className="center absolute bottom-2 right-2 flex gap-1 text-xs uppercase text-white opacity-80">
|
||||
<span className="center [&_svg]:size-4">{getLanguageIcon(language)}</span>
|
||||
<span>{language}</span>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -4,9 +4,17 @@ import {
|
||||
transformerNotationHighlight,
|
||||
} from "@shikijs/transformers"
|
||||
import type { ShikiTransformer } from "shiki"
|
||||
import { createHighlighterCoreSync, createJavaScriptRegexEngine } from "shiki"
|
||||
|
||||
export const shikiTransformers: ShikiTransformer[] = [
|
||||
transformerMetaHighlight(),
|
||||
transformerNotationDiff(),
|
||||
transformerNotationHighlight(),
|
||||
]
|
||||
|
||||
const js = createJavaScriptRegexEngine()
|
||||
export const shiki = createHighlighterCoreSync({
|
||||
themes: [],
|
||||
langs: [],
|
||||
engine: js,
|
||||
})
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
}
|
||||
|
||||
:global {
|
||||
.shiki {
|
||||
@apply !m-0 !px-0;
|
||||
}
|
||||
|
||||
pre {
|
||||
@apply !m-0 overflow-auto p-4;
|
||||
|
||||
@@ -22,7 +26,7 @@
|
||||
}
|
||||
|
||||
.line {
|
||||
@apply block;
|
||||
@apply block px-5;
|
||||
|
||||
& > span:last-child {
|
||||
@apply mr-5;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import { useGeneralSettingSelector } from "@renderer/atoms/settings/general"
|
||||
import { stopPropagation } from "@renderer/lib/dom"
|
||||
import dayjs from "dayjs"
|
||||
import type { FC } from "react"
|
||||
import { useEffect, useRef, useState } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "../tooltip"
|
||||
|
||||
@@ -84,6 +86,9 @@ export const RelativeTime: FC<{
|
||||
}
|
||||
|
||||
export const RelativeDay = ({ date }: { date: Date }) => {
|
||||
const { t } = useTranslation("common")
|
||||
const language = useGeneralSettingSelector((s) => s.language)
|
||||
|
||||
const formatDateString = (date: Date) => {
|
||||
const now = new Date()
|
||||
|
||||
@@ -95,11 +100,18 @@ export const RelativeDay = ({ date }: { date: Date }) => {
|
||||
const diffDays = diffTime / (1000 * 3600 * 24)
|
||||
|
||||
if (diffDays === 0) {
|
||||
return "Today"
|
||||
return t("time.today")
|
||||
} else if (diffDays === 1) {
|
||||
return "Yesterday"
|
||||
return t("time.yesterday")
|
||||
} else {
|
||||
return date.toLocaleDateString("en-US", {
|
||||
let locale: Intl.Locale
|
||||
|
||||
try {
|
||||
locale = new Intl.Locale(language.replace("_", "-"))
|
||||
} catch {
|
||||
locale = new Intl.Locale("en-US")
|
||||
}
|
||||
return date.toLocaleDateString(locale, {
|
||||
weekday: "long",
|
||||
month: "short",
|
||||
day: "numeric",
|
||||
@@ -121,7 +133,7 @@ export const RelativeDay = ({ date }: { date: Date }) => {
|
||||
return () => {
|
||||
clearTimeout(timerRef.current)
|
||||
}
|
||||
}, [date])
|
||||
}, [date, language])
|
||||
|
||||
const formated = dayjs(date).format(formatTemplateString)
|
||||
if (formated === dateString) {
|
||||
|
||||
@@ -175,7 +175,7 @@ export const Kbd: FC<{ children: string; className?: string }> = memo(({ childre
|
||||
}
|
||||
|
||||
case SharedKeys.backspace: {
|
||||
return <MaterialSymbolsBackspace key={key} />
|
||||
return <MaterialSymbolsBackspaceOutlineSharp key={key} />
|
||||
}
|
||||
case SpecialKeys.macOS.meta: {
|
||||
return <MaterialSymbolsKeyboardCommandKey key={key} />
|
||||
@@ -271,13 +271,14 @@ function MaterialSymbolsSpaceBarRounded(props: React.SVGProps<SVGSVGElement>) {
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
function MaterialSymbolsBackspace(props: React.SVGProps<SVGSVGElement>) {
|
||||
|
||||
function MaterialSymbolsBackspaceOutlineSharp(props: React.SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props}>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M7.95 19L3 12l4.95-7H21v14zm3.45-3l2.6-2.6l2.6 2.6l1.4-1.4l-2.6-2.6L18 9.4L16.6 8L14 10.6L11.4 8L10 9.4l2.6 2.6l-2.6 2.6z"
|
||||
/>
|
||||
d="M7.95 19L3 12l4.95-7H21v14zM9 17h10V7H9l-3.55 5zm2.4-1l2.6-2.6l2.6 2.6l1.4-1.4l-2.6-2.6L18 9.4L16.6 8L14 10.6L11.4 8L10 9.4l2.6 2.6l-2.6 2.6zm7.6 1V7z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export const TimeStamp = (props: { time: string }) => {
|
||||
nextFrame(() => AudioPlayer.seek(timeStringToSeconds(props.time) || 0))
|
||||
}}
|
||||
>
|
||||
<i className="i-mgc-time-cute-re translate-y-0.5 mr-1" />
|
||||
<i className="i-mgc-time-cute-re mr-1 translate-y-0.5" />
|
||||
{props.time}
|
||||
</span>
|
||||
)
|
||||
|
||||
@@ -20,6 +20,7 @@ import {
|
||||
useState,
|
||||
} from "react"
|
||||
import { useHotkeys } from "react-hotkeys-hook"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { createContext, useContext, useContextSelector } from "use-context-selector"
|
||||
import { useEventCallback } from "usehooks-ts"
|
||||
|
||||
@@ -208,6 +209,7 @@ const FloatMutedButton = () => {
|
||||
}
|
||||
|
||||
const ControlBar = memo(() => {
|
||||
const { t } = useTranslation()
|
||||
const controls = useContextSelector(VideoPlayerContext, (v) => v.controls)
|
||||
const isPaused = useContextSelector(VideoPlayerContext, (v) => v.state.paused)
|
||||
const dragControls = useDragControls()
|
||||
@@ -235,7 +237,7 @@ const ControlBar = memo(() => {
|
||||
|
||||
<ActionIcon
|
||||
shortcut="Space"
|
||||
label={isPaused ? "Play" : "Pause"}
|
||||
label={isPaused ? t("player.play") : t("player.pause")}
|
||||
className="center relative flex"
|
||||
onClick={() => {
|
||||
if (isPaused) {
|
||||
@@ -268,6 +270,7 @@ const ControlBar = memo(() => {
|
||||
})
|
||||
|
||||
const FullScreenControl = () => {
|
||||
const { t } = useTranslation()
|
||||
const ref = useContextSelector(VideoPlayerContext, (v) => v.wrapperRef)
|
||||
const [isFullScreen, setIsFullScreen] = useState(!!document.fullscreenElement)
|
||||
|
||||
@@ -283,7 +286,7 @@ const FullScreenControl = () => {
|
||||
|
||||
return (
|
||||
<ActionIcon
|
||||
label="Full Screen"
|
||||
label={isFullScreen ? t("player.exit_full_screen") : t("player.full_screen")}
|
||||
shortcut="f"
|
||||
labelDelayDuration={1}
|
||||
onClick={() => {
|
||||
@@ -306,6 +309,7 @@ const FullScreenControl = () => {
|
||||
}
|
||||
|
||||
const DownloadVideo = () => {
|
||||
const { t } = useTranslation()
|
||||
const src = useContextSelector(VideoPlayerContext, (v) => v.src)
|
||||
const [isDownloading, setIsDownloading] = useState(false)
|
||||
const download = useEventCallback(() => {
|
||||
@@ -324,7 +328,7 @@ const DownloadVideo = () => {
|
||||
})
|
||||
|
||||
return (
|
||||
<ActionIcon shortcut="d" label="Download" labelDelayDuration={1} onClick={download}>
|
||||
<ActionIcon shortcut="d" label={t("player.download")} labelDelayDuration={1} onClick={download}>
|
||||
{isDownloading ? (
|
||||
<i className="i-mgc-loading-3-cute-re animate-spin" />
|
||||
) : (
|
||||
@@ -334,6 +338,7 @@ const DownloadVideo = () => {
|
||||
)
|
||||
}
|
||||
const VolumeControl = () => {
|
||||
const { t } = useTranslation()
|
||||
const hasAudio = useContextSelector(VideoPlayerContext, (v) => v.state.hasAudio)
|
||||
|
||||
const controls = useContextSelector(VideoPlayerContext, (v) => v.controls)
|
||||
@@ -352,7 +357,11 @@ const VolumeControl = () => {
|
||||
}}
|
||||
labelDelayDuration={1}
|
||||
>
|
||||
{muted ? <i className="i-mgc-volume-mute-cute-re" /> : <i className="i-mgc-volume-cute-re" />}
|
||||
{muted ? (
|
||||
<i className="i-mgc-volume-mute-cute-re" title={t("player.unmute")} />
|
||||
) : (
|
||||
<i className="i-mgc-volume-cute-re" title={t("player.mute")} />
|
||||
)}
|
||||
</ActionIcon>
|
||||
)
|
||||
}
|
||||
@@ -446,7 +455,7 @@ const ActionIcon = ({
|
||||
{children || <i className={className} />}
|
||||
</button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent className="flex items-center gap-1 bg-theme-modal-background">
|
||||
<TooltipContent className="flex items-center gap-1 text-xs">
|
||||
{label}
|
||||
{shortcut && <KbdCombined>{shortcut}</KbdCombined>}
|
||||
</TooltipContent>
|
||||
|
||||
@@ -6,6 +6,7 @@ import { m } from "@renderer/components/common/Motion"
|
||||
import { ErrorComponentType } from "@renderer/components/errors/enum"
|
||||
import { isElectronBuild } from "@renderer/constants"
|
||||
import { useSwitchHotKeyScope } from "@renderer/hooks/common"
|
||||
import { debugStack } from "@renderer/lib/dev"
|
||||
import { nextFrame, stopPropagation } from "@renderer/lib/dom"
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import { useAnimationControls, useDragControls } from "framer-motion"
|
||||
@@ -83,6 +84,7 @@ export const ModalInternal = memo(
|
||||
|
||||
const onClose = useCallback(
|
||||
(open: boolean): void => {
|
||||
debugStack()
|
||||
if (!open) {
|
||||
close()
|
||||
}
|
||||
@@ -113,7 +115,7 @@ export const ModalInternal = memo(
|
||||
})
|
||||
const animateController = useAnimationControls()
|
||||
useEffect(() => {
|
||||
requestAnimationFrame(() => {
|
||||
nextFrame(() => {
|
||||
animateController.start(modalMontionConfig.animate)
|
||||
})
|
||||
}, [animateController])
|
||||
@@ -259,6 +261,7 @@ export const ModalInternal = memo(
|
||||
)}
|
||||
onPointerUp={handleDetectSelectEnd}
|
||||
onClick={handleClickOutsideToDismiss}
|
||||
onFocus={stopPropagation}
|
||||
style={zIndexStyle}
|
||||
>
|
||||
{DragBar}
|
||||
@@ -296,6 +299,7 @@ export const ModalInternal = memo(
|
||||
modalContainerClassName,
|
||||
!isResizeable && "center",
|
||||
)}
|
||||
onFocus={stopPropagation}
|
||||
onPointerUp={handleDetectSelectEnd}
|
||||
onClick={handleClickOutsideToDismiss}
|
||||
>
|
||||
|
||||
@@ -19,7 +19,7 @@ export const getSupportedPlatformIconName = (url: string) => {
|
||||
)
|
||||
}
|
||||
|
||||
const parseSafeUrl = (url: string) => {
|
||||
export const parseSafeUrl = (url: string) => {
|
||||
try {
|
||||
return new URL(url)
|
||||
} catch {
|
||||
|
||||
@@ -27,6 +27,7 @@ export const RadioCard: FC<
|
||||
return (
|
||||
<label
|
||||
htmlFor={id ?? fallbackId}
|
||||
data-state={selected ? "selected" : "unselected"}
|
||||
className={cn(
|
||||
"flex cursor-pointer items-center rounded-md p-2",
|
||||
"border",
|
||||
|
||||
@@ -12,6 +12,7 @@ import { useSettingModal } from "@renderer/modules/settings/modal/hooks"
|
||||
import { useSession } from "@renderer/queries/auth"
|
||||
import type { FC } from "react"
|
||||
import { memo } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { Link } from "react-router-dom"
|
||||
|
||||
import { UserArrowLeftIcon } from "./icons/user"
|
||||
@@ -33,6 +34,7 @@ interface LoginProps {
|
||||
export const LoginButton: FC<LoginProps> = (props) => {
|
||||
const { method } = props
|
||||
const modalStack = useModalStack()
|
||||
const { t } = useTranslation()
|
||||
const Content = (
|
||||
<ActionButton
|
||||
className="relative z-[1]"
|
||||
@@ -49,7 +51,7 @@ export const LoginButton: FC<LoginProps> = (props) => {
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
tooltip="Login"
|
||||
tooltip={t("words.login")}
|
||||
>
|
||||
<UserArrowLeftIcon className="size-4" />
|
||||
</ActionButton>
|
||||
@@ -62,6 +64,7 @@ export const ProfileButton: FC<LoginProps> = memo((props) => {
|
||||
const signOut = useSignOut()
|
||||
const settingModalPresent = useSettingModal()
|
||||
const presentUserProfile = usePresentUserProfileModal("dialog")
|
||||
const { t } = useTranslation()
|
||||
if (status !== "authenticated") {
|
||||
return <LoginButton {...props} />
|
||||
}
|
||||
@@ -69,12 +72,14 @@ export const ProfileButton: FC<LoginProps> = memo((props) => {
|
||||
return (
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild className="!outline-none focus-visible:bg-theme-item-hover">
|
||||
<ActionButton tooltip="Profile">
|
||||
<ActionButton tooltip={t("words.user")}>
|
||||
<UserAvatar className="h-5 p-0 [&_*]:border-0" hideName />
|
||||
</ActionButton>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent className="min-w-[180px]" side="bottom" align="end">
|
||||
<DropdownMenuLabel className="text-xs text-theme-foreground/60">Account</DropdownMenuLabel>
|
||||
<DropdownMenuLabel className="text-xs text-theme-foreground/60">
|
||||
{t("user_button.account")}
|
||||
</DropdownMenuLabel>
|
||||
<DropdownMenuLabel>
|
||||
<div className="-mt-1 flex items-center gap-2">
|
||||
<UserAvatar className="h-7 shrink-0 p-0" hideName />
|
||||
@@ -91,26 +96,17 @@ export const ProfileButton: FC<LoginProps> = memo((props) => {
|
||||
}}
|
||||
icon={<i className="i-mgc-user-3-cute-re" />}
|
||||
>
|
||||
Profile
|
||||
{t("user_button.profile")}
|
||||
</DropdownMenuItem>
|
||||
{/* <DropdownMenuSeparator />
|
||||
|
||||
<DropdownMenuLabel>
|
||||
<AppTheme />
|
||||
</DropdownMenuLabel> */}
|
||||
|
||||
<DropdownMenuSeparator />
|
||||
|
||||
<DropdownMenuItem
|
||||
onClick={() => {
|
||||
// Here we need to delay one frame, so it's two raf,
|
||||
// in order to have `point-event: none` recorded by RadixOverlay after modal is invoked in a certain scenario,
|
||||
// and the page freezes after modal is turned off.
|
||||
nextFrame(() => settingModalPresent("wallet"))
|
||||
}}
|
||||
icon={<i className="i-mgc-power-outline" />}
|
||||
>
|
||||
Power
|
||||
{t("user_button.power")}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
onClick={() => {
|
||||
@@ -118,7 +114,7 @@ export const ProfileButton: FC<LoginProps> = memo((props) => {
|
||||
}}
|
||||
icon={<i className="i-mgc-settings-7-cute-re" />}
|
||||
>
|
||||
Preferences
|
||||
{t("user_button.preferences")}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
{!window.electron && (
|
||||
@@ -129,13 +125,13 @@ export const ProfileButton: FC<LoginProps> = memo((props) => {
|
||||
}}
|
||||
icon={<i className="i-mgc-download-2-cute-re" />}
|
||||
>
|
||||
Download Desktop app
|
||||
{t("user_button.download_desktop_app")}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
</>
|
||||
)}
|
||||
<DropdownMenuItem onClick={signOut} icon={<i className="i-mgc-exit-cute-re" />}>
|
||||
Log out
|
||||
{t("user_button.log_out")}
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
@@ -145,17 +141,22 @@ ProfileButton.displayName = "ProfileButton"
|
||||
|
||||
export function UserAvatar({
|
||||
className,
|
||||
avatarClassName,
|
||||
hideName,
|
||||
userId,
|
||||
enableModal,
|
||||
...props
|
||||
}: {
|
||||
className?: string
|
||||
avatarClassName?: string
|
||||
hideName?: boolean
|
||||
userId?: string
|
||||
enableModal?: boolean
|
||||
} & LoginProps) {
|
||||
const { session, status } = useSession({
|
||||
enabled: !userId,
|
||||
})
|
||||
const presentUserProfile = usePresentUserProfileModal("drawer")
|
||||
|
||||
const profile = useAuthQuery(
|
||||
defineQuery(["profiles", userId], async () => {
|
||||
@@ -179,8 +180,14 @@ export function UserAvatar({
|
||||
"flex h-20 items-center justify-center gap-2 px-5 py-2 font-medium text-zinc-600 dark:text-zinc-300",
|
||||
className,
|
||||
)}
|
||||
onClick={enableModal ? () => presentUserProfile(userId) : undefined}
|
||||
>
|
||||
<Avatar className="aspect-square h-full w-auto overflow-hidden rounded-full border bg-stone-300">
|
||||
<Avatar
|
||||
className={cn(
|
||||
"aspect-square h-full w-auto overflow-hidden rounded-full border bg-stone-300",
|
||||
avatarClassName,
|
||||
)}
|
||||
>
|
||||
<AvatarImage
|
||||
className="duration-200 animate-in fade-in-0"
|
||||
src={(profile.data || session?.user)?.image || undefined}
|
||||
|
||||
@@ -1,16 +1,21 @@
|
||||
import { SelectContent, SelectItem } from "@renderer/components/ui/select"
|
||||
import { views } from "@renderer/constants"
|
||||
import { cn } from "@renderer/lib/utils"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
export const ViewSelectContent = () => (
|
||||
<SelectContent>
|
||||
{views.map((view, index) => (
|
||||
<SelectItem key={view.name} value={`${index}`}>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className={cn(view.className, "flex")}>{view.icon}</span>
|
||||
<span>{view.name}</span>
|
||||
</div>
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
)
|
||||
export const ViewSelectContent = () => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<SelectContent>
|
||||
{views.map((view, index) => (
|
||||
<SelectItem key={view.name} value={`${index}`}>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className={cn(view.className, "flex")}>{view.icon}</span>
|
||||
<span>{t(view.name)}</span>
|
||||
</div>
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -12,3 +12,6 @@ export const ROUTE_FEED_IN_FOLDER = "folder-"
|
||||
|
||||
export const DAILY_CLAIM_AMOUNT = "20"
|
||||
export const INVITATION_PRICE = "100"
|
||||
|
||||
// NS key
|
||||
export const IS_MANUAL_CHANGE_LANGUAGE_KEY = getStorageNS("isManualChangeLanguage")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const OpenInBrowser = (_t?: any) => (window.electron ? "Open in browser" : "Open in new tab")
|
||||
const OpenInBrowser = (_t?: any) =>
|
||||
window.electron ? "keys.entry.openInBrowser" : "keys.entry.openInNewTab"
|
||||
|
||||
export const COPY_MAP = {
|
||||
OpenInBrowser,
|
||||
|
||||
@@ -3,57 +3,57 @@ import { COPY_MAP } from "@renderer/constants"
|
||||
export const shortcuts = {
|
||||
feeds: {
|
||||
add: {
|
||||
name: "Add Subscription",
|
||||
name: "keys.feeds.add",
|
||||
key: "Meta+T",
|
||||
},
|
||||
switchToView: {
|
||||
name: "Switch to View",
|
||||
name: "keys.feeds.switchToView",
|
||||
key: "1, 2, 3, 4, 5, 6",
|
||||
},
|
||||
switchBetweenViews: {
|
||||
name: "Switch Between Views",
|
||||
name: "keys.feeds.switchBetweenViews",
|
||||
key: "Tab, Left, Right",
|
||||
},
|
||||
},
|
||||
layout: {
|
||||
toggleSidebar: {
|
||||
name: "Show/Hide Feed Sidebar",
|
||||
name: "keys.layout.toggleSidebar",
|
||||
key: "Meta+B",
|
||||
},
|
||||
showShortcuts: {
|
||||
name: "Show Shortcuts",
|
||||
name: "keys.layout.showShortcuts",
|
||||
key: "H",
|
||||
},
|
||||
},
|
||||
entries: {
|
||||
refetch: {
|
||||
name: "Refetch",
|
||||
name: "keys.entries.refetch",
|
||||
key: "R",
|
||||
},
|
||||
previous: {
|
||||
name: "Previous Entry",
|
||||
name: "keys.entries.previous",
|
||||
key: "K, Up",
|
||||
},
|
||||
next: {
|
||||
name: "Next Entry",
|
||||
name: "keys.entries.next",
|
||||
key: "J, Down",
|
||||
},
|
||||
markAllAsRead: {
|
||||
name: "Mark All as Read",
|
||||
name: "keys.entries.markAllAsRead",
|
||||
key: "Shift+Meta+A",
|
||||
},
|
||||
toggleUnreadOnly: {
|
||||
name: "Toggle Unread Only",
|
||||
name: "keys.entries.toggleUnreadOnly",
|
||||
key: "U",
|
||||
},
|
||||
},
|
||||
entry: {
|
||||
toggleRead: {
|
||||
name: "Toggle Read",
|
||||
name: "keys.entry.toggleRead",
|
||||
key: "M",
|
||||
},
|
||||
toggleStarred: {
|
||||
name: "Toggle Starred",
|
||||
name: "keys.entry.toggleStarred",
|
||||
key: "S",
|
||||
},
|
||||
openInBrowser: {
|
||||
@@ -62,34 +62,33 @@ export const shortcuts = {
|
||||
extra: "Double Click",
|
||||
},
|
||||
tts: {
|
||||
name: "Play TTS",
|
||||
name: "keys.entry.tts",
|
||||
key: "Shift+Meta+V",
|
||||
},
|
||||
copyLink: {
|
||||
name: "Copy Link",
|
||||
name: "keys.entry.copyLink",
|
||||
key: "Shift+Meta+C",
|
||||
},
|
||||
tip: {
|
||||
name: "Tip Power",
|
||||
name: "keys.entry.tip",
|
||||
key: "Shift+Meta+T",
|
||||
},
|
||||
share: {
|
||||
name: "Share",
|
||||
name: "keys.entry.share",
|
||||
key: "Meta+Alt+S",
|
||||
},
|
||||
scrollUp: {
|
||||
name: "Scroll Up",
|
||||
name: "keys.entry.scrollUp",
|
||||
key: "PageUp",
|
||||
},
|
||||
scrollDown: {
|
||||
name: "Scroll Down",
|
||||
name: "keys.entry.scrollDown",
|
||||
key: "PageDown",
|
||||
},
|
||||
},
|
||||
|
||||
audio: {
|
||||
"play/pause": {
|
||||
name: "Play/Pause (When the audio player is open)",
|
||||
name: "keys.audio.playPause",
|
||||
key: "Space",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,8 +1,19 @@
|
||||
import { FeedViewType } from "@renderer/lib/enum"
|
||||
import type React from "react"
|
||||
|
||||
export const views = [
|
||||
interface ViewDefinition {
|
||||
name: I18nKeys
|
||||
icon: React.JSX.Element
|
||||
className: string
|
||||
peerClassName: string
|
||||
translation: string
|
||||
view: FeedViewType
|
||||
wideMode?: boolean
|
||||
gridMode?: boolean
|
||||
}
|
||||
export const views: ViewDefinition[] = [
|
||||
{
|
||||
name: "Articles",
|
||||
name: "feed_view_type.articles",
|
||||
icon: <i className="i-mgc-paper-cute-fi" />,
|
||||
className: "text-accent",
|
||||
peerClassName: "peer-checked:text-accent",
|
||||
@@ -10,7 +21,7 @@ export const views = [
|
||||
view: FeedViewType.Articles,
|
||||
},
|
||||
{
|
||||
name: "Social Media",
|
||||
name: "feed_view_type.social_media",
|
||||
icon: <i className="i-mgc-twitter-cute-fi" />,
|
||||
className: "text-sky-600 dark:text-sky-500",
|
||||
peerClassName: "peer-checked:text-sky-600 peer-checked:dark:text-sky-500",
|
||||
@@ -19,7 +30,7 @@ export const views = [
|
||||
view: FeedViewType.SocialMedia,
|
||||
},
|
||||
{
|
||||
name: "Pictures",
|
||||
name: "feed_view_type.pictures",
|
||||
icon: <i className="i-mgc-pic-cute-fi" />,
|
||||
className: "text-green-600 dark:text-green-500",
|
||||
peerClassName: "peer-checked:text-green-600 peer-checked:dark:text-green-500",
|
||||
@@ -29,7 +40,7 @@ export const views = [
|
||||
view: FeedViewType.Pictures,
|
||||
},
|
||||
{
|
||||
name: "Videos",
|
||||
name: "feed_view_type.videos",
|
||||
icon: <i className="i-mgc-video-cute-fi" />,
|
||||
className: "text-red-600 dark:text-red-500",
|
||||
peerClassName: "peer-checked:text-red-600 peer-checked:dark:text-red-500",
|
||||
@@ -39,7 +50,7 @@ export const views = [
|
||||
view: FeedViewType.Videos,
|
||||
},
|
||||
{
|
||||
name: "Audios",
|
||||
name: "feed_view_type.audios",
|
||||
icon: <i className="i-mgc-mic-cute-fi" />,
|
||||
className: "text-purple-600 dark:text-purple-500",
|
||||
peerClassName: "peer-checked:text-purple-600 peer-checked:dark:text-purple-500",
|
||||
@@ -47,7 +58,7 @@ export const views = [
|
||||
view: FeedViewType.Audios,
|
||||
},
|
||||
{
|
||||
name: "Notifications",
|
||||
name: "feed_view_type.notifications",
|
||||
icon: <i className="i-mgc-announcement-cute-fi" />,
|
||||
className: "text-yellow-600 dark:text-yellow-500",
|
||||
peerClassName: "peer-checked:text-yellow-600 peer-checked:dark:text-yellow-500",
|
||||
|
||||
Vendored
+1
@@ -2,3 +2,4 @@
|
||||
declare const APP_VERSION: string
|
||||
declare const APP_NAME: string
|
||||
declare const RELEASE_CHANNEL: string
|
||||
declare const I18N_COMPLETENESS_MAP: Record<string, number>
|
||||
|
||||
Vendored
+9
-2
@@ -1,6 +1,9 @@
|
||||
import type { t } from "i18next"
|
||||
import type { FC, PropsWithChildren } from "react"
|
||||
|
||||
import type { useTranslation } from "react-i18next"
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks, unused-imports/no-unused-vars
|
||||
const { t } = useTranslation()
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks, unused-imports/no-unused-vars
|
||||
const { t: settingsT } = useTranslation("settings")
|
||||
declare global {
|
||||
export type Component<P = object> = FC<ComponentType & P>
|
||||
|
||||
@@ -28,9 +31,13 @@ declare global {
|
||||
WINDOW_UNDER_BLUR: boolean
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is a macro, will replace in the build stage.
|
||||
*/
|
||||
export function tw(strings: TemplateStringsArray, ...values: any[]): string
|
||||
|
||||
export type I18nKeys = OmitStringType<Parameters<typeof t>[0]>
|
||||
export type I18nKeysForSettings = OmitStringType<Parameters<typeof settingsT>[0]>
|
||||
|
||||
type IsLiteralString<T> = T extends string ? (string extends T ? never : T) : never
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ import {
|
||||
SimpleIconsInstapaper,
|
||||
SimpleIconsReadwise,
|
||||
} from "@renderer/components/ui/platform-icon/icons"
|
||||
import { COPY_MAP } from "@renderer/constants"
|
||||
import { shortcuts } from "@renderer/constants/shortcuts"
|
||||
import { tipcClient } from "@renderer/lib/client"
|
||||
import { nextFrame } from "@renderer/lib/dom"
|
||||
@@ -26,6 +25,7 @@ import type { FetchError } from "ofetch"
|
||||
import { ofetch } from "ofetch"
|
||||
import type { ReactNode } from "react"
|
||||
import { useCallback, useMemo } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
import { toast } from "sonner"
|
||||
|
||||
export const useEntryReadabilityToggle = ({ id, url }: { id: string; url: string }) =>
|
||||
@@ -63,27 +63,31 @@ export const useEntryReadabilityToggle = ({ id, url }: { id: string; url: string
|
||||
})
|
||||
}
|
||||
}, [id, url])
|
||||
export const useCollect = (entry: Nullable<CombinedEntryModel>) =>
|
||||
useMutation({
|
||||
export const useCollect = (entry: Nullable<CombinedEntryModel>) => {
|
||||
const { t } = useTranslation()
|
||||
return useMutation({
|
||||
mutationFn: async () => entry && entryActions.markStar(entry.entries.id, true),
|
||||
|
||||
onSuccess: () => {
|
||||
toast.success("Starred.", {
|
||||
toast.success(t("entry_actions.starred"), {
|
||||
duration: 1000,
|
||||
})
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export const useUnCollect = (entry: Nullable<CombinedEntryModel>) =>
|
||||
useMutation({
|
||||
export const useUnCollect = (entry: Nullable<CombinedEntryModel>) => {
|
||||
const { t } = useTranslation()
|
||||
return useMutation({
|
||||
mutationFn: async () => entry && entryActions.markStar(entry.entries.id, false),
|
||||
|
||||
onSuccess: () => {
|
||||
toast.success("Unstarred.", {
|
||||
toast.success(t("entry_actions.unstarred"), {
|
||||
duration: 1000,
|
||||
})
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export const useRead = () =>
|
||||
useMutation({
|
||||
@@ -104,6 +108,8 @@ export const useEntryActions = ({
|
||||
entry?: FlatEntryModel | null
|
||||
type?: "toolbar" | "entryList"
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
const checkEagle = useQuery({
|
||||
queryKey: ["check-eagle"],
|
||||
enabled: !!entry?.entries.url && view !== undefined,
|
||||
@@ -161,7 +167,7 @@ export const useEntryActions = ({
|
||||
onClick: () => void
|
||||
}[] = [
|
||||
{
|
||||
name: "Save media to Eagle",
|
||||
name: t("entry_actions.save_media_to_eagle"),
|
||||
icon: <SimpleIconsEagle />,
|
||||
key: "saveToEagle",
|
||||
hide:
|
||||
@@ -177,18 +183,18 @@ export const useEntryActions = ({
|
||||
mediaUrls: populatedEntry.entries.media.map((m) => m.url),
|
||||
})
|
||||
if (response?.status === "success") {
|
||||
toast.success("Saved to Eagle.", {
|
||||
toast.success(t("entry_actions.saved_to_eagle"), {
|
||||
duration: 3000,
|
||||
})
|
||||
} else {
|
||||
toast.error("Failed to save to Eagle.", {
|
||||
toast.error(t("entry_actions.failed_to_save_to_eagle"), {
|
||||
duration: 3000,
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Save to Readwise",
|
||||
name: t("entry_actions.save_to_readwise"),
|
||||
icon: <SimpleIconsReadwise />,
|
||||
key: "saveToReadwise",
|
||||
hide: !enableReadwise || !readwiseToken || !populatedEntry.entries.url,
|
||||
@@ -212,7 +218,7 @@ export const useEntryActions = ({
|
||||
})
|
||||
toast.success(
|
||||
<>
|
||||
Saved to Readwise,{" "}
|
||||
{t("entry_actions.saved_to_readwise")},{" "}
|
||||
<a target="_blank" className="underline" href={data.url}>
|
||||
view
|
||||
</a>
|
||||
@@ -222,14 +228,14 @@ export const useEntryActions = ({
|
||||
},
|
||||
)
|
||||
} catch {
|
||||
toast.error("Failed to save to Readwise.", {
|
||||
toast.error(t("entry_actions.failed_to_save_to_readwise"), {
|
||||
duration: 3000,
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Save to Instapaper",
|
||||
name: t("entry_actions.save_to_instapaper"),
|
||||
icon: <SimpleIconsInstapaper />,
|
||||
key: "saveToInstapaper",
|
||||
hide:
|
||||
@@ -252,7 +258,7 @@ export const useEntryActions = ({
|
||||
})
|
||||
toast.success(
|
||||
<>
|
||||
Saved to Instapaper,{" "}
|
||||
{t("entry_actions.saved_to_instapaper")},{" "}
|
||||
<a
|
||||
target="_blank"
|
||||
className="underline"
|
||||
@@ -266,7 +272,7 @@ export const useEntryActions = ({
|
||||
},
|
||||
)
|
||||
} catch {
|
||||
toast.error("Failed to save to Instapaper.", {
|
||||
toast.error(t("entry_actions.failed_to_save_to_instapaper"), {
|
||||
duration: 3000,
|
||||
})
|
||||
}
|
||||
@@ -275,7 +281,7 @@ export const useEntryActions = ({
|
||||
{
|
||||
key: "tip",
|
||||
shortcut: shortcuts.entry.tip.key,
|
||||
name: `Tip`,
|
||||
name: t("entry_actions.tip"),
|
||||
className: "i-mgc-power-outline",
|
||||
hide: feed?.ownerUserId === whoami()?.id,
|
||||
onClick: () => {
|
||||
@@ -285,7 +291,7 @@ export const useEntryActions = ({
|
||||
{
|
||||
key: "star",
|
||||
shortcut: shortcuts.entry.toggleStarred.key,
|
||||
name: `Star`,
|
||||
name: t("entry_actions.star"),
|
||||
className: "i-mgc-star-cute-re",
|
||||
hide: !!populatedEntry.collections,
|
||||
onClick: () => {
|
||||
@@ -294,7 +300,7 @@ export const useEntryActions = ({
|
||||
},
|
||||
{
|
||||
key: "unstar",
|
||||
name: `Unstar`,
|
||||
name: t("entry_actions.unstar"),
|
||||
shortcut: shortcuts.entry.toggleStarred.key,
|
||||
className: "i-mgc-star-cute-fi text-orange-500",
|
||||
hide: !populatedEntry.collections,
|
||||
@@ -304,21 +310,21 @@ export const useEntryActions = ({
|
||||
},
|
||||
{
|
||||
key: "copyLink",
|
||||
name: "Copy link",
|
||||
name: t("entry_actions.copy_link"),
|
||||
className: "i-mgc-link-cute-re",
|
||||
hide: !populatedEntry.entries.url,
|
||||
shortcut: shortcuts.entry.copyLink.key,
|
||||
onClick: () => {
|
||||
if (!populatedEntry.entries.url) return
|
||||
navigator.clipboard.writeText(populatedEntry.entries.url)
|
||||
toast("Link copied to clipboard.", {
|
||||
toast(t("entry_actions.link_copied"), {
|
||||
duration: 1000,
|
||||
})
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "openInBrowser",
|
||||
name: COPY_MAP.OpenInBrowser(),
|
||||
name: t("entry_actions.open_in_browser"),
|
||||
shortcut: shortcuts.entry.openInBrowser.key,
|
||||
className: "i-mgc-world-2-cute-re",
|
||||
hide: !populatedEntry.entries.url,
|
||||
@@ -328,7 +334,7 @@ export const useEntryActions = ({
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Share",
|
||||
name: t("entry_actions.share"),
|
||||
key: "share",
|
||||
className: getOS() === "macOS" ? `i-mgc-share-3-cute-re` : "i-mgc-share-forward-cute-re",
|
||||
shortcut: shortcuts.entry.share.key,
|
||||
@@ -349,7 +355,7 @@ export const useEntryActions = ({
|
||||
},
|
||||
{
|
||||
key: "read",
|
||||
name: `Mark as read`,
|
||||
name: t("entry_actions.mark_as_read"),
|
||||
shortcut: shortcuts.entry.toggleRead.key,
|
||||
className: "i-mgc-round-cute-fi",
|
||||
hide: !!(!!populatedEntry.read || populatedEntry.collections),
|
||||
@@ -359,7 +365,7 @@ export const useEntryActions = ({
|
||||
},
|
||||
{
|
||||
key: "unread",
|
||||
name: `Mark as unread`,
|
||||
name: t("entry_actions.mark_as_unread"),
|
||||
shortcut: shortcuts.entry.toggleRead.key,
|
||||
className: "i-mgc-round-cute-re",
|
||||
hide: !!(!populatedEntry.read || populatedEntry.collections),
|
||||
@@ -373,14 +379,21 @@ export const useEntryActions = ({
|
||||
}, [
|
||||
populatedEntry,
|
||||
view,
|
||||
t,
|
||||
enableEagle,
|
||||
checkEagle.isLoading,
|
||||
checkEagle.data,
|
||||
enableReadwise,
|
||||
readwiseToken,
|
||||
enableInstapaper,
|
||||
instapaperPassword,
|
||||
instapaperUsername,
|
||||
feed?.ownerUserId,
|
||||
openTipModal,
|
||||
collect,
|
||||
uncollect,
|
||||
read,
|
||||
unread,
|
||||
feed?.ownerUserId,
|
||||
])
|
||||
|
||||
return {
|
||||
|
||||
@@ -7,6 +7,7 @@ import { getFeedById, useFeedById } from "@renderer/store/feed"
|
||||
import { subscriptionActions, useSubscriptionByFeedId } from "@renderer/store/subscription"
|
||||
import { WEB_URL } from "@shared/constants"
|
||||
import { useMemo } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
import { useNavigateEntry } from "./useNavigateEntry"
|
||||
import { getRouteParams } from "./useRouteParams"
|
||||
@@ -21,6 +22,7 @@ export const useFeedActions = ({
|
||||
view?: number
|
||||
type?: "feedList" | "entryList"
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const feed = useFeedById(feedId)
|
||||
const subscription = useSubscriptionByFeedId(feedId)
|
||||
|
||||
@@ -38,24 +40,26 @@ export const useFeedActions = ({
|
||||
const items: NativeMenuItem[] = [
|
||||
{
|
||||
type: "text" as const,
|
||||
label: isEntryList ? "Edit feed" : "Edit",
|
||||
label: isEntryList ? t("sidebar.feed_actions.edit_feed") : t("sidebar.feed_actions.edit"),
|
||||
shortcut: "E",
|
||||
click: () => {
|
||||
present({
|
||||
title: "Edit Feed",
|
||||
title: t("sidebar.feed_actions.edit_feed"),
|
||||
content: ({ dismiss }) => <FeedForm asWidget id={feedId} onSuccess={dismiss} />,
|
||||
})
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: isEntryList ? "Unfollow feed" : "Unfollow",
|
||||
label: isEntryList
|
||||
? t("sidebar.feed_actions.unfollow_feed")
|
||||
: t("sidebar.feed_actions.unfollow"),
|
||||
shortcut: "Meta+Backspace",
|
||||
click: () => deleteSubscription.mutate(subscription),
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "Navigate to feed",
|
||||
label: t("sidebar.feed_actions.navigate_to_feed"),
|
||||
shortcut: "Meta+G",
|
||||
disabled: !isEntryList || getRouteParams().feedId === feedId,
|
||||
click: () => {
|
||||
@@ -68,7 +72,7 @@ export const useFeedActions = ({
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
label: "Mark all as read",
|
||||
label: t("sidebar.feed_actions.mark_all_as_read"),
|
||||
shortcut: "Meta+Shift+A",
|
||||
disabled: isEntryList,
|
||||
click: () => subscriptionActions.markReadByFeedIds([feedId]),
|
||||
@@ -77,7 +81,9 @@ export const useFeedActions = ({
|
||||
? [
|
||||
{
|
||||
type: "text" as const,
|
||||
label: isEntryList ? "Claim Feed" : "Claim",
|
||||
label: isEntryList
|
||||
? t("sidebar.feed_actions.claim_feed")
|
||||
: t("sidebar.feed_actions.claim"),
|
||||
shortcut: "C",
|
||||
click: () => {
|
||||
claimFeed()
|
||||
@@ -89,7 +95,7 @@ export const useFeedActions = ({
|
||||
? [
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "This feed is owned by you",
|
||||
label: t("sidebar.feed_actions.feed_owned_by_you"),
|
||||
},
|
||||
]
|
||||
: []),
|
||||
@@ -97,17 +103,16 @@ export const useFeedActions = ({
|
||||
type: "separator" as const,
|
||||
disabled: isEntryList,
|
||||
},
|
||||
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "Open feed in browser",
|
||||
label: t("sidebar.feed_actions.open_feed_in_browser"),
|
||||
disabled: isEntryList,
|
||||
shortcut: "O",
|
||||
click: () => window.open(`${WEB_URL}/feed/${feedId}?view=${view}`, "_blank"),
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "Open site in browser",
|
||||
label: t("sidebar.feed_actions.open_site_in_browser"),
|
||||
shortcut: "Meta+O",
|
||||
disabled: isEntryList,
|
||||
click: () => {
|
||||
@@ -123,14 +128,14 @@ export const useFeedActions = ({
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "Copy feed URL",
|
||||
label: t("sidebar.feed_actions.copy_feed_url"),
|
||||
disabled: isEntryList,
|
||||
shortcut: "Meta+C",
|
||||
click: () => navigator.clipboard.writeText(feed.url),
|
||||
},
|
||||
{
|
||||
type: "text" as const,
|
||||
label: "Copy feed ID",
|
||||
label: t("sidebar.feed_actions.copy_feed_id"),
|
||||
shortcut: "Meta+Shift+C",
|
||||
disabled: isEntryList,
|
||||
click: () => {
|
||||
@@ -141,6 +146,7 @@ export const useFeedActions = ({
|
||||
|
||||
return items
|
||||
}, [
|
||||
t,
|
||||
claimFeed,
|
||||
deleteSubscription,
|
||||
feed,
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import { useWhoami } from "@renderer/atoms/user"
|
||||
import { useModalStack } from "@renderer/components/ui/modal"
|
||||
import { FeedForm } from "@renderer/modules/discover/feed-form"
|
||||
import { DEEPLINK_SCHEME } from "@shared/constants"
|
||||
import { useCallback } from "react"
|
||||
|
||||
import { useI18n } from "../common"
|
||||
|
||||
export const usePresentFeedFormModal = () => {
|
||||
const { present } = useModalStack()
|
||||
const me = useWhoami()
|
||||
const t = useI18n()
|
||||
return useCallback(
|
||||
(feedId: string) => {
|
||||
if (me) {
|
||||
present({
|
||||
title: t("sidebar.feed_actions.edit_feed"),
|
||||
content: ({ dismiss }) => <FeedForm asWidget id={feedId} onSuccess={dismiss} />,
|
||||
})
|
||||
} else {
|
||||
window.location.href = `${DEEPLINK_SCHEME}add?id=${feedId}`
|
||||
}
|
||||
},
|
||||
[me, present, t],
|
||||
)
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
export * from "./useBizQuery"
|
||||
export * from "./useDark"
|
||||
export * from "./useI18n"
|
||||
export * from "./useInputComposition"
|
||||
export * from "./useInterval"
|
||||
export * from "./useIsOnline"
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ns } from "@renderer/@types/constants"
|
||||
import { useMemo } from "react"
|
||||
import type { FallbackNs, UseTranslationResponse } from "react-i18next"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
const allNameSpaces = ns
|
||||
|
||||
export function useI18n() {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return useMemo(() => {
|
||||
const clonedT = t.bind(t)
|
||||
|
||||
for (const ns of allNameSpaces) {
|
||||
clonedT[ns] = (key: any, options: Omit<Parameters<typeof t>[1], "ns"> = {}) => {
|
||||
return t(key, { ns: ns as any, ...options })
|
||||
}
|
||||
}
|
||||
return clonedT as typeof t & {
|
||||
[K in (typeof allNameSpaces)[number]]: UseTranslationResponse<FallbackNs<K>, undefined>["t"]
|
||||
}
|
||||
}, [t])
|
||||
}
|
||||
+55
-35
@@ -1,60 +1,84 @@
|
||||
import { EventBus } from "@renderer/lib/event-bus"
|
||||
import dayjs from "dayjs"
|
||||
import i18next from "i18next"
|
||||
import LanguageDetector from "i18next-browser-languagedetector"
|
||||
import { atom } from "jotai"
|
||||
import { initReactI18next } from "react-i18next"
|
||||
|
||||
import { defaultNS, ns } from "./@types/constants"
|
||||
import { defaultResources } from "./@types/default-resource"
|
||||
import { getGeneralSettings } from "./atoms/settings/general"
|
||||
import { jotaiStore } from "./lib/jotai"
|
||||
import { getStorageNS } from "./lib/ns"
|
||||
|
||||
export const i18nAtom = atom(i18next)
|
||||
|
||||
export const defaultNS = "app"
|
||||
export class LocaleCache {
|
||||
static shared = new LocaleCache()
|
||||
private getKey(lang: string) {
|
||||
return getStorageNS(`locale-${lang}`)
|
||||
}
|
||||
get(lang: string) {
|
||||
const key = this.getKey(lang)
|
||||
const cache = localStorage.getItem(key)
|
||||
if (!cache) return null
|
||||
return JSON.parse(cache)
|
||||
}
|
||||
set(lang: string) {
|
||||
const key = this.getKey(lang)
|
||||
const mergedResources = {} as any
|
||||
for (const nsKey of ns) {
|
||||
const nsResources = i18next.getResourceBundle(lang, nsKey)
|
||||
mergedResources[nsKey] = nsResources
|
||||
}
|
||||
localStorage.setItem(key, JSON.stringify(mergedResources))
|
||||
}
|
||||
}
|
||||
|
||||
export const fallbackLanguage = "en"
|
||||
export const initI18n = async () => {
|
||||
const i18next = jotaiStore.get(i18nAtom)
|
||||
await i18next
|
||||
.use(initReactI18next)
|
||||
.use(LanguageDetector)
|
||||
.init({
|
||||
lng: "en",
|
||||
|
||||
fallbackLng: fallbackLanguage,
|
||||
defaultNS,
|
||||
debug: import.meta.env.DEV,
|
||||
resources: defaultResources,
|
||||
})
|
||||
const lang = getGeneralSettings().language
|
||||
const cache = LocaleCache.shared.get(lang)
|
||||
|
||||
dayjs.locale("en")
|
||||
const mergedResources = {
|
||||
...defaultResources,
|
||||
}
|
||||
|
||||
if (cache) {
|
||||
mergedResources[lang] = cache
|
||||
}
|
||||
|
||||
await i18next.use(initReactI18next).init({
|
||||
ns,
|
||||
lng: cache ? lang : fallbackLanguage,
|
||||
fallbackLng: fallbackLanguage,
|
||||
defaultNS,
|
||||
debug: import.meta.env.DEV,
|
||||
|
||||
resources: mergedResources,
|
||||
})
|
||||
}
|
||||
|
||||
if (import.meta.hot) {
|
||||
import.meta.hot.on("i18n-update", ({ file, content }: { file: string; content: string }) => {
|
||||
const resources = JSON.parse(content)
|
||||
const i18next = jotaiStore.get(i18nAtom)
|
||||
// `file` is absolute path e.g. /Users/innei/git/follow/locales/en.json
|
||||
// Absolute path e.g. /Users/innei/git/follow/locales/<module-name>/en.json
|
||||
import.meta.hot.on(
|
||||
"i18n-update",
|
||||
async ({ file, content }: { file: string; content: string }) => {
|
||||
const resources = JSON.parse(content)
|
||||
const i18next = jotaiStore.get(i18nAtom)
|
||||
|
||||
// 1. parse root language
|
||||
if (!file.includes("locales/namespaces")) {
|
||||
const lang = file.split("/").pop()?.replace(".json", "")
|
||||
if (!lang) return
|
||||
i18next.addResourceBundle(lang, defaultNS, resources, true, true)
|
||||
i18next.reloadResources(lang, defaultNS)
|
||||
} else {
|
||||
const nsName = file.match(/locales\/namespaces\/(.+?)\//)?.[1]
|
||||
const nsName = file.match(/locales\/(.+?)\//)?.[1]
|
||||
|
||||
if (!nsName) return
|
||||
const lang = file.split("/").pop()?.replace(".json", "")
|
||||
if (!lang) return
|
||||
i18next.addResourceBundle(lang, nsName, resources, true, true)
|
||||
i18next.reloadResources(lang, nsName)
|
||||
}
|
||||
|
||||
import.meta.env.DEV && EventBus.dispatch("I18N_UPDATE", "")
|
||||
})
|
||||
console.info("reload", lang, nsName)
|
||||
await i18next.reloadResources(lang, nsName)
|
||||
|
||||
import.meta.env.DEV && EventBus.dispatch("I18N_UPDATE", "")
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
declare module "@renderer/lib/event-bus" {
|
||||
@@ -62,7 +86,3 @@ declare module "@renderer/lib/event-bus" {
|
||||
I18N_UPDATE: string
|
||||
}
|
||||
}
|
||||
|
||||
export { currentSupportedLanguages } from "./@types/constants"
|
||||
|
||||
window["i18next"] = i18next
|
||||
|
||||
@@ -53,3 +53,11 @@ export const attachOpenInEditor = (stack: string) => {
|
||||
const openInEditor = (file: string) => {
|
||||
fetch(`/__open-in-editor?file=${encodeURIComponent(`${file}`)}`)
|
||||
}
|
||||
|
||||
export const debugStack = () => {
|
||||
try {
|
||||
throw new Error("debug stack")
|
||||
} catch (e: any) {
|
||||
console.error(e.stack)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { parseSafeUrl } from "@renderer/components/ui/platform-icon/utils"
|
||||
|
||||
const GITHUB_HOST = "github.com"
|
||||
|
||||
export type LinkParserOptions = {
|
||||
@@ -6,13 +8,6 @@ export type LinkParserOptions = {
|
||||
icon: string
|
||||
}
|
||||
|
||||
const parseSafeUrl = (url: string) => {
|
||||
try {
|
||||
return new URL(url)
|
||||
} catch {
|
||||
return null
|
||||
}
|
||||
}
|
||||
const defineLinkParser = (options: LinkParserOptions) => {
|
||||
const define = (url: URL | string) => {
|
||||
const safeUrl = typeof url === "string" ? parseSafeUrl(url) : url
|
||||
@@ -27,6 +22,7 @@ const defineLinkParser = (options: LinkParserOptions) => {
|
||||
define.icon = options.icon
|
||||
return define
|
||||
}
|
||||
|
||||
export const isYoutubeUrl = defineLinkParser({
|
||||
name: "youtube",
|
||||
validator: (url) => url.hostname.includes("youtube.com"),
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
import { currentSupportedLanguages, dayjsLocaleImportMap } from "@renderer/@types/constants"
|
||||
import { defaultResources } from "@renderer/@types/default-resource"
|
||||
import { fallbackLanguage, i18nAtom, LocaleCache } from "@renderer/i18n"
|
||||
import { jotaiStore } from "@renderer/lib/jotai"
|
||||
import { isEmptyObject } from "@renderer/lib/utils"
|
||||
import dayjs from "dayjs"
|
||||
import i18next from "i18next"
|
||||
import { toast } from "sonner"
|
||||
|
||||
const loadingLangLock = new Set<string>()
|
||||
const loadedLangs = new Set<string>([fallbackLanguage])
|
||||
|
||||
export const loadLanguageAndApply = async (lang: string) => {
|
||||
const dayjsImport = dayjsLocaleImportMap[lang]
|
||||
|
||||
if (dayjsImport) {
|
||||
const [locale, loader] = dayjsImport
|
||||
loader().then(() => {
|
||||
dayjs.locale(locale)
|
||||
})
|
||||
}
|
||||
|
||||
const { t } = jotaiStore.get(i18nAtom)
|
||||
if (loadingLangLock.has(lang)) return
|
||||
const isSupport = currentSupportedLanguages.includes(lang)
|
||||
if (!isSupport) {
|
||||
return
|
||||
}
|
||||
const loaded = loadedLangs.has(lang)
|
||||
|
||||
if (loaded) {
|
||||
return
|
||||
}
|
||||
|
||||
loadingLangLock.add(lang)
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
const nsGlobbyMap = import.meta.glob("@locales/*/*.json")
|
||||
|
||||
const namespaces = Object.keys(defaultResources.en)
|
||||
|
||||
const res = await Promise.allSettled(
|
||||
namespaces.map(async (ns) => {
|
||||
const loader = nsGlobbyMap[`../../locales/${ns}/${lang}.json`]
|
||||
|
||||
if (!loader) return
|
||||
const nsResources = await loader().then((m: any) => m.default)
|
||||
|
||||
i18next.addResourceBundle(lang, ns, nsResources, true, true)
|
||||
}),
|
||||
)
|
||||
|
||||
for (const r of res) {
|
||||
if (r.status === "rejected") {
|
||||
toast.error(`${t("common:tips.load-lng-error")}: ${lang}`)
|
||||
loadingLangLock.delete(lang)
|
||||
|
||||
return
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const res = await eval(`import('/locales/${lang}.js')`)
|
||||
.then((res: any) => res?.default || res)
|
||||
.catch(() => {
|
||||
toast.error(`${t("common:tips.load-lng-error")}: ${lang}`)
|
||||
loadingLangLock.delete(lang)
|
||||
return {}
|
||||
})
|
||||
|
||||
if (isEmptyObject(res)) {
|
||||
return
|
||||
}
|
||||
for (const namespace in res) {
|
||||
i18next.addResourceBundle(lang, namespace, res[namespace], true, true)
|
||||
}
|
||||
}
|
||||
|
||||
await i18next.reloadResources()
|
||||
await i18next.changeLanguage(lang)
|
||||
LocaleCache.shared.set(lang)
|
||||
loadedLangs.add(lang)
|
||||
loadingLangLock.delete(lang)
|
||||
}
|
||||
@@ -145,6 +145,9 @@ export const sleep = (ms: number) => new Promise<void>((resolve) => setTimeout(r
|
||||
export const capitalizeFirstLetter = (string: string) =>
|
||||
string.charAt(0).toUpperCase() + string.slice(1)
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
export const pluralize = (
|
||||
noun: string,
|
||||
count: number,
|
||||
|
||||
@@ -23,6 +23,6 @@ if (window.electron && getOS() === "Windows") {
|
||||
ReactDOM.createRoot($container).render(
|
||||
<React.StrictMode>
|
||||
<RouterProvider router={router} />
|
||||
<ClickToComponent />
|
||||
<ClickToComponent editor="cursor" />
|
||||
</React.StrictMode>,
|
||||
)
|
||||
|
||||
@@ -2,7 +2,10 @@ import type { apiClient } from "@renderer/lib/api-fetch"
|
||||
import type { languageSchema, users } from "src/hono"
|
||||
import type { z } from "zod"
|
||||
|
||||
export type UserModel = Omit<typeof users.$inferSelect, "emailVerified">
|
||||
export type UserModel = Omit<
|
||||
Omit<Omit<typeof users.$inferSelect, "emailVerified">, "email">,
|
||||
"createdAt"
|
||||
>
|
||||
|
||||
export type ExtractBizResponse<T extends (...args: any[]) => any> = Exclude<
|
||||
Awaited<ReturnType<T>>,
|
||||
@@ -17,8 +20,13 @@ export type ActiveList = {
|
||||
|
||||
export type FeedResponse = SubscriptionResponse[number]["feeds"]
|
||||
|
||||
export type TransactionModel = ExtractBizResponse<
|
||||
typeof apiClient.wallets.transactions.$get
|
||||
>["data"][number]
|
||||
|
||||
export type FeedModel = ExtractBizResponse<typeof apiClient.feeds.$get>["data"]["feed"] & {
|
||||
owner?: Omit<UserModel, "createdAt"> | null
|
||||
owner?: UserModel | null
|
||||
tipUsers?: UserModel[] | null
|
||||
}
|
||||
|
||||
export type SubscriptionResponse = Array<
|
||||
|
||||
@@ -35,6 +35,7 @@ import { useFeedById } from "@renderer/store/feed"
|
||||
import { m, useAnimationControls } from "framer-motion"
|
||||
import type { Components } from "hast-util-to-jsx-runtime"
|
||||
import { useEffect, useState } from "react"
|
||||
import { Trans, useTranslation } from "react-i18next"
|
||||
|
||||
import { useParseDailyDate } from "./hooks"
|
||||
import type { DailyItemProps, DailyView } from "./types"
|
||||
@@ -60,41 +61,52 @@ export const DailyReportTitle = ({
|
||||
title: string
|
||||
startDate: number
|
||||
endDate: number
|
||||
}) => (
|
||||
<div className="flex items-center justify-center gap-2 text-base">
|
||||
<i className="i-mgc-magic-2-cute-re" />
|
||||
<div className="font-medium">Top News - {title}</div>
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<i className="i-mgc-question-cute-re translate-y-px text-sm" />
|
||||
</TooltipTrigger>
|
||||
<TooltipPortal>
|
||||
<TooltipContent>
|
||||
<ul className="list-outside list-decimal text-wrap pl-6 text-left text-sm">
|
||||
<li>
|
||||
Here is news selected by AI from your timeline
|
||||
{" ("}
|
||||
{new Date(startDate).toLocaleTimeString("en-US", {
|
||||
weekday: "short",
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
})}{" "}
|
||||
-{" "}
|
||||
{new Date(endDate + 1).toLocaleTimeString("en-US", {
|
||||
weekday: "short",
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
})}
|
||||
{") "}
|
||||
that may be important to you.
|
||||
</li>
|
||||
<li>Update daily at 8 AM and 8 PM.</li>
|
||||
</ul>
|
||||
</TooltipContent>
|
||||
</TooltipPortal>
|
||||
</Tooltip>
|
||||
</div>
|
||||
)
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
return (
|
||||
<div className="flex items-center justify-center gap-2 text-base">
|
||||
<i className="i-mgc-magic-2-cute-re" />
|
||||
<div className="font-medium">{t("ai_daily.title", { title })}</div>
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<i className="i-mgc-question-cute-re translate-y-px text-sm" />
|
||||
</TooltipTrigger>
|
||||
<TooltipPortal>
|
||||
<TooltipContent>
|
||||
<ul className="list-outside list-decimal text-wrap pl-6 text-left text-sm">
|
||||
<li>
|
||||
<Trans
|
||||
i18nKey="ai_daily.tooltip.content"
|
||||
components={{
|
||||
From: (
|
||||
<span>
|
||||
{new Date(startDate).toLocaleTimeString("en-US", {
|
||||
weekday: "short",
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
})}
|
||||
</span>
|
||||
),
|
||||
To: (
|
||||
<span>
|
||||
{new Date(endDate + 1).toLocaleTimeString("en-US", {
|
||||
weekday: "short",
|
||||
hour: "numeric",
|
||||
minute: "numeric",
|
||||
})}
|
||||
</span>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</li>
|
||||
<li>{t("ai_daily.tooltip.update_schedule")}</li>
|
||||
</ul>
|
||||
</TooltipContent>
|
||||
</TooltipPortal>
|
||||
</Tooltip>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
const useQueryData = ({
|
||||
endDate,
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import { useModalStack } from "@renderer/components/ui/modal"
|
||||
import { useCallback, useMemo } from "react"
|
||||
import { useTranslation } from "react-i18next"
|
||||
|
||||
import { DayOf } from "./constants"
|
||||
import { FeedDailyModalContent } from "./FeedDailyModalContent"
|
||||
|
||||
export const useParseDailyDate = (day: DayOf) =>
|
||||
useMemo(() => {
|
||||
export const useParseDailyDate = (day: DayOf) => {
|
||||
const { t } = useTranslation("common")
|
||||
|
||||
return useMemo(() => {
|
||||
const dateObj = new Date()
|
||||
|
||||
const nowHour = dateObj.getHours()
|
||||
@@ -27,36 +30,37 @@ export const useParseDailyDate = (day: DayOf) =>
|
||||
if (isToday) {
|
||||
endDate = today8PM - 1
|
||||
startDate = today8AM
|
||||
title = "Today"
|
||||
title = t("time.today")
|
||||
} else {
|
||||
endDate = today8AM - 1
|
||||
startDate = yesterday8PM
|
||||
title = "Last Night"
|
||||
title = t("time.last_night")
|
||||
}
|
||||
} else if (nowHour >= 8) {
|
||||
if (isToday) {
|
||||
endDate = today8AM - 1
|
||||
startDate = yesterday8PM
|
||||
title = "Last Night"
|
||||
title = t("time.last_night")
|
||||
} else {
|
||||
endDate = yesterday8PM - 1
|
||||
startDate = yesterday8AM
|
||||
title = "Yesterday"
|
||||
title = t("time.yesterday")
|
||||
}
|
||||
} else {
|
||||
if (isToday) {
|
||||
endDate = yesterday8PM - 1
|
||||
startDate = yesterday8AM
|
||||
title = "Yesterday"
|
||||
title = t("time.yesterday")
|
||||
} else {
|
||||
endDate = yesterday8AM - 1
|
||||
startDate = dayBeforeYesterday8PM
|
||||
title = "The Night Before Last"
|
||||
title = t("time.the_night_before_last")
|
||||
}
|
||||
}
|
||||
|
||||
return { title, startDate, endDate }
|
||||
}, [day])
|
||||
}, [day, t])
|
||||
}
|
||||
|
||||
export const useAIDailyReportModal = () => {
|
||||
const { present } = useModalStack()
|
||||
|
||||
@@ -13,10 +13,12 @@ import { useClaimFeedMutation } from "@renderer/queries/feed"
|
||||
import { useFeedById } from "@renderer/store/feed"
|
||||
import type { FC } from "react"
|
||||
import { useEffect } from "react"
|
||||
import { Trans, useTranslation } from "react-i18next"
|
||||
|
||||
export const FeedClaimModalContent: FC<{
|
||||
feedId: string
|
||||
}> = ({ feedId }) => {
|
||||
const { t } = useTranslation()
|
||||
const feed = useFeedById(feedId)
|
||||
const {
|
||||
data: claimMessage,
|
||||
@@ -46,7 +48,7 @@ export const FeedClaimModalContent: FC<{
|
||||
}
|
||||
|
||||
if (error) {
|
||||
return <div>Failed to load claim message</div>
|
||||
return <div>{t("feed_claim_modal.failed_to_load")}</div>
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -56,52 +58,46 @@ export const FeedClaimModalContent: FC<{
|
||||
<FollowSummary feed={feed} />
|
||||
</CardHeader>
|
||||
</Card>
|
||||
<p>To claim this feed as your own, you need to verify ownership.</p>
|
||||
<p>There are three ways to choose from, you can choose one of them to verify.</p>
|
||||
<p>{t("feed_claim_modal.verify_ownership")}</p>
|
||||
<p>{t("feed_claim_modal.choose_verification_method")}</p>
|
||||
<Tabs defaultValue="content" className="mt-4">
|
||||
<TabsList className="w-full justify-start">
|
||||
<TabsTrigger value="content">Content</TabsTrigger>
|
||||
<TabsTrigger value="description">Description</TabsTrigger>
|
||||
<TabsTrigger value="rss">RSS Tag</TabsTrigger>
|
||||
<TabsTrigger value="content">{t("feed_claim_modal.tab_content")}</TabsTrigger>
|
||||
<TabsTrigger value="description">{t("feed_claim_modal.tab_description")}</TabsTrigger>
|
||||
<TabsTrigger value="rss">{t("feed_claim_modal.tab_rss")}</TabsTrigger>
|
||||
</TabsList>
|
||||
<AutoResizeHeight duration={0.1}>
|
||||
<TabsContent className="mt-0 pt-3" value="content">
|
||||
<p>Copy the content below and post it to your latest RSS feed.</p>
|
||||
<p>{t("feed_claim_modal.content_instructions")}</p>
|
||||
{feed.url.startsWith("rsshub://") && (
|
||||
<p className="mt-1 leading-tight text-orange-800">
|
||||
This feed is provided by RSSHub with a 1 hour cache time. Please allow up to 1 hour
|
||||
for changes to appear after publishing content.
|
||||
{t("feed_claim_modal.rsshub_notice")}
|
||||
</p>
|
||||
)}
|
||||
|
||||
<BaseCodeBlock>{claimMessage?.data.content || ""}</BaseCodeBlock>
|
||||
</TabsContent>
|
||||
<TabsContent className="mt-0 pt-3" value="description">
|
||||
<p className="mb-2 leading-none">
|
||||
Current description:
|
||||
{t("feed_claim_modal.description_current")}
|
||||
<span className="ml-2 text-xs text-zinc-500">{feed.description}</span>
|
||||
</p>
|
||||
<p>
|
||||
Copy the following content and paste it into the{" "}
|
||||
<code className="text-sm">{`<description />`}</code> field of your RSS feed.
|
||||
</p>
|
||||
<Trans
|
||||
i18nKey="feed_claim_modal.description_instructions"
|
||||
components={{ code: <code className="text-sm">{"<description />"}</code> }}
|
||||
/>
|
||||
{feed.url.startsWith("rsshub://") && (
|
||||
<p className="mt-1 leading-tight text-orange-800">
|
||||
This feed is provided by RSSHub with a 1 hour cache time. Please allow up to 1 hour
|
||||
for changes to appear after modifying description.
|
||||
{t("feed_claim_modal.rsshub_notice")}
|
||||
</p>
|
||||
)}
|
||||
<BaseCodeBlock>{claimMessage?.data.description || ""}</BaseCodeBlock>
|
||||
</TabsContent>
|
||||
<TabsContent className="mt-0 pt-3" value="rss">
|
||||
<div className="space-y-3">
|
||||
<p>Copy the code below and paste it into your RSS generator.</p>
|
||||
<p>{t("feed_claim_modal.rss_instructions")}</p>
|
||||
<p>{t("feed_claim_modal.rss_format_choice")}</p>
|
||||
<p>
|
||||
RSS generators generally have two formats to choose from. Please copy the XML and
|
||||
JSON formats below as needed.
|
||||
</p>
|
||||
<p>
|
||||
<b>XML Format</b>
|
||||
<b>{t("feed_claim_modal.rss_xml_format")}</b>
|
||||
</p>
|
||||
<ShikiHighLighter
|
||||
transparent
|
||||
@@ -111,7 +107,7 @@ export const FeedClaimModalContent: FC<{
|
||||
language="xml"
|
||||
/>
|
||||
<p>
|
||||
<b>JSON Format</b>
|
||||
<b>{t("feed_claim_modal.rss_json_format")}</b>
|
||||
</p>
|
||||
<ShikiHighLighter
|
||||
transparent
|
||||
@@ -133,7 +129,7 @@ export const FeedClaimModalContent: FC<{
|
||||
variant={isSuccess ? "outline" : "primary"}
|
||||
>
|
||||
{isSuccess && <i className="i-mgc-check-circle-filled mr-2 bg-green-500" />}
|
||||
Claim
|
||||
{t("feed_claim_modal.claim_button")}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -26,6 +26,7 @@ import type { FC } from "react"
|
||||
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef } from "react"
|
||||
import type { UseFormReturn } from "react-hook-form"
|
||||
import { useForm } from "react-hook-form"
|
||||
import { Trans, useTranslation } from "react-i18next"
|
||||
import { toast } from "sonner"
|
||||
import { z } from "zod"
|
||||
|
||||
@@ -40,36 +41,40 @@ const FeedMaintainers = ({ maintainers }: { maintainers?: string[] }) => {
|
||||
|
||||
return (
|
||||
<div className="mb-2 flex flex-col gap-x-1 text-sm text-theme-foreground/80">
|
||||
<span>This feed is provided by RSSHub, with credit to</span>
|
||||
<span className="inline-flex flex-wrap items-center gap-2">
|
||||
{maintainers.map((maintainer) => (
|
||||
<a
|
||||
href={`https://github.com/${maintainer}`}
|
||||
key={maintainer}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
className="inline-flex cursor-pointer items-center text-theme-foreground/50 duration-200 hover:text-accent"
|
||||
>
|
||||
@{maintainer}
|
||||
<i className="i-mgc-external-link-cute-re ml-0.5" />
|
||||
</a>
|
||||
))}
|
||||
</span>
|
||||
<Trans
|
||||
i18nKey="discover.feed_maintainers"
|
||||
components={{
|
||||
maintainers: (
|
||||
<span className="inline-flex flex-wrap items-center gap-2">
|
||||
{maintainers.map((maintainer) => (
|
||||
<a
|
||||
href={`https://github.com/${maintainer}`}
|
||||
key={maintainer}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
className="inline-flex cursor-pointer items-center text-theme-foreground/50 duration-200 hover:text-accent"
|
||||
>
|
||||
@{maintainer}
|
||||
<i className="i-mgc-external-link-cute-re ml-0.5" />
|
||||
</a>
|
||||
))}
|
||||
</span>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
const FeedDescription = ({ description }: { description?: string }) => {
|
||||
const { t } = useTranslation()
|
||||
if (!description) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<p>
|
||||
The description of this feed is as follows, and you can fill out the parameter form with the
|
||||
relevant information.
|
||||
</p>
|
||||
<p>{t("discover.feed_description")}</p>
|
||||
<Markdown className="my-4 w-full max-w-full cursor-text select-text break-all">
|
||||
{description}
|
||||
</Markdown>
|
||||
@@ -88,6 +93,7 @@ export const DiscoverFeedForm = ({
|
||||
noDescription?: boolean
|
||||
submitButtonClassName?: string
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const keys = useMemo(
|
||||
() =>
|
||||
parseRegexpPathParams(route.path, {
|
||||
@@ -207,13 +213,13 @@ export const DiscoverFeedForm = ({
|
||||
>
|
||||
{/* Select focused ref on `SelectTrigger` or `Select` */}
|
||||
<SelectTrigger ref={formRegister.ref}>
|
||||
<SelectValue placeholder="Select" />
|
||||
<SelectValue placeholder={t("discover.select_placeholder")} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{parameters.options.map((option) => (
|
||||
<SelectItem key={option.value} value={option.value || ""}>
|
||||
{option.label}
|
||||
{parameters.default === option.value && " (default)"}
|
||||
{parameters.default === option.value && t("discover.default_option")}
|
||||
</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
@@ -246,7 +252,7 @@ export const DiscoverFeedForm = ({
|
||||
submitButtonClassName,
|
||||
)}
|
||||
>
|
||||
<Button type="submit">Preview</Button>
|
||||
<Button type="submit">{t("discover.preview")}</Button>
|
||||
</div>
|
||||
</form>
|
||||
</Form>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user