Skip to content

Commit 6e6fbdd

Browse files
committed
Merge pull request #99605 from Alex2782/fix_errmsg_java_sdk_path
Fix missing space after period in error message.
2 parents 57125f4 + 796d943 commit 6e6fbdd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

platform/android/export/export_plugin.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,15 +2529,15 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
25292529
// Check for the bin directory.
25302530
Ref<DirAccess> da = DirAccess::open(java_sdk_path.path_join("bin"), &errn);
25312531
if (errn != OK) {
2532-
err += TTR("Invalid Java SDK path in Editor Settings.");
2532+
err += TTR("Invalid Java SDK path in Editor Settings.") + " ";
25332533
err += TTR("Missing 'bin' directory!");
25342534
err += "\n";
25352535
valid = false;
25362536
} else {
25372537
// Check for the `java` command.
25382538
String java_path = get_java_path();
25392539
if (!FileAccess::exists(java_path)) {
2540-
err += TTR("Unable to find 'java' command using the Java SDK path.");
2540+
err += TTR("Unable to find 'java' command using the Java SDK path.") + " ";
25412541
err += TTR("Please check the Java SDK directory specified in Editor Settings.");
25422542
err += "\n";
25432543
valid = false;
@@ -2554,7 +2554,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
25542554
// Check for the platform-tools directory.
25552555
Ref<DirAccess> da = DirAccess::open(sdk_path.path_join("platform-tools"), &errn);
25562556
if (errn != OK) {
2557-
err += TTR("Invalid Android SDK path in Editor Settings.");
2557+
err += TTR("Invalid Android SDK path in Editor Settings.") + " ";
25582558
err += TTR("Missing 'platform-tools' directory!");
25592559
err += "\n";
25602560
valid = false;
@@ -2563,7 +2563,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
25632563
// Validate that adb is available.
25642564
String adb_path = get_adb_path();
25652565
if (!FileAccess::exists(adb_path)) {
2566-
err += TTR("Unable to find Android SDK platform-tools' adb command.");
2566+
err += TTR("Unable to find Android SDK platform-tools' adb command.") + " ";
25672567
err += TTR("Please check in the Android SDK directory specified in Editor Settings.");
25682568
err += "\n";
25692569
valid = false;
@@ -2572,7 +2572,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
25722572
// Check for the build-tools directory.
25732573
Ref<DirAccess> build_tools_da = DirAccess::open(sdk_path.path_join("build-tools"), &errn);
25742574
if (errn != OK) {
2575-
err += TTR("Invalid Android SDK path in Editor Settings.");
2575+
err += TTR("Invalid Android SDK path in Editor Settings.") + " ";
25762576
err += TTR("Missing 'build-tools' directory!");
25772577
err += "\n";
25782578
valid = false;
@@ -2585,7 +2585,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
25852585
// Validate that apksigner is available.
25862586
String apksigner_path = get_apksigner_path(target_sdk_version.to_int());
25872587
if (!FileAccess::exists(apksigner_path)) {
2588-
err += TTR("Unable to find Android SDK build-tools' apksigner command.");
2588+
err += TTR("Unable to find Android SDK build-tools' apksigner command.") + " ";
25892589
err += TTR("Please check in the Android SDK directory specified in Editor Settings.");
25902590
err += "\n";
25912591
valid = false;

0 commit comments

Comments
 (0)