Skip to content

Commit

Permalink
Merge pull request #2 from minimarimo3/feature/remake-account-settings
Browse files Browse the repository at this point in the history
feat アカウントの登録制限解除
  • Loading branch information
minimarimo3 committed Mar 27, 2024
2 parents 5cdb5f3 + ebfefa5 commit 75adc27
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 82 deletions.
29 changes: 28 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@
"name": "Select Account",
"desc": "Select the account you want to use."
},
"addAccount": {
"name": "Add Account",
"desc": "Add a new account.",
"buttonText": "Add Account"
},
"account": "Account",
"accountHeading": {
"name": "Account",
"desc": "You are currently using this account"
},
"useThisAccount": {
"name": "Use this account",
"desc": "Use this account for posting.",
"buttonText": "Use this account"
},
"accountSelectedButton": {
"name": "Post with this account",
"buttonText": "Post with this account"
},
"memo": {
"name": "Memo",
"desc": "This is not used by the program. It is an item for memoizing what kind of account it is.",
Expand Down Expand Up @@ -52,6 +70,15 @@
"timeOut": "Authentication timed out. Please generate the access token again.",
"tokenSettingsComplete": "Access token settings are complete."
},
"deleteAccount": {
"name": "Delete Account from Obsidian",
"desc": "When executed, all settings of the account registered in Obsidian will be deleted. (No effect on Misskey)",
"buttonText": "Delete Account",
"confirm": "Are you sure you want to delete the account?",
"selectedAccountError": "You cannot delete the account because it is selected for posting. Please select another account and then delete it.",
"lastAccountError": "You cannot delete the account because only one account is registered.",
"accountDeleted": "The Misskey account information has been deleted from Obsidian."
},
"fileNotFound": "File not found: ",
"thisFileTypeIsNotAllowed": "This file is not allowed to be uploaded (changeable from settings): ",
"uploadingImage": "Uploading image...",
Expand All @@ -70,4 +97,4 @@
"quoteFromMisskey": "Quote from Misskey",
"collectingNotes": "Collecting notes...",
"noteQuoted": "Note quoted."
}
}
29 changes: 28 additions & 1 deletion locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@
"name": "アカウントを選択",
"desc": "投稿するアカウントを選択してください。"
},
"addAccount": {
"name": "アカウントを追加",
"desc": "アカウントを追加する",
"buttonText": "アカウントを追加"
},
"account": "アカウント",
"accountHeading": {
"name": "アカウント",
"desc": "現在このアカウントを使用しています"
},
"useThisAccount": {
"name": "このアカウントを使用",
"desc": "このアカウントを使用して投稿します。",
"buttonText": "このアカウントを使用"
},
"accountSelectedButton": {
"name": "このアカウントで投稿する",
"buttonText": "このアカウントを選択"
},
"memo": {
"name": "メモ",
"desc": "プログラムからは使いません。アカウントがなんのアカウントかをメモしておくための項目です。",
Expand Down Expand Up @@ -52,6 +70,15 @@
"timeOut": "認証がタイムアウトしました。再度アクセストークンの生成を行ってください。",
"tokenSettingsComplete": "アクセストークンの設定が完了しました。"
},
"deleteAccount": {
"name": "Obsidianからアカウントを削除",
"desc": "実行するとObsidianに登録されたアカウントの設定が全て消えます。(Misskeyには影響ありません)",
"buttonText": "アカウントを削除",
"confirm": "アカウントを削除しますか?",
"selectedAccountError": "このアカウントは投稿用に選択されているため削除できません。他のアカウントを選択してから削除してください。",
"lastAccountError": "アカウントが1つしか登録されていないため削除できません。",
"accountDeleted": "Misskeyアカウントの情報がObsidianから削除されました。"
},
"fileNotFound": "ファイルが見つかりませんでした: ",
"thisFileTypeIsNotAllowed": "このファイルのアップロードは許可されていません(設定から変更可能): ",
"uploadingImage": "画像をアップロード中...",
Expand All @@ -71,4 +98,4 @@
"quoteFromMisskey": "Misskeyのノートを埋め込む",
"collectingNotes": "ノートを取得中...",
"noteQuoted": "ノートを引用しました。"
}
}

0 comments on commit 75adc27

Please sign in to comment.