mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-04 15:54:00 +01:00
@@ -18,7 +18,7 @@ $isGitHubRepoDir = in_array($ICEcoder["root"],$ICEcoder['githubLocalPaths']);
|
||||
<script src="lib/ice-coder<?php if (!$ICEcoder['devMode']) {echo '.min';};?>.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
||||
<body onDblClick="top.ICEcoder.openFile()" onKeyDown="return top.ICEcoder.interceptKeys('files', event);" onKeyUp="top.ICEcoder.resetKeys(event);" onBlur="parent.ICEcoder.resetKeys(event);">
|
||||
<body onload="top.ICEcoder.showHideGithubNav(top.ICEcoder.githubDiff ? 'show' : 'hide')" onDblClick="top.ICEcoder.openFile()" onKeyDown="return top.ICEcoder.interceptKeys('files', event);" onKeyUp="top.ICEcoder.resetKeys(event);" onBlur="parent.ICEcoder.resetKeys(event);">
|
||||
|
||||
<div title="<?php echo $t['Lock'];?>" onClick="top.ICEcoder.lockUnlockNav()" id="fmLock" class="lock"></div>
|
||||
<div title="<?php echo $t['Refresh'];?>" onClick="top.ICEcoder.refreshFileManager()" class="refresh"></div>
|
||||
|
||||
@@ -97,6 +97,7 @@ $t = $text['index'];
|
||||
"top.ICEcoder.bugFileCheckTimer = ".$ICEcoder["bugFileCheckTimer"].";".
|
||||
"top.ICEcoder.bugFileMaxLines = ".$ICEcoder["bugFileMaxLines"].";";
|
||||
if($ICEcoder["githubAuthToken"] != "") {
|
||||
$_SESSION['githubAuthToken'] = $ICEcoder["githubAuthToken"];
|
||||
echo "top.ICEcoder.githubAuthTokenSet = true;";
|
||||
}
|
||||
echo "top.ICEcoder.csrf = '".$_SESSION["csrf"]."';";
|
||||
@@ -174,6 +175,11 @@ $t = $text['index'];
|
||||
<li><a nohref onclick="top.ICEcoder.canShowFMNav=true;top.ICEcoder.showHideFileNav('show','optionsHelp')" onmouseover="if(top.ICEcoder.canShowFMNav) {top.ICEcoder.showHideFileNav('show','optionsHelp')}" id="optionsHelpNav"><?php echo $t['Help'];?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="githubNav" class="githubNav">
|
||||
<div class="commit" id="githubNavCommit" onclick="top.ICEcoder.gitHubAction('commit')">Commit</div>
|
||||
<div class="selected" id="githubNavSelectedCount">Selected: 0</div>
|
||||
<div class="pull" id="githubNavPull" onclick="top.ICEcoder.gitHubAction('pull')">Pull</div>
|
||||
</div>
|
||||
<div class="options" id="fileOptions">
|
||||
<div id="optionsFile" class="optionsList" onmouseover="top.ICEcoder.showHideFileNav('show',this.id)" onmouseout="top.ICEcoder.showHideFileNav('hide',this.id);top.ICEcoder.canShowFMNav=false">
|
||||
<ul>
|
||||
|
||||
286
lang/dutch.php
286
lang/dutch.php
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
// Dutch language translation
|
||||
// Door: Julian Kaagman
|
||||
@dutchwaters (GitHub)
|
||||
|
||||
// Please preserve formatting, line breaks, special characters, anything in <tags> and HTML equivalents (eg &). Translations on right side.
|
||||
// Special chars: http://www.ascii.cl/htmlcodes.htm
|
||||
@@ -11,7 +12,7 @@ $text = array(
|
||||
|
||||
"editor" =>
|
||||
array(
|
||||
"Click icons for..." => "<b>Klik op de icoontjes<br>voor hulp &<br>gebruiks info</b>",
|
||||
"Click icons for..." => "<strong>Klik op de icoontjes<br>voor hulp &<br>gebruiks info</strong>",
|
||||
"server" => "server",
|
||||
"Server name, OS..." => "Server naam, besturingssysteem & IP:",
|
||||
"Root" => "Root:",
|
||||
@@ -66,7 +67,7 @@ in lib/config__settings.php",
|
||||
"Properties" => "Eigenschappen",
|
||||
"File" => "Bestand",
|
||||
"Edit" => "Bewerken",
|
||||
"Remote" => "Remote",
|
||||
"Remote" => "Extern",
|
||||
"Help" => "Help",
|
||||
"Save" => "Opslaan",
|
||||
"Save As" => "Opslaan als",
|
||||
@@ -80,10 +81,10 @@ in lib/config__settings.php",
|
||||
"Redo" => "Opnieuw",
|
||||
"Indent more" => "Rechts inspringen",
|
||||
"Indent less" => "Links verspringen",
|
||||
"Autocomplete" => "Autocomplete",
|
||||
"Autocomplete" => "Automatisch aanvullen",
|
||||
"Comment/Uncomment" => "Commentaar maken",
|
||||
"Jump to Definition" => "Spring naar definitie",
|
||||
"Manual" => "Manual",
|
||||
"Manual" => "Handleiding",
|
||||
"Shortcuts" => "Snelkoppeling",
|
||||
"Settings" => "Opties",
|
||||
"Search for selected" => "Zoek naar geselecteerd",
|
||||
@@ -99,8 +100,8 @@ in lib/config__settings.php",
|
||||
"open documents" => "open documenten",
|
||||
"all files" => "alle bestanden",
|
||||
"all filenames" => "alle bestandsnamen",
|
||||
"Turn on/off..." => "Schakel code assistent aan/uit",
|
||||
"Code Assist" => "Code assistent",
|
||||
"Turn on/off..." => "Schakel codehulp aan/uit",
|
||||
"Code Assist" => "Codehulp",
|
||||
"Go to Line" => "Ga naar regel",
|
||||
"View" => "Beeld",
|
||||
"Bug reporting not active" => "Bug rapportage niet actief"
|
||||
@@ -140,6 +141,135 @@ in lib/config__settings.php",
|
||||
"That file exists..." => "Dit bestand bestaat al, overschrijven?",
|
||||
"Saving" => "Opslaan"
|
||||
),
|
||||
|
||||
"get-branch" =>
|
||||
array(
|
||||
"There are no..." => "Er zijn geen verschillen aangetroffen tussen de lokale en de Github repo. Wilt u terug schakelen naar de normale modus?",
|
||||
"Sorry, there was..." => "Sorry, er is een fout opgetreden, foutcode:",
|
||||
"Your local folder..." => "Uw lokale map is leeg, wilt u de inhoud klonen"
|
||||
),
|
||||
|
||||
"github-manager" =>
|
||||
array(
|
||||
"Sorry, cannot create..." => "Sorry, kan geen map aanmaken op",
|
||||
"Cannot update config..." => "Kan het configuratie bestand niet updaten. Zet alstublieft eerst publieke schrijfrechten aan",
|
||||
"and try again" => "en probeer het opnieuw",
|
||||
"saving github paths" => "opslaan Github paden...",
|
||||
"github paths" => "Github paden",
|
||||
"Choose existing path" => "Kies een bestaand pad",
|
||||
"Local path" => "Lokaal pad",
|
||||
"Remote GitHub path" => "Extern Github pad",
|
||||
"Choose" => "Kies",
|
||||
"Set local and..." => "Maak het lokale en externe pad leeg, om te verwijderen",
|
||||
"Update" => "Update",
|
||||
"Add new path" => "Nieuw pad toevoegen",
|
||||
"Add" => "Toevoegen",
|
||||
"Usage Info" => "Gebruiks Info:",
|
||||
"Enter relative local..." => "Voer relatieve lokale paden (bv /server/mijnbestanden) en absolute Github paden (bv https://github.com/user/repo of https://github.com/user/repo/tree/branch voor vertakkingen (branches)), zoals het voorbeeld. Als je dit doet worden de bron paden op beide locaties gevestigd als een paar.",
|
||||
"You can then..." => "You can then choose a path pair and this then becomes your new root path in ICEcoder.",
|
||||
"The file manager..." => "The file manager then displays a new GitHub icon, which you can click on to perform and show a diff check between the 2 sources. These diffs can then be committed and pushed to the remote path at GitHub or cloned to your local path, to sync your files.",
|
||||
"If you want..." => "If you want to set another root path, this can be done in the Settings screen."
|
||||
),
|
||||
|
||||
"github" =>
|
||||
array(
|
||||
"Sorry, you do..." => "Sorry, you do not appear to have OpenSSL loaded on your PHP instance, so https is not available. This is required for GitHub data transfer, please amend php.ini settings, restart your server and try again"
|
||||
),
|
||||
|
||||
"headers" =>
|
||||
array(
|
||||
"Bad CSRF token..." => "Foute CSRF token. Graag de fout informatie delen op https://github.com/mattpass/ICEcoder zodat het kan worden opgelost."
|
||||
),
|
||||
|
||||
"help" =>
|
||||
array(
|
||||
"shortcuts" => "snelkoppelingen",
|
||||
"Within document" => "Binnen het document",
|
||||
"On Tabs" => "Op Tabs",
|
||||
"Within file manager" => "Binnen bestandsbeheer",
|
||||
"Anywhere" => "Overal",
|
||||
"Space" => "Spatie",
|
||||
"Click" => "Klik",
|
||||
"or" => "of",
|
||||
"Left click" => "Linker muisklik",
|
||||
"Middle click" => "Middelste muisklik",
|
||||
"Double click tap..." => "Dubbel klikken / tap (mobiele apparatuur)",
|
||||
"Right click" => "Rechter muisklik",
|
||||
"Middle scrollwheel" => "Midden scrollwiel",
|
||||
"Drag" => "Slepen",
|
||||
"Autocomplete add snippet" => "Aanvullen / toevoegen snippet",
|
||||
"Multiple select" => "Multi selecteren",
|
||||
"Move line up" => "Verplaats regel omhoog",
|
||||
"Move line down" => "Verplaats regel omlaag",
|
||||
"Duplicate lines" => "Kopieer regel(s)",
|
||||
"Remove lines" => "Verwijder regel(s)",
|
||||
"Insert line before" => "Regel invoegen voor",
|
||||
"Insert line after" => "Regel invoegen na",
|
||||
"Search for selected" => "Zoek naar geselecteerd",
|
||||
"Jump to definition" => "Spring naar definitie / spring terug",
|
||||
"Comment uncomment" => "Commentaar (ongedaan) maken",
|
||||
"Insert tab indent" => "Invoegen tab / verspringen geselecteerd",
|
||||
"Wrap with div" => "Omhullen met <div>",
|
||||
"Wrap with span" => "Omhullen met <span>",
|
||||
"Wrap unwrap p" => "Omhullen / onthullen met <p>",
|
||||
"Wrap unwrap a" => "Omhullen / onthullen met <a>",
|
||||
"Wrap unwrap b" => "Omhullen / onthullen met <b>",
|
||||
"Wrap unwrap i" => "Omhullen / onthullen met <i>",
|
||||
"Wrap unwrap strong" => "Omhullen / onthullen met <strong>",
|
||||
"Wrap unwrap em" => "Omhullen / onthullen met <em>",
|
||||
"Wrap unwrap li" => "Omhullen / onthullen met <li>",
|
||||
"Wrap unwrap h1..." => "Omhullen / onthullen met <h1> - <h3>",
|
||||
"End line with..." => "Eindig regel met <br>",
|
||||
"Close tab" => "Sluit tab",
|
||||
"Select file folder" => "Selecteer bestand / map",
|
||||
"Open file" => "Open bestand",
|
||||
"Range select" => "Selecteer bereik",
|
||||
"Options for selected" => "Opties voor geselecteerd",
|
||||
"Delete selected" => "Verwijder geselecteerde",
|
||||
"Next previous tab" => "Volgende / vorige tab",
|
||||
"Next tab" => "Volgende tab",
|
||||
"Previous tab" => "Vorige tab",
|
||||
"New tab" => "Nieuw tab",
|
||||
"Close current tab" => "Sluit huidige tab",
|
||||
"Open file prompt" => "Open bestands prompt",
|
||||
"Find" => "Zoek",
|
||||
"Focus on Go..." => "Focus op ga naar regel invoer",
|
||||
"Save" => "Opslaan",
|
||||
"Save as" => "Opslaan als...",
|
||||
"View webpage" => "Bekijk webpagina",
|
||||
"Contract expand file..." => "Inklappen / uitklappen bestandsbeheer",
|
||||
"Fold unfold current..." => "Vouwen / uitvouwen huidige regel",
|
||||
"Refocus on document" => "Herfocus op document",
|
||||
"Cancel tasks" => "Annuleer taken"
|
||||
),
|
||||
|
||||
"ice-coder" =>
|
||||
array(
|
||||
"No text selected..." => "Geen tekst geselecteerd om te zoeken",
|
||||
"Creating Folder" => "Aanmaken map",
|
||||
"Sorry you can..." => "Sorry, je kan maximaal 100 bestanden open hebben staan!",
|
||||
"Opening File" => "Openen bestand",
|
||||
"Enter relative file..." => "Geef relatieve bestands pad (voorafgaand door een slash) of een externe URL",
|
||||
"Getting" => "Ophalen",
|
||||
"Please enter the..." => "Voer de nieuwe naam in voor",
|
||||
"Renaming to" => "Hernoemen naar",
|
||||
"Moving to" => "Verplaatsen naar",
|
||||
"Deleting File" => "Bestand verwijderen",
|
||||
"Pasting File" => "Bestand plakken",
|
||||
"Sorry cannot paste..." => "Sorry, kan niet de gehele root plakken",
|
||||
"Nothing to paste..." => "Er is niets om te plakken, kopieer eerst een bestand of map!",
|
||||
"Replacing text in" => "Wijzig de tekst in",
|
||||
"Cancelled tasks" => "Geannuleerde taken",
|
||||
"Open previous files" => "Open voorgaande bestand(en)?",
|
||||
"Please enter your..." => "Please enter your GitHub token (either personal access token or client/secret pair token). See tooltip next to Github Auth Token on Help > Settings screen for more info",
|
||||
"This will compare..." => "This will compare and show a diff view between your local dir and the repo. OK?",
|
||||
"Please note for..." => "Let op: om de update goed te laten doorvoeren, moet je schrijfrechten hebben op alle bestanden en mappen van ICEcoder. Moet je deze versie van ICEcoder herstellen, dan vind je die in de map /tmp. Klik op ok om door te gaan met automatisch updaten, of druk op annuleren om af te breken. Voor een handmatige update kun je het zip bestand van de ICEcoder website downloaden.",
|
||||
"You can start..." => "U kunt bug rapporteren aanzetten in: Help > Settings",
|
||||
"Error cannot find..." => "Fout: kan geen toegang krijgen of de bestands paden vinden",
|
||||
"No new errors..." => "Geen nieuwe fouten gevonden",
|
||||
"You have made..." => "Er zijn wijzigingen aangetroffen. Wilt u verder gaan zonder op te slaan?",
|
||||
"Close all tabs" => "Sluit alle tabbladen?"
|
||||
),
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
@@ -150,6 +280,148 @@ in lib/config__settings.php",
|
||||
"auto-check for updates" => "automatisch controleren op updates",
|
||||
"To put into..." => "Om de multi-user modus te gebruiken, open het menu opties of open lib/config___settings.php en verander multiUser naar true",
|
||||
"multi-user" => "multi-user"
|
||||
),
|
||||
|
||||
"multiple-results" =>
|
||||
array(
|
||||
"rename all" => "hernoem alles",
|
||||
"replace all" => "vervang alles",
|
||||
"document" => "document",
|
||||
"Found" => "Gevonden",
|
||||
"times" => "keer",
|
||||
"replace" => "vervang",
|
||||
"file folder" => "bestand/map",
|
||||
"rename to" => "hernoemen naar",
|
||||
"rename" => "hernoemen",
|
||||
"file" => "bestand",
|
||||
"No matches found" => "Geen overeenkomsten gevonden",
|
||||
"selected" => "geselecteerd",
|
||||
"found in" => "gevonden in",
|
||||
"Replaced" => "Vervangen"
|
||||
),
|
||||
|
||||
"plugins-manager" =>
|
||||
array(
|
||||
"ICEcoder needs to..." => "ICEcoder moet opnieuw worden geladen om deze plug-in te gebruiken. Nu opnieuw laden?",
|
||||
"saving plugins" => "opslaan plug-ins...",
|
||||
"Cannot update config..." => "Kan het configuratie bestand niet updaten. Zet alstublieft eerst publieke schrijfrechten aan",
|
||||
"and try again" => "en probeer het opnieuw",
|
||||
"couldnt delete dir" => "kan de map niet verwijderen",
|
||||
"couldnt delete file" => "kan bestand niet verwijderen",
|
||||
"plugins" => "plug-ins",
|
||||
"Guide to writing..." => "Gids om plug-ins te schrijven",
|
||||
"Manage Installed" => "Beheer geÏnstalleerd",
|
||||
"URL" => "URL",
|
||||
"Target" => "Doel",
|
||||
"Timer" => "Timer",
|
||||
"Update" => "Update",
|
||||
"Install" => "Installeren",
|
||||
"Uninstall" => "DeÏnstalleren",
|
||||
"Reload after install..." => "Opnieuw laden na installatie vereist"
|
||||
),
|
||||
|
||||
"properties" =>
|
||||
array(
|
||||
"properties" => "eigenschappen",
|
||||
"Size" => "Groote",
|
||||
"Modified" => "Aangepast",
|
||||
"Last access" => "Laatst geopend",
|
||||
"Type" => "Type",
|
||||
"Readable Writeable" => "Leesbaar / Schrijfbaar",
|
||||
"Relative path" => "Relatief pad",
|
||||
"Absolute path" => "Absoluut pad",
|
||||
"Contains" => "Bevat",
|
||||
"Permissions" => "Rechten",
|
||||
"Owner" => "Eigenaar",
|
||||
"Group" => "Groep",
|
||||
"Public" => "Publiek",
|
||||
"Read" => "Lezen",
|
||||
"Write" => "Schrijven",
|
||||
"Execute" => "Uitvoeren",
|
||||
"Change to" => "Veranderen naar",
|
||||
"update" => "update"
|
||||
),
|
||||
|
||||
"settings-common" =>
|
||||
array(
|
||||
"Your document does..." => "Het bleek dat uw bestand niet gebruik maakte van UTF-8 codering, dus is het geconverteerd"
|
||||
),
|
||||
|
||||
"settings-save-current-files" =>
|
||||
array(
|
||||
"Cannot update config..." => "Kan het configuratie bestand niet updaten. Zet alstublieft eerst publieke schrijfrechten aan",
|
||||
"and try again" => "en probeer het opnieuw"
|
||||
),
|
||||
|
||||
"settings-screen" =>
|
||||
array(
|
||||
"settings" => "instellingen",
|
||||
"version" => "versie",
|
||||
"website" => "website",
|
||||
"git" => "git",
|
||||
"codemirror dir" => "codemirror dir",
|
||||
"codemirror version" => "codemirror versie",
|
||||
"file manager root" => "bestandsbeheer root",
|
||||
"Free to use..." => "Vrij voor eigen gebruik, commercieel of persoonlijk. :)<br><br>Wij zijn niet aansprakelijk en bieden geen garantie, gebruik op eigen risico.<br><br>Een hoop fantastische mensen, en bedrijven hebben meegeholpen aan de ontwikkeling van ICEcoder waarvoor bedankt. Zie wie er allemaal heeft bijgedragen op",
|
||||
"functionality" => "functionaliteit",
|
||||
"check for updates..." => "check voor updates bij laden",
|
||||
"auto open last..." => "automatisch openen laatst geopende bestanden na inloggen",
|
||||
"when finding in..." => "when finding in files, exclude",
|
||||
"assisting" => "assisteren",
|
||||
"code assist" => "codehulp",
|
||||
"visible tabs" => "zichtbare tabs",
|
||||
"locked nav" => "vergrendelde nav",
|
||||
"tag wrapper command" => "tag wrapper command",
|
||||
"auto-complete on" => "automatisch aanvullen",
|
||||
"security" => "beveiliging",
|
||||
"new password" => "nieuw wachtwoord",
|
||||
"8 chars min" => "minimaal 8 tekens",
|
||||
"confirm password" => "herhaal wachtwoord",
|
||||
"banned files/folders" => "uitgesloten bestanden/mappen",
|
||||
"banned paths" => "uitgesloten paden",
|
||||
"ip addresses" => "ip adressen",
|
||||
"Slash prefixed comma..." => "Slash prefixed, komma gescheiden",
|
||||
"Comma delimited" => "komma gescheiden",
|
||||
"style" => "style",
|
||||
"theme" => "thema",
|
||||
"line wrapping" => "regel omslag",
|
||||
"indent type" => "inspring type",
|
||||
"indent size" => "inspring size",
|
||||
"font size" => "lettergrootte",
|
||||
"layout" => "lay-out",
|
||||
"plugin panel aligned" => "plug-in paneel positie",
|
||||
"file manager" => "bestandsbeheer",
|
||||
"root" => "root",
|
||||
"Slash prefixed" => "Slash prefixed",
|
||||
"bug reporting" => "bug rapportage",
|
||||
"check in files" => "check in bestanden",
|
||||
"every" => "elke",
|
||||
"secs getting last" => "seconde, verstuur laatste",
|
||||
"lines" => "regels",
|
||||
"multi-user" => "multi-user",
|
||||
"Make sure you..." => "Zorg ervoor dat je niet jezelf buitensluit",
|
||||
"Registration" => "Registratie",
|
||||
"auth token" => "auth token",
|
||||
"Required to get..." => "Required to get diffs, commit to your GitHub hosted repo etc. If you do not have one, you can use a:".PHP_EOL.PHP_EOL.
|
||||
"- personal access token (https://help.github.com/articles/creating-an-access-token-for-command-line-use), or".PHP_EOL.
|
||||
"- full client/secret pair token (http://developer.github.com/v3/oauth).".PHP_EOL.PHP_EOL.
|
||||
"It is not recommended you set your token here however and is more secure to enter it when requested by ICEcoder as that will keep it in session only.".PHP_EOL.PHP_EOL.
|
||||
"However, if you work in a trusted and secure environment, it is more efficient to set it here.",
|
||||
"Sorry cannot commit..." => "Sorry, cannot commit settings in demo mode",
|
||||
"update" => "update"
|
||||
),
|
||||
|
||||
"settings-update" =>
|
||||
array(
|
||||
"Cannot update config..." => "Kan het configuratie bestand niet updaten. Zet alstublieft eerst publieke schrijfrechten aan",
|
||||
"and try again" => "probeer het opnieuw",
|
||||
"and press refresh" => "en druk vernieuwen"
|
||||
),
|
||||
|
||||
"updater" =>
|
||||
array(
|
||||
"Update appears to..." => "Update lijkt succesvol te zijn verlopen"
|
||||
)
|
||||
|
||||
);
|
||||
?>
|
||||
?>
|
||||
425
lang/norwegian.php
Normal file
425
lang/norwegian.php
Normal file
@@ -0,0 +1,425 @@
|
||||
<?php
|
||||
// Norwegian language translation
|
||||
// by: @koseelg (GitHub)
|
||||
// @koseelg (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>Klikk ikoner<br>for hjelp &<br>bruk av info</b>",
|
||||
"server" => "server",
|
||||
"Server name, OS..." => "Server navn, OS & IP:",
|
||||
"Root" => "Root:",
|
||||
"ICEcoder root" => "ICEcoder root:",
|
||||
"PHP version" => "PHP versjon:",
|
||||
"Date & time" => "Dato & tid:",
|
||||
"your device" => "din enhet",
|
||||
"Browser" => "Nettleser:",
|
||||
"Your IP" => "Din IP:",
|
||||
"files" => "filer",
|
||||
"Last 10 files..." => "Siste 10 filer åpnet:",
|
||||
"none" => "[none]",
|
||||
"test suite" => "test suite",
|
||||
"Run unit tests" => "Kjø unit tests",
|
||||
"dev mode" => "utvikler modus",
|
||||
"Status" => "Status",
|
||||
"Using" => "Brukes",
|
||||
"You can switch..." => "Du kan slå utvikler modus på/av i lib/config__settings.php",
|
||||
"results" => "resultater"
|
||||
|
||||
),
|
||||
|
||||
"files" =>
|
||||
array(
|
||||
"Lock" => "Steng",
|
||||
"Refresh" => "Last igjen",
|
||||
"ROOT" => "[ROOT]"
|
||||
|
||||
),
|
||||
|
||||
"index" =>
|
||||
array(
|
||||
"UPDATE INFO" => "UPDATE INFO",
|
||||
"now available" => "Nå tilgjengelig",
|
||||
"Your version is" => "Din versjon er",
|
||||
"Update now" => "Update now",
|
||||
"You have some..." => "Du har noe ulagrede endringer",
|
||||
"working" => "arbeider",
|
||||
"Color picker" => "Color picker",
|
||||
"New File" => "Ny Fil",
|
||||
"New Folder" => "Ny Mappe",
|
||||
"Upload File(s)" => "Last opp Fil(er)",
|
||||
"Paste" => "Lim inn",
|
||||
"Open" => "Åpne",
|
||||
"Copy" => "Kopier",
|
||||
"Duplicate" => "Duplikat",
|
||||
"Delete" => "Slett",
|
||||
"Rename" => "Gi annet navn",
|
||||
"View Webpage" => "Vis Webside",
|
||||
"Download" => "Last ned",
|
||||
"Properties" => "Egenskaper",
|
||||
"File" => "Fil",
|
||||
"Edit" => "Redigere",
|
||||
"Remote" => "Remote",
|
||||
"Help" => "Hjelp",
|
||||
"Save" => "Lagre",
|
||||
"Save As" => "Lagre Som",
|
||||
"Live Preview" => "Live Forhåndsvisning",
|
||||
"Upload" => "Last opp",
|
||||
"Zip" => "Zip",
|
||||
"Print" => "Skriv ut",
|
||||
"Fullscreen toggle" => "Fullskjerm svitsj",
|
||||
"Logout" => "Loggut",
|
||||
"Undo" => "Ange",
|
||||
"Redo" => "Gjenta",
|
||||
"Indent more" => "Større innrykk",
|
||||
"Indent less" => "Mindre innrykk",
|
||||
"Autocomplete" => "Autokomplettere",
|
||||
"Comment/Uncomment" => "Kommentar/Fjern Kommentar",
|
||||
"Jump to Definition" => "Hopp til Definisjon",
|
||||
"Manual" => "Manual",
|
||||
"Shortcuts" => "Snarveier",
|
||||
"Settings" => "Innstillinger",
|
||||
"Search for selected" => "Søk for utvalgte",
|
||||
"website" => "webside",
|
||||
"Close all tabs" => "Lukk alle faner",
|
||||
"Alphabetize tabs" => "Ordne faner alfabetisk",
|
||||
"Find" => "Find",
|
||||
"in" => "i",
|
||||
"and" => "og",
|
||||
"replace" => "erstatt",
|
||||
"replace all" => "erstatt alt",
|
||||
"this document" => "this document",
|
||||
"open documents" => "åpne dokumenter",
|
||||
"all files" => "alle filer",
|
||||
"all filenames" => "alle filenavn",
|
||||
"Turn on/off..." => "Svitsj på/av kode assistenten",
|
||||
"Code Assist" => "Kode Assistenten",
|
||||
"Go to Line" => "Gå til Linje",
|
||||
"View" => "Vis",
|
||||
"Bug reporting not active" => "Bug rapportering ikke aktiv"
|
||||
),
|
||||
|
||||
// /LIB
|
||||
|
||||
"bug-files-check" =>
|
||||
array(
|
||||
"Found in" => "Funnet i:"
|
||||
),
|
||||
|
||||
"file-control" =>
|
||||
array(
|
||||
"Sorry" => "Beklager",
|
||||
"does not seem..." => "synes ikke å eksistere på serveren",
|
||||
"Sorry, could not..." => "Beklager, kunne ikke få innholdet i",
|
||||
"Sorry, cannot create..." => "Beklager, kan ikke opprette mappe på",
|
||||
"Sorry, cannot copy" => "Beklager, kan ikke kopiere",
|
||||
"into" => "inn",
|
||||
"Uploaded file(s) OK" => "Opplastete fil(er) OK",
|
||||
"Sorry, cannot upload" => "Beklager, kan ikke laste opp",
|
||||
"Sorry, cannot upload..." => "Beklager, kan ikke laste opp i demo-modus",
|
||||
"Sorry, cannot rename" => "Beklager, kan ikke endre navn",
|
||||
"Maybe public write..." => "Kanskje offentlige skriverettigheter trengs på denne, eller overordnede mappen?",
|
||||
"Sorry, cannot move" => "Beklager, kan ikke flytte",
|
||||
"Sorry, cannot save" => "Beklager, kan ikke lagre",
|
||||
"Sorry, cannot replace..." => "Beklager, kan ikke erstatte tekst i",
|
||||
"Sorry, cannot change..." => "Beklager, kan ikke endre tillatelser på",
|
||||
"Sorry, cannot delete..." => "Beklager, kan ikke slette rotnivå",
|
||||
"Sorry, cannot delete" => "Beklager, kan ikke slette",
|
||||
"Sorry, this file..." => "Beklager, denne filen er endret, kan ikke lagre",
|
||||
"Reload this file..." => "Skal denne filen lastes igjen og kopieres denne versjon til et nytt dokument?",
|
||||
"There was a..." => "Dette var en teknisk hikke, sannsynligvis var noe ikke helt klar. Så ICEcoder laster sin kontroll fil på nytt.",
|
||||
"displayed at" => "vises på",
|
||||
"Enter filename to..." => "Skriv inn filnavnet for å lagre på",
|
||||
"That file exists..." => "Denne filen eksisterer allerede, skriv over?",
|
||||
"Saving" => "Lagring"
|
||||
),
|
||||
|
||||
"get-branch" =>
|
||||
array(
|
||||
"There are no..." => "Det er ingen forskjeller mellom det lokale og GitHub repo. Gå tilbake til vanlig modus?",
|
||||
"Sorry, there was..." => "Beklager, det var en feil, kode:",
|
||||
"Your local folder..." => "Your local folder is empty, would you like to clone"
|
||||
),
|
||||
|
||||
"github-manager" =>
|
||||
array(
|
||||
"Sorry, cannot create..." => "Beklager, kan ikke opprette mappe på",
|
||||
"Cannot update config..." => "Kan ikke oppdatere konfigurasjonsfilen. Vennligst sett offentlige skriverettigheter på",
|
||||
"and try again" => "og prøv igjen",
|
||||
"saving github paths" => "lagre GitHub stier...",
|
||||
"github paths" => "github stier",
|
||||
"Choose existing path" => "Velg eksisterende sti",
|
||||
"Local path" => "Lokal sti",
|
||||
"Remote GitHub path" => "Ekstern GitHub sti",
|
||||
"Choose" => "Velg",
|
||||
"Set local and..." => "Sett lokal og ekstern sti til tomt, for å fjerne",
|
||||
"Update" => "Oppdater",
|
||||
"Add new path" => "Legg til ny sti",
|
||||
"Add" => "Legg til",
|
||||
"Usage Info" => "Bruksinfo:",
|
||||
"Enter relative local..." => "Oppgi relative lokale stier (f.e. /server/myfiles) og absolutte GitHub stier (f.e. https://github.com/user/repo eller https://github.com/user/repo/tree/branch for grener), som per eksemplene. Med dette har du etablert kilde stier på begge steder, som et par.",
|
||||
"You can then..." => "Du kan deretter velge en sti par og dette blir da den nye rot stien i ICEcoder.",
|
||||
"The file manager..." => "Filbehandleren viser deretter et ny GitHub-ikon, som du kan klikke på, for å utføre en sjekk og vise en forskjell mellom de 2 kildene. Disse forskjellene kan da være forpliktene og flyttet til den eksterne stien på GitHub eller klonet til din lokale sti, for å synkronisere filene dine.",
|
||||
"If you want..." => "Hvis du ønsker å velge en annen rot sti, kan dette gjøres i skjermbildet Innstillinger."
|
||||
),
|
||||
|
||||
"github" =>
|
||||
array(
|
||||
"Sorry, you do..." => "Beklager, det ser ikke ut til å ha OpenSSL lastet inn på PHP instans, så https er ikke tilgjengelig. Dette er nødvendig for GitHub dataoverføring, du kan endre php.ini innstillingene, start serveren på nytt og prøv igjen"
|
||||
),
|
||||
|
||||
"headers" =>
|
||||
array(
|
||||
"Bad CSRF token..." => "Bad CSRF token. Vennligst rapporter feilinfoen på https://github.com/mattpass/ICEcoder slik at det kan fikses."
|
||||
),
|
||||
|
||||
"help" =>
|
||||
array(
|
||||
"shortcuts" => "snarveier",
|
||||
"Within document" => "Innenfor dokument",
|
||||
"On Tabs" => "På faner",
|
||||
"Within file manager" => "Innenfor filbehandler",
|
||||
"Anywhere" => "Hvor som helst",
|
||||
"Space" => "Mellomrom", // is this the key on keyboard ? otherwise it bust be "Sted" or "Plass"
|
||||
"Click" => "Klikk",
|
||||
"or" => "eller",
|
||||
"Left click" => "Venstre klikk",
|
||||
"Middle click" => "Middel klikk",
|
||||
"Double click tap..." => "Dobbel klikk / tap (mobil)",
|
||||
"Right click" => "Høyre klikk",
|
||||
"Middle scrollwheel" => "Middel rullehjul",
|
||||
"Drag" => "Dra",
|
||||
"Autocomplete add snippet" => "Autofullfør / legg til kodebiten",
|
||||
"Multiple select" => "Flere valg",
|
||||
"Move line up" => "Flytt linje opp",
|
||||
"Move line down" => "Flytt linje ned",
|
||||
"Duplicate lines" => "Dupliser linje(r)",
|
||||
"Remove lines" => "Slett linje(r)",
|
||||
"Insert line before" => "Sett inn linje før",
|
||||
"Insert line after" => "Sett inn linje etter",
|
||||
"Search for selected" => "Søk etter valgt",
|
||||
"Jump to definition" => "Hopp til definisjon / hopp tilbake",
|
||||
"Comment uncomment" => "Kommentar / fjern kommentar",
|
||||
"Insert tab indent" => "Sett inn innrykk / valgt innrykk",
|
||||
"Wrap with div" => "Wrap med <div>",
|
||||
"Wrap with span" => "Wrap med <span>",
|
||||
"Wrap unwrap p" => "Wrap / uwrap med <p>",
|
||||
"Wrap unwrap a" => "Wrap / uwrap med <a>",
|
||||
"Wrap unwrap b" => "Wrap / uwrap med <b>",
|
||||
"Wrap unwrap i" => "Wrap / uwrap med <i>",
|
||||
"Wrap unwrap strong" => "Wrap / uwrap med <strong>",
|
||||
"Wrap unwrap em" => "Wrap / uwrap med <em>",
|
||||
"Wrap unwrap li" => "Wrap / uwrap med <li>",
|
||||
"Wrap unwrap h1..." => "Wrap / uwrap med <h1> - <h3>",
|
||||
"End line with..." => "Avslutt linje med <br>",
|
||||
"Close tab" => "Lukk fane",
|
||||
"Select file folder" => "Velg fil / mappe",
|
||||
"Open file" => "Åpne fil",
|
||||
"Range select" => "Velg onråde",
|
||||
"Options for selected" => "Egenskaper for valgt",
|
||||
"Delete selected" => "Slett valgt",
|
||||
"Next previous tab" => "Neste / forige fane",
|
||||
"Next tab" => "Neste fane",
|
||||
"Previous tab" => "Forige fane",
|
||||
"New tab" => "Ny fane",
|
||||
"Close current tab" => "Lukk gjeldende fane",
|
||||
"Open file prompt" => "Åpne fil prompt",
|
||||
"Find" => "Find",
|
||||
"Focus on Go..." => "Fokus på Go til linje inndata",
|
||||
"Save" => "Lagre",
|
||||
"Save as" => "Lagre som...",
|
||||
"View webpage" => "Vis webside",
|
||||
"Contract expand file..." => "Trekk sammen / utvid filbehandler",
|
||||
"Fold unfold current..." => "Brett / utfold gjeldende linje",
|
||||
"Refocus on document" => "Refokusere på dokument",
|
||||
"Cancel tasks" => "Avbryt oppgaver"
|
||||
),
|
||||
|
||||
"ice-coder" =>
|
||||
array(
|
||||
"No text selected..." => "Ingen tekst valgt til å søke på",
|
||||
"Creating Folder" => "Lage mappe",
|
||||
"Sorry you can..." => "Beklager, du kan bare ha 100 filer åpne samtidig!",
|
||||
"Opening File" => "Åpner Fil",
|
||||
"Enter relative file..." => "Oppgi den relative filstien (med prefiks /) eller ekstern URL",
|
||||
"Getting" => "Får",
|
||||
"Please enter the..." => "Skriv inn det nye navnet på",
|
||||
"Renaming to" => "Endre navn til",
|
||||
"Moving to" => "Flytt til",
|
||||
"Deleting File" => "Slett Fil",
|
||||
"Pasting File" => "Lim inn Fil",
|
||||
"Sorry cannot paste..." => "Beklager, kan ikke lime inn en hel rot mappe",
|
||||
"Nothing to paste..." => "Ingenting å lime inn, kopiere en fil/mappe først!",
|
||||
"Replacing text in" => "Erstatte tekst i",
|
||||
"Cancelled tasks" => "Kansellerte oppgaver",
|
||||
"Open previous files" => "Åpne forrige filer?",
|
||||
"Please enter your..." => "Skriv inn GitHub token (enten personlig tilgang token eller kunde/hemmelig par token). Se verktøytips ved siden av Github Auth Token på Hjelp-skjermbildet > Innstillinger for mer info",
|
||||
"This will compare..." => "Dette vil sammenligne og vise en forskjell mellom din lokale mappe og repo. OK?",
|
||||
"Please note for..." => "Vennligst merk: for at oppdatering skal fungere skikkelig, må du ha skrive/slette tilgang til alle ICEcoder kataloger og filer. Hvis du trenger å gjenopprette denne versjonen av ICEcoder av en eller annen grunn, vil du finne den i /tmp mappen. Klikk OK for å fortsette med en auto-oppdatering eller avbryt for å besøke ICEcoder området slik at du kan ta tak i zip og oppdatere manuelt.",
|
||||
"You can start..." => "Du kan starte feilrapportering i Hjelp > Innstillinger",
|
||||
"Error cannot find..." => "Feil: kan ikke finne/få tilgang til feil filstier",
|
||||
"No new errors..." => "Ingen feil funnet",
|
||||
"You have made..." => "Du har gjort endringer. Er du sikker på, at du vil lukke uten å lagre?",
|
||||
"Close all tabs" => "Lukk alle faner?"
|
||||
),
|
||||
|
||||
"login" =>
|
||||
array(
|
||||
"set password" => "sett passord",
|
||||
"login" => "logginn",
|
||||
"To disable registration..." => "Hvis du vil deaktivere registreringsmodus, åpne innstillingsmenyen eller åpne lib/config ___ settings.php og endre/aktiver Påmelding til 'false', deretter laste siden om igjen",
|
||||
"Registration mode enabled" => "Registreringsmodus aktivert",
|
||||
"auto-check for updates" => "auto-sjekk for oppdateringer",
|
||||
"To put into..." => "Å sette inn i flerbrukermodus, åpne innstillingsmenyen eller åpen lib/config ___ settings.php og endre flerbruker til 'true', deretter laste siden om igjen",
|
||||
"multi-user" => "flerbruker"
|
||||
),
|
||||
|
||||
"multiple-results" =>
|
||||
array(
|
||||
"rename all" => "endre navn på alle",
|
||||
"replace all" => "erstatte alle",
|
||||
"document" => "dokument",
|
||||
"Found" => "Funnet",
|
||||
"times" => "ganger",
|
||||
"replace" => "erstatte",
|
||||
"file folder" => "fil/mappe",
|
||||
"rename to" => "endre navn til",
|
||||
"rename" => "endre navn",
|
||||
"file" => "fil",
|
||||
"No matches found" => "Ingen treff",
|
||||
"selected" => "valgt",
|
||||
"found in" => "funnet i",
|
||||
"Replaced" => "Erstattet"
|
||||
),
|
||||
|
||||
"plugins-manager" =>
|
||||
array(
|
||||
"ICEcoder needs to..." => "ICEcoder må startes om igjen, for å gjøre dette programtillegg kjørbar. Start om igjen nå?",
|
||||
"saving plugins" => "lagre programtillegg...",
|
||||
"Cannot update config..." => "Kan ikke oppdatere konfigurasjonsfilen. Vennligst sett offentlige skriverettigheter på",
|
||||
"and try again" => "og prøv igjen",
|
||||
"couldnt delete dir" => "kan ikke slette mappe",
|
||||
"couldnt delete file" => "kan ikke slette fil",
|
||||
"plugins" => "programtillegg",
|
||||
"Guide to writing..." => "Guide til skriving programtillegg",
|
||||
"Manage Installed" => "Administrer installert",
|
||||
"URL" => "URL",
|
||||
"Target" => "Mål",
|
||||
"Timer" => "Tidsur",
|
||||
"Update" => "Update",
|
||||
"Install" => "Installer",
|
||||
"Uninstall" => "Avinstaller",
|
||||
"Reload after install..." => "Omstart etter installasjon nødvendig"
|
||||
),
|
||||
|
||||
"properties" =>
|
||||
array(
|
||||
"properties" => "egenskaper",
|
||||
"Size" => "Størrelse",
|
||||
"Modified" => "Endret",
|
||||
"Last access" => "Siste tilgang",
|
||||
"Type" => "Type",
|
||||
"Readable Writeable" => "Lesbar/Skrivbart",
|
||||
"Relative path" => "Relativ sti",
|
||||
"Absolute path" => "Absolute sti",
|
||||
"Contains" => "Inneholder",
|
||||
"Permissions" => "Tillatelser",
|
||||
"Owner" => "Eier",
|
||||
"Group" => "Gruppe",
|
||||
"Public" => "Offentlig",
|
||||
"Read" => "Lese",
|
||||
"Write" => "Skrive",
|
||||
"Execute" => "Kjøre",
|
||||
"Change to" => "Endre til",
|
||||
"update" => "oppdatere"
|
||||
),
|
||||
|
||||
"settings-common" =>
|
||||
array(
|
||||
"Your document does..." => "Dokumentet ser ikke ut til å være i UTF-8 koding, derfor har det blitt omgjort"
|
||||
),
|
||||
|
||||
"settings-save-current-files" =>
|
||||
array(
|
||||
"Cannot update config..." => "Kan ikke oppdatere konfigurasjonsfilen. Vennligst sett offentlige skriverettigheter på",
|
||||
"and try again" => "og prøv igjen"
|
||||
),
|
||||
|
||||
"settings-screen" =>
|
||||
array(
|
||||
"settings" => "innstillinger",
|
||||
"version" => "versjon",
|
||||
"website" => "webside",
|
||||
"git" => "git",
|
||||
"codemirror dir" => "codemirror mappe",
|
||||
"codemirror version" => "codemirror versjon",
|
||||
"file manager root" => "filbehandler root",
|
||||
"Free to use..." => "Gratis å bruke den til eget formål, kommersielle eller ikke, bare gi meg beskjed om eventuelle kule bruk eller tilpasninger. :) <br>Ingen garanti eller erstatningsansvar aksepteres for noe som helst, det er ditt eget ansvar for all bruk.<br>Mange fantastiske mennesker og bedrifter har bidratt til å bygge ICEcoder og det er for mange å takke her. Vennligst se hele listen på",
|
||||
"functionality" => "funksjonalitet",
|
||||
"check for updates..." => "se etter oppdateringer ved start",
|
||||
"auto open last..." => "åpne automatisk siste filer ved innlogging",
|
||||
"when finding in..." => "når funnet i filer, utelukke",
|
||||
"assisting" => "assistere",
|
||||
"code assist" => "code assistent",
|
||||
"visible tabs" => "synlige faner",
|
||||
"locked nav" => "låst nav",
|
||||
"tag wrapper command" => "tag wrapper kommando",
|
||||
"auto-complete on" => "autokompletering på",
|
||||
"security" => "sikkerhet",
|
||||
"new password" => "nytt passord",
|
||||
"8 chars min" => "8 tegn min",
|
||||
"confirm password" => "bekrefte passord",
|
||||
"banned files/folders" => "forbudte filer/mapper",
|
||||
"banned paths" => "forbudte stier",
|
||||
"ip addresses" => "ip adresser",
|
||||
"Slash prefixed comma..." => "Slash prefiks, komma avgrenset",
|
||||
"Comma delimited" => "Komma avgrenset",
|
||||
"style" => "stil",
|
||||
"theme" => "tema",
|
||||
"line wrapping" => "linjebryting",
|
||||
"indent type" => "innrykk typen",
|
||||
"indent size" => "innrykk størrelse",
|
||||
"font size" => "skriftstørrelse",
|
||||
"layout" => "layout",
|
||||
"plugin panel aligned" => "programtillegg panel justert",
|
||||
"file manager" => "filbehandler",
|
||||
"root" => "root",
|
||||
"Slash prefixed" => "Slash prefiks",
|
||||
"bug reporting" => "feil rapportering",
|
||||
"check in files" => "sjekke i filer",
|
||||
"every" => "hver",
|
||||
"secs getting last" => "sek., får siste",
|
||||
"lines" => "linjer",
|
||||
"multi-user" => "flerbruker",
|
||||
"Make sure you..." => "Pass på at du ikke låser deg ut selv",
|
||||
"Registration" => "Registrering",
|
||||
"auth token" => "auth token",
|
||||
"Required to get..." => "Nødvendig for å få forskjell, bestemme seg til din på GitHub lagret repo etc. Hvis du ikke har en, kan du bruke en:".PHP_EOL.PHP_EOL.
|
||||
"- personal access token (https://help.github.com/articles/creating-an-access-token-for-command-line-use), eller".PHP_EOL.
|
||||
"- full client/secret pair token (http://developer.github.com/v3/oauth).".PHP_EOL.PHP_EOL.
|
||||
"Det anbefales ikke at du setter token din her midlertidig, og vær sikrere på å oppgi det, når du blir bedt av ICEcoder, som som vil holde den i økten sin.".PHP_EOL.PHP_EOL.
|
||||
"Men hvis du jobber i et trygt og sikkert miljø, er det mer effektivt å sette den her.",
|
||||
"Beklager, kan ikke bekrefte..." => "Beklager, kan ikke bekrefte innstillinger i demo-modus",
|
||||
"update" => "update"
|
||||
),
|
||||
|
||||
"settings-update" =>
|
||||
array(
|
||||
"Cannot update config..." => "Kan ikke oppdatere konfigurasjonsfilen. Vennligst sett offentlige skriverettigheter på",
|
||||
"and try again" => "og prøv igjen",
|
||||
"and press refresh" => "og trykker refresh"
|
||||
),
|
||||
|
||||
"updater" =>
|
||||
array(
|
||||
"Update appears to..." => "Oppdatering synes å være vellykket"
|
||||
)
|
||||
|
||||
);
|
||||
?>
|
||||
508
lang/persian.php
508
lang/persian.php
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
// Persian language translation
|
||||
// by: @voltan (GitHub)
|
||||
// @azizabadi_ (Twitter)
|
||||
@@ -9,113 +9,415 @@ $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" => "نتایج"
|
||||
"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" => "[ریشه]"
|
||||
"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" => "گزارش اشکال فعال نیست"
|
||||
),
|
||||
),
|
||||
|
||||
"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" => "چند کاربره"
|
||||
)
|
||||
"bug-files-check" =>
|
||||
array(
|
||||
"Found in" => "یافتن در :"
|
||||
),
|
||||
|
||||
"file-control" =>
|
||||
array(
|
||||
"Sorry" => "متاسفیم",
|
||||
"does not seem..." => "به نظر می رسد بر روی سرور موجود نیست",
|
||||
"Sorry, could not..." => "متاسفانه نمی توانیم اطلاعات را دریافت کنیم",
|
||||
"Sorry, cannot create..." => "متاسفانه نمی توانیم یک شاخه در مسیر زیر ایجاد کنیم",
|
||||
"Sorry, cannot copy" => "متاسفانه نمی توانیم کپی کنیم",
|
||||
"into" => "into",
|
||||
"Uploaded file(s) OK" => "بارگذاری فایل ها موفقیت آمیز بود",
|
||||
"Sorry, cannot upload" => "متاسفانه نمیتوانیم آپلود کنیم",
|
||||
"Sorry, cannot upload..." => "متاسفانه امکان آپلود در نسخه دمو وجود ندارد",
|
||||
"Sorry, cannot rename" => "متاسفانه نمی توانیم تغییر نام دهیم",
|
||||
"Maybe public write..." => "به نظر می رسد دسترسی نوشتن برای شاخه والد لازم است",
|
||||
"Sorry, cannot move" => "متاسفانه نمی توانیم انتقال دهیم",
|
||||
"Sorry, cannot save" => "متاسفانه نمی توانیم ذخیره کنیم",
|
||||
"Sorry, cannot replace..." => "متاسفانه نمی نمی توانیم جایگزین کنیم",
|
||||
"Sorry, cannot change..." => "متاسفانه نمی توانیم دسترسی را تغییر دهیم",
|
||||
"Sorry, cannot delete..." => "متاسفانه نمی توانیم دسترسی ریشه را تغییر دهیم",
|
||||
"Sorry, cannot delete" => "متاسفانه نمی توانیم تغییر دهیم",
|
||||
"Sorry, this file..." => "متاسفانه این فایل تغییر دارد و نمی توانیم آن را ذخیره کنیم",
|
||||
"Reload this file..." => "بارگذاری مجدد این فایل و جایگزینی تغییرات شما در یک فایل جدید؟",
|
||||
"There was a..." => "یک وقفه تکنولوژیک وجوددارد،احتمالا چیزی کامل آماده نیست. بنابراین ICEcoder مجددا این فایل را بارگذاری می کند..",
|
||||
"displayed at" => "نمایش داده شده در",
|
||||
"Enter filename to..." => "نام فایل را برای ذخیره وارد کنید",
|
||||
"That file exists..." => "این فایل هم اکنون موجود است ، جایگزین شود؟",
|
||||
"Saving" => "در حال ذخره"
|
||||
),
|
||||
|
||||
"get-branch" =>
|
||||
array(
|
||||
"There are no..." => "تغییراتی بین مخزن محلی و مخزن گیت وجود دارد ، به حالت معمول برگردد؟",
|
||||
"Sorry, there was..." => "متاسفانه خطای روی داده است . کد خطا : ",
|
||||
"Your local folder..." => "شاخه محلی شما خالی است ، آیا میخواهید تکثیر کنید ؟"
|
||||
),
|
||||
|
||||
"github-manager" =>
|
||||
array(
|
||||
"Sorry, cannot create..." => "متاسفانه نمیتوانیم یک شاخه بسازیم در :",
|
||||
"Cannot update config..." => "متاسفانه نمیتوان فایل تنظیمات را به روز کرد. لطفا دسترسی نوشتن را اضافه کنید به",
|
||||
"and try again" => "و مجددا تلاش نمایید",
|
||||
"saving github paths" => "ذخیره مسیر های گیت هاب ...",
|
||||
"github paths" => "مسیر های گیت هاب",
|
||||
"Choose existing path" => "انتخاب یک مسیر موجود",
|
||||
"Local path" => "مسیر محلی",
|
||||
"Remote GitHub path" => "مسیر ریموت گیت هاب",
|
||||
"Choose" => "انتخاب",
|
||||
"Set local and..." => "برای حذف مسیر محلی و ریموت ، آنها را به صورت خالی تنظیم کرده و ذخیره کنید",
|
||||
"Update" => "به روز رسانی",
|
||||
"Add new path" => "اضافه کردن مسیر جدید",
|
||||
"Add" => "اضافه کردن",
|
||||
"Usage Info" => "اطلاعات مورد استفاده :",
|
||||
"Enter relative local..." => "Enter relative local paths (eg /server/myfiles) and absolute GitHub paths (eg https://github.com/user/repo or https://github.com/user/repo/tree/branch for branches), as per the examples. With this done you have established the source paths at both locations, as a pair.",
|
||||
"You can then..." => "شما میتوانید یک جفت مسیر انتخاب کنید و مسیر جدید ریشه خود را در ICEcoder وارد کنید.",
|
||||
"The file manager..." => "The file manager then displays a new GitHub icon, which you can click on to perform and show a diff check between the 2 sources. These diffs can then be committed and pushed to the remote path at GitHub or cloned to your local path, to sync your files.",
|
||||
"If you want..." => "اگر میخواهید یک مسیر ریشه دیگر تنظیم کنید ، به صفحه تنظیمات بروید."
|
||||
),
|
||||
|
||||
"github" =>
|
||||
array(
|
||||
"Sorry, you do..." => "متاسفانه امکان استفاده از OpenSSL در تنظیمات پی اچ پی شما وجود ندارد, بنابر این https در دسترس نیست. این گزینه برای انتقال فایل با گیت هاب لازم است, لطفا تنظیمات php.ini خود را به روز کنید, سرور خود را مجددا راه اندازی کنید و سپس امتحان کنید"
|
||||
),
|
||||
|
||||
"headers" =>
|
||||
array(
|
||||
"Bad CSRF token..." => "توکن CSRF اشتباه. لطفا خطا را در https://github.com/mattpass/ICEcoder گزارش دهید تا اصلاح شود."
|
||||
),
|
||||
|
||||
"help" =>
|
||||
array(
|
||||
"shortcuts" => "میان بر ها",
|
||||
"Within document" => "داخل سند",
|
||||
"On Tabs" => "در تب های",
|
||||
"Within file manager" => "در مدیریت فایل",
|
||||
"Anywhere" => "همه جا",
|
||||
"Space" => "اسپیس",
|
||||
"Click" => "کلیک",
|
||||
"or" => "یا",
|
||||
"Left click" => "کلیک چپ",
|
||||
"Middle click" => "کلیک وسط",
|
||||
"Double click tap..." => "دبل کلیک / تب ( موبایل )",
|
||||
"Right click" => "کلیک راست",
|
||||
"Middle scrollwheel" => "اسکرولر وسط",
|
||||
"Drag" => "دراگ",
|
||||
"Autocomplete add snippet" => "تکمیل خودکار / اضافه کردن قطعه",
|
||||
"Multiple select" => "چند انتخاب",
|
||||
"Move line up" => "انتقال خط بالا",
|
||||
"Move line down" => "انتقال خط پایین",
|
||||
"Duplicate lines" => "تکثیر خط",
|
||||
"Remove lines" => "حذف خط",
|
||||
"Insert line before" => "اضافه کردن خط قبل از",
|
||||
"Insert line after" => "اضافه کردن خط بعد از",
|
||||
"Search for selected" => "جستجو برای انتخاب شده",
|
||||
"Jump to definition" => "برو به تعریف / برو عقب",
|
||||
"Comment uncomment" => "کامتی / حذف کامیت",
|
||||
"Insert tab indent" => "وارد کردن تب / انتخاب شده داخل است",
|
||||
"Wrap with div" => "قرار دادن با <div>",
|
||||
"Wrap with span" => "قرار دادن با <span>",
|
||||
"Wrap unwrap p" => "قرار دادن / باز کردن با <p>",
|
||||
"Wrap unwrap a" => "قرار دادن / باز کردن با <a>",
|
||||
"Wrap unwrap b" => "قرار دادن / باز کردن با <b>",
|
||||
"Wrap unwrap i" => "قرار دادن / باز کردن با <i>",
|
||||
"Wrap unwrap strong" => "قرار دادن / باز کردن با <strong>",
|
||||
"Wrap unwrap em" => "قرار دادن / باز کردن با <em>",
|
||||
"Wrap unwrap li" => "قرار دادن / باز کردن با <li>",
|
||||
"Wrap unwrap h1..." => "قرار دادن / باز کردن با <h1> - <h3>",
|
||||
"End line with..." => "انتخاب خط با <br>",
|
||||
"Close tab" => "بستن تب",
|
||||
"Select file folder" => "انتخاب فایل / پوشه",
|
||||
"Open file" => "باز کردن فایل",
|
||||
"Range select" => "انتخاب رنج",
|
||||
"Options for selected" => "گزینه های برای انتخاب",
|
||||
"Delete selected" => "حذف انتخاب ها",
|
||||
"Next previous tab" => "تب قبلی / بعدی",
|
||||
"Next tab" => "تب بعدی",
|
||||
"Previous tab" => "تب قبلی",
|
||||
"New tab" => "تب جدید",
|
||||
"Close current tab" => "بستن تب فعلی",
|
||||
"Open file prompt" => "باز کردن سریع فایل",
|
||||
"Find" => "یافتن",
|
||||
"Focus on Go..." => "فکوس کن برای رفتن به خط ورود",
|
||||
"Save" => "ذخیره",
|
||||
"Save as" => "ذخیره به عنوان ...",
|
||||
"View webpage" => "مشاهده صفحه وب",
|
||||
"Contract expand file..." => "قرارداد / گسترش مدیریت فایل",
|
||||
"Fold unfold current..." => "ریختن (فولد) / آشکار شدن فایل فعلی",
|
||||
"Refocus on document" => "فوکوس مجدد در سند",
|
||||
"Cancel tasks" => "لغو تسک"
|
||||
),
|
||||
|
||||
"ice-coder" =>
|
||||
array(
|
||||
"No text selected..." => "هیچ متنی برای جستجو انتخاب نشده است",
|
||||
"Creating Folder" => "در حال ساخت پوشه",
|
||||
"Sorry you can..." => "متاسفانه ، شما می توانید حداکثر ۱۰۰ فایل را هم زمان باز کنید !",
|
||||
"Opening File" => "در حال باز کردن فایل",
|
||||
"Enter relative file..." => "قراردادن مسیر فایل مشابه ( ابتدا با / ) یا لینک ریموت",
|
||||
"Getting" => "دریافت",
|
||||
"Please enter the..." => "لطفا یک نام جدید وارد کنید برای",
|
||||
"Renaming to" => "تغییر نام به",
|
||||
"Moving to" => "انتقال به",
|
||||
"Deleting File" => "در حال حذف فایل ها",
|
||||
"Pasting File" => "در حال پست کردن فایل",
|
||||
"Sorry cannot paste..." => "متاسفانه نمی توان به ریشه چیزی اضافه کرد",
|
||||
"Nothing to paste..." => "هیچ چیش برای چسباندن نیست ! ابتدا فایل / پوشه را کپی کنید",
|
||||
"Replacing text in" => "جایگزین کردن متن در",
|
||||
"Cancelled tasks" => "تسک های لغو شده ",
|
||||
"Open previous files" => "بازکردن فایل های قبلی؟",
|
||||
"Please enter your..." => "Please enter your GitHub token (either personal access token or client/secret pair token). See tooltip next to Github Auth Token on Help > Settings screen for more info",
|
||||
"This will compare..." => "این گزینه تفاوت بین فایل محلی شما و تغییرات سرور را نمایش می دهد. مورد تایید است؟",
|
||||
"Please note for..." => "Please note: for updating to work properly, you need to have write/delete access on all ICEcoder dirs & files. If you need to recover this version of ICEcoder for any reason, you'll find it in the /tmp dir. Click OK to proceed with an auto-update or cancel to visit the ICEcoder site so you can grab the zip and update manually.",
|
||||
"You can start..." => "شما می توانید ارسال خطا را از منوی کمک رسانی > تنظیمات انجام دهید",
|
||||
"Error cannot find..." => "خطا : نمی توانید به فایل / مسیر فایل های خطا دسترسی پیدا کنید.",
|
||||
"No new errors..." => "هیچ خطای جدیدی پیدا نشد",
|
||||
"You have made..." => "شما تغییراتی اعمال کرده اید. آیا اطمینان دارید که میخواهید بدون ذخیره کردن فایل را ببندید؟",
|
||||
"Close all tabs" => "بستن همه تب ها؟"
|
||||
),
|
||||
|
||||
"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" => "چند کاربره"
|
||||
),
|
||||
|
||||
"multiple-results" =>
|
||||
array(
|
||||
"rename all" => "تغییر نام همه",
|
||||
"replace all" => "جایگزین کردن همه",
|
||||
"document" => "سند",
|
||||
"Found" => "یافتن",
|
||||
"times" => "دفعات",
|
||||
"replace" => "جایگزین کردن",
|
||||
"file folder" => "فایل/فولدر",
|
||||
"rename to" => "تغییر نام به",
|
||||
"rename" => "تغیر نام",
|
||||
"file" => "فایل",
|
||||
"No matches found" => "جستجو نتیجه ای نداشت",
|
||||
"selected" => "انتخاب شده",
|
||||
"found in" => "یافتن در",
|
||||
"Replaced" => "جایگزین شود"
|
||||
),
|
||||
|
||||
"plugins-manager" =>
|
||||
array(
|
||||
"ICEcoder needs to..." => "ICEcoder نیاز به بارگذاری مجدد برای فعال شدن این افزونه دارد. بارگذاری مجدد انجام شود؟",
|
||||
"saving plugins" => "ذخیره سازی افزونه ...",
|
||||
"Cannot update config..." => "نمی توان فایل تنظیمات را به روز کرد ، دسترسی نوشتن را فعال کنید برای",
|
||||
"and try again" => "و مجدد امتحان کنید",
|
||||
"couldnt delete dir" => "ناتوان در حذف پوشه",
|
||||
"couldnt delete file" => "ناتوان در حذف فایل",
|
||||
"plugins" => "افزونه ها",
|
||||
"Guide to writing..." => "راهنمای نوشتن افزونه",
|
||||
"Manage Installed" => "مدیریت نصب",
|
||||
"URL" => "آدرس",
|
||||
"Target" => "هدف",
|
||||
"Timer" => "زمان سنج",
|
||||
"Update" => "آپدیت",
|
||||
"Install" => "اینستال",
|
||||
"Uninstall" => "آن انیستال",
|
||||
"Reload after install..." => "بارگذاری مجدد بعد از نصب لازم است"
|
||||
),
|
||||
|
||||
"properties" =>
|
||||
array(
|
||||
"properties" => "ویژگی ها",
|
||||
"Size" => "اندازه",
|
||||
"Modified" => "ویرایش شده",
|
||||
"Last access" => "آخرین دسترسی",
|
||||
"Type" => "نوع",
|
||||
"Readable Writeable" => "قابل خواندن / قابل نوشتن",
|
||||
"Relative path" => "مسیر نسبی",
|
||||
"Absolute path" => "مسیر مطلق",
|
||||
"Contains" => "شامل",
|
||||
"Permissions" => "دسترسی ها",
|
||||
"Owner" => "سازنده",
|
||||
"Group" => "گروه",
|
||||
"Public" => "عمومی",
|
||||
"Read" => "خواندن",
|
||||
"Write" => "نوشتن",
|
||||
"Execute" => "اجرا",
|
||||
"Change to" => "تغییر به",
|
||||
"update" => "به روز کردن"
|
||||
),
|
||||
|
||||
"settings-common" =>
|
||||
array(
|
||||
"Your document does..." => "سند شما با استاندارد UTF-8 همخوانی ندارد ، تبدیل می شود"
|
||||
),
|
||||
|
||||
"settings-save-current-files" =>
|
||||
array(
|
||||
"Cannot update config..." => "نمیتوان فایل تنظیمات را به روز کرد ، لطفا دسترسی نوشتن را بررسی کنید در",
|
||||
"and try again" => "و مجددا تلاش نمایید"
|
||||
),
|
||||
|
||||
"settings-screen" =>
|
||||
array(
|
||||
"settings" => "تنظیمات",
|
||||
"version" => "نسخه",
|
||||
"website" => "وب سایت",
|
||||
"git" => "گیت",
|
||||
"codemirror dir" => "مسیر کد آینه",
|
||||
"codemirror version" => "نسخه کد آینه",
|
||||
"file manager root" => "ریشه مسیر مدیریت فایل",
|
||||
"Free to use..." => "Free to use it for your own purposes, commercial or not, just let me know of any cool uses or customisations. :)<br><br>No warranty or liability accepted for anything, all responsibility of use is your own.<br><br>A lot of fantastic people and companies have helped build ICEcoder and there is too many to thank here. Please see the full list at",
|
||||
"functionality" => "تابع بندی",
|
||||
"check for updates..." => "بررسی برای به روز رسانی در هنگام بارگذاری",
|
||||
"auto open last..." => "باز کردن خودکار آخرین فایل ها در هنگامک بارگذاری",
|
||||
"when finding in..." => "وقتی در فایل یافت شد ، رد شود",
|
||||
"assisting" => "کمک رسانی",
|
||||
"code assist" => "کد کمک",
|
||||
"visible tabs" => "تب های قابل نمایش",
|
||||
"locked nav" => "قفل کردن منو",
|
||||
"tag wrapper command" => "برچسب دستور والد",
|
||||
"auto-complete on" => "تکمیل خودکار روشن",
|
||||
"security" => "امنیت",
|
||||
"new password" => "پسورد جدید",
|
||||
"8 chars min" => "حداقل ۸ کارکتر",
|
||||
"confirm password" => "تایید پسورد",
|
||||
"banned files/folders" => "فایل ها / پوشه های مسدود شده",
|
||||
"banned paths" => "مسیر های مسدود شده",
|
||||
"ip addresses" => "آدرس آی پی",
|
||||
"Slash prefixed comma..." => "پیشوند اسلش, با کاما از هم جدا کنید",
|
||||
"Comma delimited" => "با کما جدا شوند",
|
||||
"style" => "استایل",
|
||||
"theme" => "قالب",
|
||||
"line wrapping" => "وارپینگ خط",
|
||||
"indent type" => "نوع برجسته کردن",
|
||||
"indent size" => "اندازه برجسته کردن",
|
||||
"font size" => "اندازه فونت",
|
||||
"layout" => "لایه",
|
||||
"plugin panel aligned" => "تراز پنل پلاگین",
|
||||
"file manager" => "مدیریت فایل",
|
||||
"root" => "ریشه",
|
||||
"Slash prefixed" => "پیشوند اسلش",
|
||||
"bug reporting" => "گزارش باگ",
|
||||
"check in files" => "فایل های چک این",
|
||||
"every" => "همه",
|
||||
"secs getting last" => "دریافت فهرست",
|
||||
"lines" => "خط",
|
||||
"multi-user" => "چند کاربره",
|
||||
"Make sure you..." => "مطمئن شوید خود را خاریج از اینجا قفل نکرده اید",
|
||||
"Registration" => "ثبت نام",
|
||||
"auth token" => "توکن خودکار",
|
||||
"Required to get..." => "Required to get diffs, commit to your GitHub hosted repo etc. If you do not have one, you can use a:".PHP_EOL.PHP_EOL.
|
||||
"- personal access token (https://help.github.com/articles/creating-an-access-token-for-command-line-use), or".PHP_EOL.
|
||||
"- full client/secret pair token (http://developer.github.com/v3/oauth).".PHP_EOL.PHP_EOL.
|
||||
"It is not recommended you set your token here however and is more secure to enter it when requested by ICEcoder as that will keep it in session only.".PHP_EOL.PHP_EOL.
|
||||
"However, if you work in a trusted and secure environment, it is more efficient to set it here.",
|
||||
"Sorry cannot commit..." => "متاسفانه نمی توان در حالت نمایشی تنظیمات را تغییر داد",
|
||||
"update" => "به روز کردن"
|
||||
),
|
||||
|
||||
"settings-update" =>
|
||||
array(
|
||||
"Cannot update config..." => "نمی توان فایل تنظیمات را به روز کرد ، لطفا دسترسی نوشتن را اعمال کنید در",
|
||||
"and try again" => "و مجدد تلاش کنید",
|
||||
"and press refresh" => "و صفحه را مجدد بارگذاری کنید"
|
||||
),
|
||||
|
||||
"updater" =>
|
||||
array(
|
||||
"Update appears to..." => "با موفقیت به روز شد"
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
@@ -92,7 +92,8 @@ function parseGitignore($file) { # $file = '/absolute/path/to/.gitignore'
|
||||
}
|
||||
|
||||
// Cycle through all .gitignore files running above function to get a list of $excluded files
|
||||
$excluded = array();
|
||||
// Exclude the .git dir as first item as we don't want to see that
|
||||
$excluded = array("|.git");
|
||||
foreach ($gi as $scanpath) {
|
||||
$excludedTest = (parseGitignore($scanpath));
|
||||
if (count($excludedTest) > 0) {
|
||||
|
||||
36
lib/github.css
Normal file
36
lib/github.css
Normal file
@@ -0,0 +1,36 @@
|
||||
/* First, reset everything to a standard */
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
outline: 0;
|
||||
font-size: 12px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
body {overflow: hidden;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
h1 {font-size: 36px; font-weight: normal; color: #888; margin-bottom: 20px}
|
||||
a {color: #fff; text-decoration: none}
|
||||
input, textarea {padding: 4px; border: 1px solid #555; background-color: #444; color: #fff}
|
||||
input:focus, textarea:focus {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
|
||||
-moz-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
|
||||
box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
|
||||
}
|
||||
|
||||
.githubAction {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #fff; padding: 20px}
|
||||
106
lib/github.php
106
lib/github.php
@@ -14,11 +14,12 @@ if (!extension_loaded('openssl') || !in_array('https', $wrappers)) {
|
||||
|
||||
// If we have an action to perform
|
||||
if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset($_GET['action']) && $sslAvail) {
|
||||
|
||||
// ====
|
||||
// AUTH
|
||||
// ====
|
||||
if ($_GET['action']=="auth") {
|
||||
$_SESSION['githubAuthToken'] = xssClean($_GET['token']);
|
||||
$_SESSION['githubAuthToken'] = xssClean($_GET['token'],"html");
|
||||
echo '<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@@ -108,5 +109,108 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset
|
||||
|
||||
}
|
||||
|
||||
// ======
|
||||
// COMMIT
|
||||
// ======
|
||||
if ($_GET['action']=="commit") {
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html onContextMenu="return false">
|
||||
<head>
|
||||
<title>ICEcoder <?php echo $ICEcoder["versionNo"];?> GitHub commit files</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<script src="base64.js"></script>
|
||||
<script src="github.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="github.css">
|
||||
</head>
|
||||
|
||||
<body class="githubAction">
|
||||
|
||||
<h1><?php
|
||||
$action = xssClean($_GET['action'],"html");
|
||||
echo $action == "commit" ? "Commit files" : "Pull files"; ?></h1>
|
||||
|
||||
<form name="commitDetails">
|
||||
Title:<br><input type="text" name="commitTitle" id="commitTitle" value="" style="width: 300px; margin: 5px 0 15px 0"><br>
|
||||
Message:<br><textarea name="commitMessage" id="commitMessage" style="width: 300px; height: 118px; margin: 5px 0 15px 0"></textarea>
|
||||
</form>
|
||||
|
||||
<div style="display: inline-block; padding: 5px; background: #2187e7; color: #fff; font-size: 12px; cursor: pointer" onclick="commitFiles()">Commit</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<?php
|
||||
// Get file contents for selected files
|
||||
$selectedFiles = xssClean($_GET['selectedFiles'],"html");
|
||||
$selectedFiles = explode(";",$selectedFiles);
|
||||
|
||||
for ($i=0; $i<count($selectedFiles); $i++) {
|
||||
// Replace pipes with slashes
|
||||
$file = str_replace("|","/",$selectedFiles[$i]);
|
||||
|
||||
// Trim any +'s or spaces from the end of file and clear any ../'s
|
||||
$file = str_replace("../","",rtrim(rtrim($file,'+'),' '));
|
||||
|
||||
// Make $file a full path
|
||||
if (strpos($file,$docRoot)===false) {$file=str_replace("|","/",$docRoot.$iceRoot.$file);};
|
||||
|
||||
if (file_exists($file)) {
|
||||
$loadedFile = toUTF8noBOM(file_get_contents($file,false,$context),true);
|
||||
echo '<textarea name="loadedFile'.$i.'" id="loadedFile'.$i.'" style="display: none">'.str_replace("</textarea>","<ICEcoder:/:textarea>",str_replace("&","&",$loadedFile)).'</textarea><br><br>'.PHP_EOL.PHP_EOL;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<script>
|
||||
// Start our github object
|
||||
var github = new Github({token: "<?php echo $_SESSION['githubAuthToken'];?>", auth: "oauth"});
|
||||
|
||||
committingFiles = ['<?php
|
||||
$cF = implode("','", $selectedFiles);
|
||||
echo $cF;
|
||||
?>'];
|
||||
seqFile = 0;
|
||||
commitFiles = function() {
|
||||
// Commit our files one after another
|
||||
var repo = github.getRepo(top.repo.split("/")[0], top.repo.split("/")[1]);
|
||||
repo.write(
|
||||
'master',
|
||||
committingFiles[seqFile].substr(1),
|
||||
document.getElementById('loadedFile'+seqFile).value,
|
||||
document.getElementById('commitTitle').value+'\n\n'+document.getElementById('commitMessage').value,
|
||||
function(err) {
|
||||
if (!err) {
|
||||
var locSplit = committingFiles[seqFile].lastIndexOf("|");
|
||||
var location = committingFiles[seqFile].substr(0,locSplit+1);
|
||||
var file = committingFiles[seqFile].substr(locSplit+1);
|
||||
top.ICEcoder.thisFileFolderLink = committingFiles[seqFile];
|
||||
top.ICEcoder.selectFileFolder(false,'ctrlSim');
|
||||
top.ICEcoder.updateFileManagerList("delete",location,file);
|
||||
seqFile++;
|
||||
// If there's another file to do
|
||||
if (top.ICEcoder.selectedFiles.length > 0) {
|
||||
commitFiles();
|
||||
} else {
|
||||
alert('All done, switching modes');
|
||||
top.ICEcoder.showHide('hide',top.get('blackMask'));
|
||||
top.ICEcoder.githubDiffToggle();
|
||||
}
|
||||
} else {
|
||||
top.ICEcoder.message('There was an error with committing:\n\n'+err);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -62,6 +62,12 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
|
||||
.files .fileNav li {display: inline-block; padding: 18px 15px 0 0}
|
||||
.files .fileNav a {color: #666; text-decoration: none}
|
||||
.files .fileNav a:hover {color: #fff; cursor: pointer}
|
||||
|
||||
.files .githubNav {display: none; height: 19px; padding-top: 17px}
|
||||
.files .githubNav .commit {display: inline-block; margin-left: 15px; padding: 6px 9px; background: #555; color: #333; cursor: pointer}
|
||||
.files .githubNav .selected {display: inline-block; margin-left: 15px; padding: 6px 0; color: #333}
|
||||
.files .githubNav .pull {position: absolute; display: inline-block; margin-left: 15px; padding: 6px 9px; background: #555; color: #333; right: 15px; cursor: pointer}
|
||||
|
||||
.files .options {
|
||||
transition: opacity 0.15s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -583,12 +583,12 @@ var ICEcoder = {
|
||||
},
|
||||
|
||||
// Select file or folder on demand
|
||||
selectFileFolder: function(evt) {
|
||||
selectFileFolder: function(evt,ctrlSim) {
|
||||
var tgtFile, shortURL, selecting, dirList, lastFileClicked, startFile, endFile, thisFileObj;
|
||||
|
||||
// If we've clicked somewhere other than a file/folder
|
||||
if (top.ICEcoder.thisFileFolderLink=="") {
|
||||
if (!evt.ctrlKey && !top.ICEcoder.cmdKey) {
|
||||
if (!ctrlSim && !evt.ctrlKey && !top.ICEcoder.cmdKey) {
|
||||
top.ICEcoder.deselectAllFiles();
|
||||
}
|
||||
} else if (top.ICEcoder.thisFileFolderLink) {
|
||||
@@ -597,7 +597,7 @@ var ICEcoder = {
|
||||
tgtFile = ICEcoder.filesFrame.contentWindow.document.getElementById(shortURL);
|
||||
|
||||
// If we have the CTRL/Cmd key down
|
||||
if (evt.ctrlKey || top.ICEcoder.cmdKey) {
|
||||
if (ctrlSim || evt.ctrlKey || top.ICEcoder.cmdKey) {
|
||||
// Deselect or select file
|
||||
if (top.ICEcoder.selectedFiles.indexOf(shortURL)>-1) {
|
||||
ICEcoder.selectDeselectFile('deselect',tgtFile);
|
||||
@@ -649,6 +649,17 @@ var ICEcoder = {
|
||||
top.ICEcoder.selectedFiles.push(shortURL);
|
||||
}
|
||||
}
|
||||
|
||||
// If in GitHub mode, update the selected count and button colours
|
||||
if (top.ICEcoder.githubDiff) {
|
||||
top.get('githubNavSelectedCount').innerHTML = "Selected: " + top.ICEcoder.selectedFiles.length;
|
||||
top.get('githubNavCommit').style.color = top.ICEcoder.selectedFiles.length > 0 ? "#fff" : "#333";
|
||||
top.get('githubNavCommit').style.background = top.ICEcoder.selectedFiles.length > 0 ? "#2187e7" : "#555";
|
||||
top.get('githubNavSelectedCount').style.color = top.ICEcoder.selectedFiles.length > 0 ? "#fff" : "#333";
|
||||
top.get('githubNavPull').style.color = top.ICEcoder.selectedFiles.length > 0 ? "#fff" : "#333";
|
||||
top.get('githubNavPull').style.background = top.ICEcoder.selectedFiles.length > 0 ? "#2187e7" : "#555";
|
||||
}
|
||||
|
||||
// Adjust the file & replace select dropdown values accordingly
|
||||
document.findAndReplace.target[2].innerHTML = !top.ICEcoder.selectedFiles[0] ? "all files" : "selected files";
|
||||
document.findAndReplace.target[3].innerHTML = !top.ICEcoder.selectedFiles[0] ? "all filenames" : "selected filenames";
|
||||
@@ -1746,6 +1757,12 @@ var ICEcoder = {
|
||||
top.ICEcoder.showHide('show',top.get('blackMask'));
|
||||
},
|
||||
|
||||
// Show the GitHub commit screen
|
||||
gitHubAction: function(action) {
|
||||
top.get('mediaContainer').innerHTML = '<iframe src="lib/github.php?action='+action+'&selectedFiles='+top.ICEcoder.selectedFiles.join(";")+'&csrf='+top.ICEcoder.csrf+'" class="whiteGlow" style="width: 340px; height: 340px"></iframe>';
|
||||
top.ICEcoder.showHide('show',top.get('blackMask'));
|
||||
},
|
||||
|
||||
// Ask user for GitHub token
|
||||
githubTokenAsk: function(goNext) {
|
||||
if (githubAuthToken = top.ICEcoder.getInput(top.t['Please enter your...'],'')) {
|
||||
@@ -1755,6 +1772,12 @@ var ICEcoder = {
|
||||
}
|
||||
},
|
||||
|
||||
// Show/Hide the GitHub file nav
|
||||
showHideGithubNav: function(vis) {
|
||||
top.get('githubNav').style.display = vis == "show" ? "block" : "none";
|
||||
top.get('fileNav').style.display = vis == "show" ? "none" : "block";
|
||||
},
|
||||
|
||||
// Show the GitHub manager
|
||||
githubManager: function() {
|
||||
var githubAuthToken;
|
||||
@@ -1770,8 +1793,6 @@ var ICEcoder = {
|
||||
githubDiffToggle: function() {
|
||||
var gHDiff;
|
||||
|
||||
alert("This is a work in progress, unfinished at present and due for an ICEcoder v4.2 release. Currently ~70% done.");
|
||||
|
||||
if (!top.ICEcoder.githubAuthTokenSet) {
|
||||
top.ICEcoder.githubTokenAsk('loadFiles');
|
||||
} else if (top.ICEcoder.githubDiff || top.ICEcoder.ask(top.t['This will compare...'])) {
|
||||
|
||||
57
lib/ice-coder.min.js
vendored
57
lib/ice-coder.min.js
vendored
@@ -19,17 +19,18 @@ a+b.getSelection(),"end"),b.setSelection(c,d)):(a||(a=b.getCursor().line),c=b.ge
|
||||
top.ICEcoder.origCurorPos)a.setCursor(top.ICEcoder.origCurorPos);else for(top.ICEcoder.origCurorPos=a.getCursor(),a=["var "+b,"function "+b,b+"=function",b+"= function",b+" =function",b+" = function",b+"=new function",b+"= new function",b+" =new function",b+" = new function","window['"+b+"']",'window["'+b+'"]',"this['"+b+"']",'this["'+b+'"]',b+":",b+" :","def "+b,"class "+b],b=0;b<a.length&&!top.ICEcoder.findReplace(a[b],!1,!1);b++);},autocomplete:function(){var a;a=ICEcoder.getcMInstance();top.ICEcoder.content.contentWindow.CodeMirror.commands.autocomplete(a)},
|
||||
pasteURL:function(a){var b;b=ICEcoder.getcMInstance();"CTRL"==top.ICEcoder.draggingWithKey&&(a=window.location.protocol+"//"+window.location.hostname+a);b.replaceSelection(a,"around")},searchForSelected:function(){if(top.ICEcoder.caretLocType)if(""!=top.ICEcoder.getcMInstance().getSelection()){var a=top.ICEcoder.caretLocType.toLowerCase()+" ";"Content"==top.ICEcoder.caretLocType&&(a="");window.open("http://www.google.com/#output=search&q="+a+top.ICEcoder.getcMInstance().getSelection())}else top.ICEcoder.message(top.t["No text selected..."])},
|
||||
openCloseDir:function(a,b){var c,d;a.onclick=function(a){a.ctrlKey||top.ICEcoder.cmdKey||top.ICEcoder.openCloseDir(this,!1)};c=a.parentNode;c.nextSibling&&(c=c.nextSibling);c&&"UL"==c.tagName&&((d="none"==c.style.display)?b=!0:c.style.display="none",a.parentNode.className=a.className=d?"pft-directory dirOpen":"pft-directory");b&&(top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/get-branch.php?location="+a.childNodes[1].id+"&csrf="+top.ICEcoder.csrf);return!1},overFileFolder:function(a,
|
||||
b){ICEcoder.thisFileFolderType=a;ICEcoder.thisFileFolderLink=b},selectFileFolder:function(a){var b,c,d,e,f;if(""==top.ICEcoder.thisFileFolderLink)a.ctrlKey||top.ICEcoder.cmdKey||top.ICEcoder.deselectAllFiles();else if(top.ICEcoder.thisFileFolderLink)if(c=top.ICEcoder.thisFileFolderLink.replace(/\//g,"|"),b=ICEcoder.filesFrame.contentWindow.document.getElementById(c),a.ctrlKey||top.ICEcoder.cmdKey)-1<top.ICEcoder.selectedFiles.indexOf(c)?(ICEcoder.selectDeselectFile("deselect",b),top.ICEcoder.selectedFiles.splice(top.ICEcoder.selectedFiles.indexOf(c),
|
||||
1)):(ICEcoder.selectDeselectFile("select",b),top.ICEcoder.selectedFiles.push(c));else if(a.shiftKey){a=!1;d=b.parentNode.parentNode.parentNode;e=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1];var g=function(a,b,c,d){return("00000000000000000000"+a).substr(-20)};f=c.replace(/\d+/g,g)<e.replace(/\d+/g,g)?c:e;e=c.replace(/\d+/g,g)>e.replace(/\d+/g,g)?c:e;if(0<top.ICEcoder.selectedFiles.length&&f.substr(0,f.lastIndexOf("|"))==e.substr(0,e.lastIndexOf("|")))for(c=0;1E6>c&&("LI"!=d.childNodes[c].nodeName&&
|
||||
c++,b=d.childNodes[c].childNodes[0].childNodes[1],b.id==f&&(a=!0),!0==a&&-1==top.ICEcoder.selectedFiles.indexOf(b.id)&&(ICEcoder.selectDeselectFile("select",b),top.ICEcoder.selectedFiles.push(b.id)),b.id!=e);c+=2);else ICEcoder.selectDeselectFile("select",b),top.ICEcoder.selectedFiles.push(c)}else top.ICEcoder.deselectAllFiles(),ICEcoder.selectDeselectFile("select",b),top.ICEcoder.selectedFiles.push(c);document.findAndReplace.target[2].innerHTML=top.ICEcoder.selectedFiles[0]?"selected files":"all files";
|
||||
document.findAndReplace.target[3].innerHTML=top.ICEcoder.selectedFiles[0]?"selected filenames":"all filenames";top.ICEcoder.hideFileMenu()},deselectAllFiles:function(){for(var a,b=0;b<top.ICEcoder.selectedFiles.length;b++)a=top.ICEcoder.filesFrame.contentWindow.document.getElementById(top.ICEcoder.selectedFiles[b]),ICEcoder.selectDeselectFile("deselect",a);top.ICEcoder.selectedFiles.length=0},selectDeselectFile:function(a,b){var c;b&&(c=-1<top.ICEcoder.openFiles.indexOf(b.id.replace(/\|/g,"/"))?!0:
|
||||
!1,top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1]==b.id.replace(/\|/g,"/")?b.style.backgroundColor="select"==a?top.ICEcoder.tabBGselected:top.ICEcoder.tabBGcurrent:b.style.backgroundColor="select"==a?top.ICEcoder.tabBGselected:b.style.backgroundColor=c?top.ICEcoder.tabBGopen:top.ICEcoder.tabBGnormal,b.style.color="select"==a?top.ICEcoder.tabFGselected:top.ICEcoder.tabFGnormalFile)},newFile:function(){top.ICEcoder.newTab();top.ICEcoder.saveFile()},newFolder:function(){var a,b;a=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-
|
||||
1].replace(/\|/g,"/");if(b=top.ICEcoder.getInput("Enter new folder name at "+a,""))b=(a+"/"+b).replace(/\/\//,"/"),top.ICEcoder.serverQueue("add","lib/file-control.php?action=newFolder&file="+b.replace(/\//g,"|")+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Creating Folder"]+"</b><br>"+b)},openFile:function(a){var b;a&&(top.ICEcoder.thisFileFolderLink=a,top.ICEcoder.thisFileFolderType="file");"/[NEW]"!=top.ICEcoder.thisFileFolderLink&&!1!==top.ICEcoder.isOpen(top.ICEcoder.thisFileFolderLink)?
|
||||
top.ICEcoder.switchTab(top.ICEcoder.isOpen(top.ICEcoder.thisFileFolderLink)+1):""!=top.ICEcoder.thisFileFolderLink&&"file"==top.ICEcoder.thisFileFolderType&&(a=top.ICEcoder.thisFileFolderLink.replace(/\|/g,"/"),b=!0,100<=top.ICEcoder.openFiles.length&&(top.ICEcoder.message(top.t["Sorry you can..."]),b=!1),b&&(top.ICEcoder.shortURL=a,"/[NEW]"!=a?(top.ICEcoder.thisFileFolderLink=top.ICEcoder.thisFileFolderLink.replace(/\//g,"|"),top.ICEcoder.serverQueue("add","lib/file-control.php?action=load&file="+
|
||||
top.ICEcoder.thisFileFolderLink+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Opening File"]+"</b><br>"+top.ICEcoder.shortURL)):top.ICEcoder.createNewTab(),top.ICEcoder.fMIconVis("fMView",1)))},openFilesFromList:function(a){for(var b=0;b<a.length;b++)top.ICEcoder.thisFileFolderLink=a[b].replace("|","/"),top.ICEcoder.thisFileFolderType="file",top.ICEcoder.openFile()},openPrompt:function(){var a;if(a=top.ICEcoder.getInput(top.t["Enter relative file..."],""))-1<a.indexOf("://")?
|
||||
top.ICEcoder.getRemoteFile(a):top.ICEcoder.openFile(a)},getRemoteFile:function(a){top.ICEcoder.serverQueue("add","lib/file-control.php?action=getRemoteFile&file="+a+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>"+top.t.Getting+"</b><br>"+a)},saveFile:function(a){var b,c;a=a?"saveAs":"save";b=ICEcoder.openFiles[ICEcoder.selectedTab-1].replace(top.iceRoot,"").replace(/\//g,"|");"|[NEW]"==b&&0<top.ICEcoder.selectedFiles.length&&(c=top.ICEcoder.selectedFiles[0],b=-1==c.lastIndexOf(".")||
|
||||
c.lastIndexOf(".")<c.lastIndexOf("|")?c+b:"|[NEW]");b=b.replace("||","|");top.ICEcoder.serverQueue("add","lib/file-control.php?action=save&file="+b+"&fileMDT="+ICEcoder.openFileMDTs[ICEcoder.selectedTab-1]+"&saveType="+a+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>"+top.t.Saving+"</b><br>"+ICEcoder.openFiles[ICEcoder.selectedTab-1].replace(top.iceRoot,""))},renameFile:function(a,b){var c,d;a?c=a.replace(/\|/g,"/"):(c=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,
|
||||
"/"),a=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,"/"));b||(b=top.ICEcoder.getInput(top.t["Please enter the..."],c));b&&(d=top.ICEcoder.openFiles.indexOf(c.replace(/\|/g,"/")),-1<d&&(top.ICEcoder.openFiles[d]=b,closeTabLink='<a nohref onClick="top.ICEcoder.closeTab(parseInt(this.parentNode.id.slice(3),10))"><img src="images/nav-close.gif" class="closeTab" onMouseOver="prevBG=this.style.backgroundColor;this.style.backgroundColor=\'#333\'; top.ICEcoder.overCloseLink=true" onMouseOut="this.style.backgroundColor=prevBG; top.ICEcoder.overCloseLink=false"></a>',
|
||||
b){ICEcoder.thisFileFolderType=a;ICEcoder.thisFileFolderLink=b},selectFileFolder:function(a,b){var c,d,e,f,g,m;if(""==top.ICEcoder.thisFileFolderLink)b||a.ctrlKey||top.ICEcoder.cmdKey||top.ICEcoder.deselectAllFiles();else if(top.ICEcoder.thisFileFolderLink)if(d=top.ICEcoder.thisFileFolderLink.replace(/\//g,"|"),c=ICEcoder.filesFrame.contentWindow.document.getElementById(d),b||a.ctrlKey||top.ICEcoder.cmdKey)-1<top.ICEcoder.selectedFiles.indexOf(d)?(ICEcoder.selectDeselectFile("deselect",c),top.ICEcoder.selectedFiles.splice(top.ICEcoder.selectedFiles.indexOf(d),
|
||||
1)):(ICEcoder.selectDeselectFile("select",c),top.ICEcoder.selectedFiles.push(d));else if(a.shiftKey){e=!1;f=c.parentNode.parentNode.parentNode;g=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1];var h=function(a,b,c,d){return("00000000000000000000"+a).substr(-20)};m=d.replace(/\d+/g,h)<g.replace(/\d+/g,h)?d:g;g=d.replace(/\d+/g,h)>g.replace(/\d+/g,h)?d:g;if(0<top.ICEcoder.selectedFiles.length&&m.substr(0,m.lastIndexOf("|"))==g.substr(0,g.lastIndexOf("|")))for(d=0;1E6>d&&("LI"!=f.childNodes[d].nodeName&&
|
||||
d++,c=f.childNodes[d].childNodes[0].childNodes[1],c.id==m&&(e=!0),!0==e&&-1==top.ICEcoder.selectedFiles.indexOf(c.id)&&(ICEcoder.selectDeselectFile("select",c),top.ICEcoder.selectedFiles.push(c.id)),c.id!=g);d+=2);else ICEcoder.selectDeselectFile("select",c),top.ICEcoder.selectedFiles.push(d)}else top.ICEcoder.deselectAllFiles(),ICEcoder.selectDeselectFile("select",c),top.ICEcoder.selectedFiles.push(d);top.ICEcoder.githubDiff&&(top.get("githubNavSelectedCount").innerHTML="Selected: "+top.ICEcoder.selectedFiles.length,
|
||||
top.get("githubNavCommit").style.color=0<top.ICEcoder.selectedFiles.length?"#fff":"#333",top.get("githubNavCommit").style.background=0<top.ICEcoder.selectedFiles.length?"#2187e7":"#555",top.get("githubNavSelectedCount").style.color=0<top.ICEcoder.selectedFiles.length?"#fff":"#333",top.get("githubNavPull").style.color=0<top.ICEcoder.selectedFiles.length?"#fff":"#333",top.get("githubNavPull").style.background=0<top.ICEcoder.selectedFiles.length?"#2187e7":"#555");document.findAndReplace.target[2].innerHTML=
|
||||
top.ICEcoder.selectedFiles[0]?"selected files":"all files";document.findAndReplace.target[3].innerHTML=top.ICEcoder.selectedFiles[0]?"selected filenames":"all filenames";top.ICEcoder.hideFileMenu()},deselectAllFiles:function(){for(var a,b=0;b<top.ICEcoder.selectedFiles.length;b++)a=top.ICEcoder.filesFrame.contentWindow.document.getElementById(top.ICEcoder.selectedFiles[b]),ICEcoder.selectDeselectFile("deselect",a);top.ICEcoder.selectedFiles.length=0},selectDeselectFile:function(a,b){var c;b&&(c=-1<
|
||||
top.ICEcoder.openFiles.indexOf(b.id.replace(/\|/g,"/"))?!0:!1,top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1]==b.id.replace(/\|/g,"/")?b.style.backgroundColor="select"==a?top.ICEcoder.tabBGselected:top.ICEcoder.tabBGcurrent:b.style.backgroundColor="select"==a?top.ICEcoder.tabBGselected:b.style.backgroundColor=c?top.ICEcoder.tabBGopen:top.ICEcoder.tabBGnormal,b.style.color="select"==a?top.ICEcoder.tabFGselected:top.ICEcoder.tabFGnormalFile)},newFile:function(){top.ICEcoder.newTab();top.ICEcoder.saveFile()},
|
||||
newFolder:function(){var a,b;a=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,"/");if(b=top.ICEcoder.getInput("Enter new folder name at "+a,""))b=(a+"/"+b).replace(/\/\//,"/"),top.ICEcoder.serverQueue("add","lib/file-control.php?action=newFolder&file="+b.replace(/\//g,"|")+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Creating Folder"]+"</b><br>"+b)},openFile:function(a){var b;a&&(top.ICEcoder.thisFileFolderLink=a,top.ICEcoder.thisFileFolderType=
|
||||
"file");"/[NEW]"!=top.ICEcoder.thisFileFolderLink&&!1!==top.ICEcoder.isOpen(top.ICEcoder.thisFileFolderLink)?top.ICEcoder.switchTab(top.ICEcoder.isOpen(top.ICEcoder.thisFileFolderLink)+1):""!=top.ICEcoder.thisFileFolderLink&&"file"==top.ICEcoder.thisFileFolderType&&(a=top.ICEcoder.thisFileFolderLink.replace(/\|/g,"/"),b=!0,100<=top.ICEcoder.openFiles.length&&(top.ICEcoder.message(top.t["Sorry you can..."]),b=!1),b&&(top.ICEcoder.shortURL=a,"/[NEW]"!=a?(top.ICEcoder.thisFileFolderLink=top.ICEcoder.thisFileFolderLink.replace(/\//g,
|
||||
"|"),top.ICEcoder.serverQueue("add","lib/file-control.php?action=load&file="+top.ICEcoder.thisFileFolderLink+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Opening File"]+"</b><br>"+top.ICEcoder.shortURL)):top.ICEcoder.createNewTab(),top.ICEcoder.fMIconVis("fMView",1)))},openFilesFromList:function(a){for(var b=0;b<a.length;b++)top.ICEcoder.thisFileFolderLink=a[b].replace("|","/"),top.ICEcoder.thisFileFolderType="file",top.ICEcoder.openFile()},openPrompt:function(){var a;if(a=
|
||||
top.ICEcoder.getInput(top.t["Enter relative file..."],""))-1<a.indexOf("://")?top.ICEcoder.getRemoteFile(a):top.ICEcoder.openFile(a)},getRemoteFile:function(a){top.ICEcoder.serverQueue("add","lib/file-control.php?action=getRemoteFile&file="+a+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>"+top.t.Getting+"</b><br>"+a)},saveFile:function(a){var b,c;a=a?"saveAs":"save";b=ICEcoder.openFiles[ICEcoder.selectedTab-1].replace(top.iceRoot,"").replace(/\//g,"|");"|[NEW]"==b&&0<top.ICEcoder.selectedFiles.length&&
|
||||
(c=top.ICEcoder.selectedFiles[0],b=-1==c.lastIndexOf(".")||c.lastIndexOf(".")<c.lastIndexOf("|")?c+b:"|[NEW]");b=b.replace("||","|");top.ICEcoder.serverQueue("add","lib/file-control.php?action=save&file="+b+"&fileMDT="+ICEcoder.openFileMDTs[ICEcoder.selectedTab-1]+"&saveType="+a+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>"+top.t.Saving+"</b><br>"+ICEcoder.openFiles[ICEcoder.selectedTab-1].replace(top.iceRoot,""))},renameFile:function(a,b){var c,d;a?c=a.replace(/\|/g,"/"):(c=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-
|
||||
1].replace(/\|/g,"/"),a=top.ICEcoder.selectedFiles[top.ICEcoder.selectedFiles.length-1].replace(/\|/g,"/"));b||(b=top.ICEcoder.getInput(top.t["Please enter the..."],c));b&&(d=top.ICEcoder.openFiles.indexOf(c.replace(/\|/g,"/")),-1<d&&(top.ICEcoder.openFiles[d]=b,closeTabLink='<a nohref onClick="top.ICEcoder.closeTab(parseInt(this.parentNode.id.slice(3),10))"><img src="images/nav-close.gif" class="closeTab" onMouseOver="prevBG=this.style.backgroundColor;this.style.backgroundColor=\'#333\'; top.ICEcoder.overCloseLink=true" onMouseOut="this.style.backgroundColor=prevBG; top.ICEcoder.overCloseLink=false"></a>',
|
||||
c=top.ICEcoder.openFiles[d],top.get("tab"+(d+1)).innerHTML=closeTabLink+" "+c.slice(c.lastIndexOf("/")).replace(/\//,""),top.get("tab"+(d+1)).title=b),top.ICEcoder.serverQueue("add","lib/file-control.php?action=rename&file="+b+"&oldFileName="+a.replace(/\|/g,"/")+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Renaming to"]+"</b><br>"+b),top.ICEcoder.setPreviousFiles())},moveFile:function(a,b){var c,d;b&&(d=top.ICEcoder.openFiles.indexOf(a.replace(/\|/g,"/")),-1<d&&(top.ICEcoder.openFiles[d]=
|
||||
b,closeTabLink='<a nohref onClick="top.ICEcoder.closeTab(parseInt(this.parentNode.id.slice(3),10))"><img src="images/nav-close.gif" class="closeTab" onMouseOver="prevBG=this.style.backgroundColor;this.style.backgroundColor=\'#333\'; top.ICEcoder.overCloseLink=true" onMouseOut="this.style.backgroundColor=prevBG; top.ICEcoder.overCloseLink=false"></a>',c=top.ICEcoder.openFiles[d],top.get("tab"+(d+1)).innerHTML=closeTabLink+" "+c.slice(c.lastIndexOf("/")).replace(/\//,""),top.get("tab"+(d+1)).title=
|
||||
b),top.ICEcoder.serverQueue("add","lib/file-control.php?action=move&file="+b+"&oldFileName="+a.replace(/\|/g,"/")+"&csrf="+top.ICEcoder.csrf),top.ICEcoder.serverMessage("<b>"+top.t["Moving to"]+"</b><br>"+b),top.ICEcoder.setPreviousFiles())},deleteFiles:function(a){var b;a=a?a:top.ICEcoder.selectedFiles;b=a.toString().replace(/\|/g,"/").replace(/,/g,"\n");0<a.length&&top.ICEcoder.ask("Delete:\n\n"+b+"?")&&(top.ICEcoder.serverQueue("add","lib/file-control.php?action=delete&file="+a.join(";")+"&csrf="+
|
||||
@@ -74,23 +75,23 @@ setTimeout(function(){top.ICEcoder.filesFrame.contentWindow.frames.fileControl.l
|
||||
a=top.ICEcoder.openFiles.join(",").replace(/\//g,"|").replace(/(\|\[NEW\])|(,\|\[NEW\])/g,"").replace(/(^,)|(,$)/g,"");""==a&&(a="CLEAR");top.ICEcoder.serverQueue("add","lib/settings.php?saveFiles="+a+"&csrf="+top.ICEcoder.csrf)},autoOpenFiles:function(){if(0<top.ICEcoder.previousFiles.length&&top.ICEcoder.ask(top.t["Open previous files"]+"\n\n"+top.ICEcoder.previousFiles.length+" files:\n"+top.ICEcoder.previousFiles.join("\n").replace(/\|/g,"/").replace(new RegExp(top.docRoot+top.iceRoot,"gi"),"")))for(var a=
|
||||
0;a<top.ICEcoder.previousFiles.length;a++)top.ICEcoder.thisFileFolderLink=top.ICEcoder.previousFiles[a].replace("|","/"),top.ICEcoder.thisFileFolderType="file",top.ICEcoder.openFile()},settingsScreen:function(a){a||(top.get("mediaContainer").innerHTML='<iframe src="lib/settings-screen.php" class="whiteGlow" style="width: 970px; height: 610px"></iframe>');top.ICEcoder.showHide(a?"hide":"show",top.get("blackMask"))},helpScreen:function(){top.get("mediaContainer").innerHTML='<iframe src="lib/help.php" class="whiteGlow" style="width: 840px; height: 515px"></iframe>';
|
||||
top.ICEcoder.showHide("show",top.get("blackMask"))},showManual:function(a,b){var c;c=b?"#"+b:"";top.get("mediaContainer").innerHTML='<iframe src="https://icecoder.net/manual?version='+a+c+'" class="whiteGlow" style="width: 800px; height: 470px"></iframe>';top.ICEcoder.showHide("show",top.get("blackMask"))},propertiesScreen:function(a){top.get("mediaContainer").innerHTML='<iframe src="lib/properties.php?fileName='+a.replace(/\//g,"|")+"&csrf="+top.ICEcoder.csrf+'" class="whiteGlow" style="width: 660px; height: 330px"></iframe>';
|
||||
top.ICEcoder.showHide("show",top.get("blackMask"))},pluginsManager:function(){top.get("mediaContainer").innerHTML='<iframe src="lib/plugins-manager.php" class="whiteGlow" style="width: 800px; height: 450px"></iframe>';top.ICEcoder.showHide("show",top.get("blackMask"))},githubTokenAsk:function(a){if(githubAuthToken=top.ICEcoder.getInput(top.t["Please enter your..."],""))top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/github.php?action=auth&token="+githubAuthToken+"&goNext="+
|
||||
a+"&csrf="+top.ICEcoder.csrf,githubAuthToken=""},githubManager:function(){top.ICEcoder.githubAuthTokenSet?(top.get("mediaContainer").innerHTML='<iframe src="lib/github-manager.php" class="whiteGlow" style="width: 660px; height: 450px"></iframe>',top.ICEcoder.showHide("show",top.get("blackMask"))):top.ICEcoder.githubTokenAsk("showManager")},githubDiffToggle:function(){var a;alert("This is a work in progress, unfinished at present and due for an ICEcoder v4.2 release. Currently ~70% done.");if(!top.ICEcoder.githubAuthTokenSet)top.ICEcoder.githubTokenAsk("loadFiles");
|
||||
else if(top.ICEcoder.githubDiff||top.ICEcoder.ask(top.t["This will compare..."]))top.ICEcoder.githubDiff=!top.ICEcoder.githubDiff,a=top.ICEcoder.githubDiff?"true":"false",top.ICEcoder.filesFrame.src="files.php?githubDiff="+a+"&csrf="+top.ICEcoder.csrf},useNewSettings:function(a,b,c,d,e,f,g,m,h,k,n,p,l,r,s,t){var q;top.ICEcoder.theme=a.slice(a.lastIndexOf("/")+1,a.lastIndexOf("."));"editor"==top.ICEcoder.theme&&(top.ICEcoder.theme="icecoder");q=document.createElement("link");q.setAttribute("rel","stylesheet");
|
||||
q.setAttribute("type","text/css");q.setAttribute("href",a);top.ICEcoder.content.contentWindow.document.getElementsByTagName("head")[0].appendChild(q);a=-1<"3024-day base16-light eclipse elegant neat paraiso-light solarized xq-light".split(" ").indexOf(top.ICEcoder.theme)?"#ccc":"#000";top.ICEcoder.switchTab(top.ICEcoder.selectedTab);b!=top.ICEcoder.codeAssist&&(top.get("codeAssist").checked=b,top.ICEcoder.codeAssistToggle());c!=top.ICEcoder.lockedNav&&top.ICEcoder.lockUnlockNav();c||(ICEcoder.changeFilesW("contract"),
|
||||
top.ICEcoder.hideFileMenu());c=ICEcoder.content.contentWindow.document.styleSheets[4];b=c.rules?"rules":"cssRules";c[b][0].style.fontSize=g;c[b][4].style["border-left-width"]=f?"1px":"0";c[b][4].style["margin-left"]=f?"-1px":"0";c[b][2].style.cssText="background-color: "+a+" !important";top.ICEcoder.lineWrapping=m;top.ICEcoder.indentWithTabs=h;top.ICEcoder.indentSize=k;for(f=0;f<ICEcoder.cMInstances.length;f++)ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("lineWrapping",top.ICEcoder.lineWrapping),
|
||||
ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("indentWithTabs",top.ICEcoder.indentWithTabs),ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("indentUnit",top.ICEcoder.indentSize),ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("tabSize",top.ICEcoder.indentSize);d!=top.ICEcoder.tagWrapperCommand&&(top.ICEcoder.tagWrapperCommand=d);e!=top.ICEcoder.autoComplete&&(top.ICEcoder.autoComplete=e);top.get("plugins").style.left="left"==n?
|
||||
"0":"auto";top.get("plugins").style.right="right"==n?"0":"auto";top.ICEcoder.bugFilePaths=p;top.ICEcoder.bugFileCheckTimer=l;top.ICEcoder.bugFileMaxLines=r;""!=top.ICEcoder.bugFilePaths[0]?top.ICEcoder.startBugChecking():"undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt);top.ICEcoder.githubAuthTokenSet=s;t&&top.ICEcoder.refreshFileManager()},updateResultsDisplay:function(a){ICEcoder.findReplace(top.get("find").value,!0,!1);top.get("results").style.display=
|
||||
"show"==a?"inline-block":"none"},fullScreenSwitcher:function(){"undefined"!=typeof document.cancelFullScreen?document.fullScreen?document.cancelFullScreen():document.body.requestFullScreen():"undefined"!=typeof document.mozCancelFullScreen?document.mozFullScreen?document.mozCancelFullScreen():document.body.mozRequestFullScreen():"undefined"!=typeof document.webkitCancelFullScreen&&(document.webkitIsFullScreen?document.webkitCancelFullScreen():document.body.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT))},
|
||||
zipIt:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="plugins/zip-it/index.php?zip="+a+"&csrf="+top.ICEcoder.csrf},downloadFile:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/download.php?file="+a+"&csrf="+top.ICEcoder.csrf},chmod:function(a,b){a=a.replace(top.iceRoot,"");top.ICEcoder.showHide("hide",top.get("blackMask"));top.ICEcoder.serverQueue("add","lib/file-control.php?action=perms&file="+
|
||||
a+"&perms="+b+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>chMod "+b+" on </b><br>"+a)},openPreviewWindow:function(){if(0<top.ICEcoder.openFiles.length){var a,b,c;b=top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1];c=b.substr(b.lastIndexOf("/")+1);c=c.substr(c.lastIndexOf(".")+1);a=ICEcoder.getcMInstance();top.ICEcoder.previewWindow=window.open(b,"previewWindow");-1<["md"].indexOf(c)?top.ICEcoder.previewWindow.onload=function(){top.ICEcoder.previewWindow.document.documentElement.innerHTML=
|
||||
mmd(a.getValue())}:top.ICEcoder.previewWindow.onload=function(){try{top.ICEcoder.doPesticide()}catch(a){}}}},logout:function(){window.location=window.location+"?logout&csrf="+top.ICEcoder.csrf},message:function(a){alert(a)},ask:function(a){return confirm(a)},getInput:function(a,b){return prompt(a,b)},dataMessage:function(a){var b;b=top.ICEcoder.content.contentWindow.document.getElementById("dataMessage");b.style.display="block";b.innerHTML=a},update:function(){confirm(top.t["Please note for..."])?
|
||||
(top.ICEcoder.showHide("show",top.get("loadingMask")),window.location="lib/updater.php"):window.open("https://icecoder.net")},xhrObj:function(){try{return new XMLHttpRequest}catch(a){}try{return new ActiveXObject("Msxml3.XMLHTTP")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(d){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}return null},openBugReport:function(){var a;
|
||||
"off"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["You can start..."]);"error"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["Error cannot find..."]);"ok"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["No new errors..."]);"bugs"==top.ICEcoder.bugReportStatus&&(a=top.ICEcoder.openFiles.indexOf(top.ICEcoder.bugReportPath.replace(/\|/g,"/")),-1<a&&top.ICEcoder.closeTab(a+1,"dontSetPV","dontAsk"),top.ICEcoder.openFile(top.ICEcoder.bugReportPath),top.ICEcoder.bugFilesSizesSeen=
|
||||
top.ICEcoder.bugFilesSizesActual)},startBugChecking:function(){var a;0!==top.ICEcoder.bugFileCheckTimer?("undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt),top.ICEcoder.bugFilesSizesSeen=[],top.ICEcoder.bugFileCheckInt=setInterval(function(){a="lib/bug-files-check.php?";a+="files="+(""!==top.ICEcoder.bugFilePaths[0]?top.ICEcoder.bugFilePaths.join():"null").replace(/\//g,"|");a+="&filesSizesSeen=";if(top.ICEcoder.bugFilesSizesSeen.length!=top.ICEcoder.bugFilePaths.length)for(var b=
|
||||
0;b<top.ICEcoder.bugFilePaths.length;b++)top.ICEcoder.bugFilesSizesSeen[b]="null";a+=top.ICEcoder.bugFilesSizesSeen.join();a+="&maxLines="+top.ICEcoder.bugFileMaxLines;a+="&csrf="+top.ICEcoder.csrf;var c=top.ICEcoder.xhrObj();c.onreadystatechange=function(){if(4==c.readyState&&200==c.status){var a=JSON.parse(c.responseText);top.get("bugIcon").style.backgroundPosition="off"==a.result?"0 0":"ok"==a.result?"-32px 0":"bugs"==a.result?"-48px 0":"-16px 0";top.ICEcoder.bugReportStatus=a.result;"null"==top.ICEcoder.bugFilesSizesSeen[0]&&
|
||||
(top.ICEcoder.bugFilesSizesSeen=a.filesSizesSeen);top.ICEcoder.bugFilesSizesActual=a.filesSizesSeen;top.ICEcoder.bugReportPath=a.bugReportPath}};c.open("GET",a,!0);c.send()},parseInt(1E3*top.ICEcoder.bugFileCheckTimer,10)),top.ICEcoder.bugReportStatus="ok"):"undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt)},xssClean:function(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},printCode:function(){var a,
|
||||
b;a=top.ICEcoder.getcMInstance();b=top.ICEcoder.filesFrame.contentWindow.frames.fileControl;b.window.document.body.innerHTML='<!DOCTYPE html><head><title>ICEcoder code output</title></head><body><pre style="white-space: pre-wrap">'+top.ICEcoder.xssClean(a.getValue())+"</pre></body></html>";b.focus();b.print();a.focus()},indicateChanges:function(){var a;if(!top.ICEcoder.loadingFile){a="ICEcoder v "+top.ICEcoder.versionNo;for(var b=1;b<=top.ICEcoder.savedPoints.length;b++)if(top.ICEcoder.savedPoints[b-
|
||||
top.ICEcoder.showHide("show",top.get("blackMask"))},pluginsManager:function(){top.get("mediaContainer").innerHTML='<iframe src="lib/plugins-manager.php" class="whiteGlow" style="width: 800px; height: 450px"></iframe>';top.ICEcoder.showHide("show",top.get("blackMask"))},gitHubAction:function(a){top.get("mediaContainer").innerHTML='<iframe src="lib/github.php?action='+a+"&selectedFiles="+top.ICEcoder.selectedFiles.join(";")+"&csrf="+top.ICEcoder.csrf+'" class="whiteGlow" style="width: 340px; height: 340px"></iframe>';
|
||||
top.ICEcoder.showHide("show",top.get("blackMask"))},githubTokenAsk:function(a){if(githubAuthToken=top.ICEcoder.getInput(top.t["Please enter your..."],""))top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/github.php?action=auth&token="+githubAuthToken+"&goNext="+a+"&csrf="+top.ICEcoder.csrf,githubAuthToken=""},showHideGithubNav:function(a){top.get("githubNav").style.display="show"==a?"block":"none";top.get("fileNav").style.display="show"==a?"none":"block"},githubManager:function(){top.ICEcoder.githubAuthTokenSet?
|
||||
(top.get("mediaContainer").innerHTML='<iframe src="lib/github-manager.php" class="whiteGlow" style="width: 660px; height: 450px"></iframe>',top.ICEcoder.showHide("show",top.get("blackMask"))):top.ICEcoder.githubTokenAsk("showManager")},githubDiffToggle:function(){var a;if(!top.ICEcoder.githubAuthTokenSet)top.ICEcoder.githubTokenAsk("loadFiles");else if(top.ICEcoder.githubDiff||top.ICEcoder.ask(top.t["This will compare..."]))top.ICEcoder.githubDiff=!top.ICEcoder.githubDiff,a=top.ICEcoder.githubDiff?
|
||||
"true":"false",top.ICEcoder.filesFrame.src="files.php?githubDiff="+a+"&csrf="+top.ICEcoder.csrf},useNewSettings:function(a,b,c,d,e,f,g,m,h,k,n,p,l,r,s,t){var q;top.ICEcoder.theme=a.slice(a.lastIndexOf("/")+1,a.lastIndexOf("."));"editor"==top.ICEcoder.theme&&(top.ICEcoder.theme="icecoder");q=document.createElement("link");q.setAttribute("rel","stylesheet");q.setAttribute("type","text/css");q.setAttribute("href",a);top.ICEcoder.content.contentWindow.document.getElementsByTagName("head")[0].appendChild(q);
|
||||
a=-1<"3024-day base16-light eclipse elegant neat paraiso-light solarized xq-light".split(" ").indexOf(top.ICEcoder.theme)?"#ccc":"#000";top.ICEcoder.switchTab(top.ICEcoder.selectedTab);b!=top.ICEcoder.codeAssist&&(top.get("codeAssist").checked=b,top.ICEcoder.codeAssistToggle());c!=top.ICEcoder.lockedNav&&top.ICEcoder.lockUnlockNav();c||(ICEcoder.changeFilesW("contract"),top.ICEcoder.hideFileMenu());c=ICEcoder.content.contentWindow.document.styleSheets[4];b=c.rules?"rules":"cssRules";c[b][0].style.fontSize=
|
||||
g;c[b][4].style["border-left-width"]=f?"1px":"0";c[b][4].style["margin-left"]=f?"-1px":"0";c[b][2].style.cssText="background-color: "+a+" !important";top.ICEcoder.lineWrapping=m;top.ICEcoder.indentWithTabs=h;top.ICEcoder.indentSize=k;for(f=0;f<ICEcoder.cMInstances.length;f++)ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("lineWrapping",top.ICEcoder.lineWrapping),ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("indentWithTabs",top.ICEcoder.indentWithTabs),
|
||||
ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("indentUnit",top.ICEcoder.indentSize),ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[f]].setOption("tabSize",top.ICEcoder.indentSize);d!=top.ICEcoder.tagWrapperCommand&&(top.ICEcoder.tagWrapperCommand=d);e!=top.ICEcoder.autoComplete&&(top.ICEcoder.autoComplete=e);top.get("plugins").style.left="left"==n?"0":"auto";top.get("plugins").style.right="right"==n?"0":"auto";top.ICEcoder.bugFilePaths=p;top.ICEcoder.bugFileCheckTimer=
|
||||
l;top.ICEcoder.bugFileMaxLines=r;""!=top.ICEcoder.bugFilePaths[0]?top.ICEcoder.startBugChecking():"undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt);top.ICEcoder.githubAuthTokenSet=s;t&&top.ICEcoder.refreshFileManager()},updateResultsDisplay:function(a){ICEcoder.findReplace(top.get("find").value,!0,!1);top.get("results").style.display="show"==a?"inline-block":"none"},fullScreenSwitcher:function(){"undefined"!=typeof document.cancelFullScreen?document.fullScreen?
|
||||
document.cancelFullScreen():document.body.requestFullScreen():"undefined"!=typeof document.mozCancelFullScreen?document.mozFullScreen?document.mozCancelFullScreen():document.body.mozRequestFullScreen():"undefined"!=typeof document.webkitCancelFullScreen&&(document.webkitIsFullScreen?document.webkitCancelFullScreen():document.body.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT))},zipIt:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="plugins/zip-it/index.php?zip="+
|
||||
a+"&csrf="+top.ICEcoder.csrf},downloadFile:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/download.php?file="+a+"&csrf="+top.ICEcoder.csrf},chmod:function(a,b){a=a.replace(top.iceRoot,"");top.ICEcoder.showHide("hide",top.get("blackMask"));top.ICEcoder.serverQueue("add","lib/file-control.php?action=perms&file="+a+"&perms="+b+"&csrf="+top.ICEcoder.csrf);top.ICEcoder.serverMessage("<b>chMod "+b+" on </b><br>"+a)},openPreviewWindow:function(){if(0<
|
||||
top.ICEcoder.openFiles.length){var a,b,c;b=top.ICEcoder.openFiles[top.ICEcoder.selectedTab-1];c=b.substr(b.lastIndexOf("/")+1);c=c.substr(c.lastIndexOf(".")+1);a=ICEcoder.getcMInstance();top.ICEcoder.previewWindow=window.open(b,"previewWindow");-1<["md"].indexOf(c)?top.ICEcoder.previewWindow.onload=function(){top.ICEcoder.previewWindow.document.documentElement.innerHTML=mmd(a.getValue())}:top.ICEcoder.previewWindow.onload=function(){try{top.ICEcoder.doPesticide()}catch(a){}}}},logout:function(){window.location=
|
||||
window.location+"?logout&csrf="+top.ICEcoder.csrf},message:function(a){alert(a)},ask:function(a){return confirm(a)},getInput:function(a,b){return prompt(a,b)},dataMessage:function(a){var b;b=top.ICEcoder.content.contentWindow.document.getElementById("dataMessage");b.style.display="block";b.innerHTML=a},update:function(){confirm(top.t["Please note for..."])?(top.ICEcoder.showHide("show",top.get("loadingMask")),window.location="lib/updater.php"):window.open("https://icecoder.net")},xhrObj:function(){try{return new XMLHttpRequest}catch(a){}try{return new ActiveXObject("Msxml3.XMLHTTP")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(d){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}return null},
|
||||
openBugReport:function(){var a;"off"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["You can start..."]);"error"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["Error cannot find..."]);"ok"==top.ICEcoder.bugReportStatus&&top.ICEcoder.message(top.t["No new errors..."]);"bugs"==top.ICEcoder.bugReportStatus&&(a=top.ICEcoder.openFiles.indexOf(top.ICEcoder.bugReportPath.replace(/\|/g,"/")),-1<a&&top.ICEcoder.closeTab(a+1,"dontSetPV","dontAsk"),top.ICEcoder.openFile(top.ICEcoder.bugReportPath),
|
||||
top.ICEcoder.bugFilesSizesSeen=top.ICEcoder.bugFilesSizesActual)},startBugChecking:function(){var a;0!==top.ICEcoder.bugFileCheckTimer?("undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt),top.ICEcoder.bugFilesSizesSeen=[],top.ICEcoder.bugFileCheckInt=setInterval(function(){a="lib/bug-files-check.php?";a+="files="+(""!==top.ICEcoder.bugFilePaths[0]?top.ICEcoder.bugFilePaths.join():"null").replace(/\//g,"|");a+="&filesSizesSeen=";if(top.ICEcoder.bugFilesSizesSeen.length!=
|
||||
top.ICEcoder.bugFilePaths.length)for(var b=0;b<top.ICEcoder.bugFilePaths.length;b++)top.ICEcoder.bugFilesSizesSeen[b]="null";a+=top.ICEcoder.bugFilesSizesSeen.join();a+="&maxLines="+top.ICEcoder.bugFileMaxLines;a+="&csrf="+top.ICEcoder.csrf;var c=top.ICEcoder.xhrObj();c.onreadystatechange=function(){if(4==c.readyState&&200==c.status){var a=JSON.parse(c.responseText);top.get("bugIcon").style.backgroundPosition="off"==a.result?"0 0":"ok"==a.result?"-32px 0":"bugs"==a.result?"-48px 0":"-16px 0";top.ICEcoder.bugReportStatus=
|
||||
a.result;"null"==top.ICEcoder.bugFilesSizesSeen[0]&&(top.ICEcoder.bugFilesSizesSeen=a.filesSizesSeen);top.ICEcoder.bugFilesSizesActual=a.filesSizesSeen;top.ICEcoder.bugReportPath=a.bugReportPath}};c.open("GET",a,!0);c.send()},parseInt(1E3*top.ICEcoder.bugFileCheckTimer,10)),top.ICEcoder.bugReportStatus="ok"):"undefined"!=typeof top.ICEcoder.bugFileCheckInt&&clearInterval(top.ICEcoder.bugFileCheckInt)},xssClean:function(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,
|
||||
""").replace(/'/g,"'")},printCode:function(){var a,b;a=top.ICEcoder.getcMInstance();b=top.ICEcoder.filesFrame.contentWindow.frames.fileControl;b.window.document.body.innerHTML='<!DOCTYPE html><head><title>ICEcoder code output</title></head><body><pre style="white-space: pre-wrap">'+top.ICEcoder.xssClean(a.getValue())+"</pre></body></html>";b.focus();b.print();a.focus()},indicateChanges:function(){var a;if(!top.ICEcoder.loadingFile){a="ICEcoder v "+top.ICEcoder.versionNo;for(var b=1;b<=top.ICEcoder.savedPoints.length;b++)if(top.ICEcoder.savedPoints[b-
|
||||
1]!=top.ICEcoder.getcMInstance(b).changeGeneration()){a+=" \u2744";break}top.document.title=a}},switchTab:function(a,b){var c;ICEcoder.selectedTab=a;if(c=ICEcoder.getcMInstance()){ICEcoder.switchMode();for(var d=0;d<ICEcoder.cMInstances.length;d++)ICEcoder.content.contentWindow["cM"+ICEcoder.cMInstances[d]].getWrapperElement().style.display="none";c.setOption("theme",top.ICEcoder.theme);c.getWrapperElement().style.display="block";b||setTimeout(function(){top.ICEcoder.focus()},4);c.refresh();ICEcoder.redoTabHighlight(ICEcoder.selectedTab);
|
||||
top.ICEcoder.findMode=!1;ICEcoder.findReplace(top.get("find").value,!0,!1);top.ICEcoder.getCaretPosition();top.ICEcoder.updateCharDisplay();top.ICEcoder.updateByteDisplay()}},newTab:function(){var a;ICEcoder.cMInstances.push(ICEcoder.nextcMInstance);ICEcoder.selectedTab=ICEcoder.cMInstances.length;ICEcoder.showHide("show",ICEcoder.content);ICEcoder.content.contentWindow.createNewCMInstance(ICEcoder.nextcMInstance);ICEcoder.setLayout();ICEcoder.thisFileFolderType="file";ICEcoder.thisFileFolderLink=
|
||||
"/[NEW]";ICEcoder.openFile();a=ICEcoder.getcMInstance("new");ICEcoder.switchTab(ICEcoder.openFiles.length);a.removeLineClass(ICEcoder["cMActiveLine"+ICEcoder.cMInstances[top.ICEcoder.selectedTab-1]],"background");ICEcoder["cMActiveLine"+ICEcoder.selectedTab]=a.addLineClass(0,"background","cm-s-activeLine");ICEcoder.nextcMInstance++},createNewTab:function(){var a;top.ICEcoder.openFiles.push(top.ICEcoder.shortURL);top.get("tab"+top.ICEcoder.openFiles.length).style.display="inline-block";a=top.ICEcoder.openFiles[top.ICEcoder.openFiles.length-
|
||||
|
||||
Reference in New Issue
Block a user