diff options
-rw-r--r-- | controller/translationcontroller.php | 1 | ||||
-rw-r--r-- | js/app/directives/iconpicker.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php index 8d5f613f..ab34259a 100644 --- a/controller/translationcontroller.php +++ b/controller/translationcontroller.php @@ -145,6 +145,7 @@ class TranslationController extends ApiController { 'use.icon' => $this->trans->t('Use this icon'), 'use.icon.delete' => $this->trans->t('Delete current icon'), 'use.icon.refresh' => $this->trans->t('Get icon from page'), + 'use.icon.refresh.trying' => $this->trans->t('This may take a few seconds...'), 'use.icon.refresh.error' => $this->trans->t('There was an error fetching the icon!'), 'selected.icon' => $this->trans->t('Selected icon'), diff --git a/js/app/directives/iconpicker.js b/js/app/directives/iconpicker.js index 0992bc54..67da640e 100644 --- a/js/app/directives/iconpicker.js +++ b/js/app/directives/iconpicker.js @@ -116,6 +116,7 @@ }; scope.refreshUrlIcon = function(){ + NotificationService.showNotification($translate.instant('use.icon.refresh.trying'), 5000); var queryUrl = OC.generateUrl('apps/passman/api/v2/geticon/'+btoa(scope.credential.url)); $http.get(queryUrl).then(function (response) { if(typeof response.data.content !== 'undefined'){ |