From 4091736a835fc0f413152092791e19793e238b2e Mon Sep 17 00:00:00 2001 From: NoriDev Date: Wed, 13 Dec 2023 14:18:52 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8B=A0=EA=B7=9C=20=EB=8F=84=EC=A0=84?= =?UTF-8?q?=20=EA=B3=BC=EC=A0=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG_CHERRYPICK.md | 1 + locales/cs-CZ.yml | 3 +++ locales/de-DE.yml | 3 +++ locales/en-US.yml | 3 +++ locales/es-ES.yml | 3 +++ locales/fr-FR.yml | 2 ++ locales/id-ID.yml | 3 +++ locales/index.d.ts | 4 ++++ locales/it-IT.yml | 3 +++ locales/ja-JP.yml | 3 +++ locales/ja-KS.yml | 3 +++ locales/ko-KR.yml | 3 +++ locales/no-NO.yml | 2 ++ locales/ru-RU.yml | 3 +++ locales/th-TH.yml | 3 +++ locales/uk-UA.yml | 3 +++ locales/vi-VN.yml | 3 +++ locales/zh-CN.yml | 3 +++ locales/zh-TW.yml | 3 +++ packages/backend/src/core/AchievementService.ts | 1 + packages/cherrypick-js/src/autogen/apiClientJSDoc.ts | 2 +- packages/cherrypick-js/src/autogen/endpoint.ts | 2 +- packages/cherrypick-js/src/autogen/entities.ts | 2 +- packages/cherrypick-js/src/autogen/models.ts | 2 +- packages/cherrypick-js/src/autogen/types.ts | 4 ++-- packages/frontend/src/pages/settings/profile.vue | 3 +++ packages/frontend/src/scripts/achievements.ts | 6 ++++++ 27 files changed, 70 insertions(+), 6 deletions(-) diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index cd909cb46e..954d139b4b 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -46,6 +46,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2023xx](CHANGE - Feat: 데이터 절약 모드로 코드 하이라이트 로드를 줄일 수 있음 (misskey-dev/misskey#12526) - Feat: InstanceTicker를 클릭해 노트를 자세히 볼 수 있음 - 리모트에서 수신된 노트인 경우, '리모트에서 보기'로 작동함 +- Feat: 신규 도전 과제 추가 - Enhance: 사운드 설정을 기본값으로 복원하거나 저장할 때 확실하게 표시함 - Enhance: 리모트 서버와 동일한 이모지가 존재하지 않는 경우 '이모지 복사'를 비활성화함 - Enhance: 아이콘 장식을 바로 업로드 하거나 드라이브에서 불러올 수 있음 ([Secineralyr/misskey.dream@e358212d](https://github.com/Secineralyr/misskey.dream/commit/e358212da93256749e31d9e0ca9dd2ed37fd548e), [Secineralyr/misskey.dream@52592fea](https://github.com/Secineralyr/misskey.dream/commit/52592fea52684497ba7e07f173aac2b1083afcb1)) diff --git a/locales/cs-CZ.yml b/locales/cs-CZ.yml index 18519bd2a4..a1bc091af7 100644 --- a/locales/cs-CZ.yml +++ b/locales/cs-CZ.yml @@ -1345,6 +1345,9 @@ _achievements: _setNameToSyuilo: title: "Boží komplex" description: "Nastavte si jméno na \"syuilo\"" + _setNameToNoriDev: + title: "Boží komplex (CherryPick)" + description: "Nastavte si jméno na \"noridev\"" _passedSinceAccountCreated1: title: "Roční výročí" description: "Od vytvoření vašeho účtu uplynul jeden rok" diff --git a/locales/de-DE.yml b/locales/de-DE.yml index e1029ffa89..41e765d6a3 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -1435,6 +1435,9 @@ _achievements: _setNameToSyuilo: title: "Gottkomplex" description: "Setze deinen Namen auf \"syuilo\"" + _setNameToNoriDev: + title: "Gottkomplex (CherryPick)" + description: "Setze deinen Namen auf \"noridev\"" _passedSinceAccountCreated1: title: "Einjahresjubiläum" description: "Seit der Erstellung deines Kontos ist 1 Jahr vergangen" diff --git a/locales/en-US.yml b/locales/en-US.yml index ff72f4237a..b153a7d5b6 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1705,6 +1705,9 @@ _achievements: _setNameToSyuilo: title: "God Complex" description: "Set your name to \"syuilo\"" + _setNameToNoriDev: + title: "God Complex (CherryPick)" + description: "Set your name to \"noridev\"" _passedSinceAccountCreated1: title: "One Year Anniversary" description: "One year has passed since your account was created" diff --git a/locales/es-ES.yml b/locales/es-ES.yml index a7c222c685..29511a5dd2 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -1418,6 +1418,9 @@ _achievements: _setNameToSyuilo: title: "Complejo de superioridad" description: "Configurar el nombre como 'Syuilo'" + _setNameToNoriDev: + title: "Complejo de superioridad (CherryPick)" + description: "Configurar el nombre como 'NoriDev'" _passedSinceAccountCreated1: title: "Primer aniversario" description: "Pasó un año desde la creación de la cuenta" diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index 4d44548b90..1353443a42 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -1310,6 +1310,8 @@ _achievements: title: "Référence circulaire" _setNameToSyuilo: description: "Vous avez spécifié « syuilo » comme nom" + _setNameToNoriDev: + description: "Vous avez spécifié « noridev » comme nom" _passedSinceAccountCreated1: title: "Premier anniversaire" _passedSinceAccountCreated2: diff --git a/locales/id-ID.yml b/locales/id-ID.yml index 50e6f17a51..5c36e76366 100644 --- a/locales/id-ID.yml +++ b/locales/id-ID.yml @@ -1418,6 +1418,9 @@ _achievements: _setNameToSyuilo: title: "God Complex" description: "Atur namamu jadi \"syuilo\"" + _setNameToNoriDev: + title: "God Complex (CherryPick)" + description: "Atur namamu jadi \"noridev\"" _passedSinceAccountCreated1: title: "Perayaan Satu Tahun" description: "Satu tahun telah lewat sejak akunmu dibuat" diff --git a/locales/index.d.ts b/locales/index.d.ts index 06f8422a59..21f49f0d3a 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1811,6 +1811,10 @@ export interface Locale { "title": string; "description": string; }; + "_setNameToNoriDev": { + "title": string; + "description": string; + }; "_passedSinceAccountCreated1": { "title": string; "description": string; diff --git a/locales/it-IT.yml b/locales/it-IT.yml index f7b4fa6671..1819c933e0 100644 --- a/locales/it-IT.yml +++ b/locales/it-IT.yml @@ -1510,6 +1510,9 @@ _achievements: _setNameToSyuilo: title: "Complesso divino" description: "Hai impostati il tuo nome in «syuilo»" + _setNameToNoriDev: + title: "Complesso divino (CherryPick)" + description: "Hai impostati il tuo nome in «noridev»" _passedSinceAccountCreated1: title: "Primo Anniversario" description: "È passato un anno da quando hai creato il profilo" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index a71fc954c1..0d3e3d1396 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1730,6 +1730,9 @@ _achievements: _setNameToSyuilo: title: "神様コンプレックス" description: "名前を syuilo に設定した" + _setNameToNoriDev: + title: "神様コンプレックス(CherryPick)" + description: "名前を noridev に設定した" _passedSinceAccountCreated1: title: "一周年" description: "アカウント作成から1年経過した" diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml index 2d5105b5a1..8fb6574f01 100644 --- a/locales/ja-KS.yml +++ b/locales/ja-KS.yml @@ -1459,6 +1459,9 @@ _achievements: _setNameToSyuilo: title: "神様コンプレックス" description: "名前を syuilo に設定した" + _setNameToNoriDev: + title: "神様コンプレックス(CherryPick)" + description: "名前を noridev に設定した" _passedSinceAccountCreated1: title: "一周年" description: "アカウント作成から1年経過した" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 4e496c01e5..6976c1a12b 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1701,6 +1701,9 @@ _achievements: _setNameToSyuilo: title: "신 콤플렉스" description: "이름을 syuilo로 설정했어요. 어라..?" + _setNameToNoriDev: + title: "신 콤플렉스 (CherryPick)" + description: "이름을 noridev로 설정했어요. 어라..?" _passedSinceAccountCreated1: title: "1주년" description: "계정을 생성하고 1년이 지났어요" diff --git a/locales/no-NO.yml b/locales/no-NO.yml index 8e052a781b..d3fa5d2fd7 100644 --- a/locales/no-NO.yml +++ b/locales/no-NO.yml @@ -517,6 +517,8 @@ _achievements: title: "Rett og slett heldig" _setNameToSyuilo: description: "Du satte navnet ditt til \"syuilo\"" + _setNameToNoriDev: + description: "Du satte navnet ditt til \"noridev\"" _passedSinceAccountCreated1: title: "Ett års jubileum" description: "Det har gått ett år siden kontoen din ble opprettet" diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml index c7455967fd..a8957dbfbc 100644 --- a/locales/ru-RU.yml +++ b/locales/ru-RU.yml @@ -1313,6 +1313,9 @@ _achievements: _setNameToSyuilo: title: "Комплекс бога" description: "Установлено «syuilo» в качестве имени" + _setNameToNoriDev: + title: "Комплекс бога (CherryPick)" + description: "Установлено «noridev» в качестве имени" _passedSinceAccountCreated1: title: "Первая годовщина" description: "Прошёл 1 год с момента регистрации" diff --git a/locales/th-TH.yml b/locales/th-TH.yml index 18270090cd..f19525c574 100644 --- a/locales/th-TH.yml +++ b/locales/th-TH.yml @@ -1408,6 +1408,9 @@ _achievements: _setNameToSyuilo: title: "พระเจ้าคอมเพล็กซ์" description: "ตั้งชื่อของคุณเป็น \"syuilo\"" + _setNameToNoriDev: + title: "พระเจ้าคอมเพล็กซ์ (CherryPick)" + description: "ตั้งชื่อของคุณเป็น \"noridev\"" _passedSinceAccountCreated1: title: "ครบรอบหนึ่งปี" description: "ผ่านไปหนึ่งปีแล้วนะตั้งแต่บัญชีของคุณถูกสร้างขึ้นมาน่ะ" diff --git a/locales/uk-UA.yml b/locales/uk-UA.yml index 537bb133df..d73654e13a 100644 --- a/locales/uk-UA.yml +++ b/locales/uk-UA.yml @@ -1121,6 +1121,9 @@ _achievements: _setNameToSyuilo: title: "Комплекс бога" description: "Встановлено ім'я \"syuilo\"" + _setNameToNoriDev: + title: "Комплекс бога (CherryPick)" + description: "Встановлено ім'я \"noridev\"" _passedSinceAccountCreated1: title: "Перша річниця" description: "Минув рік з моменту створення акаунта" diff --git a/locales/vi-VN.yml b/locales/vi-VN.yml index 1b51b7c20b..44d3e92df8 100644 --- a/locales/vi-VN.yml +++ b/locales/vi-VN.yml @@ -1270,6 +1270,9 @@ _achievements: _setNameToSyuilo: title: "Ngưỡng mộ với vị thần" description: "Đạt tên là syuilo" + _setNameToNoriDev: + title: "Ngưỡng mộ với vị thần (CherryPick)" + description: "Đạt tên là noridev" _passedSinceAccountCreated1: title: "Kỷ niệm một năm" _loggedInOnBirthday: diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 9a84777ff8..bdad9b1e7d 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -1410,6 +1410,9 @@ _achievements: _setNameToSyuilo: title: "像神一样呐" description: "将名称设定为 syuilo" + _setNameToNoriDev: + title: "像神一样呐 (CherryPick)" + description: "将名称设定为 noridev" _passedSinceAccountCreated1: title: "一周年" description: "账户创建时间超过 1 年" diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml index 2d6ecbe928..943b00eff7 100644 --- a/locales/zh-TW.yml +++ b/locales/zh-TW.yml @@ -1512,6 +1512,9 @@ _achievements: _setNameToSyuilo: title: "神與您同在" description: "將名稱設定為 syuilo" + _setNameToNoriDev: + title: "神與您同在 (CherryPick)" + description: "將名稱設定為 noridev" _passedSinceAccountCreated1: title: "一週年" description: "帳戶加入時間已超過一年" diff --git a/packages/backend/src/core/AchievementService.ts b/packages/backend/src/core/AchievementService.ts index aa1546a90d..2b1504e51f 100644 --- a/packages/backend/src/core/AchievementService.ts +++ b/packages/backend/src/core/AchievementService.ts @@ -83,6 +83,7 @@ export const ACHIEVEMENT_TYPES = [ 'clickedClickHere', 'justPlainLucky', 'setNameToSyuilo', + 'setNameToNoriDev', 'cookieClicked', 'brainDiver', 'smashTestNotificationButton', diff --git a/packages/cherrypick-js/src/autogen/apiClientJSDoc.ts b/packages/cherrypick-js/src/autogen/apiClientJSDoc.ts index 01b7d4d2a7..dd421d409e 100644 --- a/packages/cherrypick-js/src/autogen/apiClientJSDoc.ts +++ b/packages/cherrypick-js/src/autogen/apiClientJSDoc.ts @@ -1,7 +1,7 @@ /* * version: 4.6.0-beta.2 * basedMisskeyVersion: 2023.12.0-beta.3 - * generatedAt: 2023-12-13T04:45:13.128Z + * generatedAt: 2023-12-13T05:07:59.354Z */ import type { SwitchCaseResponseType } from '../api.js'; diff --git a/packages/cherrypick-js/src/autogen/endpoint.ts b/packages/cherrypick-js/src/autogen/endpoint.ts index 0970422837..b98a25c7a8 100644 --- a/packages/cherrypick-js/src/autogen/endpoint.ts +++ b/packages/cherrypick-js/src/autogen/endpoint.ts @@ -1,7 +1,7 @@ /* * version: 4.6.0-beta.2 * basedMisskeyVersion: 2023.12.0-beta.3 - * generatedAt: 2023-12-13T04:45:13.126Z + * generatedAt: 2023-12-13T05:07:59.352Z */ import type { diff --git a/packages/cherrypick-js/src/autogen/entities.ts b/packages/cherrypick-js/src/autogen/entities.ts index 5f6fc8e263..5ef3d9ec18 100644 --- a/packages/cherrypick-js/src/autogen/entities.ts +++ b/packages/cherrypick-js/src/autogen/entities.ts @@ -1,7 +1,7 @@ /* * version: 4.6.0-beta.2 * basedMisskeyVersion: 2023.12.0-beta.3 - * generatedAt: 2023-12-13T04:45:13.123Z + * generatedAt: 2023-12-13T05:07:59.351Z */ import { operations } from './types.js'; diff --git a/packages/cherrypick-js/src/autogen/models.ts b/packages/cherrypick-js/src/autogen/models.ts index a3f89f6ba2..d239ed4267 100644 --- a/packages/cherrypick-js/src/autogen/models.ts +++ b/packages/cherrypick-js/src/autogen/models.ts @@ -1,7 +1,7 @@ /* * version: 4.6.0-beta.2 * basedMisskeyVersion: 2023.12.0-beta.3 - * generatedAt: 2023-12-13T04:45:13.122Z + * generatedAt: 2023-12-13T05:07:59.350Z */ import { components } from './types.js'; diff --git a/packages/cherrypick-js/src/autogen/types.ts b/packages/cherrypick-js/src/autogen/types.ts index 14e3273162..0410cc38a2 100644 --- a/packages/cherrypick-js/src/autogen/types.ts +++ b/packages/cherrypick-js/src/autogen/types.ts @@ -4,7 +4,7 @@ /* * version: 4.6.0-beta.2 * basedMisskeyVersion: 2023.12.0-beta.3 - * generatedAt: 2023-12-13T04:45:13.048Z + * generatedAt: 2023-12-13T05:07:59.277Z */ /** @@ -16504,7 +16504,7 @@ export type operations = { content: { 'application/json': { /** @enum {string} */ - name: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveCherryPick' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted'; + name: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveCherryPick' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'setNameToNoriDev' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted'; }; }; }; diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index 92aeee7788..330edb8f23 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -225,6 +225,9 @@ function save() { if (profile.name === 'syuilo' || profile.name === 'しゅいろ') { claimAchievement('setNameToSyuilo'); } + if (profile.name === 'noridev' || profile.name === 'NoriDev' || profile.name === '노리' || profile.name === '노리데브') { + claimAchievement('setNameToNoriDev'); + } if (profile.isCat && defaultStore.state.renameTheButtonInPostFormToNya) { claimAchievement('markedAsCat'); } else if (profile.isCat && !defaultStore.state.renameTheButtonInPostFormToNya) { diff --git a/packages/frontend/src/scripts/achievements.ts b/packages/frontend/src/scripts/achievements.ts index 951d29d995..ad6c291644 100644 --- a/packages/frontend/src/scripts/achievements.ts +++ b/packages/frontend/src/scripts/achievements.ts @@ -79,6 +79,7 @@ export const ACHIEVEMENT_TYPES = [ 'clickedClickHere', 'justPlainLucky', 'setNameToSyuilo', + 'setNameToNoriDev', 'cookieClicked', 'brainDiver', 'smashTestNotificationButton', @@ -421,6 +422,11 @@ export const ACHIEVEMENT_BADGES = { bg: 'linear-gradient(0deg, rgb(187 183 59), rgb(255 143 77))', frame: 'bronze', }, + 'setNameToNoriDev': { + img: '/fluent-emoji/1f36e.png', + bg: 'linear-gradient(0deg, rgb(187 183 59), rgb(255 143 77))', + frame: 'bronze', + }, 'passedSinceAccountCreated1': { img: '/fluent-emoji/0031-20e3.png', bg: null,