Skip to content

Commit a488c19

Browse files
committed
Prompt when F5 (Ctrl-R) is pressed. It is common thing to refresh page after you have made some tweaks, and it is common thing to refresh wrong page and even although everything is saved and tabs will reopen - you will loose opened folders in fileManager and cursor positions in open files. So it's better to prompt anyway.
1 parent c198227 commit a488c19

12 files changed

Lines changed: 26 additions & 2 deletions

index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
return "<?php echo $t['You have some...'];?>.";
5858
}
5959
}
60+
return "<?php echo $t['Are you sure you want to close?'];?>";
6061
}
6162

6263
t = {

lang/chinese-simplified.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Your version is" => "你的版本是",
5050
"Update now" => "现在更新",
5151
"You have some..." => "你有一些未保存的更改",
52+
"Are you sure you want to close?" => "Are you sure you want to close?",
5253
"working" => "载入中",
5354
"Color picker" => "颜色选择器",
5455
"New File" => "新建文件",

lang/chinese-traditional.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Your version is" => "你的版本是",
5050
"Update now" => "現在更新",
5151
"You have some..." => "你有一些未保存的更改",
52+
"Are you sure you want to close?" => "Are you sure you want to close?",
5253
"working" => "裝載中",
5354
"Color picker" => "顔色選擇器",
5455
"New File" => "新建文件",

lang/dutch.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"Your version is" => "Uw versie is",
5252
"Update now" => "Nu updaten",
5353
"You have some..." => "Er zijn wijzigingen die niet opgeslagen zijn",
54+
"Are you sure you want to close?" => "Are you sure you want to close?",
5455
"working" => "bezig",
5556
"Color picker" => "Kleuren kiezer",
5657
"New File" => "Nieuw bestand",

lang/english.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"Your version is" => "Your version is",
4949
"Update now" => "Update now",
5050
"You have some..." => "You have some unsaved changes",
51+
"Are you sure you want to close?" => "Are you sure you want to close?",
5152
"working" => "working",
5253
"Color picker" => "Color picker",
5354
"New File" => "New File",
@@ -431,7 +432,19 @@
431432
"updater" =>
432433
array(
433434
"Update appears to..." => "Update appears to be successful"
434-
)
435-
435+
),
436+
437+
"find-in-files" =>
438+
array(
439+
"Enter path to search in" => "Enter path to search in",
440+
"Enter semicolon-separated masks of files to look at (e.g. *.php;*.html;*.js)" => "Enter semicolon-separated masks of files to look at (e.g. *.php;*.html;*.js)",
441+
"Type of text" => "Type of text",
442+
"Fixed text" => "Fixed text",
443+
"Regular expression" => "Regular expression",
444+
"Case sensitive" => "Case sensitive",
445+
"Yes" => "Yes",
446+
"No" => "No",
447+
"Search" => "Search",
448+
),
436449
);
437450
?>

lang/french.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"Your version is" => "Votre version est la",
4949
"Update now" => "Mettre &agrave; jour maintenant",
5050
"You have some..." => "Vous avez quelques changements non sauvegard&eacute;s",
51+
"Are you sure you want to close?" => "Are you sure you want to close?",
5152
"working" => "en progression",
5253
"Color picker" => "S&eacute;lecteur de couleur",
5354
"New File" => "Nouveau fichier",

lang/german.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Your version is" => "Deine Version ist",
5050
"Update now" => "Jetzt aktualisieren",
5151
"You have some..." => "Du hast einige nicht gespeicherete Dateien",
52+
"Are you sure you want to close?" => "Are you sure you want to close?",
5253
"working" => "arbeite",
5354
"Color picker" => "Farbauswahl",
5455
"New File" => "Neue Datei",

lang/italian.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"Your version is" => "La tua versione Egrave;",
4949
"Update now" => "Aggiorna ora",
5050
"You have some..." => "Ci sono modifiche non salvate",
51+
"Are you sure you want to close?" => "Are you sure you want to close?",
5152
"working" => "working",
5253
"Color picker" => "Selettore di colore",
5354
"New File" => "Nuovo file",

lang/norwegian.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Your version is" => "Din versjon er",
5050
"Update now" => "Oppdater nå",
5151
"You have some..." => "Du har noe ulagrede endringer",
52+
"Are you sure you want to close?" => "Are you sure you want to close?",
5253
"working" => "arbeider",
5354
"Color picker" => "Fargevelger",
5455
"New File" => "Ny Fil",

lang/persian.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Your version is" => "نسخه مورد استفاده شما",
5050
"Update now" => "به روز کنید",
5151
"You have some..." => "شما چند تغییر ذخیره نشده دارید",
52+
"Are you sure you want to close?" => "Are you sure you want to close?",
5253
"working" => "در حال کار",
5354
"Color picker" => "اشاره گر رنگ",
5455
"New File" => "فایل جدید",

0 commit comments

Comments
 (0)