From 96dd185bbea2a0982ad79229e60d6b0a060b34bd Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 7 Sep 2022 16:03:51 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- src/main.cpp | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 41b7ae4..37a48a4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # Region Free Plugin -This plugin allows you to launch an title of an other region and / or force a language of an title. +This plugin allows you to launch a title of an other region and / or force the language of a title. ## Installation (`[ENVIRONMENT]` is a placeholder for the actual environment name.) @@ -18,20 +18,20 @@ The plugin has a built in auto detection, so in most cases it just works out of Via the plugin config menu (press L, DPAD Down and Minus on the gamepad) you can configure the plugin. The available options are the following: -- **Auto detect region/language**: Enabled/Disabled the auto detection of the region/language. When you disable it, you need/can set the region and language for a title on each title start. Enabled by default. +- **Auto detect region/language**: Enables/Disables the auto detection of the region/language. When you disable it, you need/can set the region and language for a title on each title start. Enabled by default. - **Force auto detection for in-region titles**: Force auto detection when starting a title of your region, even if auto detection is disabled. Enabled by default. -- **Prefer systen language for in-region titles**: Forces the region and language of your console when starting a title of your region (Ignoring "Default Language for Region"). Enabled by default. +- **Prefer system language for in-region titles**: Forces the region and language of your console when starting a title of your region (Ignoring "Default language for XXX"). Enabled by default. - **Default language for EUR**: Sets the default language for EUR titles. Set to english by default. - **Default language for USA**: Sets the default language for USA titles. Set to english by default. If the auto detection fails, the user needs to enter a region/language on the title boot. -The plugin keeps tracks the region/language the user has selected for an title. +The plugin keeps tracks the region/language the user has selected for a title. Scenario: - - The User has disabled the auto detection and booted a EUR version of Mario Kart 8 in german on their US console. + - The User has disabled the auto detection and booted a EUR version of Mario Kart 8 in German on their US console. - The User then enables the auto detection and set the default language for EUR titles to English. - - The EUR version of Mario Kart 8 will still boot in german. To change the language the user has to disable the auto detection and reboot the title. + - The EUR version of Mario Kart 8 will still boot in German. To change the language the user has to disable the auto detection and reboot the title. ## Building using the Dockerfile @@ -50,4 +50,4 @@ docker run -it --rm -v ${PWD}:/project regionfree_plugin-builder make clean ## Format the code via docker -`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src -i` \ No newline at end of file +`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src -i` diff --git a/src/main.cpp b/src/main.cpp index b82f0f6..6df2417 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -460,7 +460,7 @@ WUPS_GET_CONFIG() { getConfigInfoForLangMap(eur_lang_map, lang_eur_pair, gDefaultLangForEUR, &default_index_eur, &number_lang_eur_values); - WUPSConfigItemMultipleValues_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_EUR, "Default Language for EUR", default_index_eur, lang_eur_pair, number_lang_eur_values, + WUPSConfigItemMultipleValues_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_EUR, "Default language for EUR", default_index_eur, lang_eur_pair, number_lang_eur_values, &default_lang_changed); ConfigItemMultipleValuesPair lang_usa_pair[eur_lang_map.size()]; @@ -469,7 +469,7 @@ WUPS_GET_CONFIG() { getConfigInfoForLangMap(usa_lang_map, lang_usa_pair, gDefaultLangForUSA, &default_index_usa, &number_lang_usa_values); - WUPSConfigItemMultipleValues_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_USA, "Default Language for USA", default_index_usa, lang_usa_pair, number_lang_usa_values, + WUPSConfigItemMultipleValues_AddToCategoryHandled(config, cat, VAL_DEFAULT_LANG_USA, "Default language for USA", default_index_usa, lang_usa_pair, number_lang_usa_values, &default_lang_changed); return config;