From 58d5e7446b8b5bc85843105aa8ae9b663db29b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 28 Oct 2020 13:28:44 +0100 Subject: [PATCH] MOBILE-3565 icons: Use ion-icon instead of core-icon --- .../show-password/core-show-password.html | 4 +- .../login/pages/credentials/credentials.html | 4 +- src/app/core/login/pages/site/site.html | 6 +- src/app/core/login/pages/sites/sites.html | 8 +- src/app/core/mainmenu/pages/menu/menu.html | 4 +- src/app/core/mainmenu/pages/more/more.html | 15 ++- src/app/core/settings/pages/about/about.html | 6 +- src/app/core/settings/pages/app/app.html | 10 +- .../settings/pages/deviceinfo/deviceinfo.html | 2 +- src/assets/lang/en.json | 121 ------------------ 10 files changed, 30 insertions(+), 150 deletions(-) diff --git a/src/app/components/show-password/core-show-password.html b/src/app/components/show-password/core-show-password.html index f71a8a10f..d90db3f49 100644 --- a/src/app/components/show-password/core-show-password.html +++ b/src/app/components/show-password/core-show-password.html @@ -1,4 +1,4 @@ - - \ No newline at end of file + + diff --git a/src/app/core/login/pages/credentials/credentials.html b/src/app/core/login/pages/credentials/credentials.html index e01cec562..35661eec5 100644 --- a/src/app/core/login/pages/credentials/credentials.html +++ b/src/app/core/login/pages/credentials/credentials.html @@ -9,7 +9,7 @@ - + @@ -45,7 +45,7 @@
{{ 'core.login.or' | translate }}
- + {{ 'core.scanqr' | translate }} diff --git a/src/app/core/login/pages/site/site.html b/src/app/core/login/pages/site/site.html index 559e7cf3e..e32e9d561 100644 --- a/src/app/core/login/pages/site/site.html +++ b/src/app/core/login/pages/site/site.html @@ -9,7 +9,7 @@ - + @@ -37,7 +37,7 @@

{{ 'core.login.selectsite' | translate }}

- +

{{ 'core.login.yourenteredsite' | translate }}

{{enteredSiteUrl.noProtocolUrl}}

@@ -92,7 +92,7 @@ diff --git a/src/app/core/login/pages/sites/sites.html b/src/app/core/login/pages/sites/sites.html index 805287344..8f0cab8f1 100644 --- a/src/app/core/login/pages/sites/sites.html +++ b/src/app/core/login/pages/sites/sites.html @@ -8,11 +8,11 @@ - + - + @@ -31,13 +31,13 @@ {{site.badge}} - +
- + diff --git a/src/app/core/mainmenu/pages/menu/menu.html b/src/app/core/mainmenu/pages/menu/menu.html index 049b5a234..c0f28c217 100644 --- a/src/app/core/mainmenu/pages/menu/menu.html +++ b/src/app/core/mainmenu/pages/menu/menu.html @@ -6,13 +6,13 @@ - + {{ tab.title | translate }} {{ tab.badge }} - + {{ 'core.more' | translate }} diff --git a/src/app/core/mainmenu/pages/more/more.html b/src/app/core/mainmenu/pages/more/more.html index 2426cab14..7d440ad0c 100644 --- a/src/app/core/mainmenu/pages/more/more.html +++ b/src/app/core/mainmenu/pages/more/more.html @@ -22,7 +22,7 @@ - +

{{ handler.title | translate}}

@@ -31,20 +31,20 @@
- +

{{item.label}}

- +

{{item.label}}

- +

{{ 'core.scanqr' | translate }}

@@ -62,7 +62,7 @@
- +

{{ 'core.settings.preferences' | translate }}

@@ -74,8 +74,9 @@
- - + +

{{ 'core.settings.appsettings' | translate }}

diff --git a/src/app/core/settings/pages/about/about.html b/src/app/core/settings/pages/about/about.html index bf1262e5f..c0d25bb80 100644 --- a/src/app/core/settings/pages/about/about.html +++ b/src/app/core/settings/pages/about/about.html @@ -15,15 +15,15 @@

