Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions www/core/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"allparticipants": "All participants",
"android": "Android",
"areyousure": "Are you sure?",
"back": "Back",
"cancel": "Cancel",
"cannotconnect": "Cannot connect: Verify that you have typed correctly the URL and that your site uses Moodle 2.4 or later.",
"cannotdownloadfiles": "File downloading is disabled in your Mobile service. Please, contact your site administrator.",
Expand Down
1 change: 1 addition & 0 deletions www/core/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"allparticipants": "Todos los participantes",
"android": "Android",
"areyousure": "¿Està seguro?",
"back": "Atrás",
"cancel": "Cancelar",
"cannotconnect": "No se puede conectar: Verifique que la URL es correcta y que el sitio Moodle usa la versión 2.4 o posterior.",
"cannotdownloadfiles": "La descarga de archivos está deshabilitada en su servicio Mobile. Por favor contacte al administrador de su sitio.",
Expand Down
5 changes: 5 additions & 0 deletions www/core/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ angular.module('mm.core', ['pascalprecht.translate'])
// Use JS scrolling.
$ionicConfigProvider.scrolling.jsScrolling(true);

// Translate back button (it's only shown in iOS and browser).
if (!ionic.Platform.isAndroid()) {
$ionicConfigProvider.backButton.text("{{'mm.core.back' | translate}}");
}

// Decorate $ionicPlatform.
$provide.decorator('$ionicPlatform', ['$delegate', '$window', function($delegate, $window) {
$delegate.isTablet = function() {
Expand Down