Skip to content

Commit 80e777e

Browse files
committed
Add progress text to tour configuration and translations
1 parent e227997 commit 80e777e

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/main/js/apps/sample/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
],
8686
"nextBtnText": "${tour.buttons.next}",
8787
"prevBtnText": "${tour.buttons.prev}",
88-
"doneBtnText": "${tour.buttons.done}"
88+
"doneBtnText": "${tour.buttons.done}",
89+
"progressText": "${tour.progressText}"
8990
}
9091
},
9192
"banner": {

src/main/js/apps/sample/nls/bundle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export default {
3939
next: "Next",
4040
prev: "Previous",
4141
done: "Done"
42-
}
42+
},
43+
progressText: "{{current}} of {{total}}"
4344
}
4445
},
4546
de: true

src/main/js/apps/sample/nls/de/bundle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export default {
3838
next: "Nächster Schritt",
3939
prev: "Vorheriger Schritt",
4040
done: "Fertig"
41-
}
41+
},
42+
progressText: "{{current}} von {{total}}"
4243
}
4344
};

src/main/js/bundles/dn_intro/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ Example from the `app.json` file:
7979
],
8080
"nextBtnText": "${tour.buttons.next}",
8181
"prevBtnText": "${tour.buttons.prev}",
82-
"doneBtnText": "${tour.buttons.done}"
82+
"doneBtnText": "${tour.buttons.done}",
83+
"progressText": "${tour.progressText}"
8384
}
8485
},
8586
}

0 commit comments

Comments
 (0)