File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ public function getLanguageStrings() {
145145 'use.icon ' => $ this ->trans ->t ('Use this icon ' ),
146146 'use.icon.delete ' => $ this ->trans ->t ('Delete current icon ' ),
147147 'use.icon.refresh ' => $ this ->trans ->t ('Get icon from page ' ),
148+ 'use.icon.refresh.trying ' => $ this ->trans ->t ('This may take a few seconds... ' ),
148149 'use.icon.refresh.error ' => $ this ->trans ->t ('There was an error fetching the icon! ' ),
149150 'selected.icon ' => $ this ->trans ->t ('Selected icon ' ),
150151
Original file line number Diff line number Diff line change 116116 } ;
117117
118118 scope . refreshUrlIcon = function ( ) {
119+ NotificationService . showNotification ( $translate . instant ( 'use.icon.refresh.trying' ) , 5000 ) ;
119120 var queryUrl = OC . generateUrl ( 'apps/passman/api/v2/geticon/' + btoa ( scope . credential . url ) ) ;
120121 $http . get ( queryUrl ) . then ( function ( response ) {
121122 if ( typeof response . data . content !== 'undefined' ) {
You can’t perform that action at this time.
0 commit comments