Only extract en

This assumes that all other locales will never be the source
This commit is contained in:
Lim Chee Aun 2024-08-17 12:55:07 +08:00
parent 70aef6879a
commit 139bcfee43
2 changed files with 47 additions and 47 deletions

View file

@ -10,7 +10,7 @@
"sourcemap": "npx source-map-explorer dist/assets/*.js", "sourcemap": "npx source-map-explorer dist/assets/*.js",
"bundle-visualizer": "npx vite-bundle-visualizer", "bundle-visualizer": "npx vite-bundle-visualizer",
"messages:extract": "lingui extract", "messages:extract": "lingui extract",
"messages:extract:clean": "lingui extract --clean", "messages:extract:clean": "lingui extract --locale en --clean",
"messages:compile": "lingui compile" "messages:compile": "lingui compile"
}, },
"dependencies": { "dependencies": {

View file

@ -194,7 +194,7 @@ msgstr ""
#: src/pages/catchup.jsx:72 #: src/pages/catchup.jsx:72
#: src/pages/catchup.jsx:1414 #: src/pages/catchup.jsx:1414
#: src/pages/catchup.jsx:2035 #: src/pages/catchup.jsx:2035
#: src/pages/settings.jsx:1015 #: src/pages/settings.jsx:1016
msgid "Boosts" msgid "Boosts"
msgstr "" msgstr ""
@ -858,7 +858,7 @@ msgid "Error loading GIFs"
msgstr "" msgstr ""
#: src/components/drafts.jsx:63 #: src/components/drafts.jsx:63
#: src/pages/settings.jsx:671 #: src/pages/settings.jsx:672
msgid "Unsent drafts" msgid "Unsent drafts"
msgstr "" msgstr ""
@ -1242,7 +1242,7 @@ msgstr ""
#: src/pages/home.jsx:223 #: src/pages/home.jsx:223
#: src/pages/mentions.jsx:20 #: src/pages/mentions.jsx:20
#: src/pages/mentions.jsx:167 #: src/pages/mentions.jsx:167
#: src/pages/settings.jsx:1007 #: src/pages/settings.jsx:1008
#: src/pages/trending.jsx:347 #: src/pages/trending.jsx:347
msgid "Mentions" msgid "Mentions"
msgstr "" msgstr ""
@ -1297,7 +1297,7 @@ msgstr ""
#: src/pages/catchup.jsx:2029 #: src/pages/catchup.jsx:2029
#: src/pages/favourites.jsx:11 #: src/pages/favourites.jsx:11
#: src/pages/favourites.jsx:23 #: src/pages/favourites.jsx:23
#: src/pages/settings.jsx:1011 #: src/pages/settings.jsx:1012
msgid "Likes" msgid "Likes"
msgstr "" msgstr ""
@ -2284,7 +2284,7 @@ msgid "<0/> <1/> boosted"
msgstr "" msgstr ""
#: src/components/timeline.jsx:447 #: src/components/timeline.jsx:447
#: src/pages/settings.jsx:1035 #: src/pages/settings.jsx:1036
msgid "New posts" msgid "New posts"
msgstr "" msgstr ""
@ -3081,7 +3081,7 @@ msgid "{0, plural, one {Announcement} other {Announcements}}"
msgstr "" msgstr ""
#: src/pages/notifications.jsx:599 #: src/pages/notifications.jsx:599
#: src/pages/settings.jsx:1023 #: src/pages/settings.jsx:1024
msgid "Follow requests" msgid "Follow requests"
msgstr "" msgstr ""
@ -3328,160 +3328,160 @@ msgstr ""
msgid "Translate to" msgid "Translate to"
msgstr "" msgstr ""
#: src/pages/settings.jsx:378 #: src/pages/settings.jsx:379
msgid "System language ({systemTargetLanguageText})" msgid "System language ({systemTargetLanguageText})"
msgstr "" msgstr ""
#: src/pages/settings.jsx:404 #: src/pages/settings.jsx:405
msgid "{0, plural, =0 {Hide \"Translate\" button for:} other {Hide \"Translate\" button for (#):}}" msgid "{0, plural, =0 {Hide \"Translate\" button for:} other {Hide \"Translate\" button for (#):}}"
msgstr "" msgstr ""
#: src/pages/settings.jsx:458 #: src/pages/settings.jsx:459
msgid "Note: This feature uses external translation services, powered by <0>Lingva API</0> & <1>Lingva Translate</1>." msgid "Note: This feature uses external translation services, powered by <0>Lingva API</0> & <1>Lingva Translate</1>."
msgstr "" msgstr ""
#: src/pages/settings.jsx:492 #: src/pages/settings.jsx:493
msgid "Auto inline translation" msgid "Auto inline translation"
msgstr "" msgstr ""
#: src/pages/settings.jsx:496 #: src/pages/settings.jsx:497
msgid "Automatically show translation for posts in timeline. Only works for <0>short</0> posts without content warning, media and poll." msgid "Automatically show translation for posts in timeline. Only works for <0>short</0> posts without content warning, media and poll."
msgstr "" msgstr ""
#: src/pages/settings.jsx:516 #: src/pages/settings.jsx:517
msgid "GIF Picker for composer" msgid "GIF Picker for composer"
msgstr "" msgstr ""
#: src/pages/settings.jsx:520 #: src/pages/settings.jsx:521
msgid "Note: This feature uses external GIF search service, powered by <0>GIPHY</0>. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers." msgid "Note: This feature uses external GIF search service, powered by <0>GIPHY</0>. G-rated (suitable for viewing by all ages), tracking parameters are stripped, referrer information is omitted from requests, but search queries and IP address information will still reach their servers."
msgstr "" msgstr ""
#: src/pages/settings.jsx:549 #: src/pages/settings.jsx:550
msgid "Image description generator" msgid "Image description generator"
msgstr "" msgstr ""
#: src/pages/settings.jsx:554 #: src/pages/settings.jsx:555
msgid "Only for new images while composing new posts." msgid "Only for new images while composing new posts."
msgstr "" msgstr ""
#: src/pages/settings.jsx:561 #: src/pages/settings.jsx:562
msgid "Note: This feature uses external AI service, powered by <0>img-alt-api</0>. May not work well. Only for images and in English." msgid "Note: This feature uses external AI service, powered by <0>img-alt-api</0>. May not work well. Only for images and in English."
msgstr "" msgstr ""
#: src/pages/settings.jsx:587 #: src/pages/settings.jsx:588
msgid "Server-side grouped notifications" msgid "Server-side grouped notifications"
msgstr "" msgstr ""
#: src/pages/settings.jsx:591 #: src/pages/settings.jsx:592
msgid "Alpha-stage feature. Potentially improved grouping window but basic grouping logic." msgid "Alpha-stage feature. Potentially improved grouping window but basic grouping logic."
msgstr "" msgstr ""
#: src/pages/settings.jsx:612 #: src/pages/settings.jsx:613
msgid "\"Cloud\" import/export for shortcuts settings" msgid "\"Cloud\" import/export for shortcuts settings"
msgstr "" msgstr ""
#: src/pages/settings.jsx:617 #: src/pages/settings.jsx:618
msgid "⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profiles notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile." msgid "⚠️⚠️⚠️ Very experimental.<0/>Stored in your own profiles notes. Profile (private) notes are mainly used for other profiles, and hidden for own profile."
msgstr "" msgstr ""
#: src/pages/settings.jsx:628 #: src/pages/settings.jsx:629
msgid "Note: This feature uses currently-logged-in instance server API." msgid "Note: This feature uses currently-logged-in instance server API."
msgstr "" msgstr ""
#: src/pages/settings.jsx:645 #: src/pages/settings.jsx:646
msgid "Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>" msgid "Cloak mode <0>(<1>Text</1> → <2>████</2>)</0>"
msgstr "" msgstr ""
#: src/pages/settings.jsx:654 #: src/pages/settings.jsx:655
msgid "Replace text as blocks, useful when taking screenshots, for privacy reasons." msgid "Replace text as blocks, useful when taking screenshots, for privacy reasons."
msgstr "" msgstr ""
#: src/pages/settings.jsx:679 #: src/pages/settings.jsx:680
msgid "About" msgid "About"
msgstr "" msgstr ""
#: src/pages/settings.jsx:718 #: src/pages/settings.jsx:719
msgid "<0>Built</0> by <1>@cheeaun</1>" msgid "<0>Built</0> by <1>@cheeaun</1>"
msgstr "" msgstr ""
#: src/pages/settings.jsx:747 #: src/pages/settings.jsx:748
msgid "Sponsor" msgid "Sponsor"
msgstr "" msgstr ""
#: src/pages/settings.jsx:755 #: src/pages/settings.jsx:756
msgid "Donate" msgid "Donate"
msgstr "" msgstr ""
#: src/pages/settings.jsx:763 #: src/pages/settings.jsx:764
msgid "Privacy Policy" msgid "Privacy Policy"
msgstr "" msgstr ""
#: src/pages/settings.jsx:770 #: src/pages/settings.jsx:771
msgid "<0>Site:</0> {0}" msgid "<0>Site:</0> {0}"
msgstr "" msgstr ""
#: src/pages/settings.jsx:777 #: src/pages/settings.jsx:778
msgid "<0>Version:</0> <1/> {0}" msgid "<0>Version:</0> <1/> {0}"
msgstr "" msgstr ""
#: src/pages/settings.jsx:792 #: src/pages/settings.jsx:793
msgid "Version string copied" msgid "Version string copied"
msgstr "" msgstr ""
#: src/pages/settings.jsx:795 #: src/pages/settings.jsx:796
msgid "Unable to copy version string" msgid "Unable to copy version string"
msgstr "" msgstr ""
#: src/pages/settings.jsx:920 #: src/pages/settings.jsx:921
#: src/pages/settings.jsx:925 #: src/pages/settings.jsx:926
msgid "Failed to update subscription. Please try again." msgid "Failed to update subscription. Please try again."
msgstr "" msgstr ""
#: src/pages/settings.jsx:931 #: src/pages/settings.jsx:932
msgid "Failed to remove subscription. Please try again." msgid "Failed to remove subscription. Please try again."
msgstr "" msgstr ""
#: src/pages/settings.jsx:938 #: src/pages/settings.jsx:939
msgid "Push Notifications (beta)" msgid "Push Notifications (beta)"
msgstr "" msgstr ""
#: src/pages/settings.jsx:960 #: src/pages/settings.jsx:961
msgid "Push notifications are blocked. Please enable them in your browser settings." msgid "Push notifications are blocked. Please enable them in your browser settings."
msgstr "" msgstr ""
#: src/pages/settings.jsx:969 #: src/pages/settings.jsx:970
msgid "Allow from <0>{0}</0>" msgid "Allow from <0>{0}</0>"
msgstr "" msgstr ""
#: src/pages/settings.jsx:978 #: src/pages/settings.jsx:979
msgid "anyone" msgid "anyone"
msgstr "" msgstr ""
#: src/pages/settings.jsx:982 #: src/pages/settings.jsx:983
msgid "people I follow" msgid "people I follow"
msgstr "" msgstr ""
#: src/pages/settings.jsx:986 #: src/pages/settings.jsx:987
msgid "followers" msgid "followers"
msgstr "" msgstr ""
#: src/pages/settings.jsx:1019 #: src/pages/settings.jsx:1020
msgid "Follows" msgid "Follows"
msgstr "" msgstr ""
#: src/pages/settings.jsx:1027 #: src/pages/settings.jsx:1028
msgid "Polls" msgid "Polls"
msgstr "" msgstr ""
#: src/pages/settings.jsx:1031 #: src/pages/settings.jsx:1032
msgid "Post edits" msgid "Post edits"
msgstr "" msgstr ""
#: src/pages/settings.jsx:1052 #: src/pages/settings.jsx:1053
msgid "Push permission was not granted since your last login. You'll need to <0><1>log in</1> again to grant push permission</0>." msgid "Push permission was not granted since your last login. You'll need to <0><1>log in</1> again to grant push permission</0>."
msgstr "" msgstr ""
#: src/pages/settings.jsx:1068 #: src/pages/settings.jsx:1069
msgid "NOTE: Push notifications only work for <0>one account</0>." msgid "NOTE: Push notifications only work for <0>one account</0>."
msgstr "" msgstr ""