Skip to content

Commit

Permalink
Revert "New locale yojo" (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net authored Apr 9, 2024
1 parent 98f6822 commit beaec57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2,947 deletions.
9 changes: 4 additions & 5 deletions locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const languages = [
'it-IT',
'ja-JP',
'ja-KS',
'ja-YO',
'kab-KAB',
'kn-IN',
'ko-KR',
Expand All @@ -45,7 +44,7 @@ const languages = [

const primaries = {
'en': 'US',
'ja': 'YO',
'ja': 'JP',
'ko': 'KR',
'zh': 'CN',
};
Expand Down Expand Up @@ -73,11 +72,11 @@ export function build() {
.reduce((a, [k, v]) => (a[k] = (() => {
const [lang] = k.split('-');
switch (k) {
case 'ja-YO': return v;
case 'ja-JP': return v;
case 'ja-KS':
case 'en-US': return merge(locales['ja-YO'], v);
case 'en-US': return merge(locales['ja-JP'], v);
default: return merge(
locales['ja-YO'],
locales['ja-JP'],
locales['ko-KR'],
locales['en-US'],
locales[`${lang}-${primaries[lang]}`] ?? {},
Expand Down
8 changes: 4 additions & 4 deletions locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1647,15 +1647,15 @@ _achievements:
title: "ビギナーⅢ"
description: "通算ログイン日数が15日"
_login30:
title: "チェリーピッカーⅠ"
title: "ミスキストⅠ"
description: "通算ログイン日数が30日"
_login60:
title: "チェリーピッカーⅡ"
title: "ミスキストⅡ"
description: "通算ログイン日数が60日"
_login100:
title: "チェリーピッカーⅢ"
title: "ミスキストⅢ"
description: "通算ログイン日数が100日"
flavor: "そのユーザー、チェリーピッカーにつき"
flavor: "そのユーザー、ミスキストにつき"
_login200:
title: "常連Ⅰ"
description: "通算ログイン日数が200日"
Expand Down
Loading

0 comments on commit beaec57

Please sign in to comment.