Skip to content

Commit

Permalink
feat: improve i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed May 10, 2022
1 parent 87d77e7 commit edc134f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 13 deletions.
16 changes: 8 additions & 8 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CODE_SIGN_ENTITLEMENTS = PenguinWidgetExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = SY8Y8N4TPM;
INFOPLIST_FILE = PenguinWidget/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
Expand All @@ -717,7 +717,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.4;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.penguinstats.app.PenguinWidget;
Expand All @@ -740,7 +740,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CODE_SIGN_ENTITLEMENTS = PenguinWidgetExtension.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = SY8Y8N4TPM;
INFOPLIST_FILE = PenguinWidget/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
Expand All @@ -749,7 +749,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.4;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.penguinstats.app.PenguinWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -938,7 +938,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = SY8Y8N4TPM;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = App/Info.plist;
Expand All @@ -947,7 +947,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.4;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = io.penguinstats.app;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -970,7 +970,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = SY8Y8N4TPM;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
INFOPLIST_FILE = App/Info.plist;
Expand All @@ -979,7 +979,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 3.7.1;
MARKETING_VERSION = 3.7.4;
PRODUCT_BUNDLE_IDENTIFIER = io.penguinstats.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = NO;
Expand Down
2 changes: 1 addition & 1 deletion ios/App/Settings.bundle/Root.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<array>
<dict>
<key>DefaultValue</key>
<string>3.7.1 (4)</string>
<string>3.7.4 (0)</string>
<key>Key</key>
<string>version</string>
<key>Title</key>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "penguin-stats-frontend",
"version": "3.7.3",
"version": "3.7.4",
"private": true,
"author": "Penguin Statistics Contributors <[email protected]> (https://github.com/orgs/penguin-statistics/people)",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/drawer/SettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<v-icon left>
mdi-settings
</v-icon>
语言与隐私设置
{{ $t('settings.iosSystemSettings') }}
</v-btn>

<DataManager
Expand Down
1 change: 1 addition & 0 deletions src/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ settings:
appearance: Appearance
data: Data
about: About
iosSystemSettings: 'Language & Privacy Settings'
optimization:
lowData:
title: Low Data Mode
Expand Down
1 change: 1 addition & 0 deletions src/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ settings:
appearance: スタイル
data: 設定とデータ
about: 当サイトについて
iosSystemSettings: '言語とプライバシーの設定'
optimization:
lowData:
title: 軽量モード
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ settings:
appearance: 外观
data: 设置与数据
about: 关于
iosSystemSettings: '语言与隐私设置'
optimization:
lowData:
title: 低数据模式
Expand Down
6 changes: 6 additions & 0 deletions src/views/About/Changelog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ export default {
data() {
return {
logs: [
{
version: "v3.7.4",
date: "2022-05-10T12:57:00+0800",
changes: `## 优化
1. 部分本地化文本`,
},
{
version: "v3.7.3",
date: "2022-05-09T01:14:00+0800",
Expand Down
6 changes: 4 additions & 2 deletions src/views/About/Intro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"intro": {
"intro_0": "Welcome to Penguin Statistics!",
"intro_1": "Penguin Statistics is the Department of Data Analysis of Penguin Logistics. We devote ourselves to item drop analysis.",
"intro_2": "Item drop data are submitted by the players. Our team conduct comprehensive review on the submitted data to reduce the impact of false reports."
"intro_2": "The current Penguin Statistics dataset consists reports from manual reports, screenshot recognitions via website and uploads from automated tools via our public APIs. To ensure accuracy of the dataset, Penguin Statistics team will perform automatic, scheduled and manual dataset maintenances for various reasons.",
"intro_3": "To ensure dataset transparency and list out dataset changes, Dataset Invalidation Transparency Report is now planned to be implemented."
}
},
"ja": {
Expand All @@ -25,7 +26,8 @@
"intro": {
"intro_0": "欢迎来到企鹅物流数据统计!",
"intro_1": "企鹅物流数据统计(Penguin Statistics)是企鹅物流旗下数据处理部门(误),致力于明日方舟各素材的掉率统计。",
"intro_2": "目前绝大部分数据由玩家手动汇报,为了尽量减少谎报、误报对结果的影响,企鹅数据团队会对掉落进行多方位的审查。"
"intro_2": "企鹅物流的现有数据集由玩家手动上报、截图识别与多方自动化工具自动上报合力维护。为了尽力保证数据集的准确性,企鹅物流数据团队会对掉落数据集进行多种方式的自动、定时及手动维护。",
"intro_3": "为保证数据集透明度、向用户说明数据集更改,数据作废透明度报告已在计划中。"
}
}
}
Expand Down

1 comment on commit edc134f

@vercel
Copy link

@vercel vercel bot commented on edc134f May 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

frontend-v2 – ./

frontend-v2-git-dev-penguin-statistics.vercel.app
frontend-v2-penguin-statistics.vercel.app

Please sign in to comment.