Skip to content

Commit 5d8f4d4

Browse files
committed
More small changes
* All Localisation that needs to be localised has been added/pointed to * Made Language logic + TextEnumGen skip comments * Fixed Credit page not being able to get credits and text now updates on lang change * Fixed LoggingPageLogger making whole application unresponsive if IPC is created after LoggingPageLogger was created * Removed text from language files which are the same as English file (as it will be picked up from the English file now) * Removed "Discord Universe" (Old server name) in some languages
1 parent 32eb23c commit 5d8f4d4

30 files changed

+152
-310
lines changed

MultiRPC.SourceGen/TextEnumGen.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ public void Execute(GeneratorExecutionContext context)
3535
var startIndex = 0;
3636
var endIndex = 0;
3737
var s = line.ToString();
38+
39+
//If it contains this then the line is a comment, skip it
40+
if (s.Contains("/*"))
41+
{
42+
continue;
43+
}
44+
3845
for (int i = 0; i < s.Length; i++)
3946
{
4047
if (s[i] != '\"')

MultiRPC/Assets/Language/de-ch.json

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,33 @@
11
{
2-
"README": "Hallo Leute dieser Welt welche aus irgendwelchen Gründen das hier lesen. Wenn Ihr das hier in eure Sprache übersetzen wollt toll, und wenn Ihr wollt dass es in MultiRPC verwendet wird, sendet es zu Builderb#0001 (in Discord) so dass er es zu Project hinzufügen kann",
2+
/* "README": "Hallo Leute dieser Welt welche aus irgendwelchen Gründen das hier lesen. Wenn Ihr das hier in eure Sprache übersetzen wollt toll, und wenn Ihr wollt dass es in MultiRPC verwendet wird, sendet es zu Builderb#0001 (in Discord) so dass er es zu Project hinzufügen kann",*/
33
"LanguageName": "Deutsch (Schweiz)",
44
"LanguageTag": "de-ch",
5-
"Start": "Start",
6-
"UpdatePresence": "Update Presence",
7-
"Text1": "Text 1",
8-
"Text2": "Text 2",
95
"LargeKey": "Grosser Key",
106
"LargeText": "Grosser Text",
117
"SmallKey": "Kleiner Key",
128
"SmallText": "Kleiner Text",
139
"ShowElapsedTime": "Zeige verstrichene Zeit",
14-
"ClientID": "Client ID",
1510
"StartCustom": "Starte Benutzerdefiniert",
16-
"Status": "Status",
1711
"Disconnected": "Getrennt",
1812
"Connected": "Verbunden",
1913
"User": "Benutzer",
20-
"AfkText": "Afk Text",
21-
"Afk": "Afk",
22-
"Auto": "Auto",
2314
"ThankYouForUsing": "Danke fürs verwenden",
2415
"ThisProgram": "dieses Programmes",
2516
"Loading": "Lade",
2617
"Shutdown": "Ausschalten",
2718
"Hello": "Hallo",
2819
"World": "Welt",
29-
"CommunityAdmins": "Community Admins",
3020
"PatreonDonators": "Patreon Spender",
3121
"PaypalDonators": "Paypal Spender",
3222
"Error": "Fehler",
3323
"LastUpdatedAt": "Zuletzt aktualisiert um",
3424
"LastUpdatedOn": "Zuletzt aktualisiert am",
3525
"StartingRpc": "Starte Rpc",
36-
"Client": "Client",
37-
"Hi": "Hi",
3826
"AttemptingToReconnect": "Versuche erneut zu verbinden",
3927
"ShuttingDown": "Herunterfahren",
4028
"NoImage": "Kein Bild",
4129
"Christmas": "Weihnachten",
4230
"Games": "Spieler",
43-
"Popcorn": "Popcorn",
4431
"Present": "Gegenwart",
4532
"ImageError": "Bild Fehler",
4633
"FailedToDownload": "Download fehlgeschlagen",
@@ -53,21 +40,14 @@
5340
"ClientIDIsNotValid": "Client ID ist ungültig",
5441
"WhatItWillLookLike": "Wie es aussehen wird",
5542
"Website": "Webseite",
56-
"Download": "Download",
57-
"DiscordServer": "Discord Server",
5843
"JoinForFunBotsAndSupport": "Joine für witzige Bots und Support!",
59-
"JoinServerMessage": "Discord Universe ist ein witziger ort zum rumhängen mit anderen Benutzern, zum reden über Spiele, Anime oder Entwicklung.\n\nWir haben ausserdem viele high-quality Bots von mir oder anderen bekannten Developern, von Anime über Musik bis Memes also hab spass mit Ihnen.\r\n\r\nDas ist ausserdem ein Support Server viele meiner Projekte also hab keine Angst mal hallo zu sagen ;)",
44+
"JoinServerMessage": "Fluxpoint ist ein witziger ort zum rumhängen mit anderen Benutzern, zum reden über Spiele, Anime oder Entwicklung.\n\nWir haben ausserdem viele high-quality Bots von mir oder anderen bekannten Developern, von Anime über Musik bis Memes also hab spass mit Ihnen.\r\n\r\nDas ist ausserdem ein Support Server viele meiner Projekte also hab keine Angst mal hallo zu sagen ;)",
6045
"Settings": "Einstellungen",
61-
"AutoStart": "Auto Start",
6246
"AfkTime": "Afk Zeit",
6347
"No": "Nein",
6448
"Custom": "Benutzerdefiniert",
65-
"DiscordCheck": "Discord Check",
66-
"TokenCheck": "Token Check",
6749
"HelpIcons": "Hilfe Icons",
6850
"MadeBy": "Erstellt von",
69-
"Changelog": "Changelog",
70-
"Debug": "Debug",
7151
"CheckForUpdates": "Überprüfe für\r\nUpdates",
7252
"Donations": "Spenden",
7353
"PaypalMin1": "PayPal (mindestens $2)",
@@ -134,10 +114,8 @@
134114
"TestUpdateWindowTooltip": "Teste das update Fenster",
135115
"Testing": "Teste",
136116
"DebugMode": "Debug Modus",
137-
"BeepBoop": "Beep boop",
138117
"Update": "Update",
139118
"EmptyProfileName": "Profilname kann nicht leer sein",
140-
"Ok": "Ok",
141119
"Yes": "Ja",
142120
"Cancel": "Abbrechen",
143121
"CustomProfiles": "Benutzerdefinierte Profile",

MultiRPC/Assets/Language/en-gb.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project",
2+
/* "README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project", */
33
"LanguageName": "English",
44
"LanguageTag": "en-gb",
55
"Start": "Start",
@@ -236,5 +236,7 @@
236236
"LogLevel": "Log Level",
237237
"GithubTooltip": "Access all the source code",
238238
"FluxpointTooltip": "Look at the other services that Fluxpoint offer!",
239-
"NA": "N/A"
239+
"NA": "N/A",
240+
"Administrator": "Administrator",
241+
"DiscordClientCheck": "Discord client check. Was checking for {discordProcess} (found: {wasFound})"
240242
}

MultiRPC/Assets/Language/es.json

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project",
2+
/* "README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project", */
33
"LanguageName": "Spanish",
44
"LanguageTag": "es",
55
"Start": "Comenzar",
@@ -151,12 +151,6 @@
151151
"ShareThemePart1": "Si quieres compartir tus temas ve a",
152152
"ShareThemePart2": "y encuentra el archivo con el nombre del tema que deseas compartir",
153153
"ThemeName": "Nombre del tema",
154-
"Colour1": "Color 1",
155-
"Colour2": "Color 2",
156-
"Colour2Hover": "Color 2 Hover",
157-
"Colour3": "Color 3",
158-
"Colour4": "Color 4",
159-
"Colour5": "Color 5",
160154
"TextColour": "Color del texto",
161155
"DisabledButtonColour": "Color del botón desactivado",
162156
"DisabledButtonTextColour": "Color del texto del botón desactivado",
@@ -193,21 +187,5 @@
193187
"Getting": "obteniendo",
194188
"CouldntDownload": "No se pudo obtener",
195189
"CouldntDelete": "No se pudo eliminar",
196-
"ProcessFindError": "Algo sucedió al encontrar procesos de Discord, y dejará de mostrar gridCheckForDiscord",
197-
"Log": "Log",
198-
"Credits": "Credits",
199-
"Programs": "Programs",
200-
"Page": "page",
201-
"ShowPageTooltips": "Show page buttons Tooltips",
202-
"TempDisableDiscordCheck": "Temporary disable discord checking",
203-
"InternetBack": "Internet is back",
204-
"InternetLost": "Internet has been lost",
205-
"ThemeEditor": "Theme Editor",
206-
"ThemeIcons": "Theme Icons",
207-
"CustomTriggers": "Custom Triggers",
208-
"CustomPage": "Custom Page",
209-
"Admin": "Admin Mode",
210-
"NeedAdmin": "Your Discord client is running under administrator, MultiRPC needs admin approval to run.\nGo to settings and click on Admin Mode.",
211-
"AdminRequired": "Admin Required",
212-
"ShareHelp": "Click on \"Export\" to generate a code that you can share with other MultiRPC users or post one in the field and click \"Import\""
190+
"ProcessFindError": "Algo sucedió al encontrar procesos de Discord, y dejará de mostrar gridCheckForDiscord"
213191
}