{{ appName }} {{ versionName }}

- + {{ 'core.settings.opensourcelicenses' | translate }} - + {{ 'core.settings.privacypolicy' | translate }} - + {{ 'core.settings.deviceinfo' | translate }} diff --git a/src/app/core/settings/pages/app/app.html b/src/app/core/settings/pages/app/app.html index 584a4e456..8e2c9448b 100644 --- a/src/app/core/settings/pages/app/app.html +++ b/src/app/core/settings/pages/app/app.html @@ -10,24 +10,24 @@ - + {{ 'core.settings.general' | translate }} - + {{ 'core.settings.spaceusage' | translate }} - + {{ 'core.settings.synchronization' | translate }} - + {{ 'core.sharedfiles.sharedfiles' | translate }} - + {{ 'core.settings.about' | translate }} diff --git a/src/app/core/settings/pages/deviceinfo/deviceinfo.html b/src/app/core/settings/pages/deviceinfo/deviceinfo.html index 0fdd400de..b892896e3 100644 --- a/src/app/core/settings/pages/deviceinfo/deviceinfo.html +++ b/src/app/core/settings/pages/deviceinfo/deviceinfo.html @@ -8,7 +8,7 @@ - + diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index 7eeea14b8..183d1f99f 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -340,127 +340,6 @@ "core.courses.sendpaymentbutton": "Send payment via PayPal", "core.courses.show": "Restore to view", "core.courses.totalcoursesearchresults": "Total courses: {{$a}}", - "core.login.auth_email": "Email-based self-registration", - "core.login.authenticating": "Authenticating", - "core.login.cancel": "Cancel", - "core.login.changepassword": "Change password", - "core.login.changepasswordbutton": "Open the change password page", - "core.login.changepasswordhelp": "If you have problems changing your password, please contact your site administrator. \"Site Administrators\" are the people who manages the Moodle at your school/university/company or learning organisation. If you don't know how to contact them, please contact your teachers/trainers.", - "core.login.changepasswordinstructions": "You cannot change your password in the app. Please click the following button to open the site in a web browser to change your password. Take into account you need to close the browser after changing the password as you will not be redirected to the app.", - "core.login.changepasswordlogoutinstructions": "If you prefer to change site or log out, please click the following button:", - "core.login.changepasswordreconnectinstructions": "Click the following button to reconnect to the site. (Take into account that if you didn't change your password successfully, you would return to the previous screen).", - "core.login.confirmdeletesite": "Are you sure you want to delete the site {{sitename}}?", - "core.login.connect": "Connect!", - "core.login.connecttomoodle": "Connect to Moodle", - "core.login.connecttomoodleapp": "You are trying to connect to a regular Moodle site. Please download the official Moodle app to access this site.", - "core.login.connecttoworkplaceapp": "You are trying to connect to a Moodle Workplace site. Please download the Moodle Workplace app to access this site.", - "core.login.contactyouradministrator": "Contact your site administrator for further help.", - "core.login.contactyouradministratorissue": "Please ask your site administrator to check the following issue: {{$a}}", - "core.login.createaccount": "Create my new account", - "core.login.createuserandpass": "Choose your username and password", - "core.login.credentialsdescription": "Please provide your username and password to log in.", - "core.login.emailconfirmsent": "

An email should have been sent to your address at {{$a}}

\n

It contains easy instructions to complete your registration.

\n

If you continue to have difficulty, contact the site administrator.

", - "core.login.emailconfirmsentnoemail": "

An email should have been sent to your address.

It contains easy instructions to complete your registration.

If you continue to have difficulty, contact the site administrator.

