Skip to content

Commit

Permalink
feat: new strings for the v2.5 extension (#7361)
Browse files Browse the repository at this point in the history
* feat: troubleshooting page heading

* chore: more strings

* chore: lil update

* feat: more strings

* chore: small string update
  • Loading branch information
Bas950 authored Nov 12, 2023
1 parent bb76565 commit fa28afb
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 4 deletions.
56 changes: 52 additions & 4 deletions src/Extension/popup.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@
"description": "Shown when the extension has been disabled in the settings",
"message": "The PreMiD extension has been disabled in the settings. Please enable it to continue using PreMiD."
},
"popup.info.discordStatusSetting.message": {
"description": "Shown on the troubleshooting page when the user might have to change their Discord status setting",
"message": "Please make sure that you have enabled the setting 'Display current activity as a status message' in your Discord settings."
},
"popup.info.presenceNotSetMessage.message": {
"description": "Shown on the troubleshooting page when PreMiD has not found a presence for the current tabs",
"message": "PreMiD was unable to find a presence for your current tabs. Please make sure that you have installed a presence for the website you are currently on. If you have installed a presence, try reloading the website of the presence, and make sure that you have enabled the presence in the settings."
},
"popup.navigation.credits": {
"description": "Title of the 'credits' section at the navigation in the popup",
"message": "Credits"
Expand All @@ -123,6 +131,14 @@
"description": "Title of the 'settings' section at the navigation in the popup",
"message": "Settings"
},
"popup.navigation.information": {
"description": "Title of the 'information' section at the navigation in the popup",
"message": "Information"
},
"popup.navigation.diagonstics": {
"description": "Title of the 'diagonstics' section at the navigation in the popup",
"message": "Diagonstics"
},
"popup.presences.done": {
"description": "Done button",
"message": "Done"
Expand All @@ -140,19 +156,51 @@
"message": "No Presences added"
},
"popup.setting.autoLaunch": {
"description": "Enable/Disable auto startup of the application (located at the 'general' area of the 'settings' section in the popup)",
"description": "Enable/Disable auto startup of the application (location: extension popup -> discord icon/profile picture -> 'settings' section)",
"message": "Auto launch"
},
"popup.setting.enabled": {
"description": "Enable/Disables PreMiD (located at the 'general' area of the 'settings' section in the popup)",
"description": "Enable/Disables PreMiD (location: extension popup -> discord icon/profile picture -> 'settings' section)",
"message": "Enabled"
},
"popup.setting.mediaControl": {
"description": "Enable/Disable media keys (located at the 'general' area of the 'settings' section in the popup)",
"description": "Enable/Disable media keys (location: extension popup -> discord icon/profile picture -> 'settings' section)",
"message": "Media Controls"
},
"popup.setting.titleMenubar": {
"description": "Enable/Disable the indicator in the menu bar (located at the 'general' area of the 'settings' section in the popup)",
"description": "Enable/Disable the indicator in the menu bar (location: extension popup -> discord icon/profile picture -> 'settings' section)",
"message": "Title Menubar"
},
"popup.setting.syncLanguage": {
"description": "Enable/Disable syncing the language of the extension with the language of presences (location: extension popup -> discord icon/profile picture -> 'language' section)",
"message": "Sync Language"
},
"popup.setting.preferredPresenceLanguage": {
"description": "When the 'Sync Language' setting is disabled, it will show a selector where you can select a language that will be preferred for the languages of presences (location: extension popup -> discord icon/profile picture -> 'language' section)",
"message": "Preferred Presence Language"
},
"popup.setting.heartbeat": {
"description": "Enable/Disable sending heartbeats to PreMiD (Anonymized diagonistic data about what version you are using of PreMiD etc.) (location: extension popup -> discord icon/profile picture -> 'Diagnostics' section)",
"message": "Heartbeat"
},
"popup.information.extensionVersion": {
"description": "Shows the version of the extension (located at the 'information' tab in the popup); {0} will be replaced with for example '2.5.0' -> {0} is a variable and should not be translated; Example: Extension version: 2.5.0",
"message": "Extension version: {0}"
},
"popup.information.appVersion": {
"description": "Shows the version of the app (located at the 'information' tab in the popup); {0} will be replaced with for example '2.5.0' -> {0} is a variable and should not be translated; Example: App version: 2.5.0",
"message": "App version: {0}"
},
"popup.information.appNotFound": {
"description": "Shows that no connection was able to be made to the PreMiD app (located at the 'information' tab in the popup)",
"message": "Not connected to PreMiD App"
},
"popup.information.discordUser": {
"description": "Shows Discord user PreMiD is connected to (located at the 'information' tab in the popup); {0} will be replaced the username of the Discord account -> {0} is a variable and should not be translated; Example: Discord user: Bas950",
"message": "Discord user: {0}"
},
"popup.information.discordNotFound": {
"description": "Shows that no connection was able to be made to the Discord app (located at the 'information' tab in the popup)",
"message": "Not connected to Discord App"
}
}
36 changes: 36 additions & 0 deletions src/Extension/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"description": "Donate button of the tab which opens when you install PreMiD for the first time",
"message": "Donate"
},
"version": {
"description": "{0} will be replaced with for example '2.5.0' -> {0} is a variable and should not be translated; Version text of the extension/app",
"message": "v{0}"
},
"tab.button.changelog": {
"description": "Changelog button (opens changelog) of the tab which opens when you install PreMiD for the first time",
"message": "Changelog"
Expand Down Expand Up @@ -54,5 +58,37 @@
"tab.updated.subHeading": {
"description": "{0} will be replaced with 'PreMiD' -> {0} is a variable and should not be translated; Subtitle of the tab which opens when PreMiD was updated",
"message": "{0} has been updated!"
},
"tab.troubleshooting.heading": {
"description": "Title of the tab which opens when you click on the troubleshooting button",
"message": "Troubleshooting"
},
"tab.troubleshooting.subHeading": {
"description": "Subtitle of the tab which opens when you click on the troubleshooting button, {0} will be replaced with 'PreMiD' -> {0} is a variable and should not be translated",
"message": "Having issues with {0}?"
},
"tab.troubleshooting.checks.extensionEnabled": {
"description": "Check 1 of the tab which opens when you click on the troubleshooting button, in front of the text will be a checkbox (✓) or a cross (✗) depending on the result",
"message": "Extension enabled"
},
"tab.troubleshooting.checks.internetConnection": {
"description": "Check 2 of the tab which opens when you click on the troubleshooting button, in front of the text will be a checkbox (✓) or a cross (✗) depending on the result",
"message": "Internet connection"
},
"tab.troubleshooting.checks.appConnection": {
"description": "Check 3 of the tab which opens when you click on the troubleshooting button, in front of the text will be a checkbox (✓) or a cross (✗) depending on the result",
"message": "Connected with PreMiD app"
},
"tab.troubleshooting.checks.discordConnection": {
"description": "Check 4 of the tab which opens when you click on the troubleshooting button, in front of the text will be a checkbox (✓) or a cross (✗) depending on the result",
"message": "Connected with Discord app"
},
"tab.troubleshooting.checks.discordStatus": {
"description": "Check 5 of the tab which opens when you click on the troubleshooting button, in front of the text will be a question mark (?) since we can't check this",
"message": "Discord status message enabled"
},
"tab.troubleshooting.checks.presenceToDisplay": {
"description": "Check 6 of the tab which opens when you click on the troubleshooting button, in front of the text will be a checkbox (✓) or a cross (✗) depending on the result",
"message": "Presence to display"
}
}

0 comments on commit fa28afb

Please sign in to comment.