Browse Source

Fix comments

Sondre Njåstad 1 year ago
parent
commit
9a0d612dff
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/UI/UIDesktop.js
  2. 1 1
      src/UI/UIItem.js

+ 1 - 1
src/UI/UIDesktop.js

@@ -1197,7 +1197,7 @@ $(document).on('click', '.user-options-menu-btn', async function(e){
                     // see if there are any open windows, if yes notify user
                     if($('.window-app').length > 0){
                         const alert_resp = await UIAlert({
-                            message: `<p></p>`,
+                            message: `<p>${i18n('confirm_open_apps_log_out')}</p>`,
                             buttons:[
                                 {
                                     label: i18n('close_all_Windows_and_log_out'),

+ 1 - 1
src/UI/UIItem.js

@@ -1245,7 +1245,7 @@ function UIItem(options){
                     html: i18n('delete_permanently'),
                     onClick: async function(){
                         const alert_resp = await UIAlert({
-                            message: ` you want to permanently delete this item?`,
+                            message: i18n('configm_delete_single_item'),
                             buttons:[
                                 {
                                     label: i18n('delete'),