Skip to content

Commit

Permalink
Merge pull request #358 from penguin-statistics/dev
Browse files Browse the repository at this point in the history
Release v3.2.1
  • Loading branch information
AlvISsReimu authored Jul 5, 2020
2 parents 6353c0c + 83f0308 commit 490644d
Show file tree
Hide file tree
Showing 10 changed files with 91 additions and 31 deletions.
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.2.0",
"version": "3.2.1",
"private": true,
"homepage": "https://github.com/penguin-statistics/frontend-v2#readme",
"bugs": {
Expand Down
4 changes: 3 additions & 1 deletion src/components/toolbar/AccountManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"logoutPrompt": "本当にログアウトしますか?",
"notice": "ユーザーIDはアップロードの際にのみ使用します。このIDを使用し各機器を登録することでデータを1つのアカウントに統合することが可能となり、アップロードの管理や個人のドロップデータを調べることが可能となります。",
"success": "ログイン成功",
"userId": "ユーザーID"
"userId": "ユーザーID",
"details": "アカウント",
"loggedAs": "Logged in as"
},
"ko": {
"failed": {
Expand Down
2 changes: 1 addition & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const version = "v3.2.0";
const version = "v3.2.1";

module.exports = {
version,
Expand Down
37 changes: 36 additions & 1 deletion src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"links": "相互リンク",
"bulletin": "お知らせ"
},
"siteStats": "全サイト統計データ",
"planner": "周回計画作成ツール",
"v1": "旧バージョン",
"refreshData": "データ更新",
Expand Down Expand Up @@ -89,7 +90,41 @@
"times": "サンプル数",
"quantity": "ドロップ数",
"percentage": "ドロップ率",
"apPPR": "1個あたりの必要期待理性数"
"apPPR": "1個あたりの必要期待理性数",
"timeRange": "期間"
},
"timeRange": {
"inBetween": "{0} から {1} まで",
"toPresent": "{date} から現在まで",
"endsAt": "{date} 以前",
"unknown": "不明",
"notSelected": "(選択されていない)"
},
"trends": {
"name": "歴史ドロップデータ",
"set": {
"rate": "ドロップ率",
"sample": "サンプル数",
"drops": "ドロップ数"
}
},
"lastUpdated": "最終更新日時: {date}",
"site": {
"viewMore": "さらに詳しく",
"total": {
"sanity": "すべての報告で消費された理性",
"report": "総報告数",
"items": "総ドロップ数"
},
"stages": "ステージサンプル数ランキング",
"items": "アイテムドロップ数ランキング",
"all": "全期間",
"24hr": "過去24時間",
"generating": {
"title": "Generating Site Statistics...",
"subtitle": "Neural Network Message: Due to high amount of data, site statistics need up to 5 minutes to calculate. Please come back later.",
"refresh": "Refresh Site Statistics"
}
}
},
"contribute": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import mirror from "@/utils/mirror";
let baseURL;
if (mirror.global.isCurrent() || mirror.cn.isCurrent()) {
// those are official mirrors. just use the relative path.
baseURL = "https://penguin-stats.io/PenguinStats/api/v2"
baseURL = "/PenguinStats/api/v2"
} else if (process.env.NODE_ENV === "development") {
// developing at localhost.
// also use the relative path, but we left the task to WebpackDevServer for proxying local API responses
Expand Down
8 changes: 4 additions & 4 deletions src/utils/unmarshaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export default {
Console.info("PlannerImport", "one of the item data is invalid. not importing this and continue to the next one (reason: no id or name): ", index, item)
continue
}
const item = get.items.byName(item.name);
const gotItem = get.items.byName(item.name);
convertedItems.push({
id: item.itemId,
need: item.need,
have: item.have
id: gotItem.itemId,
need: gotItem.need,
have: gotItem.have
})
}
}
Expand Down
11 changes: 7 additions & 4 deletions src/views/About/Changelog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,22 +124,25 @@ export default {
version: "v3.3.0",
date: "2020-07-31T08:00:00Z",
changes: [
"将添加:掉落汇报自动同步至 Planner 功能",
"将添加:数据导出功能",
"将添加:关卡更多统计信息",
"将添加:关卡更多操作选项",
"将添加:关卡掉落组合频率查询",
]
},
{
future: true,
active: true,
version: "v3.2.1",
date: "2020-07-17T05:00:00Z",
date: "2020-07-05T18:00:00Z",
changes: [
"添加:掉落汇报自动同步至 Planner 功能"
"修复:CN Mirror 继续使用本体服务 API Endpoint",
"修复:部分 Planner 配置文件无法导入的问题",
"移除:首页冗余的「API 文档」链接项",
"添加:部分缺失的日文翻译",
],
},
{
active: true,
version: "v3.2.0",
date: "2020-07-04T05:00:00Z",
changes: [
Expand Down
41 changes: 28 additions & 13 deletions src/views/About/Contribute.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
"qq_group": "QQ Group: "
},
"link": {
"api": "API Docs",
"docs": "Dev. Docs"
"docs": {
"title": "For Developers",
"subtitle": "Contains resources for developing on top of Penguin Statistics' data"
}
}
},
"ja": {
Expand All @@ -20,6 +22,12 @@
"contribute_1": "本プロジェクトは無償のオープンソースプロジェクトです",
"frontend": "フロントエンド",
"qq_group": "QQグループ:"
},
"link": {
"docs": {
"title": "開発者向けのリソース",
"subtitle": "ドロップデータに基づいて開発するためのAPIドキュメントおよびその他のリソース"
}
}
},
"ko": {
Expand All @@ -40,8 +48,10 @@
"qq_group": "QQ群:"
},
"link": {
"api": "API 文档",
"docs": "开发者中心"
"docs": {
"title": "开发者中心",
"subtitle": "包含供开发者于企鹅物流数据统计基础上开发更多工具的 API 文档等资源"
}
}
}
}
Expand Down Expand Up @@ -148,7 +158,7 @@
<v-col
v-for="link in links"
:key="link.title"
cols="6"
cols="12"
>
<BackdropCard
hover
Expand All @@ -169,13 +179,17 @@
</v-icon>