MultiRPC/Assets/Language/fa.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project",
2+
/* "README": "Hello people's of the world reading this for some reason, if your editing this in your own language that's great, and if you want it to be in MultiRPC send it to Builderb#0001 (in discord) so he can add it to the project", */
33
"LanguageName": "Persian",
44
"LanguageTag": "fa",
55
"Start": "شروع",

MultiRPC/Assets/Language/fr.json

Lines changed: 2 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"README": "Salut à toutes les personnes qui lisent ça pour n'importe quelle raison, si tu édites ça dans ton propre langage c'est bien, et si tu veux être dans MULTIRPC envoie ça à Builderb#0001 sur Discord pour qu'il puisse t'ajouter au projet.",
2+
/* "README": "Salut à toutes les personnes qui lisent ça pour n'importe quelle raison, si tu édites ça dans ton propre langage c'est bien, et si tu veux être dans MULTIRPC envoie ça à Builderb#0001 sur Discord pour qu'il puisse t'ajouter au projet.", */
33
"LanguageName": "Français",
44
"LanguageTag": "fr-fr",
55
"Start": "Démarrer",
@@ -13,41 +13,31 @@
1313
"ShowElapsedTime": "Voir le temps écoulé",
1414
"ClientID": "ID de client",
1515
"StartCustom": "Démarrer le RPC",
16-
"Status": "Status",
1716
"Disconnected": "Déconnecté",
1817
"Connected": "Connecté",
1918
"User": "Utilisateur",
2019
"AfkText": "Texte AFK",
21-
"Afk": "AFK",
22-
"Auto": "Auto",
2320
"ThankYouForUsing": "Merci d'utiliser",
2421
"ThisProgram": "ce programme",
2522
"Loading": "Chargement",
2623
"Shutdown": "Arrêter",
27-
"Hello": "Hello",
28-
"World": "World",
2924
"CommunityAdmins": "Administrateurs de la communauté",
3025
"PatreonDonators": "Donnateurs Patreon",
3126
"PaypalDonators": "Donnateurs Paypal",
3227
"Error": "Erreur",
3328
"LastUpdatedAt": "Dernière mise à jour à",
3429
"LastUpdatedOn": "Dernière mise à jour le",
3530
"StartingRpc": "Démarrage du RPC",
36-
"Client": "Client",
3731
"Hi": "Bonjour",
3832
"AttemptingToReconnect": "Tentative de reconnexion",
3933
"ShuttingDown": "Arrêt",
4034
"NoImage": "Pas d'image",
4135
"Christmas": "Noël",
4236
"Games": "Jeux",
43-
"Popcorn": "Popcorn",
4437
"Present": "Présent",
4538
"ImageError": "Erreur d'image",
4639
"FailedToDownload": "Erreur de téléchargement",
4740
"NetworkError": "Erreur de réseau",
48-
"Warning": "Attention",
49-
"Info": "Information",
50-
"Trace": "Trace",
5141
"LengthMustBeAtLeast2CharactersLong": "La longueur doit être d'au moins deux caractères",
5242
"ClientIDMustBe18CharactersLong": "L'id de client doit faire 18 caractères",
5343
"ClientIDIsNotValid": "L'id du client est invalide",
@@ -66,8 +56,6 @@
6656
"TokenCheck": "Verification du Token",
6757
"HelpIcons": "Icones d'aide",
6858
"MadeBy": "Créé par",
69-
"Changelog": "Changelog",
70-
"Debug": "Debug",
7159
"CheckForUpdates": "Chercher des\r\nmises à jour",
7260
"Donations": "Donnations",
7361
"PaypalMin1": "PayPal (minimum $2, soit 0,86€)",
@@ -117,97 +105,5 @@
117105
"AutomaticUpdates": "Mises à jour automatiques",
118106
"Theme": "Thème",
119107
"Language": "Langue",
120-
"HideTaskbarIcon": "Cacher l'icone de la barre des tâches",
121-
"DiscordAPIDown": "Could not connect to Discord API",
122-
"NetworkIssue": "Network issue",
123-
"APIError": "API error",
124-
"APIIssue": "API Issue",
125-
"CheckingClientID": "Checking Client ID",
126-
"ShowMultiRPC": "Show MultiRPC",
127-
"HideMultiRPC": "Hide MultiRPC",
128-
"UnhandledException": "Unhandled Exception",
129-
"DebugRPCStart": "Start RPC",
130-
"DebugRPCStop": "Stop RPC",
131-
"DebugStartRPCTooltip": "Start RPC debug mode",
132-
"DebugStopRPCTooltip": "Stop RPC debug mode",
133-
"TestUpdateWindow": "Test Update Window",
134-
"TestUpdateWindowTooltip": "Test the update window",
135-
"Testing": "Testing",
136-
"DebugMode": "Debug Mode",
137-
"BeepBoop": "Beep boop",
138-
"Update": "Update",
139-
"EmptyProfileName": "Profile name can't be empty",
140-
"Ok": "Ok",
141-
"Yes": "Yes",
142-
"Cancel": "Cancel",
143-
"CustomProfiles": "Custom Profiles",
144-
"Load": "Load",
145-
"ErrorsFrom": "Errors from",
146-
"Message": "Message",
147-
"Source": "Source",
148-
"AddTheme": "Add Theme",
149-
"AddAndApplyTheme": "Add and Apply Theme",
150-
"LetMakeTheme": "Let's make a theme",
151-
"ShareThemePart1": "If you want to share your themes go to",
152-
"ShareThemePart2": "and find the file with the theme name you want to share",
153-
"ThemeName": "Theme Name",
154-
"Colour1": "Colour 1",
155-
"Colour2": "Colour 2",
156-
"Colour2Hover": "Colour 2 Hover",
157-
"Colour3": "Colour 3",
158-
"Colour4": "Colour 4",
159-
"Colour5": "Colour 5",
160-
"TextColour": "Text Colour",
161-
"DisabledButtonColour": "Disabled Button Colour",
162-
"DisabledButtonTextColour": "Disabled Button Text Colour",
163-
"SelectedPageColour": "Selected Page Colour",
164-
"SaveTheme": "Save Theme",
165-
"SaveAndApplyTheme": "Save and Apply Theme",
166-
"InstalledThemes": "Installed Themes",
167-
"Edit": "Edit",
168-
"Remove": "Remove",
169-
"Clone": "Clone",
170-
"SelectedPageIconColour": "Selected Page Icon Colour",
171-
"WewTextbox": "Wew I'm a textbox",
172-
"WewComboboxItem": "Wew I'm some combobox item content",
173-
"WewComboboxItem2": "Wew I'm more combobox item content",
174-
"WewTextBlock": "Wew I'm text",
175-
"WewButton": "I'm a button",
176-
"WewDisabledButton": "I'm a disabled button",
177-
"Active": "Active",
178-
"Showing": "Showing",
179-
"ThemeNeedName": "The theme needs a name",
180-
"ThemeWithSameName": "There is a theme already called that",
181-
"InvalidThemeName": "This is a invalid name",
182-
"Editing": "Editing",
183-
"ResetTheme": "Reset Theme",
184-
"WaitingForInternetUpdate": "Waiting for internet to update",
185-
"DoesntExist": "doesn't exist",
186-
"SomethingHappenedWhile": "Something happened while getting",
187-
"ThemeColours": "theme colours",
188-
"ThemeMetadata": "theme metadata",
189-
"CantOpenOrSaveThemeFile": "Couldn't {open/save} theme file",
190-
"Save": "save",
191-
"Open": "open",
192-
"Saving": "saving",
193-
"Getting": "getting",
194-
"CouldntDownload": "Couldn't download",
195-
"CouldntDelete": "Couldn't delete",
196-
"ProcessFindError": "Something happened while finding Discord processes, going to stop showing gridCheckForDiscord",
197-
"Log": "Log",
198-
"Credits": "Credits",
199-
"Programs": "Programs",
200-
"Page": "page",
201-
"ShowPageTooltips": "Show page buttons tooltips",
202-
"TempDisableDiscordCheck": "Temporary disable Discord checking",
203-
"InternetBack": "Internet connection is back",
204-
"InternetLost": "Internet connection has been lost",
205-
"ThemeEditor": "Theme Editor",
206-
"ThemeIcons": "Theme Icons",
207-
"CustomTriggers": "Custom Triggers",
208-
"CustomPage": "Custom Page",
209-
"Admin": "Admin Mode",
210-
"NeedAdmin": "Your Discord client is running under administrator, MultiRPC needs admin approval to run.\nGo to settings and click on Admin Mode.",
211-
"AdminRequired": "Admin Required",
212-
"ShareHelp": "Click on \"Export\" to generate a code that you can share with other MultiRPC users or post one in the field and click \"Import\""
108+
"HideTaskbarIcon": "Cacher l'icone de la barre des tâches"
213109
}

0 commit comments

Comments
 (0)