Skip to content

Commit aa050c6

Browse files
ewpattonjisqyv
authored andcommitted
Include locale in TutorialURL panel
Change-Id: Iaad92f5476f011aeffec1e8aa1dd8e5e6dadfad0
1 parent 7339fbf commit aa050c6

File tree

1 file changed

+4
-0
lines changed
  • appinventor/appengine/src/com/google/appinventor/client

1 file changed

+4
-0
lines changed

appinventor/appengine/src/com/google/appinventor/client/Ode.java

+4
Original file line numberDiff line numberDiff line change
@@ -2632,6 +2632,10 @@ public void setTutorialURL(String newURL) {
26322632
designToolbar.setTutorialToggleVisible(false);
26332633
setTutorialVisible(false);
26342634
} else {
2635+
String locale = Window.Location.getParameter("locale");
2636+
if (locale != null) {
2637+
newURL += (newURL.contains("?") ? "&" : "?") + "locale=" + locale;
2638+
}
26352639
tutorialPanel.setUrl(newURL);
26362640
designToolbar.setTutorialToggleVisible(true);
26372641
setTutorialVisible(true);

0 commit comments

Comments
 (0)