mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-05 00:04:00 +01:00
121
lang/chinese-simplified.php
Normal file
121
lang/chinese-simplified.php
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
// Chinese language translation
|
||||
// by: @lzh370 (GitHub)
|
||||
// @lzh370 (Twitter)
|
||||
|
||||
// Please preserve formatting, line breaks, special characters, anything in <tags> and HTML equivalents (eg &). Translations on right side.
|
||||
|
||||
$text = array(
|
||||
|
||||
// / [ROOT LEVEL]
|
||||
|
||||
"editor" =>
|
||||
array(
|
||||
"Click icons for..." => "<b>点击图标<br>求助 &<br>使用信息</b>",
|
||||
"server" => "服务器",
|
||||
"Server name, OS..." => "服务器名称, OS & IP:",
|
||||
"Root" => "根目录:",
|
||||
"ICEcoder root" => "ICEcoder 根目录:",
|
||||
"PHP version" => "PHP 版本:",
|
||||
"Date & time" => "日期 & 时间:",
|
||||
"your device" => "你的设备",
|
||||
"Browser" => "浏览器:",
|
||||
"Your IP" => "你的 IP:",
|
||||
"files" => "文件",
|
||||
"Last 10 files..." => "最后10个打开的文件:",
|
||||
"none" => "[none]",
|
||||
"test suite" => "测试套件",
|
||||
"Run unit tests" => "运行单元测试",
|
||||
"dev mode" => "开发模式",
|
||||
"Status" => "状态",
|
||||
"Using" => "使用",
|
||||
"You can switch..." => "你可以在 lib/config__settings.php 中设置开发模式开关",
|
||||
"results" => "结果"
|
||||
|
||||
),
|
||||
|
||||
"files" =>
|
||||
array(
|
||||
"Lock" => "锁定",
|
||||
"Refresh" => "刷新",
|
||||
"ROOT" => "[ROOT]"
|
||||
|
||||
),
|
||||
|
||||
"index" =>
|
||||
array(
|
||||
"UPDATE INFO" => "更新信息",
|
||||
"now available" => "现在可以",
|
||||
"Your version is" => "你的版本是",
|
||||
"Update now" => "现在更新",
|
||||
"You have some..." => "你有一些未保存的更改",
|
||||
"working" => "载入中",
|
||||
"Color picker" => "颜色选择器",
|
||||
"New File" => "新建文件",
|
||||
"New Folder" => "新建文件夹",
|
||||
"Upload File(s)" => "上传文件",
|
||||
"Paste" => "粘贴",
|
||||
"Open" => "打开",
|
||||
"Copy" => "复制",
|
||||
"Duplicate" => "副本",
|
||||
"Delete" => "删除",
|
||||
"Rename" => "重命名",
|
||||
"View Webpage" => "预览网页",
|
||||
"Download" => "下载",
|
||||
"Properties" => "属性",
|
||||
"File" => "文件",
|
||||
"Edit" => "编辑",
|
||||
"Remote" => "远程",
|
||||
"Help" => "帮助",
|
||||
"Save" => "保存",
|
||||
"Save As" => "另存为",
|
||||
"Live Preview" => "实时预览",
|
||||
"Upload" => "上传",
|
||||
"Zip" => "压缩",
|
||||
"Print" => "打印",
|
||||
"Fullscreen toggle" => "全屏切换",
|
||||
"Logout" => "退出",
|
||||
"Undo" => "撤销",
|
||||
"Redo" => "重做",
|
||||
"Indent more" => "增加缩进",
|
||||
"Indent less" => "减少缩进",
|
||||
"Autocomplete" => "自动完成",
|
||||
"Comment/Uncomment" => "注释 / 清除注释",
|
||||
"Jump to Definition" => "跳转至指定行",
|
||||
"Manual" => "手册",
|
||||
"Shortcuts" => "快捷键",
|
||||
"Settings" => "设置",
|
||||
"Search for selected" => "搜索选择",
|
||||
"website" => "网站",
|
||||
"Close all tabs" => "关闭所有选项卡",
|
||||
"Alphabetize tabs" => "按字母顺序排列的选项卡",
|
||||
"Find" => "搜索",
|
||||
"in" => "搜索",
|
||||
"and" => "替换",
|
||||
"replace" => "替换",
|
||||
"replace all" => "替换所有",
|
||||
"this document" => "当前文件",
|
||||
"open documents" => "打开的文件",
|
||||
"all files" => "所有文件",
|
||||
"all filenames" => "所有文件名",
|
||||
"Turn on/off..." => "开启/关闭代码辅助",
|
||||
"Code Assist" => "代码辅助",
|
||||
"Go to Line" => "转到行",
|
||||
"View" => "预览",
|
||||
"Bug reporting not active" => "错误报告没有激活"
|
||||
),
|
||||
|
||||
// /LIB
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "设置密码",
|
||||
"login" => "登陆",
|
||||
"To disable registration..." => "要禁用注册模式, 请打开设置或打开文件 lib/config___settings.php 并更改 enableRegistration 为 false , 并重新载入本页面",
|
||||
"Registration mode enabled" => "注册模式已启用",
|
||||
"auto-check for updates" => "自动检测更新",
|
||||
"To put into..." => "要禁用多用户模式, 请打开设置或打开文件 lib/config___settings.php 并更改 multiUser 为 true , 并重新载入本页面",
|
||||
"multi-user" => "多用户"
|
||||
)
|
||||
);
|
||||
?>
|
||||
BIN
lang/chinese-traditional.php
Normal file
BIN
lang/chinese-traditional.php
Normal file
Binary file not shown.
@@ -108,6 +108,39 @@ in lib/config__settings.php",
|
||||
|
||||
// /LIB
|
||||
|
||||
"bug-files-check" =>
|
||||
array(
|
||||
"Found in" => "Found in:"
|
||||
),
|
||||
|
||||
"file-control" =>
|
||||
array(
|
||||
"Sorry" => "Sorry",
|
||||
"does not seem..." => "does not seem to exist on the server",
|
||||
"Sorry, could not..." => "Sorry, could not get contents of",
|
||||
"Sorry, cannot create..." => "Sorry, cannot create folder at",
|
||||
"Sorry, cannot copy" => "Sorry, cannot copy",
|
||||
"into" => "into",
|
||||
"Uploaded file(s) OK" => "Uploaded file(s) OK",
|
||||
"Sorry, cannot upload" => "Sorry, cannot upload",
|
||||
"Sorry, cannot upload..." => "Sorry, cannot upload whilst in demo mode",
|
||||
"Sorry, cannot rename" => "Sorry, cannot rename",
|
||||
"Maybe public write..." => "Maybe public write permissions needed on this or parent folder?",
|
||||
"Sorry, cannot move" => "Sorry, cannot move",
|
||||
"Sorry, cannot save" => "Sorry, cannot save",
|
||||
"Sorry, cannot replace..." => "Sorry, cannot replace text in",
|
||||
"Sorry, cannot change..." => "Sorry, cannot change permissions on",
|
||||
"Sorry, cannot delete..." => "Sorry, cannot delete the root level",
|
||||
"Sorry, cannot delete" => "Sorry, cannot delete",
|
||||
"Sorry, this file..." => "Sorry, this file has changed, cannot save",
|
||||
"Reload this file..." => "Reload this file and copy your version to a new document?",
|
||||
"There was a..." => "There was a tech hiccup, likely something was not quite ready. So ICEcoder reloaded its file control again.",
|
||||
"displayed at" => "displayed at",
|
||||
"Enter filename to..." => "Enter filename to save at",
|
||||
"That file exists..." => "That file exists already, overwrite?",
|
||||
"Saving" => "Saving"
|
||||
),
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "set password",
|
||||
|
||||
122
lang/french.php
Normal file
122
lang/french.php
Normal file
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
// French language translation
|
||||
// par: @krisxoofoo (GitHub)
|
||||
// @kris_fr Twitter)
|
||||
|
||||
// Please preserve formatting, line breaks, special characters, anything in <tags> and HTML equivalents (eg &). Translations on right side.
|
||||
|
||||
$text = array(
|
||||
|
||||
// / [ROOT LEVEL]
|
||||
|
||||
"editor" =>
|
||||
array(
|
||||
"Click icons for..." => "<b>Cliquez sur les icônes<br>pour l'aide &<br>et infos d'utilisation</b>",
|
||||
"server" => "serveur",
|
||||
"Server name, OS..." => "Nom du serveur, OS & IP :",
|
||||
"Root" => "Racine :",
|
||||
"ICEcoder root" => "Racine d'ICEcoder :",
|
||||
"PHP version" => "Version PHP :",
|
||||
"Date & time" => "Date & heure :",
|
||||
"your device" => "Votre équipement",
|
||||
"Browser" => "Navigateur :",
|
||||
"Your IP" => "Votre IP :",
|
||||
"files" => "fichiers",
|
||||
"Last 10 files..." => "10 derniers fichiers ouverts :",
|
||||
"none" => "[aucun]",
|
||||
"test suite" => "Suite de test",
|
||||
"Run unit tests" => "Lancer les tests unit",
|
||||
"dev mode" => "Mode dev",
|
||||
"Status" => "Statuts",
|
||||
"Using" => "Utilise",
|
||||
"You can switch..." => "Vous pouvez basculer le mode dev on/off
|
||||
dans lib/config__settings.php",
|
||||
"results" => "résultats"
|
||||
|
||||
),
|
||||
|
||||
"files" =>
|
||||
array(
|
||||
"Lock" => "Verrouiller",
|
||||
"Refresh" => "Rafraîchir",
|
||||
"ROOT" => "[RACINE]"
|
||||
|
||||
),
|
||||
|
||||
"index" =>
|
||||
array(
|
||||
"UPDATE INFO" => "INFO DE MISE A JOUR",
|
||||
"now available" => "actuellement disponible",
|
||||
"Your version is" => "Votre version est la",
|
||||
"Update now" => "Mettre à jour maintenant",
|
||||
"You have some..." => "Vous avez quelques changements non sauvegardés",
|
||||
"working" => "en progression",
|
||||
"Color picker" => "Sélecteur de couleur",
|
||||
"New File" => "Nouveau fichier",
|
||||
"New Folder" => "Nouveau dossier",
|
||||
"Upload File(s)" => "Télécharger le(s) Fichier(s)",
|
||||
"Paste" => "Coller",
|
||||
"Open" => "Ouvrir",
|
||||
"Copy" => "Copier",
|
||||
"Duplicate" => "Dupliquer",
|
||||
"Delete" => "Effacer",
|
||||
"Rename" => "Renommer",
|
||||
"View Webpage" => "Afficher la page web",
|
||||
"Download" => "Télécharger",
|
||||
"Properties" => "Propriétés",
|
||||
"File" => "Fichier",
|
||||
"Edit" => "Editer",
|
||||
"Remote" => "Distant",
|
||||
"Help" => "Aide",
|
||||
"Save" => "Enregistrer",
|
||||
"Save As" => "Enregistrer sous",
|
||||
"Live Preview" => "Prévisualisation",
|
||||
"Upload" => "Télécharger",
|
||||
"Zip" => "Compresser",
|
||||
"Print" => "Imprimer",
|
||||
"Fullscreen toggle" => "Basculer en mode plein écran",
|
||||
"Logout" => "Déconnexion",
|
||||
"Undo" => "Annuler",
|
||||
"Redo" => "Refaire",
|
||||
"Indent more" => "Plus d'indentation",
|
||||
"Indent less" => "Moins d'indentation",
|
||||
"Autocomplete" => "Autocomplétion",
|
||||
"Comment/Uncomment" => "Commenter/Décommenter",
|
||||
"Jump to Definition" => "Aller à la Définition",
|
||||
"Manual" => "Manuel",
|
||||
"Shortcuts" => "Raccourcis",
|
||||
"Settings" => "Préférences",
|
||||
"Search for selected" => "Rechercher pour la sélection",
|
||||
"website" => "Site internet",
|
||||
"Close all tabs" => "Fermer les onglets",
|
||||
"Alphabetize tabs" => "Onglets par ordre alphabétique",
|
||||
"Find" => "Trouver",
|
||||
"in" => "dans",
|
||||
"and" => "et",
|
||||
"replace" => "remplacer",
|
||||
"replace all" => "remplacer tout",
|
||||
"this document" => "ce document",
|
||||
"open documents" => "ouvrir les documents",
|
||||
"all files" => "tous les ficheirs",
|
||||
"all filenames" => "tous les noms de fichiers",
|
||||
"Turn on/off..." => "Basculer on/off l'assistance au code",
|
||||
"Code Assist" => "Assistance au Code",
|
||||
"Go to Line" => "Aller à la ligne",
|
||||
"View" => "Afficher",
|
||||
"Bug reporting not active" => "La communication de dysfonctionnement n'est pas actif"
|
||||
),
|
||||
|
||||
// /LIB
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "définir un mot de passe",
|
||||
"login" => "Connexion",
|
||||
"To disable registration..."=> "Pour désactiver le mode 'enregsitrement', ouvrir le menu des préférences ou le fichier lib/config___settings.php et modifier enableRegistration à 'false', puis recharger cette page",
|
||||
"Registration mode enabled" => "Mode Enregistrement activé",
|
||||
"auto-check for updates" => "vérification automatique pour les mises à jour",
|
||||
"To put into..." => "Pour passer en mode 'multi-utilisateur', ouvrir le menu des preférences ou le ifchier lib/config___settings.php et modifier multiUser à 'true', puis recharger cette page",
|
||||
"multi-user" => "multi-utilisateur"
|
||||
)
|
||||
);
|
||||
?>
|
||||
121
lang/italian.php
Normal file
121
lang/italian.php
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
// Italian language translation
|
||||
// by: @luciorota (GitHub)
|
||||
// @luciorota (lucio.rota@gmail.com)
|
||||
|
||||
// Please preserve formatting, line breaks, special characters, anything in <tags> and HTML equivalents (eg &). Translations on right side.
|
||||
|
||||
$text = array(
|
||||
|
||||
// / [ROOT LEVEL]
|
||||
|
||||
"editor" =>
|
||||
array(
|
||||
"Click icons for..." => "<b>Clicca le icone<br>per l'aiuto &<br>la guida</b>",
|
||||
"server" => "server",
|
||||
"Server name, OS..." => "Nome server, Sistema operativo e indirizzo IP...",
|
||||
"Root" => "Root:",
|
||||
"ICEcoder root" => "ICEcoder root:",
|
||||
"PHP version" => "Versione PHP:",
|
||||
"Date & time" => "Data & ora:",
|
||||
"your device" => "dispositivo in uso",
|
||||
"Browser" => "Browser:",
|
||||
"Your IP" => "Indirizzo IP:",
|
||||
"files" => "file",
|
||||
"Last 10 files..." => "Ultimi 10 file aperti:",
|
||||
"none" => "[nessuno]",
|
||||
"test suite" => "prova suite",
|
||||
"Run unit tests" => "Eseguire i test di unità",
|
||||
"dev mode" => "modalità sviluppo",
|
||||
"Status" => "Stato",
|
||||
"Using" => "Utilizzo",
|
||||
"You can switch..." => "È possibile attivare/disattivare la modalità sviluppo nel file lib/config__settings.php",
|
||||
"results" => "risultati"
|
||||
|
||||
),
|
||||
|
||||
"files" =>
|
||||
array(
|
||||
"Lock" => "Blocca",
|
||||
"Refresh" => "Aggiorna",
|
||||
"ROOT" => "[ROOT]"
|
||||
|
||||
),
|
||||
|
||||
"index" =>
|
||||
array(
|
||||
"UPDATE INFO" => "INFORMAZIONI AGGIORNAMENTO",
|
||||
"now available" => "disponibile ora",
|
||||
"Your version is" => "La tua versione è",
|
||||
"Update now" => "Aggiorna ora",
|
||||
"You have some..." => "Ci sono modifiche non salvate",
|
||||
"working" => "working",
|
||||
"Color picker" => "Selettore colore",
|
||||
"New File" => "Nuovo file",
|
||||
"New Folder" => "Nuova cartella",
|
||||
"Upload File(s)" => "Carica File",
|
||||
"Paste" => "Incolla",
|
||||
"Open" => "Apri",
|
||||
"Copy" => "Copia",
|
||||
"Duplicate" => "Duplica",
|
||||
"Delete" => "Elimina",
|
||||
"Rename" => "Rinomina",
|
||||
"View Webpage" => "Visualizza la pagina Web",
|
||||
"Download" => "Scarica",
|
||||
"Properties" => "Propietà",
|
||||
"File" => "File",
|
||||
"Edit" => "Modifica",
|
||||
"Remote" => "Remoto",
|
||||
"Help" => "Aiuto",
|
||||
"Save" => "Salva",
|
||||
"Save As" => "Salva come...",
|
||||
"Live Preview" => "Anteprima",
|
||||
"Upload" => "Carica",
|
||||
"Zip" => "Comprimi...",
|
||||
"Print" => "Stampa",
|
||||
"Fullscreen toggle" => "Modo schermo pieno",
|
||||
"Logout" => "Logout",
|
||||
"Undo" => "Annulla",
|
||||
"Redo" => "Riesegui",
|
||||
"Indent more" => "Aumenta rientro",
|
||||
"Indent less" => "Riduci rientro",
|
||||
"Autocomplete" => "Autocompleta",
|
||||
"Comment/Uncomment" => "Commenta/Rimuovere il commento",
|
||||
"Jump to Definition" => "Vai alla Definizione",
|
||||
"Manual" => "Manuale",
|
||||
"Shortcuts" => "Scorciatorie",
|
||||
"Settings" => "Configurazione",
|
||||
"Search for selected" => "Cerca selezionato",
|
||||
"website" => "sito web",
|
||||
"Close all tabs" => "Chiudi tutte le schede",
|
||||
"Alphabetize tabs" => "Ordina schede",
|
||||
"Find" => "Trova",
|
||||
"in" => "in",
|
||||
"and" => "e",
|
||||
"replace" => "sostituisci",
|
||||
"replace all" => "sostituisci tutto",
|
||||
"this document" => "questo documento",
|
||||
"open documents" => "apri documenti",
|
||||
"all files" => "tutti i file",
|
||||
"all filenames" => "titti i nomi",
|
||||
"Turn on/off..." => "Attiva/disattiva code assist",
|
||||
"Code Assist" => "Code Assist",
|
||||
"Go to Line" => "Vai alla riga",
|
||||
"View" => "Visualizza",
|
||||
"Bug reporting not active" => "Segnalazione bug non attiva"
|
||||
),
|
||||
|
||||
// /LIB
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "imposta password",
|
||||
"login" => "login",
|
||||
"To disable registration..." => "Per disabilitare la Modalità registrazione, utilizza il menu di configurazione oppure apri il file lib/config___settings.php, modifica enableRegistration a false e ricarica questa pagina",
|
||||
"Registration mode enabled" => "Modalità registrazione attivata",
|
||||
"auto-check for updates" => "verifica automaticamente per aggiornamenti",
|
||||
"To put into..." => "Per attivare la Modalità multi-utente, utilizza il menu di configurazione oppure apri il file lib/config___settings.php, modifica multiUser a true e ricarica questa pagina",
|
||||
"multi-user" => "multi-utente"
|
||||
)
|
||||
);
|
||||
?>
|
||||
121
lang/persian.php
Normal file
121
lang/persian.php
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
// Persian language translation
|
||||
// by: @voltan (GitHub)
|
||||
// @azizabadi_ (Twitter)
|
||||
|
||||
// Please preserve formatting, line breaks, special characters, anything in <tags> and HTML equivalents (eg &). Translations on right side.
|
||||
|
||||
$text = array(
|
||||
|
||||
// / [ROOT LEVEL]
|
||||
|
||||
"editor" =>
|
||||
array(
|
||||
"Click icons for..." => "<b>بر روی آیکن ها کلیک کنید<br>برای راهنمایی &<br>اطلاعات استفاده</b>",
|
||||
"server" => "سرور",
|
||||
"Server name, OS..." => "نام سرور ، سیستم عامل و آی پی :",
|
||||
"Root" => "روت:",
|
||||
"ICEcoder root" => "ICEcoder روت :",
|
||||
"PHP version" => "نسخه پی اچ پی:",
|
||||
"Date & time" => "زمان و تاریخ :",
|
||||
"your device" => "دستگاه شما",
|
||||
"Browser" => "مرورگر :",
|
||||
"Your IP" => "آی پی شما:",
|
||||
"files" => "فایل ها",
|
||||
"Last 10 files..." => "آخرین ۱۰ فایل باز شده",
|
||||
"none" => "[پوچ]",
|
||||
"test suite" => "تست سویت",
|
||||
"Run unit tests" => "اجرای تست های واحد",
|
||||
"dev mode" => "حالت توسعه دهنده",
|
||||
"Status" => "وضعیت",
|
||||
"Using" => "استفاده",
|
||||
"You can switch..." => "شما میتوانید حالت توسعه را از lib/config__settings.php روشن یا خاموش کنید",
|
||||
"results" => "نتایج"
|
||||
|
||||
),
|
||||
|
||||
"files" =>
|
||||
array(
|
||||
"Lock" => "قفل",
|
||||
"Refresh" => "بارگذاری مجدد",
|
||||
"ROOT" => "[ریشه]"
|
||||
|
||||
),
|
||||
|
||||
"index" =>
|
||||
array(
|
||||
"UPDATE INFO" => "اطلاعات به روز رسانی",
|
||||
"now available" => "هم اکنون در دسترس است",
|
||||
"Your version is" => "نسخه مورد استفاده شما",
|
||||
"Update now" => "به روز کنید",
|
||||
"You have some..." => "شما چند تغییر ذخیره نشده دارید",
|
||||
"working" => "در حال کار",
|
||||
"Color picker" => "اشاره گر رنگ",
|
||||
"New File" => "فایل جدید",
|
||||
"New Folder" => "پوشه جدید",
|
||||
"Upload File(s)" => "بارگذاری فایل",
|
||||
"Paste" => "چسباندن",
|
||||
"Open" => "باز کردن",
|
||||
"Copy" => "کپی کردن",
|
||||
"Duplicate" => "تهیه نسخه دوم",
|
||||
"Delete" => "حذف",
|
||||
"Rename" => "تغیر نام",
|
||||
"View Webpage" => "نمایش وب سایت",
|
||||
"Download" => "دریافت",
|
||||
"Properties" => "ویژگی ها",
|
||||
"File" => "فایل",
|
||||
"Edit" => "ویرایش",
|
||||
"Remote" => "کنترل از راه دور",
|
||||
"Help" => "کمک",
|
||||
"Save" => "ذخیره",
|
||||
"Save As" => "ذخیره به عنوان",
|
||||
"Live Preview" => "پیش نمایش زنده",
|
||||
"Upload" => "بارگذاری",
|
||||
"Zip" => "زیپ",
|
||||
"Print" => "چاپ",
|
||||
"Fullscreen toggle" => "نمایش تمام صفحه",
|
||||
"Logout" => "خروج",
|
||||
"Undo" => "برگشت",
|
||||
"Redo" => "ازنو",
|
||||
"Indent more" => "کم کردن فاصله",
|
||||
"Indent less" => "زیاد کردن فاصله",
|
||||
"Autocomplete" => "تکمیل خودکار",
|
||||
"Comment/Uncomment" => "نظر/ضد نظر",
|
||||
"Jump to Definition" => "انتقال به تعریف",
|
||||
"Manual" => "دستی",
|
||||
"Shortcuts" => "کلید های میانبر",
|
||||
"Settings" => "تنظیمات",
|
||||
"Search for selected" => "جستجو برای انتخاب شده ها",
|
||||
"website" => "وب سایت",
|
||||
"Close all tabs" => "بستن همه پنجره ها",
|
||||
"Alphabetize tabs" => "مرتب سازی پنجره ها بر اساس حروف الفبا",
|
||||
"Find" => "یافتن",
|
||||
"in" => "در",
|
||||
"and" => "و",
|
||||
"replace" => "جایگزین کردن",
|
||||
"replace all" => "جایگزین کردن همه",
|
||||
"this document" => "این سند",
|
||||
"open documents" => "سند های باز",
|
||||
"all files" => "همه فایل ها",
|
||||
"all filenames" => "همه نام فایل ها",
|
||||
"Turn on/off..." => "روشن / خاموش کردن کد کمد",
|
||||
"Code Assist" => "کد کمک",
|
||||
"Go to Line" => "برو به خط",
|
||||
"View" => "نمایش",
|
||||
"Bug reporting not active" => "گزارش اشکال فعال نیست"
|
||||
),
|
||||
|
||||
// /LIB
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "تنظیم واژه رمز",
|
||||
"login" => "ورود",
|
||||
"To disable registration..." => "برای غیر فعال کردن حالت ثبت نام ، منوی تنظیمات را باز کنید و یا فایل lib/config___settings.php را باز کنید و گزینه enableRegistration را به false تغییر دهید. سپس این صفحه را بارگذاری مجدد نمایید",
|
||||
"Registration mode enabled" => "حالت ثبت نام فعال است",
|
||||
"auto-check for updates" => "بررسی خودکار برای به روز رسانی",
|
||||
"To put into..." => "برای وارد شدن به حالت چند کاربره ، منوی تنظیمات را باز کنید و یا فایل lib/config___settings.php و گزینه multiUser را به true تغییر دهید و و ذخیره کنید. سپس این صفحه را بارگذاری مجدد نمایید",
|
||||
"multi-user" => "چند کاربره"
|
||||
)
|
||||
);
|
||||
?>
|
||||
@@ -2,6 +2,8 @@
|
||||
// Load common functions
|
||||
include("headers.php");
|
||||
include_once("settings-common.php");
|
||||
$text = $_SESSION['text'];
|
||||
$t = $text['bug-files-check'];
|
||||
|
||||
$files = explode(",",str_replace("|","/",$_GET['files']));
|
||||
$filesSizesSeen = explode(",",$_GET['filesSizesSeen']);
|
||||
@@ -76,7 +78,7 @@ if ($result != "error") {
|
||||
$output = rtrim(str_replace("\r\n","\n",$output));
|
||||
$output = explode("\n",$output);
|
||||
$output = array_slice($output, -$maxLines);
|
||||
$output = "Found in: ".$filename."...\n".implode("\n",$output);
|
||||
$output = $t['Found in']." ".$filename."...\n".implode("\n",$output);
|
||||
|
||||
if ($filesWithNewBugs==1) {
|
||||
file_put_contents("../tmp/bug-report.log", $output);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
include("headers.php");
|
||||
include("settings.php");
|
||||
$t = $text['file-control'];
|
||||
?>
|
||||
<script>
|
||||
<?php
|
||||
@@ -50,7 +51,7 @@ if ($_GET['action']=="load") {
|
||||
echo 'fileType="other";window.open(\'http://'.$_SERVER['SERVER_NAME'].$fileLoc."/".$fileName.'\');';
|
||||
};
|
||||
} else {
|
||||
echo 'fileType="nothing"; top.ICEcoder.message(\'Sorry, '.$fileLoc."/".$fileName.' doesn\\\'t seem to exist on the server\');';
|
||||
echo 'fileType="nothing"; top.ICEcoder.message(\''.$t['Sorry'].', '.$fileLoc."/".$fileName.' '.$t['does not seem...'].'\');';
|
||||
}
|
||||
|
||||
};
|
||||
@@ -66,7 +67,7 @@ if ($_GET['action']=="getRemoteFile") {
|
||||
echo '</script><textarea name="remoteFile" id="remoteFile">'.str_replace("</textarea>","<ICEcoder:/:textarea>",str_replace("&","&",$remoteFile)).'</textarea><script>';
|
||||
echo 'top.ICEcoder.getcMInstance().setValue(document.getElementById("remoteFile").value);action="getRemoteFile";';
|
||||
} else {
|
||||
echo 'action="nothing"; top.ICEcoder.message(\'Sorry, could\\\'t get contents of '.$file.'\');';
|
||||
echo 'action="nothing"; top.ICEcoder.message(\''.$t['Sorry, could not...'].' '.$file.'\');';
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -78,7 +79,7 @@ if ($_GET['action']=="newFolder") {
|
||||
// Reload file manager
|
||||
echo 'top.ICEcoder.selectedFiles=[];top.ICEcoder.updateFileManagerList(\'add\',\''.$fileLoc.'\',\''.$fileName.'\',false,false,false,\'folder\');action="newFolder";';
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot create folder at\\n".$fileLoc."');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot create...']."\\n".$fileLoc."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -128,7 +129,7 @@ if ($_GET['action']=="paste") {
|
||||
// Reload file manager
|
||||
echo 'top.ICEcoder.updateFileManagerList(\'add\',\''.strClean(str_replace("|","/",$_GET['location'])).'\',\''.basename($dest).'\',false,false,false,\''.$fileOrFolder.'\');action="pasteFile";';
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot copy \\n".str_replace($docRoot,"",$source)."\\n into \\n".str_replace($docRoot,"",$dest)."');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot copy']." \\n".str_replace($docRoot,"",$source)."\\n ".$t['into']." \\n".str_replace($docRoot,"",$dest)."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -144,9 +145,9 @@ if ($_GET['action']=="upload") {
|
||||
$this->uploadFile=$uploadDir.$current->name;
|
||||
$fileName = $current->name;
|
||||
if ($this->upload($current,$this->uploadFile)) {
|
||||
echo 'action="upload"; top.ICEcoder.updateFileManagerList(\'add\',top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,\'/\'),\''.str_replace("'","\'",$fileName).'\',false,false,true,\'file\'); top.ICEcoder.serverMessage("Uploaded file(s) OK");setTimeout(function(){top.ICEcoder.serverMessage();},2000);';
|
||||
echo 'action="upload"; top.ICEcoder.updateFileManagerList(\'add\',top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,\'/\'),\''.str_replace("'","\'",$fileName).'\',false,false,true,\'file\'); top.ICEcoder.serverMessage("'.$t['Uploaded file(s) OK'].'");setTimeout(function(){top.ICEcoder.serverMessage();},2000);';
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot upload \\n".$fileName."\\n into \\n'+top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,'/'));";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot upload']." \\n".$fileName."\\n ".$t['into']." \\n'+top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,'/'));";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -173,7 +174,7 @@ if ($_GET['action']=="upload") {
|
||||
$fileUploader=new fileUploader($uploads);
|
||||
}
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot upload whilst in demo mode');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot upload...']."');";
|
||||
}
|
||||
|
||||
echo "top.ICEcoder.hideFileMenu();top.document.getElementById('fileInput').value='';top.ICEcoder.showHide('hide',top.document.getElementById('loadingMask'));";
|
||||
@@ -191,7 +192,7 @@ if ($_GET['action']=="rename") {
|
||||
}
|
||||
}
|
||||
if (!$renamed) {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot rename\\n".strClean($_GET['oldFileName'])."\\n\\nMaybe public write permissions needed on this or parent folder?');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot rename']."\\n".strClean($_GET['oldFileName'])."\\n\\n".$t['Maybe public write...']."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -212,7 +213,7 @@ if ($_GET['action']=="move") {
|
||||
}
|
||||
}
|
||||
if (!$moved) {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot move\\n".strClean($_GET['oldFileName'])."\\n\\nMaybe public write permissions needed on this or parent folder?');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot move']."\\n".strClean($_GET['oldFileName'])."\\n\\n".$t['Maybe public write...']."');";
|
||||
}
|
||||
} else {
|
||||
echo "action='nothing';";
|
||||
@@ -226,12 +227,12 @@ if ($_GET['action']=="replaceText") {
|
||||
$file = str_replace("|","/",strClean($_GET['fileRef']));
|
||||
$loadedFile = toUTF8noBOM(file_get_contents($file,false,$context),true);
|
||||
$newContent = str_replace(strClean($_GET['find']),strClean($_GET['replace']),$loadedFile);
|
||||
$fh = fopen($file, 'w') or die("Sorry, cannot save");
|
||||
$fh = fopen($file, 'w') or die($t['Sorry, cannot save']);
|
||||
fwrite($fh, $newContent);
|
||||
fclose($fh);
|
||||
echo 'action="replaceText";';
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot replace text in\\n".strClean($_GET['fileRef'])."');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot replace...']."\\n".strClean($_GET['fileRef'])."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -244,7 +245,7 @@ if ($_GET['action']=="perms") {
|
||||
echo 'top.ICEcoder.selectedFiles=[];top.ICEcoder.updateFileManagerList(\'chmod\',\''.$fileLoc.'\',\''.$fileName.'\',\''.numClean($_GET['perms']).'\');';
|
||||
echo 'action="perms";';
|
||||
} else {
|
||||
echo "action='nothing'; top.ICEcoder.message('Sorry, cannot change permissions on \\n".strClean($file)."');";
|
||||
echo "action='nothing'; top.ICEcoder.message('".$t['Sorry, cannot change...']." \\n".strClean($file)."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -258,7 +259,7 @@ if ($_GET['action']=="delete") {
|
||||
$fullPath = $docRoot.$iceRoot.$fullPath;
|
||||
|
||||
if (rtrim($fullPath,"/") == rtrim($docRoot,"/")) {
|
||||
echo "top.ICEcoder.message('Sorry can\\'t delete the root level');";
|
||||
echo "top.ICEcoder.message('".$t['Sorry, cannot delete...']."');";
|
||||
} else if (!$demoMode && is_writable($fullPath)) {
|
||||
is_dir($fullPath)
|
||||
? rrmdir($fullPath)
|
||||
@@ -270,7 +271,7 @@ if ($_GET['action']=="delete") {
|
||||
echo 'top.ICEcoder.selectedFiles=[];top.ICEcoder.updateFileManagerList(\'delete\',\''.$fileLoc.'\',\''.$fileName.'\');';
|
||||
echo 'action="delete";';
|
||||
} else {
|
||||
echo "top.ICEcoder.message('Sorry can\\'t delete\\n".str_replace($docRoot,"",$fullPath)."');";
|
||||
echo "top.ICEcoder.message('".$t['Sorry, cannot delete']."\\n".str_replace($docRoot,"",$fullPath)."');";
|
||||
}
|
||||
echo 'action="nothing";';
|
||||
}
|
||||
@@ -300,7 +301,7 @@ if ($_GET['action']=="save") {
|
||||
if (!$demoMode && ((file_exists($file) && is_writable($file)) || isset($_POST['newFileName']) && $_POST['newFileName']!="")) {
|
||||
$filemtime = $serverType=="Linux" ? filemtime($file) : "1000000";
|
||||
if (!(isset($_GET['fileMDT']))||$filemtime==$_GET['fileMDT']) {
|
||||
$fh = fopen($file, 'w') or die("Sorry, cannot save");
|
||||
$fh = fopen($file, 'w') or die($t['Sorry, cannot save']);
|
||||
// replace \r\n (Windows), \r (old Mac) and \n (Linux) line endings with whatever we chose to be lineEnding
|
||||
$contents = $_POST['contents'];
|
||||
$contents = str_replace("\r\n", $ICEcoder["lineEnding"], $contents);
|
||||
@@ -336,7 +337,7 @@ if ($_GET['action']=="save") {
|
||||
echo '</script><textarea name="loadedFile" id="loadedFile">'.str_replace("</textarea>","<ICEcoder:/:textarea>",htmlentities($loadedFile)).'</textarea>';
|
||||
echo '<textarea name="userVersionFile" id="userVersionFile"></textarea><script>';
|
||||
?>
|
||||
var refreshFile = top.ICEcoder.ask('Sorry, this file has changed, cannot save\n<?php echo $file;?>\n\nReload this file and copy your version to a new document?');
|
||||
var refreshFile = top.ICEcoder.ask('<?php echo $t['Sorry, this file...']."\n".$file."\n\n".$t['Reload this file...'];?>');
|
||||
if (refreshFile) {
|
||||
var cM = top.ICEcoder.getcMInstance();
|
||||
var thisTab = top.ICEcoder.selectedTab;
|
||||
@@ -358,7 +359,7 @@ if ($_GET['action']=="save") {
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
echo "action='nothing';top.ICEcoder.message('Sorry, cannot write\\n".$file."');";
|
||||
echo "action='nothing';top.ICEcoder.message('".$t['Sorry, cannot save']."\\n".$file."');";
|
||||
}
|
||||
echo 'top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);';
|
||||
}
|
||||
@@ -368,7 +369,7 @@ if (action=="load") {
|
||||
if (fileType=="text") {
|
||||
setTimeout(function() {
|
||||
if (!top.ICEcoder.content.contentWindow.createNewCMInstance) {
|
||||
console.log('There was tech hiccup, likely something wasn\'t quite ready. So ICEcoder reloaded it\'s file control again.');
|
||||
console.log('<?php echo $t['There was a...']; ?>');
|
||||
window.location.reload();
|
||||
<?php
|
||||
if (file_exists($file)) {
|
||||
@@ -414,7 +415,7 @@ if (action=="load") {
|
||||
top.document.getElementById('blackMask').style.visibility = "visible";
|
||||
top.document.getElementById('mediaContainer').innerHTML =
|
||||
"<canvas id=\"canvasPicker\" width=\"1\" height=\"1\" style=\"position: absolute; margin: 10px 0 0 10px; cursor: crosshair\" onmouseover=\"top.ICEcoder.overPopup=true\" onmouseout=\"top.ICEcoder.overPopup=false\"></canvas>" +
|
||||
"<img src=\"<?php echo $fileLoc."/".$fileName;?>\" class=\"whiteGlow\" style=\"border: solid 10px #fff; max-width: 700px; max-height: 500px; background-color: #000; background-image: url('images/checkerboard.png')\" onLoad=\"reducedImgMsg = (this.naturalWidth > 700 || this.naturalHeight > 500) ? ', displayed at ' + this.width + ' x ' + this.height : ''; document.getElementById('imgInfo').innerHTML += ' (' + this.naturalWidth + ' x ' + this.naturalHeight + reducedImgMsg + ')'; top.ICEcoder.drawCanvasImage(this)\"><br>" +
|
||||
"<img src=\"<?php echo $fileLoc."/".$fileName;?>\" class=\"whiteGlow\" style=\"border: solid 10px #fff; max-width: 700px; max-height: 500px; background-color: #000; background-image: url('images/checkerboard.png')\" onLoad=\"reducedImgMsg = (this.naturalWidth > 700 || this.naturalHeight > 500) ? ', <?php echo $t['displayed at']; ?> ' + this.width + ' x ' + this.height : ''; document.getElementById('imgInfo').innerHTML += ' (' + this.naturalWidth + ' x ' + this.naturalHeight + reducedImgMsg + ')'; top.ICEcoder.drawCanvasImage(this)\"><br>" +
|
||||
"<div class=\"whiteGlow\" style=\"display: inline-block; margin-top: -10px; border: solid 10px #fff; color: #000; background-color: #fff\" id=\"imgInfo\" onmouseover=\"top.ICEcoder.overPopup=true\" onmouseout=\"top.ICEcoder.overPopup=false\">" +
|
||||
"<b><?php echo $fileLoc."/".$fileName;?></b>" +
|
||||
"</div><br>" +
|
||||
@@ -440,18 +441,18 @@ if (action=="save") {
|
||||
if (strpos($file,"[NEW]")>0||$saveType=="saveAs") {
|
||||
?>
|
||||
fileLoc = '<?php echo $fileLoc;?>';
|
||||
newFileName = top.ICEcoder.getInput('Enter filename to save at '+(fileLoc!='' ? fileLoc : '/'),'');
|
||||
newFileName = top.ICEcoder.getInput('<?php echo $t['Enter filename to save at']; ?> '+(fileLoc!='' ? fileLoc : '/'),'');
|
||||
if (newFileName) {
|
||||
if (newFileName.substr(0,1)!="/") {newFileName = "/" + newFileName}
|
||||
newFileName = fileLoc + newFileName;
|
||||
if (top.document.getElementById('filesFrame').contentWindow.document.getElementById(newFileName.replace(/\//g,"|"))) {
|
||||
overwriteOK = top.ICEcoder.ask('That file exists already, overwrite?');
|
||||
overwriteOK = top.ICEcoder.ask('<?php echo $t['That file exists...']; ?>');
|
||||
}
|
||||
}
|
||||
document.saveFile.newFileName.value = '<?php echo $docRoot; ?>' + newFileName;
|
||||
<?php ;};?>
|
||||
if ("undefined" == typeof newFileName || (newFileName && "undefined" == typeof overwriteOK) || ("undefined" != typeof overwriteOK && overwriteOK)) {
|
||||
top.ICEcoder.serverMessage('<b>Saving</b><br>'+ <?php echo strpos($file,"[NEW]")>0 ? "newFileName" : "'$file'"; ?>);
|
||||
top.ICEcoder.serverMessage('<b><?php echo $t['Saving']; ?></b><br>'+ <?php echo strpos($file,"[NEW]")>0 ? "newFileName" : "'$file'"; ?>);
|
||||
document.saveFile.contents.value = top.document.getElementById('saveTemp1').value;
|
||||
document.saveFile.submit();
|
||||
} else {
|
||||
|
||||
@@ -41,6 +41,7 @@ $ICEcoder = $ICEcoderSettings + $ICEcoderUserSettings;
|
||||
|
||||
// Include language file
|
||||
include(dirname(__FILE__)."/../lang/english.php");
|
||||
$_SESSION['text'] = $text;
|
||||
|
||||
// Login not required or we're in demo mode and have password set in our settings, log us straight in
|
||||
if ((!$ICEcoder['loginRequired'] || $ICEcoder['demoMode']) && $ICEcoder['password']!="") {$_SESSION['loggedIn']=true;};
|
||||
|
||||
Reference in New Issue
Block a user