<h2 class="heading my-1">
{{ $t(link.title) }} <v-icon
{{ $t(link.title) }}
<v-icon
v-if="link.external"
small
>
mdi-open-in-new
</v-icon>
</h2>
<h3 class="subtitle-2">
{{ $t(link.subtitle) }}
</h3>
</BackdropCard>
</v-col>
</v-row>
Expand All @@ -200,16 +214,17 @@ export default {
'analysis'
],
links: [
{
url: "https://developer.penguin-stats.io/docs/",
icon: "mdi-api",
title: "link.api",
external: true
},
// {
// url: "https://developer.penguin-stats.io/docs/",
// icon: "mdi-api",
// title: "link.api",
// external: true
// },
{
url: "https://developer.penguin-stats.io",
icon: "mdi-dev-to",
title: "link.docs",
title: "link.docs.title",
subtitle: "link.docs.subtitle",
external: true
}
]
Expand Down
3 changes: 2 additions & 1 deletion src/views/About/Donate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"donate_1": "アクセス数が増加し、サーバーが負荷に耐えることが出来なくなっています。サーバーの",
"donate_2": "運営費用",
"donate_3": "ポッキーやアップルパイでも可",
"donate_4": "を寄付頂けると非常にありがたいです。",
"donate_4": "を寄付頂けると非常にありがたいです。",
"accountBook": "帐簿",
"methods": {
"alipay": "Alipay",
"paypal": "PayPal で寄付",
Expand Down
12 changes: 8 additions & 4 deletions src/views/About/GettingStarted.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@
}
},
"ja": {
"quickStart": "クイックスタート",
"quickStart": "クイックスタート",
"caption": [
"左上の",
"ボタンをクリックしてメニューを展開すると、さらに多くの機能が表示されます。"
],
"subtitle": {
"report": "ドロップを報告したい",
"byItem": "岩はどこのステージが一番効率が良いのか?",
"byStage": "このステージでの泥率はどれくらい?",
"planner": "ファーミングアドバイスをください"
"byItem": "岩ってどこ回ったらいいのかな",
"byStage": "1-7の泥率ってどれくらい?",
"planner": "周回アドバイスをください"
},
"title": {
"report": "ドロップ報告",
Expand Down

0 comments on commit 490644d

Please sign in to comment.