", - "core.login.emailconfirmsentsuccess": "Confirmation email sent successfully", - "core.login.emailnotmatch": "Emails do not match", - "core.login.erroraccesscontrolalloworigin": "The cross-origin call you're trying to perform has been rejected. Please check https://docs.moodle.org/dev/Moodle_Mobile_development_using_Chrome_or_Chromium", - "core.login.errordeletesite": "An error occurred while deleting this site. Please try again.", - "core.login.errorexampleurl": "The URL https://campus.example.edu is only an example URL, it's not a real site. Please use the URL of your school or organization's site.", - "core.login.errorqrnoscheme": "This URL isn't a valid login URL.", - "core.login.errorupdatesite": "An error occurred while updating the site's token.", - "core.login.faqcannotconnectanswer": "Please, contact your site administrator.", - "core.login.faqcannotconnectquestion": "I typed my site address correctly but I still can't connect.", - "core.login.faqcannotfindmysiteanswer": "Have you typed the name correctly? It's also possible that your site is not included in our public sites directory. If you still can't find it, please enter your site address instead.", - "core.login.faqcannotfindmysitequestion": "I can't find my site.", - "core.login.faqsetupsiteanswer": "Visit {{$link}} to check out the different options you have to create your own Moodle site.", - "core.login.faqsetupsitelinktitle": "Get started.", - "core.login.faqsetupsitequestion": "I want to set up my own Moodle site.", - "core.login.faqtestappanswer": "To test the app in a Moodle Demo Site, type \"teacher\" or \"student\" in the \"Your site\" field and click the \"Connect to your site\" button.", - "core.login.faqtestappquestion": "I just want to test the app, what can I do?", - "core.login.faqwhatisurlanswer": "

Every organisation has their own unique address or URL for their Moodle site. To find the address:

  1. Open a web browser and go to your Moodle site login page.
  2. At the top of the page, in the address bar, you will see the URL of your Moodle site e.g. \"campus.example.edu\".
    {{$image}}
  3. Copy the address (do not copy the /login and what comes after), paste it into the Moodle app then click \"Connect to your site\"
  4. Now you can log in to your site using your username and password.
  5. ", - "core.login.faqwhatisurlquestion": "What is my site address? How can I find my site URL?", - "core.login.faqwhereisqrcode": "Where can I find the QR code?", - "core.login.faqwhereisqrcodeanswer": "

    If your organisation has enabled it, you will find a QR code on the web site at the bottom of your user profile page.

    {{$image}}", - "core.login.findyoursite": "Find your site", - "core.login.firsttime": "Is this your first time here?", - "core.login.forcepasswordchangenotice": "You must change your password to proceed.", - "core.login.forgotten": "Forgotten your username or password?", - "core.login.help": "Help", - "core.login.helpmelogin": "

    There are many thousands of Moodle sites around the world. This app can only connect to Moodle sites that have specifically enabled Mobile app access.

    If you can't connect to your Moodle site then you need to contact your site administrator and ask them to read http://docs.moodle.org/en/Mobile_app

    To test the app in a Moodle demo site type teacher or student in the Site address field and click the Connect button.

    ", - "core.login.instructions": "Instructions", - "core.login.invalidaccount": "Please check your login details or ask your site administrator to check the site configuration.", - "core.login.invaliddate": "Invalid date", - "core.login.invalidemail": "Invalid email address", - "core.login.invalidmoodleversion": "

    Invalid Moodle site version. The Moodle app only supports Moodle systems {{$a}} onwards.

    \n

    You can contact your site administrators and ask them to update their Moodle system.

    \n

    \"Site Administrators\" are the people who manages the Moodle at your school/university/company or learning organisation. If you don't know how to contact them, please contact your teachers/trainers.

    ", - "core.login.invalidsite": "The site URL is invalid.", - "core.login.invalidtime": "Invalid time", - "core.login.invalidurl": "Invalid URL specified", - "core.login.invalidvaluemax": "The maximum value is {{$a}}", - "core.login.invalidvaluemin": "The minimum value is {{$a}}", - "core.login.localmobileunexpectedresponse": "Moodle Mobile Additional Features check returned an unexpected response. You will be authenticated using the standard mobile service.", - "core.login.loggedoutssodescription": "You have to authenticate again. You need to log in to the site in a browser window.", - "core.login.login": "Log in", - "core.login.loginbutton": "Log in", - "core.login.logininsiterequired": "You need to log in to the site in a browser window.", - "core.login.loginsteps": "For full access to this site, you first need to create an account.", - "core.login.missingemail": "Missing email address", - "core.login.missingfirstname": "Missing given name", - "core.login.missinglastname": "Missing surname", - "core.login.mobileservicesnotenabled": "Mobile access is not enabled on your site. Please contact your site administrator if you think it should be enabled.", - "core.login.mustconfirm": "You need to confirm your account", - "core.login.newaccount": "New account", - "core.login.notloggedin": "You need to be logged in.", - "core.login.onboardingcreatemanagecourses": "Create & manage your courses", - "core.login.onboardingenrolmanagestudents": "Enrol & manage your students", - "core.login.onboardinggetstarted": "Get started with Moodle", - "core.login.onboardingialreadyhaveasite": "I already have a Moodle site", - "core.login.onboardingimalearner": "I'm a learner", - "core.login.onboardingimaneducator": "I'm an educator", - "core.login.onboardingineedasite": "I need a Moodle site", - "core.login.onboardingprovidefeedback": "Provide timely feedback", - "core.login.onboardingtoconnect": "To connect to the Moodle App you'll need a Moodle site", - "core.login.onboardingwelcome": "Welcome to the Moodle App!", - "core.login.or": "OR", - "core.login.password": "Password", - "core.login.passwordforgotten": "Forgotten password", - "core.login.passwordforgotteninstructions2": "To reset your password, submit your username or your email address below. If we can find you in the database, an email will be sent to your email address, with instructions how to get access again.", - "core.login.passwordrequired": "Password required", - "core.login.policyaccept": "I understand and agree", - "core.login.policyagree": "You must agree to this policy to continue using this site. Do you agree?", - "core.login.policyagreement": "Site policy agreement", - "core.login.policyagreementclick": "Link to site policy agreement", - "core.login.potentialidps": "Log in using your account on:", - "core.login.profileinvaliddata": "Invalid value", - "core.login.recaptchachallengeimage": "reCAPTCHA challenge image", - "core.login.recaptchaexpired": "Verification expired. Answer the security question again.", - "core.login.recaptchaincorrect": "The security question answer is incorrect.", - "core.login.reconnect": "Reconnect", - "core.login.reconnectdescription": "Your authentication token is invalid or has expired. You have to reconnect to the site.", - "core.login.reconnectssodescription": "Your authentication token is invalid or has expired. You have to reconnect to the site. You need to log in to the site in a browser window.", - "core.login.resendemail": "Resend email", - "core.login.searchby": "Search by:", - "core.login.security_question": "Security question", - "core.login.selectacountry": "Select a country", - "core.login.selectsite": "Please select your site:", - "core.login.signupplugindisabled": "{{$a}} is not enabled.", - "core.login.signuprequiredfieldnotsupported": "The signup form contains a required custom field that isn't supported in the app. Please create your account using a web browser.", - "core.login.siteaddress": "Your site", - "core.login.siteaddressplaceholder": "https://campus.example.edu", - "core.login.sitehasredirect": "Your site contains at least one HTTP redirect. The app cannot follow redirects, this could be the issue that's preventing the app from connecting to your site.", - "core.login.siteinmaintenance": "Your site is in maintenance mode", - "core.login.sitepolicynotagreederror": "Site policy not agreed.", - "core.login.siteurl": "Site URL", - "core.login.siteurlrequired": "Site URL required i.e http://www.yourmoodlesite.org", - "core.login.startsignup": "Create new account", - "core.login.stillcantconnect": "Still can't connect?", - "core.login.supplyinfo": "More details", - "core.login.username": "Username", - "core.login.usernameoremail": "Enter either username or email address", - "core.login.usernamerequired": "Username required", - "core.login.usernotaddederror": "User not added - error", - "core.login.visitchangepassword": "Do you want to visit the site to change the password?", - "core.login.webservicesnotenabled": "Your host site may not have enabled Web services. Please contact your administrator for help.", - "core.login.youcanstillconnectwithcredentials": "You can still connect to the site by entering your username and password.", "core.login.yourenteredsite": "Connect to your site", "core.mainmenu.changesite": "Change site", "core.mainmenu.help": "Help",