code
stringlengths
1
2.08M
language
stringclasses
1 value
window.onload = function() { var copyP = document.createElement( 'p' ) ; copyP.className = 'copyright' ; copyP.innerHTML = '&copy; 2007-2010 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Todos los derechos reservados.<br /><br />' ; document.body.appendChild( document.createElement( 'hr' ) ) ; document.body.appendChild( copyP ) ; window.top.SetActiveTopic( window.location.pathname ) ; }
JavaScript
window.onload = function() { var copyP = document.createElement( 'p' ) ; copyP.className = 'copyright' ; copyP.innerHTML = '&copy; 2007-2010 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Todos los derechos reservados.<br /><br />' ; document.body.appendChild( document.createElement( 'hr' ) ) ; document.body.appendChild( copyP ) ; window.top.SetActiveTopic( window.location.pathname ) ; }
JavaScript
window.onload = function() { var copyP = document.createElement( 'p' ) ; copyP.className = 'copyright' ; copyP.innerHTML = '&copy; 2007-2010 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . Wszystkie prawa zastrzeżone.<br /><br />' ; document.body.appendChild( document.createElement( 'hr' ) ) ; document.body.appendChild( copyP ) ; window.top.SetActiveTopic( window.location.pathname ) ; }
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['nn'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'no', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mapper', FolderLoading : 'Laster...', FolderNew : 'Skriv inn det nye mappenavnet: ', FolderRename : 'Skriv inn det nye mappenavnet: ', FolderDelete : 'Er du sikker på at du vil slette mappen "%1"?', FolderRenaming : ' (Endrer mappenavn...)', FolderDeleting : ' (Sletter...)', // Files FileRename : 'Skriv inn det nye filnavnet: ', FileRenameExt : 'Er du sikker på at du vil endre filtypen? Filen kan bli ubrukelig', FileRenaming : 'Endrer filnavn...', FileDelete : 'Er du sikker på at du vil slette denne filen "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Last opp', UploadTip : 'Last opp en ny fil', Refresh : 'Oppdater', Settings : 'Innstillinger', Help : 'Hjelp', HelpTip : 'Hjelp finnes kun på engelsk', // Context Menus Select : 'Velg', SelectThumbnail : 'Velg Miniatyr', View : 'Vis fullversjon', Download : 'Last ned', NewSubFolder : 'Ny Undermappe', Rename : 'Endre navn', Delete : 'Slett', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Avbryt', CloseBtn : 'Lukk', // Upload Panel UploadTitle : 'Last opp ny fil', UploadSelectLbl : 'Velg filen du vil laste opp', UploadProgressLbl : '(Laster opp filen, vennligst vent...)', UploadBtn : 'Last opp valgt fil', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Du må velge en fil fra din datamaskin', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Innstillinger', SetView : 'Filvisning:', SetViewThumb : 'Miniatyrbilder', SetViewList : 'Liste', SetDisplay : 'Vis:', SetDisplayName : 'Filnavn', SetDisplayDate : 'Dato', SetDisplaySize : 'Filstørrelse', SetSort : 'Sorter etter:', SetSortName : 'Filnavn', SetSortDate : 'Dato', SetSortSize : 'Størrelse', // Status Bar FilesCountEmpty : '<Tom Mappe>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Det var ikke mulig å utføre forespørselen. (Feil %1)', Errors : { 10 : 'Ugyldig kommando.', 11 : 'Ressurstypen ble ikke spesifisert i forepørselen.', 12 : 'Ugyldig ressurstype.', 102 : 'Ugyldig fil- eller mappenavn.', 103 : 'Kunne ikke utføre forespørselen pga manglende autorisasjon.', 104 : 'Kunne ikke utføre forespørselen pga manglende tilgang til filsystemet.', 105 : 'Ugyldig filtype.', 109 : 'Ugyldig forespørsel.', 110 : 'Ukjent feil.', 115 : 'Det finnes allerede en fil eller mappe med dette navnet.', 116 : 'Kunne ikke finne mappen. Oppdater vinduet og prøv igjen.', 117 : 'Kunne ikke finne filen. Oppdater vinduet og prøv igjen.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Det fantes allerede en fil med dette navnet. Den opplastede filens navn har blitt endret til "%1"', 202 : 'Ugyldig fil', 203 : 'Ugyldig fil. Filen er for stor.', 204 : 'Den opplastede filen er korrupt.', 205 : 'Det finnes ingen midlertidig mappe for filopplastinger.', 206 : 'Opplastingen ble avbrutt av sikkerhetshensyn. Filen inneholder HTML-aktig data.', 207 : 'Den opplastede filens navn har blitt endret til "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Filvelgeren ikke tilgjengelig av sikkerhetshensyn. Kontakt systemansvarlig og be han sjekke CKFinder\'s konfigurasjonsfil.', 501 : 'Funksjon for minityrbilder er skrudd av.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnavnet kan ikke være tomt', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Mappenavnet kan ikke være tomt', FileInvChar : 'Filnavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', FolderInvChar : 'Mappenavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', PopupBlockView : 'Du må skru av popup-blockeren for å se bildet i nytt vindu.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['nb'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'no', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mapper', FolderLoading : 'Laster...', FolderNew : 'Skriv inn det nye mappenavnet: ', FolderRename : 'Skriv inn det nye mappenavnet: ', FolderDelete : 'Er du sikker på at du vil slette mappen "%1"?', FolderRenaming : ' (Endrer mappenavn...)', FolderDeleting : ' (Sletter...)', // Files FileRename : 'Skriv inn det nye filnavnet: ', FileRenameExt : 'Er du sikker på at du vil endre filtypen? Filen kan bli ubrukelig', FileRenaming : 'Endrer filnavn...', FileDelete : 'Er du sikker på at du vil slette denne filen "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Last opp', UploadTip : 'Last opp en ny fil', Refresh : 'Oppdater', Settings : 'Innstillinger', Help : 'Hjelp', HelpTip : 'Hjelp finnes kun på engelsk', // Context Menus Select : 'Velg', SelectThumbnail : 'Velg Miniatyr', View : 'Vis fullversjon', Download : 'Last ned', NewSubFolder : 'Ny Undermappe', Rename : 'Endre navn', Delete : 'Slett', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Avbryt', CloseBtn : 'Lukk', // Upload Panel UploadTitle : 'Last opp ny fil', UploadSelectLbl : 'Velg filen du vil laste opp', UploadProgressLbl : '(Laster opp filen, vennligst vent...)', UploadBtn : 'Last opp valgt fil', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Du må velge en fil fra din datamaskin', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Innstillinger', SetView : 'Filvisning:', SetViewThumb : 'Miniatyrbilder', SetViewList : 'Liste', SetDisplay : 'Vis:', SetDisplayName : 'Filnavn', SetDisplayDate : 'Dato', SetDisplaySize : 'Filstørrelse', SetSort : 'Sorter etter:', SetSortName : 'Filnavn', SetSortDate : 'Dato', SetSortSize : 'Størrelse', // Status Bar FilesCountEmpty : '<Tom Mappe>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Det var ikke mulig å utføre forespørselen. (Feil %1)', Errors : { 10 : 'Ugyldig kommando.', 11 : 'Ressurstypen ble ikke spesifisert i forepørselen.', 12 : 'Ugyldig ressurstype.', 102 : 'Ugyldig fil- eller mappenavn.', 103 : 'Kunne ikke utføre forespørselen pga manglende autorisasjon.', 104 : 'Kunne ikke utføre forespørselen pga manglende tilgang til filsystemet.', 105 : 'Ugyldig filtype.', 109 : 'Ugyldig forespørsel.', 110 : 'Ukjent feil.', 115 : 'Det finnes allerede en fil eller mappe med dette navnet.', 116 : 'Kunne ikke finne mappen. Oppdater vinduet og prøv igjen.', 117 : 'Kunne ikke finne filen. Oppdater vinduet og prøv igjen.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Det fantes allerede en fil med dette navnet. Den opplastede filens navn har blitt endret til "%1"', 202 : 'Ugyldig fil', 203 : 'Ugyldig fil. Filen er for stor.', 204 : 'Den opplastede filen er korrupt.', 205 : 'Det finnes ingen midlertidig mappe for filopplastinger.', 206 : 'Opplastingen ble avbrutt av sikkerhetshensyn. Filen inneholder HTML-aktig data.', 207 : 'Den opplastede filens navn har blitt endret til "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Filvelgeren ikke tilgjengelig av sikkerhetshensyn. Kontakt systemansvarlig og be han sjekke CKFinder\'s konfigurasjonsfil.', 501 : 'Funksjon for minityrbilder er skrudd av.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnavnet kan ikke være tomt', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Mappenavnet kan ikke være tomt', FileInvChar : 'Filnavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', FolderInvChar : 'Mappenavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', PopupBlockView : 'Du må skru av popup-blockeren for å se bildet i nytt vindu.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Russian * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['ru'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, недоступно</span>', confirmCancel : 'Внесенные вами изменения будут утеряны. Вы уверены?', ok : 'OK', cancel : 'Отмена', confirmationTitle : 'Подтверждение', messageTitle : 'Информация', inputTitle : 'Вопрос', undo : 'Отменить', redo : 'Повторить', skip : 'Пропустить', skipAll : 'Пропустить все', makeDecision : 'Что следует сделать?', rememberDecision: 'Запомнить мой выбор' }, dir : 'ltr', HelpLang : 'en', LangCode : 'ru', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd.mm.yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Папки', FolderLoading : 'Загрузка...', FolderNew : 'Пожалуйста, введите новое имя папки: ', FolderRename : 'Пожалуйста, введите новое имя папки: ', FolderDelete : 'Вы уверены, что хотите удалить папку "%1"?', FolderRenaming : ' (Переименовываю...)', FolderDeleting : ' (Удаляю...)', // Files FileRename : 'Пожалуйста, введите новое имя файла: ', FileRenameExt : 'Вы уверены, что хотите изменить расширение файла? Файл может стать недоступным', FileRenaming : 'Переименовываю...', FileDelete : 'Вы уверены, что хотите удалить файл "%1"?', FilesLoading : 'Загрузка...', FilesEmpty : 'Пустая папка', FilesMoved : 'Файл %1 перемещен в %2:%3', FilesCopied : 'Файл %1 скопирован в %2:%3', // Basket BasketFolder : 'Корзина', BasketClear : 'Очистить корзину', BasketRemove : 'Убрать из корзины', BasketOpenFolder : 'Перейти в папку этого файла', BasketTruncateConfirm : 'Вы точно хотите очистить корзину?', BasketRemoveConfirm : 'Вы точно хотите убрать файл "%1" из корзины?', BasketEmpty : 'В корзине пока нет файлов, добавьте новые с помощью драг-н-дропа (перетащите файл в корзину).', BasketCopyFilesHere : 'Скопировать файл из корзины', BasketMoveFilesHere : 'Переместить файл из корзины', BasketPasteErrorOther : 'Произошла ошибка при обработке файла %s: %e', BasketPasteMoveSuccess : 'Файлы перемещены: %s', BasketPasteCopySuccess : 'Файлы скопированы: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Загрузка', UploadTip : 'Загрузить новый файл', Refresh : 'Обновить', Settings : 'Установки', Help : 'Помощь', HelpTip : 'Помощь', // Context Menus Select : 'Выбрать', SelectThumbnail : 'Выбрать миниатюру', View : 'Посмотреть', Download : 'Сохранить', NewSubFolder : 'Новая папка', Rename : 'Переименовать', Delete : 'Удалить', CopyDragDrop : 'Копировать', MoveDragDrop : 'Переместить', // Dialogs RenameDlgTitle : 'Переименовать', NewNameDlgTitle : 'Новое имя', FileExistsDlgTitle : 'Файл уже существует', SysErrorDlgTitle : 'Системная ошибка', FileOverwrite : 'Заменить файл', FileAutorename : 'Автоматически переименовывать', // Generic OkBtn : 'ОК', CancelBtn : 'Отмена', CloseBtn : 'Закрыть', // Upload Panel UploadTitle : 'Загрузить новый файл', UploadSelectLbl : 'Выбрать файл для загрузки', UploadProgressLbl : '(Загрузка в процессе, пожалуйста подождите...)', UploadBtn : 'Загрузить выбранный файл', UploadBtnCancel : 'Отмена', UploadNoFileMsg : 'Пожалуйста, выберите файл на вашем компьютере', UploadNoFolder : 'Пожалуйста, выберите папку, в которую вы хотите закачать файл.', UploadNoPerms : 'Загрузка файлов запрещена.', UploadUnknError : 'Ошибка при передаче файла.', UploadExtIncorrect : 'В эту папку нельзя закачивать файлы с таким расширением.', // Settings Panel SetTitle : 'Установки', SetView : 'Просмотр:', SetViewThumb : 'Миниатюры', SetViewList : 'Список', SetDisplay : 'Отобразить:', SetDisplayName : 'Имя файла', SetDisplayDate : 'Дата', SetDisplaySize : 'Размер файла', SetSort : 'Сортировка:', SetSortName : 'по имени файла', SetSortDate : 'по дате', SetSortSize : 'по размеру', // Status Bar FilesCountEmpty : '<Пустая папка>', FilesCountOne : '1 файл', FilesCountMany : '%1 файлов', // Size and Speed Kb : '%1 кБ', KbPerSecond : '%1 кБ/с', // Connector Error Messages. ErrorUnknown : 'Невозможно завершить запрос. (Ошибка %1)', Errors : { 10 : 'Неверная команда.', 11 : 'Тип ресурса не указан в запросе.', 12 : 'Неверный запрошенный тип ресурса.', 102 : 'Неверное имя файла или папки.', 103 : 'Невозможно завершить запрос из-за ограничений авторизации.', 104 : 'Невозможно завершить запрос из-за ограничения разрешений файловой системы.', 105 : 'Неверное расширение файла.', 109 : 'Неверный запрос.', 110 : 'Неизвестная ошибка.', 115 : 'Файл или папка с таким именем уже существует.', 116 : 'Папка не найдена. Пожалуйста, обновите вид папок и попробуйте еще раз.', 117 : 'Файл не найден. Пожалуйста, обновите список файлов и попробуйте еще раз.', 118 : 'Исходное расположение файла совпадает с указанным.', 201 : 'Файл с таким именем уже существует. Загруженный файл был переименован в "%1"', 202 : 'Неверный файл', 203 : 'Неверный файл. Размер файла слишком большой.', 204 : 'Загруженный файл поврежден.', 205 : 'Недоступна временная папка для загрузки файлов на сервер.', 206 : 'Загрузка отменена из-за соображений безопасности. Файл содержит похожие на HTML данные.', 207 : 'Загруженный файл был переименован в "%1"', 300 : 'Произошла ошибка при перемещении файла(ов).', 301 : 'Произошла ошибка при копировании файла(ов).', 500 : 'Браузер файлов отключен из-за соображений безопасности. Пожалуйста, сообщите вашему системному администратру и проверьте конфигурационный файл CKFinder.', 501 : 'Поддержка миниатюр отключена.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Имя файла не может быть пустым', FileExists : 'Файл %s уже существует', FolderEmpty : 'Имя папки не может быть пустым', FileInvChar : 'Имя файла не может содержать любой из перечисленных символов: \n\\ / : * ? " < > |', FolderInvChar : 'Имя папки не может содержать любой из перечисленных символов: \n\\ / : * ? " < > |', PopupBlockView : 'Невозможно открыть файл в новом окне. Пожалуйста, проверьте настройки браузера и отключите все блокировки всплывающих окон для этого сайта.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Изменить размеры %s', sizeTooBig : 'Нельзя указывать размеры больше, чем у оригинального файла (%size).', resizeSuccess : 'Размеры успешно изменены.', thumbnailNew : 'Создать миниатюру(ы)', thumbnailSmall : 'Маленькая (%s)', thumbnailMedium : 'Средняя (%s)', thumbnailLarge : 'Большая (%s)', newSize : 'Установить новые размеры', width : 'Ширина', height : 'Высота', invalidHeight : 'Высота должна быть числом больше нуля.', invalidWidth : 'Ширина должна быть числом больше нуля.', invalidName : 'Неверное имя файла.', newImage : 'Сохранить как новый файл', noExtensionChange : 'Не удалось поменять расширение файла.', imageSmall : 'Исходная картинка слишком маленькая', contextMenuName : 'Изменить размер' }, // Fileeditor plugin Fileeditor : { save : 'Сохранить', fileOpenError : 'Не удалось открыть файл.', fileSaveSuccess : 'Файл успешно сохранен.', contextMenuName : 'Редактировать', loadingFile : 'Файл загружается, пожалуйста подождите...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Slovenian * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['sl'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, nedostopen</span>', confirmCancel : 'Nekatere opcije so bile spremenjene. Ali res želite zapreti pogovorno okno?', ok : 'Potrdi', cancel : 'Prekliči', confirmationTitle : 'Potrditev', messageTitle : 'Informacija', inputTitle : 'Vprašanje', undo : 'Razveljavi', redo : 'Obnovi', skip : 'Preskoči', skipAll : 'Preskoči vse', makeDecision : 'Katera aktivnost naj se izvede?', rememberDecision: 'Zapomni si mojo izbiro' }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'sl', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'd.m.yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mape', FolderLoading : 'Nalagam...', FolderNew : 'Vnesite ime za novo mapo: ', FolderRename : 'Vnesite ime nove mape: ', FolderDelete : 'Ali ste prepričani, da želite zbrisati mapo "%1"?', FolderRenaming : ' (Preimenujem...)', FolderDeleting : ' (Brišem...)', // Files FileRename : 'Vnesite novo ime datoteke: ', FileRenameExt : 'Ali ste prepričani, da želite spremeniti končnico datoteke? Možno je, da potem datoteka ne bo uporabna.', FileRenaming : 'Preimenujem...', FileDelete : 'Ali ste prepričani, da želite izbrisati datoteko "%1"?', FilesLoading : 'Nalagam...', FilesEmpty : 'Prazna mapa', FilesMoved : 'Datoteka %1 je bila premaknjena v %2:%3', FilesCopied : 'Datoteka %1 je bila kopirana v %2:%3', // Basket BasketFolder : 'Koš', BasketClear : 'Izprazni koš', BasketRemove : 'Odstrani iz koša', BasketOpenFolder : 'Odpri izvorno mapo', BasketTruncateConfirm : 'Ali res želite odstraniti vse datoteke iz koša?', BasketRemoveConfirm : 'Ali res želite odstraniti datoteko "%1" iz koša?', BasketEmpty : 'V košu ni datotek. Lahko jih povlečete in spustite.', BasketCopyFilesHere : 'Kopiraj datoteke iz koša', BasketMoveFilesHere : 'Premakni datoteke iz koša', BasketPasteErrorOther : 'Napaka z datoteko %s: %e', BasketPasteMoveSuccess : 'Seznam premaknjenih datotek: %s', BasketPasteCopySuccess : 'Seznam kopiranih datotek: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Naloži na strežnik', UploadTip : 'Naloži novo datoteko na strežnik', Refresh : 'Osveži', Settings : 'Nastavitve', Help : 'Pomoč', HelpTip : 'Pomoč', // Context Menus Select : 'Izberi', SelectThumbnail : 'Izberi malo sličico (predogled)', View : 'Predogled', Download : 'Prenesi na svoj računalnik', NewSubFolder : 'Nova podmapa', Rename : 'Preimenuj', Delete : 'Zbriši', CopyDragDrop : 'Kopiraj datoteko', MoveDragDrop : 'Premakni datoteko', // Dialogs RenameDlgTitle : 'Preimenuj', NewNameDlgTitle : 'Novo ime', FileExistsDlgTitle : 'Datoteka že obstaja', SysErrorDlgTitle : 'Sistemska napaka', FileOverwrite : 'Prepiši', FileAutorename : 'Avtomatsko preimenuj', // Generic OkBtn : 'Potrdi', CancelBtn : 'Prekliči', CloseBtn : 'Zapri', // Upload Panel UploadTitle : 'Naloži novo datoteko na strežnik', UploadSelectLbl : 'Izberi datoteko za prenos na strežnik', UploadProgressLbl : '(Prenos na strežnik poteka, prosimo počakajte...)', UploadBtn : 'Prenesi izbrano datoteko na strežnik', UploadBtnCancel : 'Prekliči', UploadNoFileMsg : 'Prosimo izberite datoteko iz svojega računalnika za prenos na strežnik', UploadNoFolder : 'Izberite mapo v katero se bo naložilo datoteko!', UploadNoPerms : 'Nalaganje datotek ni dovoljeno.', UploadUnknError : 'Napaka pri pošiljanju datoteke.', UploadExtIncorrect : 'V tej mapi ta vrsta datoteke ni dovoljena.', // Settings Panel SetTitle : 'Nastavitve', SetView : 'Pogled:', SetViewThumb : 'majhne sličice', SetViewList : 'seznam', SetDisplay : 'Prikaz:', SetDisplayName : 'ime datoteke', SetDisplayDate : 'datum', SetDisplaySize : 'velikost datoteke', SetSort : 'Razvrščanje:', SetSortName : 'po imenu datoteke', SetSortDate : 'po datumu', SetSortSize : 'po velikosti', // Status Bar FilesCountEmpty : '<Prazna mapa>', FilesCountOne : '1 datoteka', FilesCountMany : '%1 datotek(e)', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/sek', // Connector Error Messages. ErrorUnknown : 'Prišlo je do napake. (Napaka %1)', Errors : { 10 : 'Napačen ukaz.', 11 : 'V poizvedbi ni bil jasen tip (resource type).', 12 : 'Tip datoteke ni primeren.', 102 : 'Napačno ime mape ali datoteke.', 103 : 'Vašega ukaza se ne da izvesti zaradi težav z avtorizacijo.', 104 : 'Vašega ukaza se ne da izvesti zaradi težav z nastavitvami pravic v datotečnem sistemu.', 105 : 'Napačna končnica datoteke.', 109 : 'Napačna zahteva.', 110 : 'Neznana napaka.', 115 : 'Datoteka ali mapa s tem imenom že obstaja.', 116 : 'Mapa ni najdena. Prosimo osvežite okno in poskusite znova.', 117 : 'Datoteka ni najdena. Prosimo osvežite seznam datotek in poskusite znova.', 118 : 'Začetna in končna pot je ista.', 201 : 'Datoteka z istim imenom že obstaja. Naložena datoteka je bila preimenovana v "%1"', 202 : 'Neprimerna datoteka.', 203 : 'Datoteka je prevelika in zasede preveč prostora.', 204 : 'Naložena datoteka je okvarjena.', 205 : 'Na strežniku ni na voljo začasna mapa za prenos datotek.', 206 : 'Nalaganje je bilo prekinjeno zaradi varnostnih razlogov. Datoteka vsebuje podatke, ki spominjajo na HTML kodo.', 207 : 'Naložena datoteka je bila preimenovana v "%1"', 300 : 'Premikanje datotek(e) ni uspelo.', 301 : 'Kopiranje datotek(e) ni uspelo.', 500 : 'Brskalnik je onemogočen zaradi varnostnih razlogov. Prosimo kontaktirajte upravljalca spletnih strani.', 501 : 'Ni podpore za majhne sličice (predogled).' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Ime datoteke ne more biti prazno', FileExists : 'Datoteka %s že obstaja', FolderEmpty : 'Mapa ne more biti prazna', FileInvChar : 'Ime datoteke ne sme vsebovati naslednjih znakov: \n\\ / : * ? " < > |', FolderInvChar : 'Ime mape ne sme vsebovati naslednjih znakov: \n\\ / : * ? " < > |', PopupBlockView : 'Datoteke ni možno odpreti v novem oknu. Prosimo nastavite svoj brskalnik tako, da bo dopuščal odpiranje oken (popups) oz. izklopite filtre za blokado odpiranja oken.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Spremeni velikost slike %s', sizeTooBig : 'Širina ali višina slike ne moreta biti večji kot je originalna velikost (%size).', resizeSuccess : 'Velikost slike je bila uspešno spremenjena.', thumbnailNew : 'Kreiraj novo majhno sličico', thumbnailSmall : 'majhna (%s)', thumbnailMedium : 'srednja (%s)', thumbnailLarge : 'velika (%s)', newSize : 'Določite novo velikost', width : 'Širina', height : 'Višina', invalidHeight : 'Nepravilna višina.', invalidWidth : 'Nepravilna širina.', invalidName : 'Nepravilno ime datoteke.', newImage : 'Kreiraj novo sliko', noExtensionChange : 'Končnica datoteke se ne more spremeniti.', imageSmall : 'Izvorna slika je premajhna', contextMenuName : 'Spremeni velikost' }, // Fileeditor plugin Fileeditor : { save : 'Shrani', fileOpenError : 'Datoteke ni mogoče odpreti.', fileSaveSuccess : 'Datoteka je bila shranjena.', contextMenuName : 'Uredi', loadingFile : 'Nalaganje datoteke, prosimo počakajte ...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the French * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['fr'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, Inaccessible</span>', confirmCancel : 'Certaines options ont été modifiées. Êtes vous sûr de vouloir fermer cette fenêtre ?', ok : 'OK', cancel : 'Annuler', confirmationTitle : 'Confirmation', messageTitle : 'Information', inputTitle : 'Question', undo : 'Annuler', redo : 'Rétablir', skip : 'Passer', skipAll : 'passer tout', makeDecision : 'Quelle action choisir ?', rememberDecision: 'Se rappeller de la décision' }, dir : 'ltr', HelpLang : 'en', LangCode : 'fr', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Dossiers', FolderLoading : 'Chargement...', FolderNew : 'Entrez le nouveau nom du dossier: ', FolderRename : 'Entrez le nouveau nom du dossier: ', FolderDelete : 'Êtes-vous sûr de vouloir effacer le dossier "%1" ?', FolderRenaming : ' (Renommage en cours...)', FolderDeleting : ' (Suppression en cours...)', // Files FileRename : 'Entrez le nouveau nom du fichier: ', FileRenameExt : 'Êtes-vous sûr de vouloir ¨changer l\'extension de ce fichier? Le fichier pourrait devenir inutilisable', FileRenaming : 'Renommage en cours...', FileDelete : 'Êtes-vous sûr de vouloir effacer le fichier "%1" ?', FilesLoading : 'Chargement...', FilesEmpty : 'Répertoire vide', FilesMoved : 'Fichier %1 déplacé vers %2:%3', FilesCopied : 'Fichier %1 copié vers %2:%3', // Basket BasketFolder : 'Corbeille', BasketClear : 'Vider la corbeille', BasketRemove : 'Retirer de la corbeille', BasketOpenFolder : 'Ouvrir le répertiore parent', BasketTruncateConfirm : 'Êtes vous sûr de vouloir supprimer tous les fichiers de la corbeille ?', BasketRemoveConfirm : 'Êtes vous sûr de vouloir supprimer le fichier "%1" de la corbeille ?', BasketEmpty : 'Aucun fichier dans la corbeille, déposez en queques uns.', BasketCopyFilesHere : 'Copier des fichiers depuis la corbeille', BasketMoveFilesHere : 'Déplacer des fichiers depuis la corbeille', BasketPasteErrorOther : 'Fichier %s erreur: %e', BasketPasteMoveSuccess : 'Les fichiers suivant ont été déplacés: %s', BasketPasteCopySuccess : 'Les fichiers suivant ont été copiés: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Envoyer', UploadTip : 'Envoyer un nouveau fichier', Refresh : 'Rafraîchir', Settings : 'Configuration', Help : 'Aide', HelpTip : 'Aide', // Context Menus Select : 'Choisir', SelectThumbnail : 'Choisir une miniature', View : 'Voir', Download : 'Télécharger', NewSubFolder : 'Nouveau sous-dossier', Rename : 'Renommer', Delete : 'Effacer', CopyDragDrop : 'Copier les fichiers ici', MoveDragDrop : 'Déplacer les fichiers ici', // Dialogs RenameDlgTitle : 'Renommer', NewNameDlgTitle : 'Nouveau fichier', FileExistsDlgTitle : 'Fichier déjà existant', SysErrorDlgTitle : 'Erreur système', FileOverwrite : 'Ré-écrire', FileAutorename : 'Re-nommage automatique', // Generic OkBtn : 'OK', CancelBtn : 'Annuler', CloseBtn : 'Fermer', // Upload Panel UploadTitle : 'Envoyer un nouveau fichier', UploadSelectLbl : 'Sélectionner le fichier à télécharger', UploadProgressLbl : '(Envoi en cours, veuillez patienter...)', UploadBtn : 'Envoyer le fichier sélectionné', UploadBtnCancel : 'Annuler', UploadNoFileMsg : 'Sélectionner un fichier sur votre ordinateur', UploadNoFolder : 'Merci de sélectionner un répertoire avant l\'envoi.', UploadNoPerms : 'L\'envoi de fichier n\'est pas autorisé', UploadUnknError : 'Erreur pendant l\'envoi du fichier.', UploadExtIncorrect : 'L\'extension du fichier n\'est pas autorisée dans ce dossier.', // Settings Panel SetTitle : 'Configuration', SetView : 'Voir:', SetViewThumb : 'Miniatures', SetViewList : 'Liste', SetDisplay : 'Affichage:', SetDisplayName : 'Nom du fichier', SetDisplayDate : 'Date', SetDisplaySize : 'Taille du fichier', SetSort : 'Classement:', SetSortName : 'par Nom de Fichier', SetSortDate : 'par Date', SetSortSize : 'par Taille', // Status Bar FilesCountEmpty : '<Dossier Vide>', FilesCountOne : '1 fichier', FilesCountMany : '%1 fichiers', // Size and Speed Kb : '%1 ko', KbPerSecond : '%1 ko/s', // Connector Error Messages. ErrorUnknown : 'La demande n\'a pas abouti. (Erreur %1)', Errors : { 10 : 'Commande invalide.', 11 : 'Le type de ressource n\'a pas été spécifié dans la commande.', 12 : 'Le type de ressource n\'est pas valide.', 102 : 'Nom de fichier ou de dossier invalide.', 103 : 'La demande n\'a pas abouti : problème d\'autorisations.', 104 : 'La demande n\'a pas abouti : problème de restrictions de permissions.', 105 : 'Extension de fichier invalide.', 109 : 'Demande invalide.', 110 : 'Erreur inconnue.', 115 : 'Un fichier ou un dossier avec ce nom existe déjà.', 116 : 'Ce dossier n\'existe pas. Veuillez rafraîchir la page et réessayer.', 117 : 'Ce fichier n\'existe pas. Veuillez rafraîchir la page et réessayer.', 118 : 'Les chemins vers la source et la cible sont les mêmes.', 201 : 'Un fichier avec ce nom existe déjà. Le fichier téléversé a été renommé en "%1"', 202 : 'Fichier invalide', 203 : 'Fichier invalide. La taille est trop grande.', 204 : 'Le fichier téléversé est corrompu.', 205 : 'Aucun dossier temporaire n\'est disponible sur le serveur.', 206 : 'Envoi interrompu pour raisons de sécurité. Le fichier contient des données de type HTML.', 207 : 'El fichero subido ha sido renombrado como "%1"', 300 : 'Le déplacement des fichiers a échoué.', 301 : 'La copie des fichiers a échoué.', 500 : 'L\'interface de gestion des fichiers est désactivé. Contactez votre administrateur et vérifier le fichier de configuration de CKFinder.', 501 : 'La fonction "miniatures" est désactivée.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Le nom du fichier ne peut être vide', FileExists : 'Le fichier %s existes déjà', FolderEmpty : 'Le nom du dossier ne peut être vide', FileInvChar : 'Le nom du fichier ne peut pas contenir les charactères suivants : \n\\ / : * ? " < > |', FolderInvChar : 'Le nom du dossier ne peut pas contenir les charactères suivants : \n\\ / : * ? " < > |', PopupBlockView : 'Il n\'a pas été possible d\'ouvrir la nouvelle fenêtre. Désactiver votre bloqueur de fenêtres pour ce site.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Redimensionner %s', sizeTooBig : 'Impossible de modifier la hauteur ou la largeur de cette image pour une valeur plus grande que l\'original (%size).', resizeSuccess : 'L\'image a été redimensionné avec succès.', thumbnailNew : 'Créer une nouvelle vignette', thumbnailSmall : 'Petit (%s)', thumbnailMedium : 'Moyen (%s)', thumbnailLarge : 'Gros (%s)', newSize : 'Déterminer les nouvelles dimensions', width : 'Largeur', height : 'Hauteur', invalidHeight : 'Hauteur invalide.', invalidWidth : 'Largeur invalide.', invalidName : 'Nom de fichier incorrect.', newImage : 'Créer une nouvelle image', noExtensionChange : 'L\'extension du fichier ne peut pas être changé.', imageSmall : 'L\'image est trop petit', contextMenuName : 'Redimensionner' }, // Fileeditor plugin Fileeditor : { save : 'Sauvegarder', fileOpenError : 'Impossible d\'ouvrir le fichier', fileSaveSuccess : 'Fichier sauvegardé avec succès.', contextMenuName : 'Edition', loadingFile : 'Chargement du fichier, veuillez patientez...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the English * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['he'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, לא נגיש</span>', confirmCancel : 'חקל ממאפיינים שונו. ברצונך לסגור חלון?', ok : 'אישור', cancel : 'ביטול', confirmationTitle : 'אישור', messageTitle : 'מידע', inputTitle : 'שאלה', undo : 'לבטל', redo : 'לעשות שוב', skip : 'דלג', skipAll : 'דלג הכל', makeDecision : 'איזו פעולה לבצע?', rememberDecision: 'זכור החלטתי' }, dir : 'rtl', HelpLang : 'en', LangCode : 'he', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'תיקיות', FolderLoading : 'טוען...', FolderNew : 'הקלד שם חדש לתיקיה: ', FolderRename : 'הקלד שם חדש לתיקיה: ', FolderDelete : 'האם ברצונך למחוק תיקיה "%1" ?', FolderRenaming : ' (משנה שם...)', FolderDeleting : ' (מוחק...)', // Files FileRename : 'הקלש שם חדש לקובץ: ', FileRenameExt : 'האם ברוצונך לשנות טיפוס של הקובץ', FileRenaming : 'משנה שם...', FileDelete : 'האם ברצונך למחוק קובץ "%1"?', FilesLoading : 'טוען...', FilesEmpty : 'תיקיה ריקה', FilesMoved : 'קובץ %1 הוזז ל- %2:%3', FilesCopied : 'קובץ %1 הועתק ל- %2:%3', // Basket BasketFolder : 'סל', BasketClear : 'נקה סל', BasketRemove : 'הורד מסל', BasketOpenFolder : 'פתח תיקיית אב', BasketTruncateConfirm : 'האם ברוצונך למחוק את כל הקבצים מסל?', BasketRemoveConfirm : 'האם ברוצונך למחוק את קובץ "%1" מסל?', BasketEmpty : 'אין קבצים בסל, גרור ושחרר משהוא.', BasketCopyFilesHere : 'העתק קבצים מסל', BasketMoveFilesHere : 'הזז קבצים מסל', BasketPasteErrorOther : 'קובץ %s שגיאה: %e', BasketPasteMoveSuccess : 'קבצים הבאים הוזזו: %s', BasketPasteCopySuccess : 'קבצים הבאים הועתקו: %s', // Toolbar Buttons (some used elsewhere) Upload : 'העלאה', UploadTip : 'לעלות קובץ חדש', Refresh : 'רענון', Settings : 'הגדרות', Help : 'עזרה', HelpTip : 'עזרה', // Context Menus Select : 'בחר', SelectThumbnail : 'בחר תמונה קטנה', View : 'צפה', Download : 'הורד', NewSubFolder : 'תת-תיקיה חדשה', Rename : 'שנה שם', Delete : 'מחק', CopyDragDrop : 'העתק קבצים לכאן', MoveDragDrop : 'הזז קבצים לכאן', // Dialogs RenameDlgTitle : 'שנה שם', NewNameDlgTitle : 'שם חדש', FileExistsDlgTitle : 'קובץ כבר קיים', SysErrorDlgTitle : 'שגיעת מערכת', FileOverwrite : 'החלף', FileAutorename : 'אוטומטית לשנות שם', // Generic OkBtn : 'אישור', CancelBtn : 'ביטול', CloseBtn : 'סגור', // Upload Panel UploadTitle : 'העלאת קובץ חדש', UploadSelectLbl : 'בחר קובץ להעלאה', UploadProgressLbl : '(העלאה בתהליך, אנא המתן...)', UploadBtn : 'לעלות קובץ', UploadBtnCancel : 'ביטול', UploadNoFileMsg : 'נא לבחור קובץ מהמחשב שלך', UploadNoFolder : 'נא לבחור תיקיה לפני העלאה.', UploadNoPerms : 'העלאת קובץ אסורה.', UploadUnknError : 'שגיעה בשליחת קובץ.', UploadExtIncorrect : 'סוג קובץ זה לא מאושר בתיקיה זאת.', // Settings Panel SetTitle : 'הגדרות', SetView : 'צפה:', SetViewThumb : 'תמונות קטנות', SetViewList : 'רשימה', SetDisplay : 'תצוגה:', SetDisplayName : 'שם קובץ', SetDisplayDate : 'תאריך', SetDisplaySize : 'גודל קובץ', SetSort : 'מיון:', SetSortName : 'לפי שם', SetSortDate : 'לפי תאריך', SetSortSize : 'לפי גודל', // Status Bar FilesCountEmpty : '<תיקיה ריקה>', FilesCountOne : 'קובץ 1', FilesCountMany : '%1 קבצים', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'בקשה נכשלה. שגיאה. (Error %1)', Errors : { 10 : 'Invalid command.', 11 : 'The resource type was not specified in the request.', 12 : 'The requested resource type is not valid.', 102 : 'Invalid file or folder name.', 103 : 'It was not possible to complete the request due to authorization restrictions.', 104 : 'It was not possible to complete the request due to file system permission restrictions.', 105 : 'Invalid file extension.', 109 : 'Invalid request.', 110 : 'Unknown error.', 115 : 'A file or folder with the same name already exists.', 116 : 'Folder not found. Please refresh and try again.', 117 : 'File not found. Please refresh the files list and try again.', 118 : 'Source and target paths are equal.', 201 : 'A file with the same name is already available. The uploaded file has been renamed to "%1"', 202 : 'Invalid file', 203 : 'Invalid file. The file size is too big.', 204 : 'The uploaded file is corrupt.', 205 : 'No temporary folder is available for upload in the server.', 206 : 'Upload cancelled for security reasons. The file contains HTML like data.', 207 : 'The uploaded file has been renamed to "%1"', 300 : 'Moving file(s) failed.', 301 : 'Copying file(s) failed.', 500 : 'The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.', 501 : 'The thumbnails support is disabled.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'שם קובץ לא יכול להיות ריק', FileExists : 'קובץ %s already exists', FolderEmpty : 'שם תיקיה לא יכול להיות ריק', FileInvChar : 'שם הקובץ לא יכול לכלול תווים הבאים: \n\\ / : * ? " < > |', FolderInvChar : 'שם התיקיה לא יכול לכלול תווים הבאים: \n\\ / : * ? " < > |', PopupBlockView : 'בלתי אפשרי לפתוח קובץ בחלון חדש. נא לבדוק הגדרות דפדפן ולבטל כל החוסמים חלונות קופצות.' }, // Imageresize plugin Imageresize : { dialogTitle : 'שנה גודל %s', sizeTooBig : 'לא יכול לקבוע גובה ורוחב של תמונה יותר גדול מדודל מקורי (%size).', resizeSuccess : 'גודל שונה שהצלחה.', thumbnailNew : 'ליצור תמונה קטנה)טומבנייל(', thumbnailSmall : 'קטן (%s)', thumbnailMedium : 'בינוני (%s)', thumbnailLarge : 'גדול (%s)', newSize : 'קבע גודל חדש', width : 'רוחב', height : 'גובה', invalidHeight : 'גובה לא חוקי.', invalidWidth : 'רוחב לא חוקי.', invalidName : 'שם קובץ לא חוקי.', newImage : 'ליצור תמונה חדשה', noExtensionChange : 'לא ניתן לשנות סוג קובץ.', imageSmall : 'מקור תמונה קטן מדי', contextMenuName : 'שנה גודל' }, // Fileeditor plugin Fileeditor : { save : 'שמור', fileOpenError : 'לא מצליח לפתוח קובץ.', fileSaveSuccess : 'קובץ משמר בהצלחה.', contextMenuName : 'עריכה', loadingFile : 'טוען קובץ, אנא המתן...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Swedish * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['sv'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'en', // MISSING // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy-mm-dd HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mappar', FolderLoading : 'Laddar...', FolderNew : 'Skriv namnet på den nya mappen: ', FolderRename : 'Skriv det nya namnet på mappen: ', FolderDelete : 'Är du säker på att du vill radera mappen "%1"?', FolderRenaming : ' (Byter mappens namn...)', FolderDeleting : ' (Raderar...)', // Files FileRename : 'Skriv det nya filnamnet: ', FileRenameExt : 'Är du säker på att du fill ändra på filändelsen? Filen kan bli oanvändbar', FileRenaming : 'Byter filnamn...', FileDelete : 'Är du säker på att du vill radera filen "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Ladda upp', UploadTip : 'Ladda upp en ny fil', Refresh : 'Uppdatera', Settings : 'Inställningar', Help : 'Hjälp', HelpTip : 'Hjälp', // Context Menus Select : 'Infoga bild', SelectThumbnail : 'Infoga som tumnagel', View : 'Visa', Download : 'Ladda ner', NewSubFolder : 'Ny Undermapp', Rename : 'Byt namn', Delete : 'Radera', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Avbryt', CloseBtn : 'Stäng', // Upload Panel UploadTitle : 'Ladda upp en ny fil', UploadSelectLbl : 'Välj fil att ladda upp', UploadProgressLbl : '(Laddar upp filen, var god vänta...)', UploadBtn : 'Ladda upp den valda filen', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Välj en fil från din dator', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Inställningar', SetView : 'Visa:', SetViewThumb : 'Tumnaglar', SetViewList : 'Lista', SetDisplay : 'Visa:', SetDisplayName : 'Filnamn', SetDisplayDate : 'Datum', SetDisplaySize : 'Filstorlek', SetSort : 'Sortering:', SetSortName : 'Filnamn', SetSortDate : 'Datum', SetSortSize : 'Storlek', // Status Bar FilesCountEmpty : '<Tom Mapp>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', // MISSING KbPerSecond : '%1 kB/s', // MISSING // Connector Error Messages. ErrorUnknown : 'Begäran kunde inte utföras eftersom ett fel uppstod. (Error %1)', Errors : { 10 : 'Ogiltig begäran.', 11 : 'Resursens typ var inte specificerad i förfrågan.', 12 : 'Den efterfrågade resurstypen är inte giltig.', 102 : 'Ogiltigt fil- eller mappnamn.', 103 : 'Begäran kunde inte utföras p.g.a. restriktioner av rättigheterna.', 104 : 'Begäran kunde inte utföras p.g.a. restriktioner av rättigheter i filsystemet.', 105 : 'Ogiltig filändelse.', 109 : 'Ogiltig begäran.', 110 : 'Okänt fel.', 115 : 'En fil eller mapp med aktuellt namn finns redan.', 116 : 'Mappen kunde inte hittas. Var god uppdatera sidan och försök igen.', 117 : 'Filen kunde inte hittas. Var god uppdatera sidan och försök igen.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'En fil med aktuellt namn fanns redan. Den uppladdade filen har döpts om till "%1"', 202 : 'Ogiltig fil', 203 : 'Ogiltig fil. Filen var för stor.', 204 : 'Den uppladdade filen var korrupt.', 205 : 'En tillfällig mapp för uppladdning är inte tillgänglig på servern.', 206 : 'Uppladdningen stoppades av säkerhetsskäl. Filen innehåller HTML-liknande data.', 207 : 'Den uppladdade filen har döpts om till "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Filhanteraren har stoppats av säkerhetsskäl. Var god kontakta administratören för att kontrollera konfigurationsfilen för CKFinder.', 501 : 'Stöd för tumnaglar har stängts av.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnamnet får inte vara tomt', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Mappens namn får inte vara tomt', FileInvChar : 'Filnamnet får inte innehålla något av följande tecken: \n\\ / : * ? " < > |', FolderInvChar : 'Mappens namn får inte innehålla något av följande tecken: \n\\ / : * ? " < > |', PopupBlockView : 'Det gick inte att öppna filen i ett nytt fönster. Ändra inställningarna i din webbläsare och tillåt popupfönster för den här hemsidan.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the German * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['de'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'de', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'd.m.yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Verzeichnisse', FolderLoading : 'Laden...', FolderNew : 'Bitte geben Sie den neuen Verzeichnisnamen an: ', FolderRename : 'Bitte geben Sie den neuen Verzeichnisnamen an: ', FolderDelete : 'Wollen Sie wirklich den Ordner "%1" löschen?', FolderRenaming : ' (Umbenennen...)', FolderDeleting : ' (Löschen...)', // Files FileRename : 'Bitte geben Sie den neuen Dateinamen an: ', FileRenameExt : 'Wollen Sie wirklich die Dateierweiterung ändern? Die Datei könnte unbrauchbar werden!', FileRenaming : 'Umbennenen...', FileDelete : 'Wollen Sie wirklich die Datei "%1" löschen?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Hochladen', UploadTip : 'Neue Datei hochladen', Refresh : 'Aktualisieren', Settings : 'Einstellungen', Help : 'Hilfe', HelpTip : 'Hilfe', // Context Menus Select : 'Auswählen', SelectThumbnail : 'Miniatur auswählen', View : 'Ansehen', Download : 'Herunterladen', NewSubFolder : 'Neues Unterverzeichnis', Rename : 'Umbenennen', Delete : 'Löschen', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Abbrechen', CloseBtn : 'Schließen', // Upload Panel UploadTitle : 'Neue Datei hochladen', UploadSelectLbl : 'Bitte wählen Sie die Datei aus', UploadProgressLbl : '(Die Daten werden übertragen, bitte warten...)', UploadBtn : 'Ausgewählte Datei hochladen', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Bitte wählen Sie eine Datei auf Ihrem Computer aus', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Einstellungen', SetView : 'Ansicht:', SetViewThumb : 'Miniaturansicht', SetViewList : 'Liste', SetDisplay : 'Anzeige:', SetDisplayName : 'Dateiname', SetDisplayDate : 'Datum', SetDisplaySize : 'Dateigröße', SetSort : 'Sortierung:', SetSortName : 'nach Dateinamen', SetSortDate : 'nach Datum', SetSortSize : 'nach Größe', // Status Bar FilesCountEmpty : '<Leeres Verzeichnis>', FilesCountOne : '1 Datei', FilesCountMany : '%1 Datei', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Ihre Anfrage konnte nicht bearbeitet werden. (Fehler %1)', Errors : { 10 : 'Unbekannter Befehl.', 11 : 'Der Ressourcentyp wurde nicht spezifiziert.', 12 : 'Der Ressourcentyp ist nicht gültig.', 102 : 'Ungültiger Datei oder Verzeichnisname.', 103 : 'Ihre Anfrage konnte wegen Authorisierungseinschränkungen nicht durchgeführt werden.', 104 : 'Ihre Anfrage konnte wegen Dateisystemeinschränkungen nicht durchgeführt werden.', 105 : 'Invalid file extension.', 109 : 'Unbekannte Anfrage.', 110 : 'Unbekannter Fehler.', 115 : 'Es existiert bereits eine Datei oder ein Ordner mit dem gleichen Namen.', 116 : 'Verzeichnis nicht gefunden. Bitte aktualisieren Sie die Anzeige und versuchen es noch einmal.', 117 : 'Datei nicht gefunden. Bitte aktualisieren Sie die Dateiliste und versuchen es noch einmal.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Es existiert bereits eine Datei unter gleichem Namen. Die hochgeladene Datei wurde unter "%1" gespeichert.', 202 : 'Ungültige Datei', 203 : 'ungültige Datei. Die Dateigröße ist zu groß.', 204 : 'Die hochgeladene Datei ist korrupt.', 205 : 'Es existiert kein temp. Ordner für das Hochladen auf den Server.', 206 : 'Das Hochladen wurde aus Sicherheitsgründen abgebrochen. Die Datei enthält HTML-Daten.', 207 : 'Die hochgeladene Datei wurde unter "%1" gespeichert.', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Der Dateibrowser wurde aus Sicherheitsgründen deaktiviert. Bitte benachrichtigen Sie Ihren Systemadministrator und prüfen Sie die Konfigurationsdatei.', 501 : 'Die Miniaturansicht wurde deaktivert.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Der Dateinamen darf nicht leer sein', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Der Verzeichnisname darf nicht leer sein', FileInvChar : 'Der Dateinamen darf nicht eines der folgenden Zeichen enthalten: \n\\ / : * ? " < > |', FolderInvChar : 'Der Verzeichnisname darf nicht eines der folgenden Zeichen enthalten: \n\\ / : * ? " < > |', PopupBlockView : 'Die Datei konnte nicht in einem neuen Fenster geöffnet werden. Bitte deaktivieren Sie in Ihrem Browser alle Popup-Blocker für diese Seite.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Latvian * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['lv'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'lv', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mapes', FolderLoading : 'Ielādē...', FolderNew : 'Lūdzu ierakstiet mapes nosaukumu: ', FolderRename : 'Lūdzu ierakstiet jauno mapes nosaukumu: ', FolderDelete : 'Vai tiešām vēlaties neatgriezeniski dzēst mapi "%1"?', FolderRenaming : ' (Pārsauc...)', FolderDeleting : ' (Dzēš...)', // Files FileRename : 'Lūdzu ierakstiet jauno faila nosaukumu: ', FileRenameExt : 'Vai tiešām vēlaties mainīt faila paplašinājumu? Fails var palikt nelietojams.', FileRenaming : 'Pārsauc...', FileDelete : 'Vai tiešām vēlaties neatgriezeniski dzēst failu "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Augšupielādēt', UploadTip : 'Augšupielādēt jaunu failu', Refresh : 'Pārlādēt', Settings : 'Uzstādījumi', Help : 'Palīdzība', HelpTip : 'Palīdzība', // Context Menus Select : 'Izvēlēties', SelectThumbnail : 'Izvēlēties sīkbildi', View : 'Skatīt', Download : 'Lejupielādēt', NewSubFolder : 'Jauna apakšmape', Rename : 'Pārsaukt', Delete : 'Dzēst', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'Labi', CancelBtn : 'Atcelt', CloseBtn : 'Aizvērt', // Upload Panel UploadTitle : 'Jauna faila augšupielādēšana', UploadSelectLbl : 'Izvēlaties failu, ko augšupielādēt', UploadProgressLbl : '(Augšupielādē, lūdzu uzgaidiet...)', UploadBtn : 'Augšupielādēt izvēlēto failu', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Lūdzu izvēlaties failu no sava datora', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Uzstādījumi', SetView : 'Attēlot:', SetViewThumb : 'Sīkbildes', SetViewList : 'Failu Sarakstu', SetDisplay : 'Rādīt:', SetDisplayName : 'Faila Nosaukumu', SetDisplayDate : 'Datumu', SetDisplaySize : 'Faila Izmēru', SetSort : 'Kārtot:', SetSortName : 'pēc Faila Nosaukuma', SetSortDate : 'pēc Datuma', SetSortSize : 'pēc Izmēra', // Status Bar FilesCountEmpty : '<Tukša mape>', FilesCountOne : '1 fails', FilesCountMany : '%1 faili', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Nebija iespējams pabeigt pieprasījumu. (Kļūda %1)', Errors : { 10 : 'Nederīga komanda.', 11 : 'Resursa veids netika norādīts pieprasījumā.', 12 : 'Pieprasītais resursa veids nav derīgs.', 102 : 'Nederīgs faila vai mapes nosaukums.', 103 : 'Nav iespējams pabeigt pieprasījumu, autorizācijas aizliegumu dēļ.', 104 : 'Nav iespējams pabeigt pieprasījumu, failu sistēmas atļauju ierobežojumu dēļ.', 105 : 'Neatļauts faila paplašinājums.', 109 : 'Nederīgs pieprasījums.', 110 : 'Nezināma kļūda.', 115 : 'Fails vai mape ar šādu nosaukumu jau pastāv.', 116 : 'Mape nav atrasta. Lūdzu pārlādējiet šo logu un mēģiniet vēlreiz.', 117 : 'Fails nav atrasts. Lūdzu pārlādējiet failu sarakstu un mēģiniet vēlreiz.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Fails ar šādu nosaukumu jau eksistē. Augšupielādētais fails tika pārsaukts par "%1"', 202 : 'Nederīgs fails', 203 : 'Nederīgs fails. Faila izmērs pārsniedz pieļaujamo.', 204 : 'Augšupielādētais fails ir bojāts.', 205 : 'Neviena pagaidu mape nav pieejama priekš augšupielādēšanas uz servera.', 206 : 'Augšupielāde atcelta drošības apsvērumu dēļ. Fails satur HTML veida datus.', 207 : 'Augšupielādētais fails tika pārsaukts par "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Failu pārlūks ir atslēgts drošības apsvērumu dēļ. Lūdzu sazinieties ar šīs sistēmas tehnisko administratoru vai pārbaudiet CKFinder konfigurācijas failu.', 501 : 'Sīkbilžu atbalsts ir atslēgts.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Faila nosaukumā nevar būt tukšums', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Mapes nosaukumā nevar būt tukšums', FileInvChar : 'Faila nosaukums nedrīkst saturēt nevienu no sekojošajām zīmēm: \n\\ / : * ? " < > |', FolderInvChar : 'Mapes nosaukums nedrīkst saturēt nevienu no sekojošajām zīmēm: \n\\ / : * ? " < > |', PopupBlockView : 'Nav iespējams failu atvērt jaunā logā. Lūdzu veiciet izmaiņas uzstādījumos savai interneta pārlūkprogrammai un izslēdziet visus uznirstošo logu bloķētājus šai adresei.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['no'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'no', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mapper', FolderLoading : 'Laster...', FolderNew : 'Skriv inn det nye mappenavnet: ', FolderRename : 'Skriv inn det nye mappenavnet: ', FolderDelete : 'Er du sikker på at du vil slette mappen "%1"?', FolderRenaming : ' (Endrer mappenavn...)', FolderDeleting : ' (Sletter...)', // Files FileRename : 'Skriv inn det nye filnavnet: ', FileRenameExt : 'Er du sikker på at du vil endre filtypen? Filen kan bli ubrukelig', FileRenaming : 'Endrer filnavn...', FileDelete : 'Er du sikker på at du vil slette denne filen "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Last opp', UploadTip : 'Last opp en ny fil', Refresh : 'Oppdater', Settings : 'Innstillinger', Help : 'Hjelp', HelpTip : 'Hjelp finnes kun på engelsk', // Context Menus Select : 'Velg', SelectThumbnail : 'Velg Miniatyr', View : 'Vis fullversjon', Download : 'Last ned', NewSubFolder : 'Ny Undermappe', Rename : 'Endre navn', Delete : 'Slett', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Avbryt', CloseBtn : 'Lukk', // Upload Panel UploadTitle : 'Last opp ny fil', UploadSelectLbl : 'Velg filen du vil laste opp', UploadProgressLbl : '(Laster opp filen, vennligst vent...)', UploadBtn : 'Last opp valgt fil', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Du må velge en fil fra din datamaskin', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Innstillinger', SetView : 'Filvisning:', SetViewThumb : 'Miniatyrbilder', SetViewList : 'Liste', SetDisplay : 'Vis:', SetDisplayName : 'Filnavn', SetDisplayDate : 'Dato', SetDisplaySize : 'Filstørrelse', SetSort : 'Sorter etter:', SetSortName : 'Filnavn', SetSortDate : 'Dato', SetSortSize : 'Størrelse', // Status Bar FilesCountEmpty : '<Tom Mappe>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Det var ikke mulig å utføre forespørselen. (Feil %1)', Errors : { 10 : 'Ugyldig kommando.', 11 : 'Ressurstypen ble ikke spesifisert i forepørselen.', 12 : 'Ugyldig ressurstype.', 102 : 'Ugyldig fil- eller mappenavn.', 103 : 'Kunne ikke utføre forespørselen pga manglende autorisasjon.', 104 : 'Kunne ikke utføre forespørselen pga manglende tilgang til filsystemet.', 105 : 'Ugyldig filtype.', 109 : 'Ugyldig forespørsel.', 110 : 'Ukjent feil.', 115 : 'Det finnes allerede en fil eller mappe med dette navnet.', 116 : 'Kunne ikke finne mappen. Oppdater vinduet og prøv igjen.', 117 : 'Kunne ikke finne filen. Oppdater vinduet og prøv igjen.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Det fantes allerede en fil med dette navnet. Den opplastede filens navn har blitt endret til "%1"', 202 : 'Ugyldig fil', 203 : 'Ugyldig fil. Filen er for stor.', 204 : 'Den opplastede filen er korrupt.', 205 : 'Det finnes ingen midlertidig mappe for filopplastinger.', 206 : 'Opplastingen ble avbrutt av sikkerhetshensyn. Filen inneholder HTML-aktig data.', 207 : 'Den opplastede filens navn har blitt endret til "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Filvelgeren ikke tilgjengelig av sikkerhetshensyn. Kontakt systemansvarlig og be han sjekke CKFinder\'s konfigurasjonsfil.', 501 : 'Funksjon for minityrbilder er skrudd av.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnavnet kan ikke være tomt', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Mappenavnet kan ikke være tomt', FileInvChar : 'Filnavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', FolderInvChar : 'Mappenavnet kan ikke inneholde følgende tegn: \n\\ / : * ? " < > |', PopupBlockView : 'Du må skru av popup-blockeren for å se bildet i nytt vindu.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['el'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'el', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['ΜΜ', 'ΠΜ'], // Folders FoldersTitle : 'Φάκελοι', FolderLoading : 'Φόρτωση...', FolderNew : 'Παρακαλούμε πληκτρολογήστε την ονομασία του νέου φακέλου: ', FolderRename : 'Παρακαλούμε πληκτρολογήστε την νέα ονομασία του φακέλου: ', FolderDelete : 'Είστε σίγουροι ότι θέλετε να διαγράψετε το φάκελο "%1";', FolderRenaming : ' (Μετονομασία...)', FolderDeleting : ' (Διαγραφή...)', // Files FileRename : 'Παρακαλούμε πληκτρολογήστε την νέα ονομασία του αρχείου: ', FileRenameExt : 'Είστε σίγουροι ότι θέλετε να αλλάξετε την επέκταση του αρχείου; Μετά από αυτή την ενέργεια το αρχείο μπορεί να μην μπορεί να χρησιμοποιηθεί', FileRenaming : 'Μετονομασία...', FileDelete : 'Είστε σίγουροι ότι θέλετε να διαγράψετε το αρχείο "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Μεταφόρτωση', UploadTip : 'Μεταφόρτωση Νέου Αρχείου', Refresh : 'Ανανέωση', Settings : 'Ρυθμίσεις', Help : 'Βοήθεια', HelpTip : 'Βοήθεια', // Context Menus Select : 'Επιλογή', SelectThumbnail : 'Επιλογή Μικρογραφίας', View : 'Προβολή', Download : 'Λήψη Αρχείου', NewSubFolder : 'Νέος Υποφάκελος', Rename : 'Μετονομασία', Delete : 'Διαγραφή', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Ακύρωση', CloseBtn : 'Κλείσιμο', // Upload Panel UploadTitle : 'Μεταφόρτωση Νέου Αρχείου', UploadSelectLbl : 'επιλέξτε το αρχείο που θέλετε να μεταφερθεί κάνοντας κλίκ στο κουμπί', UploadProgressLbl : '(Η μεταφόρτωση εκτελείται, παρακαλούμε περιμένετε...)', UploadBtn : 'Μεταφόρτωση Επιλεγμένου Αρχείου', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Παρακαλούμε επιλέξτε ένα αρχείο από τον υπολογιστή σας', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Ρυθμίσεις', SetView : 'Προβολή:', SetViewThumb : 'Μικρογραφίες', SetViewList : 'Λίστα', SetDisplay : 'Εμφάνιση:', SetDisplayName : 'Όνομα Αρχείου', SetDisplayDate : 'Ημερομηνία', SetDisplaySize : 'Μέγεθος Αρχείου', SetSort : 'Ταξινόμηση:', SetSortName : 'βάσει Όνοματος Αρχείου', SetSortDate : 'βάσει Ημερομήνιας', SetSortSize : 'βάσει Μεγέθους', // Status Bar FilesCountEmpty : '<Κενός Φάκελος>', FilesCountOne : '1 αρχείο', FilesCountMany : '%1 αρχεία', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Η ενέργεια δεν ήταν δυνατόν να εκτελεστεί. (Σφάλμα %1)', Errors : { 10 : 'Λανθασμένη Εντολή.', 11 : 'Το resource type δεν ήταν δυνατόν να προσδιορίστεί.', 12 : 'Το resource type δεν είναι έγκυρο.', 102 : 'Το όνομα αρχείου ή φακέλου δεν είναι έγκυρο.', 103 : 'Δεν ήταν δυνατή η εκτέλεση της ενέργειας λόγω έλλειψης δικαιωμάτων ασφαλείας.', 104 : 'Δεν ήταν δυνατή η εκτέλεση της ενέργειας λόγω περιορισμών του συστήματος αρχείων.', 105 : 'Λανθασμένη Επέκταση Αρχείου.', 109 : 'Λανθασμένη Ενέργεια.', 110 : 'Άγνωστο Λάθος.', 115 : 'Το αρχείο ή φάκελος υπάρχει ήδη.', 116 : 'Ο φάκελος δεν βρέθηκε. Παρακαλούμε ανανεώστε τη σελίδα και προσπαθήστε ξανά.', 117 : 'Το αρχείο δεν βρέθηκε. Παρακαλούμε ανανεώστε τη σελίδα και προσπαθήστε ξανά.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Ένα αρχείο με την ίδια ονομασία υπάρχει ήδη. Το μεταφορτωμένο αρχείο μετονομάστηκε σε "%1"', 202 : 'Λανθασμένο Αρχείο', 203 : 'Λανθασμένο Αρχείο. Το μέγεθος του αρχείου είναι πολύ μεγάλο.', 204 : 'Το μεταφορτωμένο αρχείο είναι χαλασμένο.', 205 : 'Δεν υπάρχει προσωρινός φάκελος για να χρησιμοποιηθεί για τις μεταφορτώσεις των αρχείων.', 206 : 'Η μεταφόρτωση ακυρώθηκε για λόγους ασφαλείας. Το αρχείο περιέχει δεδομένα μορφής HTML.', 207 : 'Το μεταφορτωμένο αρχείο μετονομάστηκε σε "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Ο πλοηγός αρχείων έχει απενεργοποιηθεί για λόγους ασφαλείας. Παρακαλούμε επικοινωνήστε με τον διαχειριστή της ιστοσελίδας και ελέγξτε το αρχείο ρυθμίσεων του πλοηγού (CKFinder).', 501 : 'Η υποστήριξη των μικρογραφιών έχει απενεργοποιηθεί.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Η ονομασία του αρχείου δεν μπορεί να είναι κενή', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Η ονομασία του φακέλου δεν μπορεί να είναι κενή', FileInvChar : 'Η ονομασία του αρχείου δεν μπορεί να περιέχει τους ακόλουθους χαρακτήρες: \n\\ / : * ? " < > |', FolderInvChar : 'Η ονομασία του φακέλου δεν μπορεί να περιέχει τους ακόλουθους χαρακτήρες: \n\\ / : * ? " < > |', PopupBlockView : 'Δεν ήταν εφικτό να ανοίξει το αρχείο σε νέο παράθυρο. Παρακαλώ, ελέγξτε τις ρυθμίσεις τους πλοηγού σας και απενεργοποιήστε όλους τους popup blockers για αυτή την ιστοσελίδα.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Latin American Spanish * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['es-mx'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, no disponible</span>', confirmCancel : 'Algunas opciones se han cambiado\r\n¿Está seguro de querer cerrar el diálogo?', ok : 'Aceptar', cancel : 'Cancelar', confirmationTitle : 'Confirmación', messageTitle : 'Información', inputTitle : 'Pregunta', undo : 'Deshacer', redo : 'Rehacer', skip : 'Omitir', skipAll : 'Omitir todos', makeDecision : '¿Qué acción debe realizarse?', rememberDecision: 'Recordar mi decisión' }, dir : 'ltr', HelpLang : 'es-mx', LangCode : 'es-mx', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Carpetas', FolderLoading : 'Cargando...', FolderNew : 'Por favor, escriba el nombre para la nueva carpeta: ', FolderRename : 'Por favor, escriba el nuevo nombre para la carpeta: ', FolderDelete : '¿Está seguro de que quiere borrar la carpeta "%1"?', FolderRenaming : ' (Renombrando...)', FolderDeleting : ' (Borrando...)', // Files FileRename : 'Por favor, escriba el nuevo nombre del archivo: ', FileRenameExt : '¿Está seguro de querer cambiar la extensión del archivo? El archivo puede dejar de ser usable', FileRenaming : 'Renombrando...', FileDelete : '¿Está seguro de que quiere borrar el archivo "%1"?', FilesLoading : 'Cargando...', FilesEmpty : 'Carpeta vacía', FilesMoved : 'Archivo %1 movido a %2:%3', FilesCopied : 'Archivo %1 copiado a %2:%3', // Basket BasketFolder : 'Cesta', BasketClear : 'Vaciar cesta', BasketRemove : 'Quitar de la cesta', BasketOpenFolder : 'Abrir carpeta padre', BasketTruncateConfirm : '¿Está seguro de querer quitar todos los archivos de la cesta?', BasketRemoveConfirm : '¿Está seguro de querer quitar el archivo "%1" de la cesta?', BasketEmpty : 'No hay archivos en la cesta, arrastra y suelta algunos.', BasketCopyFilesHere : 'Copiar archivos de la cesta', BasketMoveFilesHere : 'Mover archivos de la cesta', BasketPasteErrorOther : 'Fichero %s error: %e', BasketPasteMoveSuccess : 'Los siguientes ficheros han sido movidos: %s', BasketPasteCopySuccess : 'Los siguientes ficheros han sido copiados: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Añadir', UploadTip : 'Añadir nuevo archivo', Refresh : 'Actualizar', Settings : 'Configuración', Help : 'Ayuda', HelpTip : 'Ayuda', // Context Menus Select : 'Seleccionar', SelectThumbnail : 'Seleccionar el icono', View : 'Ver', Download : 'Descargar', NewSubFolder : 'Nueva Subcarpeta', Rename : 'Renombrar', Delete : 'Borrar', CopyDragDrop : 'Copiar archivo aquí', MoveDragDrop : 'Mover archivo aquí', // Dialogs RenameDlgTitle : 'Renombrar', NewNameDlgTitle : 'Nuevo nombre', FileExistsDlgTitle : 'Archivo existente', SysErrorDlgTitle : 'Error de sistema', FileOverwrite : 'Sobreescribir', FileAutorename : 'Auto-renombrar', // Generic OkBtn : 'Aceptar', CancelBtn : 'Cancelar', CloseBtn : 'Cerrar', // Upload Panel UploadTitle : 'Añadir nuevo archivo', UploadSelectLbl : 'Elija el archivo a subir', UploadProgressLbl : '(Subida en progreso, por favor espere...)', UploadBtn : 'Subir el archivo elegido', UploadBtnCancel : 'Cancelar', UploadNoFileMsg : 'Por favor, elija un archivo de su computadora', UploadNoFolder : 'Por favor, escoja la carpeta antes de iniciar la subida.', UploadNoPerms : 'No puede subir archivos.', UploadUnknError : 'Error enviando el archivo.', UploadExtIncorrect : 'La extensión del archivo no está permitida en esta carpeta.', // Settings Panel SetTitle : 'Configuración', SetView : 'Vista:', SetViewThumb : 'Iconos', SetViewList : 'Lista', SetDisplay : 'Mostrar:', SetDisplayName : 'Nombre de archivo', SetDisplayDate : 'Fecha', SetDisplaySize : 'Tamaño del archivo', SetSort : 'Ordenar:', SetSortName : 'por Nombre', SetSortDate : 'por Fecha', SetSortSize : 'por Tamaño', // Status Bar FilesCountEmpty : '<Carpeta vacía>', FilesCountOne : '1 archivo', FilesCountMany : '%1 archivos', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'No ha sido posible completar la solicitud. (Error %1)', Errors : { 10 : 'Comando incorrecto.', 11 : 'El tipo de recurso no ha sido especificado en la solicitud.', 12 : 'El tipo de recurso solicitado no es válido.', 102 : 'Nombre de archivo o carpeta no válido.', 103 : 'No se ha podido completar la solicitud debido a las restricciones de autorización.', 104 : 'No ha sido posible completar la solicitud debido a restricciones en el sistema de archivos.', 105 : 'La extensión del archivo no es válida.', 109 : 'Petición inválida.', 110 : 'Error desconocido.', 115 : 'Ya existe un archivo o carpeta con ese nombre.', 116 : 'No se ha encontrado la carpeta. Por favor, actualice y pruebe de nuevo.', 117 : 'No se ha encontrado el archivo. Por favor, actualice la lista de archivos y pruebe de nuevo.', 118 : 'Las rutas origen y destino son iguales.', 201 : 'Ya existía un archivo con ese nombre. El archivo subido ha sido renombrado como "%1"', 202 : 'Archivo inválido', 203 : 'Archivo inválido. El tamaño es demasiado grande.', 204 : 'El archivo subido está corrupto.', 205 : 'La carpeta temporal no está disponible en el servidor para las subidas.', 206 : 'La subida se ha cancelado por razones de seguridad. El archivo contenía código HTML.', 207 : 'El archivo subido ha sido renombrado como "%1"', 300 : 'Ha fallado el mover el(los) archivo(s).', 301 : 'Ha fallado el copiar el(los) archivo(s).', 500 : 'El navegador de archivos está deshabilitado por razones de seguridad. Por favor, contacte con el administrador de su sistema y compruebe el archivo de configuración de CKFinder.', 501 : 'El soporte para iconos está deshabilitado.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'El nombre del archivo no puede estar vacío', FileExists : 'El archivo %s ya existe', FolderEmpty : 'El nombre de la carpeta no puede estar vacío', FileInvChar : 'El nombre del archivo no puede contener ninguno de los caracteres siguientes: \n\\ / : * ? " < > |', FolderInvChar : 'El nombre de la carpeta no puede contener ninguno de los caracteres siguientes: \n\\ / : * ? " < > |', PopupBlockView : 'No ha sido posible abrir el archivo en una nueva ventana. Por favor, configure su navegador y desactive todos los bloqueadores de ventanas para esta página.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Redimensionar %s', sizeTooBig : 'No se puede poner la altura o anchura de la imagen mayor que las dimensiones originales (%size).', resizeSuccess : 'Imagen redimensionada correctamente.', thumbnailNew : 'Crear nueva minuatura', thumbnailSmall : 'Pequeña (%s)', thumbnailMedium : 'Mediana (%s)', thumbnailLarge : 'Grande (%s)', newSize : 'Establecer nuevo tamaño', width : 'Ancho', height : 'Alto', invalidHeight : 'Altura inválida.', invalidWidth : 'Anchura inválida.', invalidName : 'Nombre no válido.', newImage : 'Crear nueva imagen', noExtensionChange : 'La extensión no se puede cambiar.', imageSmall : 'La imagen original es demasiado pequeña', contextMenuName : 'Redimensionar' }, // Fileeditor plugin Fileeditor : { save : 'Guardar', fileOpenError : 'No se puede abrir el archivo.', fileSaveSuccess : 'Archivo guardado correctamente.', contextMenuName : 'Editar', loadingFile : 'Cargando archivo, por favor espere...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Italian * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['it'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', cancel : 'Annulla', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Annulla', redo : 'Ripristina', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', HelpLang : 'en', LangCode : 'it', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Cartelle', FolderLoading : 'Caricando...', FolderNew : 'Nome della cartella: ', FolderRename : 'Nuovo nome della cartella: ', FolderDelete : 'Se sicuro di voler eliminare la cartella "%1"?', FolderRenaming : ' (Rinominando...)', FolderDeleting : ' (Eliminando...)', // Files FileRename : 'Nuovo nome del file: ', FileRenameExt : 'Sei sicure di voler cambiare la estensione del file? Il file può risultare inusabile', FileRenaming : 'Rinominando...', FileDelete : 'Sei sicuro di voler eliminare il file "%1"?', FilesLoading : 'Caricamento in corso...', FilesEmpty : 'Cartella vuota', FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Upload', UploadTip : 'Carica Nuovo File', Refresh : 'Aggiorna', Settings : 'Configurazioni', Help : 'Aiuto', HelpTip : 'Aiuto (Inglese)', // Context Menus Select : 'Seleziona', SelectThumbnail : 'Seleziona la miniatura', View : 'Vedi', Download : 'Scarica', NewSubFolder : 'Nuova Sottocartella', Rename : 'Rinomina', Delete : 'Elimina', CopyDragDrop : 'Copia file qui', MoveDragDrop : 'Muove file qui', // Dialogs RenameDlgTitle : 'Rinomina', NewNameDlgTitle : 'Nuovo nome', FileExistsDlgTitle : 'Il file già esiste', SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Sovrascrivere', FileAutorename : 'Rinomina automaticamente', // Generic OkBtn : 'OK', CancelBtn : 'Anulla', CloseBtn : 'Chiudi', // Upload Panel UploadTitle : 'Carica Nuovo File', UploadSelectLbl : 'Seleziona il file', UploadProgressLbl : '(Caricamento in corso, attendere prego...)', UploadBtn : 'Carica File', UploadBtnCancel : 'Annulla', UploadNoFileMsg : 'Seleziona il file da caricare', UploadNoFolder : 'Seleziona il file prima di caricare.', UploadNoPerms : 'Non è permesso il caricamento di file.', UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'In questa cartella non sono permessi file con questa estensione.', // Settings Panel SetTitle : 'Configurazioni', SetView : 'Vedi:', SetViewThumb : 'Anteprima', SetViewList : 'Lista', SetDisplay : 'Informazioni:', SetDisplayName : 'Nome del File', SetDisplayDate : 'Data', SetDisplaySize : 'Dimensione', SetSort : 'Ordina:', SetSortName : 'per Nome', SetSortDate : 'per Data', SetSortSize : 'per Dimensione', // Status Bar FilesCountEmpty : '<Nessun file>', FilesCountOne : '1 file', FilesCountMany : '%1 file', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Impossibile completare la richiesta. (Errore %1)', Errors : { 10 : 'Commando non valido.', 11 : 'Il tipo di risorsa non è stato specificato nella richiesta.', 12 : 'Il tipo di risorsa richiesto non è valido.', 102 : 'Nome di file o cartella non valido.', 103 : 'Non è stato possibile completare la richiesta a causa di restrizioni di autorizazione.', 104 : 'Non è stato possibile completare la richiesta a causa di restrizioni nei permessi del file system.', 105 : 'L\'estensione del file non è valida.', 109 : 'Richiesta invalida.', 110 : 'Errore sconosciuto.', 115 : 'Un file o cartella con lo stesso nome è già esistente.', 116 : 'Cartella non trovata. Prego aggiornare e riprovare.', 117 : 'File non trovato. Prego aggirnare la lista dei file e riprovare.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Un file con lo stesso nome è già disponibile. Il file caricato è stato rinominato in "%1".', 202 : 'File invalido', 203 : 'File invalido. La dimensione del file eccede i limiti del sistema.', 204 : 'Il file caricato è corrotto.', 205 : 'Il folder temporario non è disponibile new server.', 206 : 'Upload annullato per motivi di sicurezza. Il file contiene dati in formatto HTML.', 207 : 'El fichero subido ha sido renombrado como "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Questo programma è disabilitato per motivi di sicurezza. Prego contattare l\'amministratore del sistema e verificare le configurazioni di CKFinder.', 501 : 'Il supporto alle anteprime non è attivo.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Il nome del file non può essere vuoto', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Il nome della cartella non può essere vuoto', FileInvChar : 'I seguenti caratteri non possono essere usati per comporre il nome del file: \n\\ / : * ? " < > |', FolderInvChar : 'I seguenti caratteri non possono essere usati per comporre il nome della cartella: \n\\ / : * ? " < > |', PopupBlockView : 'Non è stato possile aprire il file in una nuova finestra. Prego configurare il browser e disabilitare i blocchi delle popup.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Ridimensiona %s', sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Piccolo (%s)', thumbnailMedium : 'Medio (%s)', thumbnailLarge : 'Grande (%s)', newSize : 'Nuove dimensioni', width : 'Larghezza', height : 'Altezza', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Crea nuova immagine', noExtensionChange : 'L\'estensione del file non può essere cambiata.', imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Ridimensiona' }, // Fileeditor plugin Fileeditor : { save : 'Salva', fileOpenError : 'Non è stato possibile aprire il file.', fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Modifica', loadingFile : 'Attendere prego. Caricamento del file in corso...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Slovak * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['sk'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'sk', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'mm/dd/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Adresáre', FolderLoading : 'Nahrávam...', FolderNew : 'Zadajte prosím meno nového adresára: ', FolderRename : 'Zadajte prosím meno nového adresára: ', FolderDelete : 'Skutočne zmazať adresár "%1" ?', FolderRenaming : ' (Prebieha premenovanie adresára...)', FolderDeleting : ' (Prebieha zmazanie adresára...)', // Files FileRename : 'Zadajte prosím meno nového súboru: ', FileRenameExt : 'Skutočne chcete zmeniť príponu súboru? Upozornenie: zmenou prípony sa súbor môže stať nepoužiteľným, pokiaľ prípona nie je podporovaná.', FileRenaming : 'Prebieha premenovanie súboru...', FileDelete : 'Skutočne chcete odstrániť súbor "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Prekopírovať na server (Upload)', UploadTip : 'Prekopírovať nový súbor', Refresh : 'Znovunačítať (Refresh)', Settings : 'Nastavenia', Help : 'Pomoc', HelpTip : 'Pomoc', // Context Menus Select : 'Vybrať', SelectThumbnail : 'Select Thumbnail', // MISSING View : 'Náhľad', Download : 'Stiahnuť', NewSubFolder : 'Nový podadresár', Rename : 'Premenovať', Delete : 'Zmazať', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Zrušiť', CloseBtn : 'Zatvoriť', // Upload Panel UploadTitle : 'Nahrať nový súbor', UploadSelectLbl : 'Vyberte súbor, ktorý chcete prekopírovať na server', UploadProgressLbl : '(Prebieha kopírovanie, čakajte prosím...)', UploadBtn : 'Prekopírovať vybratý súbor', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Vyberte prosím súbor na Vašom počítači!', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Nastavenia', SetView : 'Náhľad:', SetViewThumb : 'Miniobrázky', SetViewList : 'Zoznam', SetDisplay : 'Zobraziť:', SetDisplayName : 'Názov súboru', SetDisplayDate : 'Dátum', SetDisplaySize : 'Veľkosť súboru', SetSort : 'Zoradenie:', SetSortName : 'podľa názvu súboru', SetSortDate : 'podľa dátumu', SetSortSize : 'podľa veľkosti', // Status Bar FilesCountEmpty : '<Prázdny adresár>', FilesCountOne : '1 súbor', FilesCountMany : '%1 súborov', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Server nemohol dokončiť spracovanie požiadavky. (Chyba %1)', Errors : { 10 : 'Neplatný príkaz.', 11 : 'V požiadavke nebol špecifikovaný typ súboru.', 12 : 'Nepodporovaný typ súboru.', 102 : 'Neplatný názov súboru alebo adresára.', 103 : 'Nebolo možné dokončiť spracovanie požiadavky kvôli nepostačujúcej úrovni oprávnení.', 104 : 'Nebolo možné dokončiť spracovanie požiadavky kvôli obmedzeniam v prístupových právach ku súborom.', 105 : 'Neplatná prípona súboru.', 109 : 'Neplatná požiadavka.', 110 : 'Neidentifikovaná chyba.', 115 : 'Zadaný súbor alebo adresár už existuje.', 116 : 'Adresár nebol nájdený. Aktualizujte obsah adresára (Znovunačítať) a skúste znovu.', 117 : 'Súbor nebol nájdený. Aktualizujte obsah adresára (Znovunačítať) a skúste znovu.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Súbor so zadaným názvom už existuje. Prekopírovaný súbor bol premenovaný na "%1"', 202 : 'Neplatný súbor', 203 : 'Neplatný súbor - súbor presahuje maximálnu povolenú veľkosť.', 204 : 'Kopírovaný súbor je poškodený.', 205 : 'Server nemá špecifikovaný dočasný adresár pre kopírované súbory.', 206 : 'Kopírovanie prerušené kvôli nedostatočnému zabezpečeniu. Súbor obsahuje HTML data.', 207 : 'Prekopírovaný súbor bol premenovaný na "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Prehliadanie súborov je zakázané kvôli bezpečnosti. Kontaktujte prosím administrátora a overte nastavenia v konfiguračnom súbore pre CKFinder.', 501 : 'Momentálne nie je zapnutá podpora pre generáciu miniobrázkov.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Názov súbor nesmie prázdny', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Názov adresára nesmie byť prázdny', FileInvChar : 'Súbor nesmie obsahovať žiadny z nasledujúcich znakov: \n\\ / : * ? " < > |', FolderInvChar : 'Adresár nesmie obsahovať žiadny z nasledujúcich znakov: \n\\ / : * ? " < > |', PopupBlockView : 'Nebolo možné otvoriť súbor v novom okne. Overte nastavenia Vášho prehliadača a zakážte všetky blokovače popup okien pre túto webstránku.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['nl'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'nl', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mappen', FolderLoading : 'Laden...', FolderNew : 'Vul de mapnaam in: ', FolderRename : 'Vul de nieuwe mapnaam in: ', FolderDelete : 'Weet je het zeker dat je de map "%1" wilt verwijderen?', FolderRenaming : ' (Aanpassen...)', FolderDeleting : ' (Verwijderen...)', // Files FileRename : 'Vul de nieuwe bestandsnaam in: ', FileRenameExt : 'Weet je zeker dat je de extensie wilt veranderen? Het bestand kan onbruikbaar worden.', FileRenaming : 'Aanpassen...', FileDelete : 'Weet je zeker dat je het bestand "%1" wilt verwijderen?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Uploaden', UploadTip : 'Nieuw bestand uploaden', Refresh : 'Vernieuwen', Settings : 'Instellingen', Help : 'Help', HelpTip : 'Help', // Context Menus Select : 'Selecteer', SelectThumbnail : 'Selecteer miniatuur afbeelding', View : 'Weergave', Download : 'Downloaden', NewSubFolder : 'Nieuwe subfolder', Rename : 'Hernoemen', Delete : 'Verwijderen', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Annuleren', CloseBtn : 'Sluiten', // Upload Panel UploadTitle : 'Nieuw bestand uploaden', UploadSelectLbl : 'Selecteer het bestand om te uploaden', UploadProgressLbl : '(Bezig met uploaden, even geduld...)', UploadBtn : 'Upload geselecteerde bestand', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Kies een bestand van je computer.', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Instellingen', SetView : 'Bekijken:', SetViewThumb : 'Miniatuur afbeelding', SetViewList : 'Lijst', SetDisplay : 'Weergeef:', SetDisplayName : 'Bestandsnaam', SetDisplayDate : 'Datum', SetDisplaySize : 'Bestandsgrootte', SetSort : 'Sorteren op:', SetSortName : 'Op bestandsnaam', SetSortDate : 'Op datum', SetSortSize : 'Op grootte', // Status Bar FilesCountEmpty : '<Lege map>', FilesCountOne : '1 bestand', FilesCountMany : '%1 bestanden', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Het was niet mogelijk om deze actie uit te voeren. (Fout %1)', Errors : { 10 : 'Ongeldige commando.', 11 : 'De bestandstype komt niet voor in de aanvraag.', 12 : 'De gevraagde brontype is niet geldig.', 102 : 'Ongeldig bestands- of mapnaam.', 103 : 'Het verzoek kon niet worden voltooid vanwege autorisatie beperkingen.', 104 : 'Het verzoek kon niet worden voltooid door beperkingen in de permissies van het bestandssysteem.', 105 : 'Ongeldige bestandsextensie.', 109 : 'Ongeldige aanvraag.', 110 : 'Onbekende fout.', 115 : 'Er bestaat al een bestand of map met deze naam.', 116 : 'Map niet gevonden, vernieuw de mappenlijst of kies een andere map.', 117 : 'Bestand niet gevonden, vernieuw de mappenlijst of kies een andere folder.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Er bestaat al een bestand met dezelfde naam. Het geüploade bestand is hernoemd naar: "%1"', 202 : 'Ongeldige bestand', 203 : 'Ongeldige bestand. Het bestand is te groot.', 204 : 'De geüploade file is kapot.', 205 : 'Er is geen hoofdmap gevonden.', 206 : 'Het uploaden van het bestand is om veiligheidsredenen afgebroken. Er is HTML in het bestand aangetroffen.', 207 : 'Het geuploade bestand is hernoemd naar: "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Het uploaden van een bestand is momenteel niet mogelijk. Contacteer de beheerder en controleer het CKFinder configuratiebestand..', 501 : 'De ondersteuning voor miniatuur afbeeldingen is uitgeschakeld.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'De bestandsnaam mag niet leeg zijn.', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'De mapnaam mag niet leeg zijn.', FileInvChar : 'De bestandsnaam mag niet de volgende tekens bevatten: \n\\ / : * ? " < > |', FolderInvChar : 'De folder mag niet de volgende tekens bevatten: \n\\ / : * ? " < > |', PopupBlockView : 'Het was niet mogelijk om dit bestand in een nieuw venster te openen. Configureer de browser zo dat het de popups van deze website niet blokkeert.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Danish * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['da'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, ikke tilgængelig</span>', confirmCancel : 'Nogle af indstillingerne er blevet ændret. Er du sikker på at lukke dialogen?', ok : 'OK', cancel : 'Annuller', confirmationTitle : 'Bekræftelse', messageTitle : 'Information', inputTitle : 'Spørgsmål', undo : 'Fortryd', redo : 'Annuller fortryd', skip : 'Skip', skipAll : 'Skip alle', makeDecision : 'Hvad skal der foretages?', rememberDecision: 'Husk denne indstilling' }, dir : 'ltr', HelpLang : 'en', LangCode : 'da', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd-mm-yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mapper', FolderLoading : 'Indlæser...', FolderNew : 'Skriv navnet på den nye mappe: ', FolderRename : 'Skriv det nye navn på mappen: ', FolderDelete : 'Er du sikker på, at du vil slette mappen "%1" ?', FolderRenaming : ' (Omdøber...)', FolderDeleting : ' (Sletter...)', // Files FileRename : 'Skriv navnet på den nye fil: ', FileRenameExt : 'Er du sikker på, at du vil ændre filtypen? Filen kan muligvis ikke bruges bagefter.', FileRenaming : '(Omdøber...)', FileDelete : 'Er du sikker på, at du vil slette filen "%1" ?', FilesLoading : 'Indlæser...', FilesEmpty : 'Tom mappe', FilesMoved : 'Filen %1 flyttet til %2:%3', FilesCopied : 'Filen %1 kopieret til %2:%3', // Basket BasketFolder : 'Kurv', BasketClear : 'Tøm kurv', BasketRemove : 'Fjern fra kurv', BasketOpenFolder : 'Åben overordnet mappe', BasketTruncateConfirm : 'Er du sikker på at du vil tømme kurven?', BasketRemoveConfirm : 'Er du sikker på at du vil slette filen "%1" fra kurven?', BasketEmpty : 'Ingen filer i kurven, brug musen til at trække filer til kurven.', BasketCopyFilesHere : 'Kopier Filer fra kurven', BasketMoveFilesHere : 'Flyt Filer fra kurven', BasketPasteErrorOther : 'Fil fejl: %e', BasketPasteMoveSuccess : 'Følgende filer blev flyttet: %s', BasketPasteCopySuccess : 'Følgende filer blev kopieret: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Upload', UploadTip : 'Upload ny fil', Refresh : 'Opdatér', Settings : 'Indstillinger', Help : 'Hjælp', HelpTip : 'Hjælp', // Context Menus Select : 'Vælg', SelectThumbnail : 'Vælg thumbnail', View : 'Vis', Download : 'Download', NewSubFolder : 'Ny undermappe', Rename : 'Omdøb', Delete : 'Slet', CopyDragDrop : 'Kopier hertil', MoveDragDrop : 'Flyt hertil', // Dialogs RenameDlgTitle : 'Omdøb', NewNameDlgTitle : 'Nyt navn', FileExistsDlgTitle : 'Filen eksisterer allerede', SysErrorDlgTitle : 'System fejl', FileOverwrite : 'Overskriv', FileAutorename : 'Auto-omdøb', // Generic OkBtn : 'OK', CancelBtn : 'Annullér', CloseBtn : 'Luk', // Upload Panel UploadTitle : 'Upload ny fil', UploadSelectLbl : 'Vælg den fil, som du vil uploade', UploadProgressLbl : '(Uploader, vent venligst...)', UploadBtn : 'Upload filen', UploadBtnCancel : 'Annuller', UploadNoFileMsg : 'Vælg en fil på din computer', UploadNoFolder : 'Venligst vælg en mappe før upload startes.', UploadNoPerms : 'Upload er ikke tilladt.', UploadUnknError : 'Fejl ved upload.', UploadExtIncorrect : 'Denne filtype er ikke tilladt i denne mappe.', // Settings Panel SetTitle : 'Indstillinger', SetView : 'Vis:', SetViewThumb : 'Thumbnails', SetViewList : 'Liste', SetDisplay : 'Thumbnails:', SetDisplayName : 'Filnavn', SetDisplayDate : 'Dato', SetDisplaySize : 'Størrelse', SetSort : 'Sortering:', SetSortName : 'efter filnavn', SetSortDate : 'efter dato', SetSortSize : 'efter størrelse', // Status Bar FilesCountEmpty : '<tom mappe>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Det var ikke muligt at fuldføre handlingen. (Fejl: %1)', Errors : { 10 : 'Ugyldig handling.', 11 : 'Ressourcetypen blev ikke angivet i anmodningen.', 12 : 'Ressourcetypen er ikke gyldig.', 102 : 'Ugyldig fil eller mappenavn.', 103 : 'Det var ikke muligt at fuldføre handlingen på grund af en begrænsning i rettigheder.', 104 : 'Det var ikke muligt at fuldføre handlingen på grund af en begrænsning i filsystem rettigheder.', 105 : 'Ugyldig filtype.', 109 : 'Ugyldig anmodning.', 110 : 'Ukendt fejl.', 115 : 'En fil eller mappe med det samme navn eksisterer allerede.', 116 : 'Mappen blev ikke fundet. Opdatér listen eller prøv igen.', 117 : 'Filen blev ikke fundet. Opdatér listen eller prøv igen.', 118 : 'Originalplacering og destination er ens', 201 : 'En fil med det samme filnavn eksisterer allerede. Den uploadede fil er blevet omdøbt til "%1"', 202 : 'Ugyldig fil.', 203 : 'Ugyldig fil. Filstørrelsen er for stor.', 204 : 'Den uploadede fil er korrupt.', 205 : 'Der er ikke en midlertidig mappe til upload til rådighed på serveren.', 206 : 'Upload annulleret af sikkerhedsmæssige årsager. Filen indeholder HTML-lignende data.', 207 : 'Den uploadede fil er blevet omdøbt til "%1"', 300 : 'Flytning af fil(er) fejlede.', 301 : 'Kopiering af fil(er) fejlede.', 500 : 'Filbrowseren er deaktiveret af sikkerhedsmæssige årsager. Kontakt systemadministratoren eller kontrollér CKFinders konfigurationsfil.', 501 : 'Understøttelse af thumbnails er deaktiveret.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnavnet må ikke være tomt', FileExists : 'Fil %erne eksisterer allerede', FolderEmpty : 'Mappenavnet må ikke være tomt', FileInvChar : 'Filnavnet må ikke indeholde et af følgende tegn: \n\\ / : * ? " < > |', FolderInvChar : 'Mappenavnet må ikke indeholde et af følgende tegn: \n\\ / : * ? " < > |', PopupBlockView : 'Det var ikke muligt at åbne filen i et nyt vindue. Kontrollér konfigurationen i din browser, og deaktivér eventuelle popup-blokkere for denne hjemmeside.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Rediger størrelse %s', sizeTooBig : 'Kan ikke ændre billedets højde eller bredde til en værdi større end dets originale størrelse (%size).', resizeSuccess : 'Størrelsen er nu ændret.', thumbnailNew : 'Opret ny thumbnail', thumbnailSmall : 'Lille (%s)', thumbnailMedium : 'Mellem (%s)', thumbnailLarge : 'Stor (%s)', newSize : 'Rediger størrelse', width : 'Bredde', height : 'Højde', invalidHeight : 'Ugyldig højde.', invalidWidth : 'Ugyldig bredde.', invalidName : 'Ugyldigt filenavn.', newImage : 'Opret nyt billede.', noExtensionChange : 'Filtypen kan ikke ændres.', imageSmall : 'Originalfilen er for lille', contextMenuName : 'Rediger størrelse' }, // Fileeditor plugin Fileeditor : { save : 'Gem', fileOpenError : 'Filen kan ikke åbnes.', fileSaveSuccess : 'Filen er nu gemt.', contextMenuName : 'Rediger', loadingFile : 'Henter fil, vent venligst...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Spanish * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['es'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, no disponible</span>', confirmCancel : 'Algunas opciones se han cambiado\r\n¿Está seguro de querer cerrar el diálogo?', ok : 'Aceptar', cancel : 'Cancelar', confirmationTitle : 'Confirmación', messageTitle : 'Información', inputTitle : 'Pregunta', undo : 'Deshacer', redo : 'Rehacer', skip : 'Omitir', skipAll : 'Omitir todos', makeDecision : '¿Qué acción debe realizarse?', rememberDecision: 'Recordar mi decisión' }, dir : 'ltr', HelpLang : 'es', LangCode : 'es', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Carpetas', FolderLoading : 'Cargando...', FolderNew : 'Por favor, escriba el nombre para la nueva carpeta: ', FolderRename : 'Por favor, escriba el nuevo nombre para la carpeta: ', FolderDelete : '¿Está seguro de que quiere borrar la carpeta "%1"?', FolderRenaming : ' (Renombrando...)', FolderDeleting : ' (Borrando...)', // Files FileRename : 'Por favor, escriba el nuevo nombre del fichero: ', FileRenameExt : '¿Está seguro de querer cambiar la extensión del fichero? El fichero puede dejar de ser usable', FileRenaming : 'Renombrando...', FileDelete : '¿Está seguro de que quiere borrar el fichero "%1"?', FilesLoading : 'Cargando...', FilesEmpty : 'Carpeta vacía', FilesMoved : 'Fichero %1 movido a %2:%3', FilesCopied : 'Fichero %1 copiado a %2:%3', // Basket BasketFolder : 'Cesta', BasketClear : 'Vaciar cesta', BasketRemove : 'Quitar de la cesta', BasketOpenFolder : 'Abrir carpeta padre', BasketTruncateConfirm : '¿Está seguro de querer quitar todos los ficheros de la cesta?', BasketRemoveConfirm : '¿Está seguro de querer quitar el fichero "%1" de la cesta?', BasketEmpty : 'No hay ficheros en la cesta, arrastra y suelta algunos.', BasketCopyFilesHere : 'Copiar ficheros de la cesta', BasketMoveFilesHere : 'Mover ficheros de la cesta', BasketPasteErrorOther : 'Fichero %s error: %e', BasketPasteMoveSuccess : 'Los siguientes ficheros han sido movidos: %s', BasketPasteCopySuccess : 'Los siguientes ficheros han sido copiados: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Añadir', UploadTip : 'Añadir nuevo fichero', Refresh : 'Actualizar', Settings : 'Configuración', Help : 'Ayuda', HelpTip : 'Ayuda', // Context Menus Select : 'Seleccionar', SelectThumbnail : 'Seleccionar el icono', View : 'Ver', Download : 'Descargar', NewSubFolder : 'Nueva Subcarpeta', Rename : 'Renombrar', Delete : 'Borrar', CopyDragDrop : 'Copiar fichero aquí', MoveDragDrop : 'Mover fichero aquí', // Dialogs RenameDlgTitle : 'Renombrar', NewNameDlgTitle : 'Nuevo nombre', FileExistsDlgTitle : 'Fichero existente', SysErrorDlgTitle : 'Error de sistema', FileOverwrite : 'Sobreescribir', FileAutorename : 'Auto-renombrar', // Generic OkBtn : 'Aceptar', CancelBtn : 'Cancelar', CloseBtn : 'Cerrar', // Upload Panel UploadTitle : 'Añadir nuevo fichero', UploadSelectLbl : 'Elija el fichero a subir', UploadProgressLbl : '(Subida en progreso, por favor espere...)', UploadBtn : 'Subir el fichero elegido', UploadBtnCancel : 'Cancelar', UploadNoFileMsg : 'Por favor, elija un fichero de su ordenador', UploadNoFolder : 'Por favor, escoja la carpeta antes de iniciar la subida.', UploadNoPerms : 'No puede subir ficheros.', UploadUnknError : 'Error enviando el fichero.', UploadExtIncorrect : 'La extensión del fichero no está permitida en esta carpeta.', // Settings Panel SetTitle : 'Configuración', SetView : 'Vista:', SetViewThumb : 'Iconos', SetViewList : 'Lista', SetDisplay : 'Mostrar:', SetDisplayName : 'Nombre de fichero', SetDisplayDate : 'Fecha', SetDisplaySize : 'Peso del fichero', SetSort : 'Ordenar:', SetSortName : 'por Nombre', SetSortDate : 'por Fecha', SetSortSize : 'por Peso', // Status Bar FilesCountEmpty : '<Carpeta vacía>', FilesCountOne : '1 fichero', FilesCountMany : '%1 ficheros', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'No ha sido posible completar la solicitud. (Error %1)', Errors : { 10 : 'Comando incorrecto.', 11 : 'El tipo de recurso no ha sido especificado en la solicitud.', 12 : 'El tipo de recurso solicitado no es válido.', 102 : 'Nombre de fichero o carpeta no válido.', 103 : 'No se ha podido completar la solicitud debido a las restricciones de autorización.', 104 : 'No ha sido posible completar la solicitud debido a restricciones en el sistema de ficheros.', 105 : 'La extensión del archivo no es válida.', 109 : 'Petición inválida.', 110 : 'Error desconocido.', 115 : 'Ya existe un fichero o carpeta con ese nombre.', 116 : 'No se ha encontrado la carpeta. Por favor, actualice y pruebe de nuevo.', 117 : 'No se ha encontrado el fichero. Por favor, actualice la lista de ficheros y pruebe de nuevo.', 118 : 'Las rutas origen y destino son iguales.', 201 : 'Ya existía un fichero con ese nombre. El fichero subido ha sido renombrado como "%1"', 202 : 'Fichero inválido', 203 : 'Fichero inválido. El peso es demasiado grande.', 204 : 'El fichero subido está corrupto.', 205 : 'La carpeta temporal no está disponible en el servidor para las subidas.', 206 : 'La subida se ha cancelado por razones de seguridad. El fichero contenía código HTML.', 207 : 'El fichero subido ha sido renombrado como "%1"', 300 : 'Ha fallado el mover el(los) fichero(s).', 301 : 'Ha fallado el copiar el(los) fichero(s).', 500 : 'El navegador de archivos está deshabilitado por razones de seguridad. Por favor, contacte con el administrador de su sistema y compruebe el fichero de configuración de CKFinder.', 501 : 'El soporte para iconos está deshabilitado.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'El nombre del fichero no puede estar vacío', FileExists : 'El fichero %s ya existe', FolderEmpty : 'El nombre de la carpeta no puede estar vacío', FileInvChar : 'El nombre del fichero no puede contener ninguno de los caracteres siguientes: \n\\ / : * ? " < > |', FolderInvChar : 'El nombre de la carpeta no puede contener ninguno de los caracteres siguientes: \n\\ / : * ? " < > |', PopupBlockView : 'No ha sido posible abrir el fichero en una nueva ventana. Por favor, configure su navegador y desactive todos los bloqueadores de ventanas para esta página.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Redimensionar %s', sizeTooBig : 'No se puede poner la altura o anchura de la imagen mayor que las dimensiones originales (%size).', resizeSuccess : 'Imagen redimensionada correctamente.', thumbnailNew : 'Crear nueva minuatura', thumbnailSmall : 'Pequeña (%s)', thumbnailMedium : 'Mediana (%s)', thumbnailLarge : 'Grande (%s)', newSize : 'Establecer nuevo tamaño', width : 'Ancho', height : 'Alto', invalidHeight : 'Altura inválida.', invalidWidth : 'Anchura inválida.', invalidName : 'Nombre no válido.', newImage : 'Crear nueva imagen', noExtensionChange : 'La extensión no se puede cambiar.', imageSmall : 'La imagen original es demasiado pequeña', contextMenuName : 'Redimensionar' }, // Fileeditor plugin Fileeditor : { save : 'Guardar', fileOpenError : 'No se puede abrir el fichero.', fileSaveSuccess : 'Fichero guardado correctamente.', contextMenuName : 'Editar', loadingFile : 'Cargando fichero, por favor espere...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Portuguese (Brazilian) * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['pt-br'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Algumas opções foram modificadas. Deseja fechar a janela realmente?', ok : 'OK', cancel : 'Cancelar', confirmationTitle : 'Confirmação', messageTitle : 'Informação', inputTitle : 'Pergunta', undo : 'Desfazer', redo : 'Refazer', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', HelpLang : 'en', LangCode : 'pt-br', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Pastas', FolderLoading : 'Carregando...', FolderNew : 'Favor informar o nome da nova pasta: ', FolderRename : 'Favor informar o nome da nova pasta: ', FolderDelete : 'Você tem certeza que deseja apagar a pasta "%1"?', FolderRenaming : ' (Renomeando...)', FolderDeleting : ' (Apagando...)', // Files FileRename : 'Favor informar o nome do novo arquivo: ', FileRenameExt : 'Você tem certeza que deseja alterar a extensão do arquivo? O arquivo pode ser danificado', FileRenaming : 'Renomeando...', FileDelete : 'Você tem certeza que deseja apagar o arquivo "%1"?', FilesLoading : 'Carregando...', FilesEmpty : 'Pasta vazia', FilesMoved : 'Arquivo %1 movido para %2:%3', FilesCopied : 'Arquivo %1 copiado em %2:%3', // Basket BasketFolder : 'Cesta', BasketClear : 'Limpa Cesta', BasketRemove : 'Remove da cesta', BasketOpenFolder : 'Abre a pasta original', BasketTruncateConfirm : 'Remover todos os arquivas da cesta?', BasketRemoveConfirm : 'Remover o arquivo "%1" da cesta?', BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copia Arquivos da Cesta', BasketMoveFilesHere : 'Move os Arquivos da Cesta', BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'Os seguintes arquivos foram movidos: %s', BasketPasteCopySuccess : 'Os sequintes arquivos foram copiados: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Enviar arquivo', UploadTip : 'Enviar novo arquivo', Refresh : 'Atualizar', Settings : 'Configurações', Help : 'Ajuda', HelpTip : 'Ajuda', // Context Menus Select : 'Selecionar', SelectThumbnail : 'Selecionar miniatura', View : 'Visualizar', Download : 'Download', NewSubFolder : 'Nova sub-pasta', Rename : 'Renomear', Delete : 'Apagar', CopyDragDrop : 'Copia arquivo aqui', MoveDragDrop : 'Move arquivo aqui', // Dialogs RenameDlgTitle : 'Renomeia', NewNameDlgTitle : 'Novo nome', FileExistsDlgTitle : 'O arquivo já existe', SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Sobrescrever', FileAutorename : 'Renomeia automaticamente', // Generic OkBtn : 'OK', CancelBtn : 'Cancelar', CloseBtn : 'Fechar', // Upload Panel UploadTitle : 'Enviar novo arquivo', UploadSelectLbl : 'Selecione o arquivo para enviar', UploadProgressLbl : '(Enviado arquivo, favor aguardar...)', UploadBtn : 'Enviar arquivo selecionado', UploadBtnCancel : 'Cancelar', UploadNoFileMsg : 'Favor selecionar o arquivo no seu computador', UploadNoFolder : 'Favor selecionar a pasta antes the enviar o arquivo.', UploadNoPerms : 'Não é permitido o envio de arquivos.', UploadUnknError : 'Erro no envio do arquivo.', UploadExtIncorrect : 'A extensão deste arquivo não é permitida nesat pasta.', // Settings Panel SetTitle : 'Configurações', SetView : 'Visualizar:', SetViewThumb : 'Miniaturas', SetViewList : 'Lista', SetDisplay : 'Exibir:', SetDisplayName : 'Arquivo', SetDisplayDate : 'Data', SetDisplaySize : 'Tamanho', SetSort : 'Ordenar:', SetSortName : 'por Nome do arquivo', SetSortDate : 'por Data', SetSortSize : 'por Tamanho', // Status Bar FilesCountEmpty : '<Pasta vazia>', FilesCountOne : '1 arquivo', FilesCountMany : '%1 arquivos', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Não foi possível completer o seu pedido. (Erro %1)', Errors : { 10 : 'Comando inválido.', 11 : 'O tipo de recurso não foi especificado na solicitação.', 12 : 'O recurso solicitado não é válido.', 102 : 'Nome do arquivo ou pasta inválido.', 103 : 'Não foi possível completar a solicitação por restrições de acesso.', 104 : 'Não foi possível completar a solicitação por restrições de acesso do sistema de arquivos.', 105 : 'Extensão de arquivo inválida.', 109 : 'Solicitação inválida.', 110 : 'Erro desconhecido.', 115 : 'Uma arquivo ou pasta já existe com esse nome.', 116 : 'Pasta não encontrada. Atualize e tente novamente.', 117 : 'Arquivo não encontrado. Atualize a lista de arquivos e tente novamente.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Um arquivo com o mesmo nome já está disponível. O arquivo enviado foi renomeado para "%1"', 202 : 'Arquivo inválido', 203 : 'Arquivo inválido. O tamanho é muito grande.', 204 : 'O arquivo enviado está corrompido.', 205 : 'Nenhuma pasta temporária para envio está disponível no servidor.', 206 : 'Transmissão cancelada por razões de segurança. O arquivo contem dados HTML.', 207 : 'O arquivo enviado foi renomeado para "%1"', 300 : 'Não foi possível mover o(s) arquivo(s).', 301 : 'Não foi possível copiar o(s) arquivos(s).', 500 : 'A navegação de arquivos está desativada por razões de segurança. Contacte o administrador do sistema.', 501 : 'O suporte a miniaturas está desabilitado.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'O nome do arquivo não pode ser vazio', FileExists : 'O nome %s já é em uso', FolderEmpty : 'O nome da pasta não pode ser vazio', FileInvChar : 'O nome do arquivo não pode conter nenhum desses caracteres: \n\\ / : * ? " < > |', FolderInvChar : 'O nome da pasta não pode conter nenhum desses caracteres: \n\\ / : * ? " < > |', PopupBlockView : 'Não foi possível abrir o arquivo em outra janela. Configure seu navegador e desabilite o bloqueio a popups para esse site.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Redimensionar %s', sizeTooBig : 'Não possível usar dimensões maiores do que as originais (%size).', resizeSuccess : 'Imagem redimensionada corretamente.', thumbnailNew : 'Cria nova anteprima', thumbnailSmall : 'Pequeno (%s)', thumbnailMedium : 'Médio (%s)', thumbnailLarge : 'Grande (%s)', newSize : 'Novas dimensões', width : 'Largura', height : 'Altura', invalidHeight : 'Altura incorreta.', invalidWidth : 'Largura incorreta.', invalidName : 'O nome do arquivo não é válido.', newImage : 'Cria nova imagem', noExtensionChange : 'A extensão do arquivo não pode ser modificada.', imageSmall : 'A imagem original é muito pequena', contextMenuName : 'Redimensionar' }, // Fileeditor plugin Fileeditor : { save : 'Salva', fileOpenError : 'Não é possível abrir o arquivo.', fileSaveSuccess : 'Arquivo salvado corretamente.', contextMenuName : 'Modificar', loadingFile : 'Carregando arquivo. Por favor aguarde...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Chinese (Taiwan) * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['zh-tw'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'zh-tw', LangCode : 'zh-tw', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'mm/dd/yyyy HH:MM', DateAmPm : ['上午', '下午'], // Folders FoldersTitle : '目錄', FolderLoading : '載入中...', FolderNew : '請輸入新目錄名稱: ', FolderRename : '請輸入新目錄名稱: ', FolderDelete : '確定刪除 "%1" 這個目錄嗎?', FolderRenaming : ' (修改目錄...)', FolderDeleting : ' (刪除目錄...)', // Files FileRename : '請輸入新檔案名稱: ', FileRenameExt : '確定變更這個檔案的副檔名嗎? 變更後 , 此檔案可能會無法使用 !', FileRenaming : '修改檔案名稱...', FileDelete : '確定要刪除這個檔案 "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : '上傳檔案', UploadTip : '上傳一個新檔案', Refresh : '重新整理', Settings : '偏好設定', Help : '說明', HelpTip : '說明', // Context Menus Select : '選擇', SelectThumbnail : 'Select Thumbnail', // MISSING View : '瀏覽', Download : '下載', NewSubFolder : '建立新子目錄', Rename : '重新命名', Delete : '刪除', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : '確定', CancelBtn : '取消', CloseBtn : '關閉', // Upload Panel UploadTitle : '上傳新檔案', UploadSelectLbl : '請選擇要上傳的檔案', UploadProgressLbl : '(檔案上傳中 , 請稍候...)', UploadBtn : '將檔案上傳到伺服器', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : '請從你的電腦選擇一個檔案', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : '設定', SetView : '瀏覽方式:', SetViewThumb : '縮圖預覽', SetViewList : '清單列表', SetDisplay : '顯示欄位:', SetDisplayName : '檔案名稱', SetDisplayDate : '檔案日期', SetDisplaySize : '檔案大小', SetSort : '排序方式:', SetSortName : '依 檔案名稱', SetSortDate : '依 檔案日期', SetSortSize : '依 檔案大小', // Status Bar FilesCountEmpty : '<此目錄沒有任何檔案>', FilesCountOne : '1 個檔案', FilesCountMany : '%1 個檔案', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : '無法連接到伺服器 ! (錯誤代碼 %1)', Errors : { 10 : '不合法的指令.', 11 : '連接過程中 , 未指定資源形態 !', 12 : '連接過程中出現不合法的資源形態 !', 102 : '不合法的檔案或目錄名稱 !', 103 : '無法連接:可能是使用者權限設定錯誤 !', 104 : '無法連接:可能是伺服器檔案權限設定錯誤 !', 105 : '無法上傳:不合法的副檔名 !', 109 : '不合法的請求 !', 110 : '不明錯誤 !', 115 : '檔案或目錄名稱重複 !', 116 : '找不到目錄 ! 請先重新整理 , 然後再試一次 !', 117 : '找不到檔案 ! 請先重新整理 , 然後再試一次 !', 118 : 'Source and target paths are equal.', // MISSING 201 : '伺服器上已有相同的檔案名稱 ! 您上傳的檔案名稱將會自動更改為 "%1"', 202 : '不合法的檔案 !', 203 : '不合法的檔案 ! 檔案大小超過預設值 !', 204 : '您上傳的檔案已經損毀 !', 205 : '伺服器上沒有預設的暫存目錄 !', 206 : '檔案上傳程序因為安全因素已被系統自動取消 ! 可能是上傳的檔案內容包含 HTML 碼 !', 207 : '您上傳的檔案名稱將會自動更改為 "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : '因為安全因素 , 檔案瀏覽器已被停用 ! 請聯絡您的系統管理者並檢查 CKFinder 的設定檔 config.php !', 501 : '縮圖預覽功能已被停用 !' }, // Other Error Messages. ErrorMsg : { FileEmpty : '檔案名稱不能空白 !', FileExists : 'File %s already exists', // MISSING FolderEmpty : '目錄名稱不能空白 !', FileInvChar : '檔案名稱不能包含以下字元: \n\\ / : * ? " < > |', FolderInvChar : '目錄名稱不能包含以下字元: \n\\ / : * ? " < > |', PopupBlockView : '無法在新視窗開啟檔案 ! 請檢查瀏覽器的設定並且針對這個網站 關閉 <封鎖彈跳視窗> 這個功能 !' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Polish * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['pl'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, wyłączone</span>', confirmCancel : 'Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?', ok : 'OK', cancel : 'Anuluj', confirmationTitle : 'Potwierdzenie', messageTitle : 'Informacja', inputTitle : 'Pytanie', undo : 'Cofnij', redo : 'Ponów', skip : 'Pomiń', skipAll : 'Pomiń wszystkie', makeDecision : 'Wybierz jedną z opcji:', rememberDecision: 'Zapamiętaj mój wybór' }, dir : 'ltr', HelpLang : 'pl', LangCode : 'pl', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy-mm-dd HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Katalogi', FolderLoading : 'Ładowanie...', FolderNew : 'Podaj nazwę nowego katalogu: ', FolderRename : 'Podaj nową nazwę katalogu: ', FolderDelete : 'Czy na pewno chcesz usunąć katalog "%1"?', FolderRenaming : ' (Zmieniam nazwę...)', FolderDeleting : ' (Kasowanie...)', // Files FileRename : 'Podaj nową nazwę pliku: ', FileRenameExt : 'Czy na pewno chcesz zmienić rozszerzenie pliku? Może to spowodować problemy z otwieraniem pliku przez innych użytkowników', FileRenaming : 'Zmieniam nazwę...', FileDelete : 'Czy na pewno chcesz usunąć plik "%1"?', FilesLoading : 'Ładowanie...', FilesEmpty : 'Katalog jest pusty', FilesMoved : 'Plik %1 został przeniesiony do %2:%3', FilesCopied : 'Plik %1 został skopiowany do %2:%3', // Basket BasketFolder : 'Koszyk', BasketClear : 'Wyczyść koszyk', BasketRemove : 'Usuń z koszyka', BasketOpenFolder : 'Otwórz katalog z plikiem', BasketTruncateConfirm : 'Czy naprawdę chcesz usunąć wszystkie pliki z koszyka?', BasketRemoveConfirm : 'Czy naprawdę chcesz usunąć plik "%1" z koszyka?', BasketEmpty : 'Brak plików w koszyku, aby dodać plik, przeciągnij i upuść (drag\'n\'drop) dowolny plik do koszyka.', BasketCopyFilesHere : 'Skopiuj pliki z koszyka', BasketMoveFilesHere : 'Przenieś pliki z koszyka', BasketPasteErrorOther : 'Plik: %s błąd: %e', BasketPasteMoveSuccess : 'Następujące pliki zostały przeniesione: %s', BasketPasteCopySuccess : 'Następujące pliki zostały skopiowane: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Wyślij', UploadTip : 'Wyślij plik', Refresh : 'Odśwież', Settings : 'Ustawienia', Help : 'Pomoc', HelpTip : 'Wskazówka', // Context Menus Select : 'Wybierz', SelectThumbnail : 'Wybierz miniaturkę', View : 'Zobacz', Download : 'Pobierz', NewSubFolder : 'Nowy podkatalog', Rename : 'Zmień nazwę', Delete : 'Usuń', CopyDragDrop : 'Skopiuj tutaj plik', MoveDragDrop : 'Przenieś tutaj plik', // Dialogs RenameDlgTitle : 'Zmiana nazwy', NewNameDlgTitle : 'Nowa nazwa', FileExistsDlgTitle : 'Plik już istnieje', SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Nadpisz', FileAutorename : 'Zmień automatycznie nazwę', // Generic OkBtn : 'OK', CancelBtn : 'Anuluj', CloseBtn : 'Zamknij', // Upload Panel UploadTitle : 'Wyślij plik', UploadSelectLbl : 'Wybierz plik', UploadProgressLbl : '(Trwa wysyłanie pliku, proszę czekać...)', UploadBtn : 'Wyślij wybrany plik', UploadBtnCancel : 'Anuluj', UploadNoFileMsg : 'Wybierz plik ze swojego komputera', UploadNoFolder : 'Wybierz katalog przed wysłaniem pliku.', UploadNoPerms : 'Wysyłanie plików nie jest dozwolone.', UploadUnknError : 'Błąd podczas wysyłania pliku.', UploadExtIncorrect : 'Rozszerzenie pliku nie jest dozwolone w tym katalogu.', // Settings Panel SetTitle : 'Ustawienia', SetView : 'Widok:', SetViewThumb : 'Miniaturki', SetViewList : 'Lista', SetDisplay : 'Wyświetlanie:', SetDisplayName : 'Nazwa pliku', SetDisplayDate : 'Data', SetDisplaySize : 'Rozmiar pliku', SetSort : 'Sortowanie:', SetSortName : 'wg nazwy pliku', SetSortDate : 'wg daty', SetSortSize : 'wg rozmiaru', // Status Bar FilesCountEmpty : '<Pusty katalog>', FilesCountOne : '1 plik', FilesCountMany : 'Ilość plików: %1', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Wykonanie operacji zakończyło się niepowodzeniem. (Błąd %1)', Errors : { 10 : 'Nieprawidłowe polecenie (command).', 11 : 'Brak wymaganego parametru: źródło danych (type).', 12 : 'Nieprawidłowe źródło danych (type).', 102 : 'Nieprawidłowa nazwa pliku lub katalogu.', 103 : 'Wykonanie operacji nie jest możliwe: brak autoryzacji.', 104 : 'Wykonanie operacji nie powiodło się z powodu niewystarczających uprawnień do systemu plików.', 105 : 'Nieprawidłowe rozszerzenie.', 109 : 'Nieprawiłowe polecenie.', 110 : 'Niezidentyfikowany błąd.', 115 : 'Plik lub katalog o podanej nazwie już istnieje.', 116 : 'Nie znaleziono ktalogu. Odśwież panel i spróbuj ponownie.', 117 : 'Nie znaleziono pliku. Odśwież listę plików i spróbuj ponownie.', 118 : 'Ścieżki źródłowa i docelowa są jednakowe.', 201 : 'Plik o podanej nazwie już istnieje. Nazwa przesłanego pliku została zmieniona na "%1"', 202 : 'Nieprawidłowy plik.', 203 : 'Nieprawidłowy plik. Plik przekroczył dozwolony rozmiar.', 204 : 'Przesłany plik jest uszkodzony.', 205 : 'Brak folderu tymczasowego na serwerze do przesyłania plików.', 206 : 'Przesyłanie pliku zakończyło się niepowodzeniem z powodów bezpieczeństwa. Plik zawiera dane przypominające HTML.', 207 : 'Nazwa przesłanego pliku została zmieniona na "%1"', 300 : 'Przenoszenie nie powiodło się.', 301 : 'Kopiowanie nie powiodo się.', 500 : 'Menedżer plików jest wyłączony z powodów bezpieczeństwa. Skontaktuj się z administratorem oraz sprawdź plik konfiguracyjny CKFindera.', 501 : 'Tworzenie miniaturek jest wyłączone.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Nazwa pliku nie może być pusta', FileExists : 'Plik %s już istnieje', FolderEmpty : 'Nazwa katalogu nie może być pusta', FileInvChar : 'Nazwa pliku nie może zawierać żadnego z podanych znaków: \n\\ / : * ? " < > |', FolderInvChar : 'Nazwa katalogu nie może zawierać żadnego z podanych znaków: \n\\ / : * ? " < > |', PopupBlockView : 'Otwarcie pliku w nowym oknie nie powiodło się. Proszę zmienić konfigurację przeglądarki i wyłączyć wszelkie blokady okienek popup dla tej strony.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Zmiana rozmiaru %s', sizeTooBig : 'Nie możesz zmienić wysokości lub szerokości na wartośc wyższą niż oryginalny rozmiar (%size).', resizeSuccess : 'Obrazek został pomyślnie przeskalowany.', thumbnailNew : 'Utwórz nową miniaturkę', thumbnailSmall : 'Mały (%s)', thumbnailMedium : 'Średni (%s)', thumbnailLarge : 'Duży (%s)', newSize : 'Podaj nowe wymiary', width : 'Szerokość', height : 'Wysokość', invalidHeight : 'Nieprawidłowa wysokość.', invalidWidth : 'Nieprawidłowa szerokość.', invalidName : 'Nieprawidłowa nazwa pliku.', newImage : 'Utwórz nowy obrazek', noExtensionChange : 'Rozszerzenie pliku nie może zostac zmienione.', imageSmall : 'Plik źródłowy jest zbyt mały', contextMenuName : 'Zmień rozmiar' }, // Fileeditor plugin Fileeditor : { save : 'Zapisz', fileOpenError : 'Nie udało się otworzyć pliku.', fileSaveSuccess : 'Plik został zapisany pomyślnie.', contextMenuName : 'Edytuj', loadingFile : 'Trwa ładowanie pliku, proszę czekać...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['cs'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'cs', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Složky', FolderLoading : 'Načítání...', FolderNew : 'Zadejte jméno nové složky: ', FolderRename : 'Zadejte nové jméno složky: ', FolderDelete : 'Opravdu chcete smazat složku "%1" ?', FolderRenaming : ' (Přejmenovávám...)', FolderDeleting : ' (Mažu...)', // Files FileRename : 'Zadejte jméno novéhho souboru: ', FileRenameExt : 'Opravdu chcete změnit příponu souboru, může se stát nečitelným', FileRenaming : 'Přejmenovávám...', FileDelete : 'Opravdu chcete smazat soubor "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Nahrát', UploadTip : 'Nahrát nový soubor', Refresh : 'Načíst znova', Settings : 'Nastavení', Help : 'Pomoc', HelpTip : 'Pomoc', // Context Menus Select : 'Vybrat', SelectThumbnail : 'Vybrat náhled', View : 'Zobrazit', Download : 'Uložit jako', NewSubFolder : 'Nová podsložka', Rename : 'Přejmenovat', Delete : 'Smazat', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Zrušit', CloseBtn : 'Zavřít', // Upload Panel UploadTitle : 'Nahrát nový soubor', UploadSelectLbl : 'Zvolit soubor k nahrání', UploadProgressLbl : '(Nahrávám, čekejte...)', UploadBtn : 'Nahrát zvolený soubor', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Vyberte prosím soubor', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Nastavení', SetView : 'Zobrazení:', SetViewThumb : 'Náhledy', SetViewList : 'Seznam', SetDisplay : 'Informace:', SetDisplayName : 'Název', SetDisplayDate : 'Datum', SetDisplaySize : 'Velikost', SetSort : 'Seřazení:', SetSortName : 'Podle jména', SetSortDate : 'Podle data', SetSortSize : 'Podle velikosti', // Status Bar FilesCountEmpty : '<Prázdná složka>', FilesCountOne : '1 soubor', FilesCountMany : '%1 soubor', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Nebylo možno dokončit příkaz. (Error %1)', Errors : { 10 : 'Neplatný příkaz.', 11 : 'Požadovaný typ prostředku nebyl specifikován v dotazu.', 12 : 'Požadovaný typ prostředku není validní.', 102 : 'Šatné jméno souboru, nebo složky.', 103 : 'Nebylo možné dokončit příkaz kvůli autorizačním omezením.', 104 : 'Nebylo možné dokončit příkaz kvůli omezeným přístupovým právům k souborům.', 105 : 'Špatná přípona souboru.', 109 : 'Neplatný příkaz.', 110 : 'Neznámá chyba.', 115 : 'Již existuje soubor nebo složka se stejným jménem.', 116 : 'Složka nenalezena, prosím obnovte stránku.', 117 : 'Soubor nenalezen, prosím obnovte stránku.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Již existoval soubor se stejným jménem, nahraný soubor byl přejmenován na "%1"', 202 : 'Špatný soubor', 203 : 'Špatný soubor. Příliš velký.', 204 : 'Nahraný soubor je poškozen.', 205 : 'Na serveru není dostupná dočasná složka.', 206 : 'Nahrávání zrušeno z bezpečnostních důvodů. Soubor obsahuje data podobná HTML.', 207 : 'Nahraný soubor byl přejmenován na "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Nahrávání zrušeno z bezpečnostních důvodů. Zdělte to prosím administrátorovi a zkontrolujte nastavení CKFinderu.', 501 : 'Podpora náhledů je vypnuta.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Název souboru nemůže být prázdný', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'Název složky nemůže být prázdný', FileInvChar : 'Název souboru nesmí obsahovat následující znaky: \n\\ / : * ? " < > |', FolderInvChar : 'Název složky nesmí obsahovat následující znaky: \n\\ / : * ? " < > |', PopupBlockView : 'Nebylo možné otevřít soubor do nového okna. Prosím nastavte si prohlížeč aby neblokoval vyskakovací okna.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Chinese-Simplified * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['zh-cn'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : '部分内容尚未保存,确定关闭对话框么?', ok : '确定', cancel : '取消', confirmationTitle : '确认', messageTitle : '提示', inputTitle : '询问', undo : '撤销', redo : '重做', skip : '跳过', skipAll : '全部跳过', makeDecision : '应采取何样措施?', rememberDecision: '下次不再询问' }, dir : '自左向右', HelpLang : 'en', LangCode : 'zh-cn', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy年m月d日 h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : '文件夹', FolderLoading : '正在加载文件夹...', FolderNew : '请输入新文件夹名称: ', FolderRename : '请输入新文件夹名称: ', FolderDelete : '您确定要删除文件夹 "%1" 吗?', FolderRenaming : ' (正在重命名...)', FolderDeleting : ' (正在删除...)', // Files FileRename : '请输入新文件名: ', FileRenameExt : '如果改变文件扩展名,可能会导致文件不可用。\r\n确定要更改吗?', FileRenaming : '正在重命名...', FileDelete : '您确定要删除文件 "%1" 吗?', FilesLoading : '加载中...', FilesEmpty : '空文件夹', FilesMoved : '文件 %1 已移动至 %2:%3', FilesCopied : '文件 %1 已拷贝至 %2:%3', // Basket BasketFolder : '临时文件夹', BasketClear : '清空临时文件夹', BasketRemove : '从临时文件夹移除', BasketOpenFolder : '打开临时文件夹', BasketTruncateConfirm : '确认清空临时文件夹?', BasketRemoveConfirm : '确认从临时文件夹中移除文件 "%1" ?', BasketEmpty : '临时文件夹为空, 可拖放文件至其中.', BasketCopyFilesHere : '从临时文件夹复制至此', BasketMoveFilesHere : '从临时文件夹移动至此', BasketPasteErrorOther : '文件 %s 出错: %e', BasketPasteMoveSuccess : '已移动以下文件: %s', BasketPasteCopySuccess : '已拷贝以下文件: %s', // Toolbar Buttons (some used elsewhere) Upload : '上传', UploadTip : '上传文件', Refresh : '刷新', Settings : '设置', Help : '帮助', HelpTip : '查看在线帮助', // Context Menus Select : '选择', SelectThumbnail : '选中缩略图', View : '查看', Download : '下载', NewSubFolder : '创建子文件夹', Rename : '重命名', Delete : '删除', CopyDragDrop : '将文件复制至此', MoveDragDrop : '将文件移动至此', // Dialogs RenameDlgTitle : '重命名', NewNameDlgTitle : '文件名', FileExistsDlgTitle : '文件已存在', SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : '自动覆盖重名', FileAutorename : '自动重命名重名', // Generic OkBtn : '确定', CancelBtn : '取消', CloseBtn : '关闭', // Upload Panel UploadTitle : '上传文件', UploadSelectLbl : '选定要上传的文件', UploadProgressLbl : '(正在上传文件,请稍候...)', UploadBtn : '上传选定的文件', UploadBtnCancel : '取消', UploadNoFileMsg : '请选择一个要上传的文件', UploadNoFolder : '需先选择一个文件.', UploadNoPerms : '无文件上传权限.', UploadUnknError : '上传文件出错.', UploadExtIncorrect : '此文件后缀在当前文件夹中不可用.', // Settings Panel SetTitle : '设置', SetView : '查看:', SetViewThumb : '缩略图', SetViewList : '列表', SetDisplay : '显示:', SetDisplayName : '文件名', SetDisplayDate : '日期', SetDisplaySize : '大小', SetSort : '排列顺序:', SetSortName : '按文件名', SetSortDate : '按日期', SetSortSize : '按大小', // Status Bar FilesCountEmpty : '<空文件夹>', FilesCountOne : '1 个文件', FilesCountMany : '%1 个文件', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : '请求的操作未能完成. (错误 %1)', Errors : { 10 : '无效的指令.', 11 : '文件类型不在许可范围之内.', 12 : '文件类型无效.', 102 : '无效的文件名或文件夹名称.', 103 : '由于作者限制,该请求不能完成.', 104 : '由于文件系统的限制,该请求不能完成.', 105 : '无效的扩展名.', 109 : '无效请求.', 110 : '未知错误.', 115 : '存在重名的文件或文件夹.', 116 : '文件夹不存在. 请刷新后再试.', 117 : '文件不存在. 请刷新列表后再试.', 118 : '目标位置与当前位置相同.', 201 : '文件与现有的重名. 新上传的文件改名为 "%1"', 202 : '无效的文件', 203 : '无效的文件. 文件尺寸太大.', 204 : '上传文件已损失.', 205 : '服务器中的上传临时文件夹无效.', 206 : '因为安全原因,上传中断. 上传文件包含不能 HTML 类型数据.', 207 : '新上传的文件改名为 "%1"', 300 : '移动文件失败.', 301 : '复制文件失败.', 500 : '因为安全原因,文件不可浏览. 请联系系统管理员并检查CKFinder配置文件.', 501 : '不支持缩略图方式.' }, // Other Error Messages. ErrorMsg : { FileEmpty : '文件名不能为空', FileExists : '文件 %s 已存在.', FolderEmpty : '文件夹名称不能为空', FileInvChar : '文件名不能包含以下字符: \n\\ / : * ? " < > |', FolderInvChar : '文件夹名称不能包含以下字符: \n\\ / : * ? " < > |', PopupBlockView : '未能在新窗口中打开文件. 请修改浏览器配置解除对本站点的锁定.' }, // Imageresize plugin Imageresize : { dialogTitle : '改变尺寸 %s', sizeTooBig : '无法大于原图尺寸 (%size).', resizeSuccess : '图像尺寸已修改.', thumbnailNew : '创建缩略图', thumbnailSmall : '小 (%s)', thumbnailMedium : '中 (%s)', thumbnailLarge : '大 (%s)', newSize : '设置新尺寸', width : '宽度', height : '高度', invalidHeight : '无效高度.', invalidWidth : '无效宽度.', invalidName : '文件名无效.', newImage : '创建图像', noExtensionChange : '无法改变文件后缀.', imageSmall : '原文件尺寸过小', contextMenuName : '改变尺寸' }, // Fileeditor plugin Fileeditor : { save : '保存', fileOpenError : '无法打开文件.', fileSaveSuccess : '成功保存文件.', contextMenuName : '编辑', loadingFile : '加载文件中...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the English * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['ja'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, は利用できません。</span>', confirmCancel : '変更された項目があります。ウィンドウを閉じてもいいですか?', ok : '適用', cancel : 'キャンセル', confirmationTitle : '確認', messageTitle : 'インフォメーション', inputTitle : '質問', undo : '元に戻す', redo : 'やり直す', skip : 'スキップ', skipAll : 'すべてスキップ', makeDecision : 'どうしますか?', rememberDecision: '注意:' }, dir : 'ltr', HelpLang : 'en', LangCode : 'ja', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Folders', FolderLoading : '読み込み中...', FolderNew : '新しいフォルダ名を入力してください: ', FolderRename : '新しいフォルダ名を入力してください: ', FolderDelete : '本当にフォルダ「"%1"」を削除してもよろしいですか?', FolderRenaming : ' (リネーム中...)', FolderDeleting : ' (削除中...)', // Files FileRename : '新しいファイル名を入力してください: ', FileRenameExt : 'ファイルが使えなくなる可能性がありますが、本当に拡張子を変更してもよろしいですか?', FileRenaming : 'リネーム中...', FileDelete : '本当に「"%1"」を削除してもよろしいですか?', FilesLoading : '読み込み中...', FilesEmpty : 'ファイルがありません', FilesMoved : ' %1 は %2:%3 に移動されました', FilesCopied : ' %1 cは %2:%3 にコピーされました', // Basket BasketFolder : 'Basket', BasketClear : 'バスケットを空にする', BasketRemove : 'バスケットから削除', BasketOpenFolder : '親フォルダを開く', BasketTruncateConfirm : '本当にバスケットの中身を空にしますか?', BasketRemoveConfirm : '本当に「"%1"」をバスケットから削除しますか?', BasketEmpty : 'バスケットの中にファイルがありません。このエリアにドラッグ&ドロップして追加することができます。', BasketCopyFilesHere : 'バスケットからファイルをコピー', BasketMoveFilesHere : 'バスケットからファイルを移動', BasketPasteErrorOther : 'ファイル %s のエラー: %e', BasketPasteMoveSuccess : '以下のファイルが移動されました: %s', BasketPasteCopySuccess : '以下のファイルがコピーされました: %s', // Toolbar Buttons (some used elsewhere) Upload : 'アップロード', UploadTip : '新しいファイルのアップロード', Refresh : '表示の更新', Settings : 'カスタマイズ', Help : 'ヘルプ', HelpTip : 'ヘルプ', // Context Menus Select : 'この画像を選択', SelectThumbnail : 'この画像のサムネイルを選択', View : '画像だけを表示', Download : 'ダウンロード', NewSubFolder : '新しいフォルダに入れる', Rename : 'ファイル名の変更', Delete : '削除', CopyDragDrop : 'コピーするファイルをここにドロップしてください', MoveDragDrop : '移動するファイルをここにドロップしてください', // Dialogs RenameDlgTitle : 'リネーム', NewNameDlgTitle : '新しい名前', FileExistsDlgTitle : 'ファイルはすでに存在します。', SysErrorDlgTitle : 'システムエラー', FileOverwrite : '上書き', FileAutorename : 'A自動でリネーム', // Generic OkBtn : 'OK', CancelBtn : 'キャンセル', CloseBtn : '閉じる', // Upload Panel UploadTitle : 'ファイルのアップロード', UploadSelectLbl : 'アップロードするファイルを選択してください', UploadProgressLbl : '(ファイルのアップロード中...)', UploadBtn : 'アップロード', UploadBtnCancel : 'キャンセル', UploadNoFileMsg : 'ファイルを選んでください。', UploadNoFolder : 'アップロードの前にフォルダを選択してください。', UploadNoPerms : 'ファイルのアップロード権限がありません。', UploadUnknError : 'ファイルの送信に失敗しました。', UploadExtIncorrect : '選択されたファイルの拡張子は許可されていません。', // Settings Panel SetTitle : '表示のカスタマイズ', SetView : '表示方法:', SetViewThumb : 'サムネイル', SetViewList : '表示形式', SetDisplay : '表示する項目:', SetDisplayName : 'ファイル名', SetDisplayDate : '日時', SetDisplaySize : 'ファイルサイズ', SetSort : '表示の順番:', SetSortName : 'ファイル名', SetSortDate : '日付', SetSortSize : 'サイズ', // Status Bar FilesCountEmpty : '<フォルダ内にファイルがありません>', FilesCountOne : '1つのファイル', FilesCountMany : '%1個のファイル', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'リクエストの処理に失敗しました。 (Error %1)', Errors : { 10 : '不正なコマンドです。', 11 : 'リソースタイプが特定できませんでした。', 12 : '要求されたリソースのタイプが正しくありません。', 102 : 'ファイル名/フォルダ名が正しくありません。', 103 : 'リクエストを完了できませんでした。認証エラーです。', 104 : 'リクエストを完了できませんでした。ファイルのパーミッションが許可されていません。', 105 : '拡張子が正しくありません。', 109 : '不正なリクエストです。', 110 : '不明なエラーが発生しました。', 115 : '同じ名前のファイル/フォルダがすでに存在しています。', 116 : 'フォルダが見つかりませんでした。ページを更新して再度お試し下さい。', 117 : 'ファイルが見つかりませんでした。ページを更新して再度お試し下さい。', 118 : '対象が移動元と同じ場所を指定されています。', 201 : '同じ名前のファイルがすでに存在しています。"%1" にリネームして保存されました。', 202 : '不正なファイルです。', 203 : 'ファイルのサイズが大きすぎます。', 204 : 'アップロードされたファイルは壊れています。', 205 : 'サーバ内の一時作業フォルダが利用できません。', 206 : 'セキュリティ上の理由からアップロードが取り消されました。このファイルにはHTMLに似たデータが含まれています。', 207 : 'ファイルは "%1" にリネームして保存されました。', 300 : 'ファイルの移動に失敗しました。', 301 : 'ファイルのコピーに失敗しました。', 500 : 'ファイルブラウザはセキュリティ上の制限から無効になっています。システム担当者に連絡をして、CKFinderの設定をご確認下さい。', 501 : 'サムネイル機能は無効になっています。' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'ファイル名を入力してください', FileExists : ' %s はすでに存在しています。別の名前を入力してください。', FolderEmpty : 'フォルダ名を入力してください', FileInvChar : 'ファイルに以下の文字は使えません: \n\\ / : * ? " < > |', FolderInvChar : 'フォルダに以下の文字は使えません: \n\\ / : * ? " < > |', PopupBlockView : 'ファイルを新しいウィンドウで開くことに失敗しました。 お使いのブラウザの設定でポップアップをブロックする設定を解除してください。' }, // Imageresize plugin Imageresize : { dialogTitle : 'リサイズ: %s', sizeTooBig : 'オリジナルの画像よりも大きいサイズは指定できません。 (%size).', resizeSuccess : '画像のリサイズに成功しました', thumbnailNew : 'サムネイルをつくる', thumbnailSmall : '小 (%s)', thumbnailMedium : '中 (%s)', thumbnailLarge : '大 (%s)', newSize : 'Set new size', width : '幅', height : '高さ', invalidHeight : '高さの値が不正です。', invalidWidth : '幅の値が不正です。', invalidName : 'ファイル名が不正です。', newImage : '新しい画像を作成', noExtensionChange : '拡張子は変更できません。', imageSmall : '元画像が小さすぎます。', contextMenuName : 'リサイズ' }, // Fileeditor plugin Fileeditor : { save : '保存', fileOpenError : 'ファイルを開けませんでした。', fileSaveSuccess : 'ファイルの保存が完了しました。', contextMenuName : '編集', loadingFile : 'ファイルの読み込み中...' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['hu'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING ok : 'OK', // MISSING cancel : 'Cancel', // MISSING confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Undo', // MISSING redo : 'Redo', // MISSING skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, dir : 'ltr', // MISSING HelpLang : 'en', LangCode : 'hu', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy. m. d. HH:MM', DateAmPm : ['de.', 'du.'], // Folders FoldersTitle : 'Mappák', FolderLoading : 'Betöltés...', FolderNew : 'Kérjük adja meg a mappa nevét: ', FolderRename : 'Kérjük adja meg a mappa új nevét: ', FolderDelete : 'Biztosan törölni szeretné a következő mappát: "%1"?', FolderRenaming : ' (átnevezés...)', FolderDeleting : ' (törlés...)', // Files FileRename : 'Kérjük adja meg a fájl új nevét: ', FileRenameExt : 'Biztosan szeretné módosítani a fájl kiterjesztését? A fájl esetleg használhatatlan lesz.', FileRenaming : 'Átnevezés...', FileDelete : 'Biztosan törölni szeretné a következő fájlt: "%1"?', FilesLoading : 'Loading...', // MISSING FilesEmpty : 'Empty folder', // MISSING FilesMoved : 'File %1 moved into %2:%3', // MISSING FilesCopied : 'File %1 copied into %2:%3', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from basket', // MISSING BasketOpenFolder : 'Open parent folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag\'n\'drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Feltöltés', UploadTip : 'Új fájl feltöltése', Refresh : 'Frissítés', Settings : 'Beállítások', Help : 'Súgó', HelpTip : 'Súgó (angolul)', // Context Menus Select : 'Kiválaszt', SelectThumbnail : 'Bélyegkép kiválasztása', View : 'Megtekintés', Download : 'Letöltés', NewSubFolder : 'Új almappa', Rename : 'Átnevezés', Delete : 'Törlés', CopyDragDrop : 'Copy file here', // MISSING MoveDragDrop : 'Move file here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New name', // MISSING FileExistsDlgTitle : 'File already exists', // MISSING SysErrorDlgTitle : 'System error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Mégsem', CloseBtn : 'Bezárás', // Upload Panel UploadTitle : 'Új fájl feltöltése', UploadSelectLbl : 'Válassza ki a feltölteni kívánt fájlt', UploadProgressLbl : '(A feltöltés folyamatban, kérjük várjon...)', UploadBtn : 'A kiválasztott fájl feltöltése', UploadBtnCancel : 'Cancel', // MISSING UploadNoFileMsg : 'Kérjük válassza ki a fájlt a számítógépéről', UploadNoFolder : 'Please select folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Settings Panel SetTitle : 'Beállítások', SetView : 'Nézet:', SetViewThumb : 'bélyegképes', SetViewList : 'listás', SetDisplay : 'Megjelenik:', SetDisplayName : 'fájl neve', SetDisplayDate : 'dátum', SetDisplaySize : 'fájlméret', SetSort : 'Rendezés:', SetSortName : 'fájlnév', SetSortDate : 'dátum', SetSortSize : 'méret', // Status Bar FilesCountEmpty : '<üres mappa>', FilesCountOne : '1 fájl', FilesCountMany : '%1 fájl', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'A parancsot nem sikerült végrehajtani. (Hiba: %1)', Errors : { 10 : 'Érvénytelen parancs.', 11 : 'A fájl típusa nem lett a kérés során beállítva.', 12 : 'A kívánt fájl típus érvénytelen.', 102 : 'Érvénytelen fájl vagy könyvtárnév.', 103 : 'Hitelesítési problémák miatt nem sikerült a kérést teljesíteni.', 104 : 'Jogosultsági problémák miatt nem sikerült a kérést teljesíteni.', 105 : 'Érvénytelen fájl kiterjesztés.', 109 : 'Érvénytelen kérés.', 110 : 'Ismeretlen hiba.', 115 : 'A fálj vagy mappa már létezik ezen a néven.', 116 : 'Mappa nem található. Kérjük frissítsen és próbálja újra.', 117 : 'Fájl nem található. Kérjük frissítsen és próbálja újra.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Ilyen nevű fájl már létezett. A feltöltött fájl a következőre lett átnevezve: "%1"', 202 : 'Érvénytelen fájl', 203 : 'Érvénytelen fájl. A fájl mérete túl nagy.', 204 : 'A feltöltött fájl hibás.', 205 : 'A szerveren nem található a feltöltéshez ideiglenes mappa.', 206 : 'A feltöltés biztonsági okok miatt meg lett szakítva. The file contains HTML like data.', 207 : 'El fichero subido ha sido renombrado como "%1"', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'A fájl-tallózó biztonsági okok miatt nincs engedélyezve. Kérjük vegye fel a kapcsolatot a rendszer üzemeltetőjével és ellenőrizze a CKFinder konfigurációs fájlt.', 501 : 'A bélyegkép támogatás nincs engedélyezve.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'A fájl neve nem lehet üres', FileExists : 'File %s already exists', // MISSING FolderEmpty : 'A mappa neve nem lehet üres', FileInvChar : 'A fájl neve nem tartalmazhatja a következő karaktereket: \n\\ / : * ? " < > |', FolderInvChar : 'A mappa neve nem tartalmazhatja a következő karaktereket: \n\\ / : * ? " < > |', PopupBlockView : 'A felugró ablak megnyitása nem sikerült. Kérjük ellenőrizze a böngészője beállításait és tiltsa le a felugró ablakokat blokkoló alkalmazásait erre a honlapra.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set new size', // MISSING width : 'Width', // MISSING height : 'Height', // MISSING invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create new image', // MISSING noExtensionChange : 'The file extension cannot be changed.', // MISSING imageSmall : 'Source image is too small', // MISSING contextMenuName : 'Resize' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Save', // MISSING fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the English * language. This is the base file for all translations. */ /** * Constains the dictionary of language entries. * @namespace */ CKFinder.lang['en'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', ok : 'OK', cancel : 'Cancel', confirmationTitle : 'Confirmation', messageTitle : 'Information', inputTitle : 'Question', undo : 'Undo', redo : 'Redo', skip : 'Skip', skipAll : 'Skip all', makeDecision : 'What action should be taken?', rememberDecision: 'Remember my decision' }, dir : 'ltr', HelpLang : 'en', LangCode : 'en', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM','PM'], // Folders FoldersTitle : 'Folders', FolderLoading : 'Loading...', FolderNew : 'Please type the new folder name: ', FolderRename : 'Please type the new folder name: ', FolderDelete : 'Are you sure you want to delete the "%1" folder?', FolderRenaming : ' (Renaming...)', FolderDeleting : ' (Deleting...)', // Files FileRename : 'Please type the new file name: ', FileRenameExt : 'Are you sure you want to change the file name extension? The file may become unusable', FileRenaming : 'Renaming...', FileDelete : 'Are you sure you want to delete the file "%1"?', FilesLoading : 'Loading...', FilesEmpty : 'Empty folder', FilesMoved : 'File %1 moved into %2:%3', FilesCopied : 'File %1 copied into %2:%3', // Basket BasketFolder : 'Basket', BasketClear : 'Clear Basket', BasketRemove : 'Remove from basket', BasketOpenFolder : 'Open parent folder', BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', BasketEmpty : 'No files in the basket, drag\'n\'drop some.', BasketCopyFilesHere : 'Copy Files from Basket', BasketMoveFilesHere : 'Move Files from Basket', BasketPasteErrorOther : 'File %s error: %e', BasketPasteMoveSuccess : 'The following files were moved: %s', BasketPasteCopySuccess : 'The following files were copied: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Upload', UploadTip : 'Upload New File', Refresh : 'Refresh', Settings : 'Settings', Help : 'Help', HelpTip : 'Help', // Context Menus Select : 'Select', SelectThumbnail : 'Select Thumbnail', View : 'View', Download : 'Download', NewSubFolder : 'New Subfolder', Rename : 'Rename', Delete : 'Delete', CopyDragDrop : 'Copy file here', MoveDragDrop : 'Move file here', // Dialogs RenameDlgTitle : 'Rename', NewNameDlgTitle : 'New name', FileExistsDlgTitle : 'File already exists', SysErrorDlgTitle : 'System error', FileOverwrite : 'Overwrite', FileAutorename : 'Auto-rename', // Generic OkBtn : 'OK', CancelBtn : 'Cancel', CloseBtn : 'Close', // Upload Panel UploadTitle : 'Upload New File', UploadSelectLbl : 'Select the file to upload', UploadProgressLbl : '(Upload in progress, please wait...)', UploadBtn : 'Upload Selected File', UploadBtnCancel : 'Cancel', UploadNoFileMsg : 'Please select a file from your computer', UploadNoFolder : 'Please select folder before uploading.', UploadNoPerms : 'File upload not allowed.', UploadUnknError : 'Error sending the file.', UploadExtIncorrect : 'File extension not allowed in this folder.', // Settings Panel SetTitle : 'Settings', SetView : 'View:', SetViewThumb : 'Thumbnails', SetViewList : 'List', SetDisplay : 'Display:', SetDisplayName : 'File Name', SetDisplayDate : 'Date', SetDisplaySize : 'File Size', SetSort : 'Sorting:', SetSortName : 'by File Name', SetSortDate : 'by Date', SetSortSize : 'by Size', // Status Bar FilesCountEmpty : '<Empty Folder>', FilesCountOne : '1 file', FilesCountMany : '%1 files', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'It was not possible to complete the request. (Error %1)', Errors : { 10 : 'Invalid command.', 11 : 'The resource type was not specified in the request.', 12 : 'The requested resource type is not valid.', 102 : 'Invalid file or folder name.', 103 : 'It was not possible to complete the request due to authorization restrictions.', 104 : 'It was not possible to complete the request due to file system permission restrictions.', 105 : 'Invalid file extension.', 109 : 'Invalid request.', 110 : 'Unknown error.', 115 : 'A file or folder with the same name already exists.', 116 : 'Folder not found. Please refresh and try again.', 117 : 'File not found. Please refresh the files list and try again.', 118 : 'Source and target paths are equal.', 201 : 'A file with the same name is already available. The uploaded file has been renamed to "%1"', 202 : 'Invalid file', 203 : 'Invalid file. The file size is too big.', 204 : 'The uploaded file is corrupt.', 205 : 'No temporary folder is available for upload in the server.', 206 : 'Upload cancelled for security reasons. The file contains HTML like data.', 207 : 'The uploaded file has been renamed to "%1"', 300 : 'Moving file(s) failed.', 301 : 'Copying file(s) failed.', 500 : 'The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.', 501 : 'The thumbnails support is disabled.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'The file name cannot be empty', FileExists : 'File %s already exists', FolderEmpty : 'The folder name cannot be empty', FileInvChar : 'The file name cannot contain any of the following characters: \n\\ / : * ? " < > |', FolderInvChar : 'The folder name cannot contain any of the following characters: \n\\ / : * ? " < > |', PopupBlockView : 'It was not possible to open the file in a new window. Please configure your browser and disable all popup blockers for this site.' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', resizeSuccess : 'Image resized successfully.', thumbnailNew : 'Create new thumbnail', thumbnailSmall : 'Small (%s)', thumbnailMedium : 'Medium (%s)', thumbnailLarge : 'Large (%s)', newSize : 'Set new size', width : 'Width', height : 'Height', invalidHeight : 'Invalid height.', invalidWidth : 'Invalid width.', invalidName : 'Invalid file name.', newImage : 'Create new image', noExtensionChange : 'The file extension cannot be changed.', imageSmall : 'Source image is too small', contextMenuName : 'Resize' }, // Fileeditor plugin Fileeditor : { save : 'Save', fileOpenError : 'Unable to open file.', fileSaveSuccess : 'File saved successfully.', contextMenuName : 'Edit', loadingFile : 'Loading file, please wait...' } };
JavaScript
alert('plugin one nested js file');
JavaScript
alert('win sauce');
JavaScript
alert('I am a root level file!');
JavaScript
alert("Test App");
JavaScript
nested theme js file
JavaScript
root theme js file
JavaScript
/** * @name Elastic * @descripton Elastic is jQuery plugin that grow and shrink your textareas automatically * @version 1.6.11 * @requires jQuery 1.2.6+ * * @author Jan Jarfalk * @author-email jan.jarfalk@unwrongest.com * @author-website http://www.unwrongest.com * * @licence MIT License - http://www.opensource.org/licenses/mit-license.php */ (function($){ jQuery.fn.extend({ elastic: function() { // We will create a div clone of the textarea // by copying these attributes from the textarea to the div. var mimics = [ 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'fontSize', 'lineHeight', 'fontFamily', 'width', 'fontWeight', 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', 'borderTopStyle', 'borderTopColor', 'borderRightStyle', 'borderRightColor', 'borderBottomStyle', 'borderBottomColor', 'borderLeftStyle', 'borderLeftColor' ]; return this.each( function() { // Elastic only works on textareas if ( this.type !== 'textarea' ) { return false; } var $textarea = jQuery(this), $twin = jQuery('<div />').css({ 'position' : 'absolute', 'display' : 'none', 'word-wrap' : 'break-word', 'white-space' :'pre-wrap' }), lineHeight = parseInt($textarea.css('line-height'),10) || parseInt($textarea.css('font-size'),'10'), minheight = parseInt($textarea.css('height'),10) || lineHeight*3, maxheight = parseInt($textarea.css('max-height'),10) || Number.MAX_VALUE, goalheight = 0; // Opera returns max-height of -1 if not set if (maxheight < 0) { maxheight = Number.MAX_VALUE; } // Append the twin to the DOM // We are going to meassure the height of this, not the textarea. $twin.appendTo($textarea.parent()); // Copy the essential styles (mimics) from the textarea to the twin var i = mimics.length; while(i--){ $twin.css(mimics[i].toString(),$textarea.css(mimics[i].toString())); } // Updates the width of the twin. (solution for textareas with widths in percent) function setTwinWidth(){ var curatedWidth = Math.floor(parseInt($textarea.width(),10)); if($twin.width() !== curatedWidth){ $twin.css({'width': curatedWidth + 'px'}); // Update height of textarea update(true); } } // Sets a given height and overflow state on the textarea function setHeightAndOverflow(height, overflow){ var curratedHeight = Math.floor(parseInt(height,10)); if($textarea.height() !== curratedHeight){ $textarea.css({'height': curratedHeight + 'px','overflow':overflow}); } } // This function will update the height of the textarea if necessary function update(forced) { // Get curated content from the textarea. var textareaContent = $textarea.val().replace(/&/g,'&amp;').replace(/ {2}/g, '&nbsp;').replace(/<|>/g, '&gt;').replace(/\n/g, '<br />'); // Compare curated content with curated twin. var twinContent = $twin.html().replace(/<br>/ig,'<br />'); if(forced || textareaContent+'&nbsp;' !== twinContent){ // Add an extra white space so new rows are added when you are at the end of a row. $twin.html(textareaContent+'&nbsp;'); // Change textarea height if twin plus the height of one line differs more than 3 pixel from textarea height if(Math.abs($twin.height() + lineHeight - $textarea.height()) > 3){ var goalheight = $twin.height()+lineHeight; if(goalheight >= maxheight) { setHeightAndOverflow(maxheight,'auto'); } else if(goalheight <= minheight) { setHeightAndOverflow(minheight,'hidden'); } else { setHeightAndOverflow(goalheight,'hidden'); } } } } // Hide scrollbars $textarea.css({'overflow':'hidden'}); // Update textarea size on keyup, change, cut and paste $textarea.bind('keyup change cut paste', function(){ update(); }); // Update width of twin if browser or textarea is resized (solution for textareas with widths in percent) jQuery(window).bind('resize', setTwinWidth); $textarea.bind('resize', setTwinWidth); $textarea.bind('update', update); // Compact textarea on blur $textarea.bind('blur',function(){ if($twin.height() < maxheight){ if($twin.height() > minheight) { $textarea.height($twin.height()); } else { $textarea.height(minheight); } } }); // And this line is to catch the browser paste event $textarea.bind('input paste',function(e){ setTimeout( update, 250); }); // Run update once when elastic is initialized update(); }); } }); })(jQuery);
JavaScript
/** * jquery.textareaHighlighter * This plugin allow you to select text in textarea with custom color and keep this selection until text is changed. * See the readme at [git](https://github.com/pahomovda/jquery.textareaHighlighter). * * Copyright (c) 2014 Pahomov Dmitry * Licensed under the MIT license * https://github.com/pahomovda/jquery.textareaHighlighter/blob/master/LICENSE */ /*var get_selection = function (id) { var scroll = $(window).scrollTop(), selection = $(id).textrange('get'), indfirst = selection.start, indlast = selection.end - 1; if (indfirst > indlast) { indfirst = indlast = -2; } //$(window).scrollTop(scroll); return { indfirst: indfirst, indlast: indlast }; };*/ (function( $ ) { var PLUGINNAME = 'textareaHighlighter'; var PLUGINDATAKEY = PLUGINNAME+'data'; var EVENTNAMESPACE = '.'+PLUGINNAME+'_evt'; var $this = null; var data = null; var methods = { init: function (options) { var settings = $.extend( { fontsize: 14, cols: 65, rows: 3 }, options); data = { _helperel: null, _textareael: null, _fontsize: settings.fontsize, _linesize: settings.fontsize+2, _ishelperhidden: false }; var content = this.val() || ''; var id = this.attr('id') || ''; var bgcolor = this.css('backgroundColor') || 'yellow'; var fontstyle = 'normal '+data._fontsize+'px/'+data._linesize +'px "Courier New",Courier,monospace'; var cssfortextareael = { 'margin': '0', 'padding': '0', 'position': 'relative', 'border': '1px solid #999999', 'outline': 'none', 'overflow': 'scroll', 'width': '100%', 'background': 'transparent', 'resize': 'none', 'font': fontstyle }; var cssforhelperel = { 'position': 'absolute', 'background': bgcolor, 'white-space': 'pre', 'border': '1px solid transparent', 'color': 'transparent', 'font': fontstyle, 'overflow': 'scroll' }; data._textareael = $('<textarea cols="'+settings.cols+'" rows="'+settings.rows+'" wrap="off">' + content + '</textarea>') .attr('id', id) .bind('keyup'+EVENTNAMESPACE, methods._textareaonchange) .bind('paste'+EVENTNAMESPACE, function(e) {setTimeout(function () {methods._textareaonchange(e);}, 1);}); this.replaceWith(data._textareael); // this is not valid! data._textareael.resizable({resize: methods._textarearesize}) .bind('scroll'+EVENTNAMESPACE, methods._textareascroll) .css(cssfortextareael); // TODO - remove chain? data._helperel = $('<span></span>') .css(cssforhelperel) .insertBefore(data._textareael); data._textareael.data(PLUGINDATAKEY, data); data._textareael.keyup(); return data._textareael[0]; }, destroy: function() { $(window).undind(EVENTNAMESPACE); data._helperel.remove(); data._textareael.resizable('destroy'); data._textareael.remove(); $this.removeData(PLUGINDATAKEY); }, _textareascroll: function(e) { if (!data._ishelperhidden) { data._helperel.scrollTop($this.scrollTop()); data._helperel.scrollLeft($this.scrollLeft()); } }, _textarearesize: function(e) { if (!data._ishelperhidden) { data._helperel.height($this.height()); data._helperel.width($this.width()); } }, _textareaonchange: function (e) { methods._hidehelper.apply(this); }, _hidehelper: function () { if (!data._ishelperhidden) { data._helperel.hide(); data._ishelperhidden = true; } }, _showhelper: function (target) { if (data._ishelperhidden) { data._helperel.show(); data._ishelperhidden = false; $this.resizable('option', 'resize').apply($this.parent()); // magic.... } }, highlight: function (start, end, color) { if ( (end-start+1)<=0 ) { methods._hidehelper.apply(this); return; } var srctext = $this.val(); var p = []; p[0] = srctext.substring(0, start); p[1] = srctext.substring(start, end+1); p[2] = srctext.substring(end+1, srctext.length); data._helperel.html(p[0]+'<span style="background: '+color+'">'+p[1]+'</span>'+p[2]); methods._showhelper.apply(this); data._textareael.scroll(); $this.blur(); }, highlight2areas: function (starto, endo, coloro, starti, endi, colori) { // TODO - remove copypasted code -_- if ( (endo-starto+1)<=0 || (endi-starti+1)<=0 ) { methods._hidehelper.apply(this); return; } var srctext = $this.val(); //console.log($this.val()); //console.log(starto+' '+endo+' '+starti+' '+endi); var p = []; p[0] = srctext.substring(0, starto); p[1] = srctext.substring(starto, starti); p[2] = srctext.substring(starti, endi+1); p[3] = srctext.substring(endi+1, endo+1); p[4] = srctext.substring(endo+1, srctext.length); //console.log(p[0]+' '+p[1]+' '+p[2]+' '+p[3]+' '+p[4]); data._helperel.html(p[0]+'<span style="background: '+coloro+'">'+p[1]+'<span style="background: '+colori+'">'+p[2]+'</span>'+p[3]+'</span>'+p[4]); methods._showhelper.apply(this); data._textareael.scroll(); $this.blur(); }, setHtml: function (html) { var srctext = $this.val($('<span>'+html+'</span>').text()); data._helperel.html(html); methods._showhelper.apply(this); data._textareael.scroll(); $this.blur(); } }; $.fn[PLUGINNAME] = function( method ) { var argsclosure = arguments; $this = $(this); data = $this.data(PLUGINDATAKEY); /* * Code starts here! *o* */ if ( methods[method] ) { return this.each(function() { methods[ method ].apply( $(this), Array.prototype.slice.call( argsclosure, 1 )); }); } else if ( typeof method === 'object' || ! method ) { var newjq = []; this.each(function() { newjq.push(methods.init.apply( $(this), argsclosure )); }); return $(newjq); } else { $.error( 'No method with name ' + method + ' for jQuery.textareaHighlighter' ); } }; })( jQuery ); /*$('#test1').textareaHighlighter( {fontsize: 14} ); $('#test3').click(function(e) { var sel = get_selection('#test1'); var color = 'orange'; if (sel.indlast !== -2) { $('#test1').textareaHighlighter('highlight', sel.indfirst, sel.indlast, color); console.log(sel.indfirst +' '+sel.indlast+' @ $("#test3").click'); } else { console.log('-2 @ get_selection'); } }); $('#test11').textareaHighlighter( {fontsize: 14} ); $('#test33').click(function(e) { var sel = get_selection('#test11'); var color = 'orange'; if (sel.indlast !== -2) { $('#test11').textareaHighlighter('highlight', sel.indfirst, sel.indlast, color); console.log(sel.indfirst +' '+sel.indlast+' @ $("#test3").click'); } else { console.log('-2 @ get_selection'); } });*/
JavaScript
/** * Script for preg text+button widget * * @copyright 2012 Oleg Sychev, Volgograd State Technical University * @author Pahomov Dmitry, Terechov Grigory, Volgograd State Technical University * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package questions */ M.poasquestion_text_and_button = (function ($) { var self = { /** @var input, from witch we read data */ current_input : null, /** @var data, readed from input */ data : null, /** @var reference to yui dialog object */ dialog : null, /** @var width of dialog */ dialogwidth: 1000, dialogtitle : null, /** * @var this function will be called only once, after dialog creation. * Reference to this object will be passed as the first parameter of the * function. * To set this property use method M.poasquestion_text_and_button.setup(); */ onfirstpresscallback : null, /** @var this function will be called after each click. * Reference to this object will be passed as the first parameter of the * function. * To set this property use method M.poasquestion_text_and_button.setup(); */ oneachpresscallback : null, onclosecallback : null, oncancelclicked : null, onsaveclicked : null, /** @var data for module-extender */ extendeddata : null, /** Just creates object */ init : function(Y, dialogwidth, dialogtitle) { self.dialogwidth = dialogwidth; self.dialogtitle = dialogtitle; }, fix_textarea_rows : function(e) { var jqtarget = $(e.target); jqtarget.attr('rows',jqtarget.val().split('\n').length); }, /** * Sets handler for button with id = button_id and input with id input_id * @param {Object} Y NOT USED! It need because moodle passes this object as first param anyway... * @param {string} button_id id of button for witch you want to set handler * @param {string} input_id id of input from witch you want to read data * @param {int} pagewidth width of modal window */ set_handler : function (Y, button_id, input_id, pagewidth) { //this.Y = this.Y || Y; if (button_id == null || input_id == null) { return; } if (button_id.indexOf('#') != 0) { button_id = '#' + button_id; } if (input_id.indexOf('#') != 0) { input_id = '#' + input_id; } var testregexbtn = $(button_id); var testregexlineedit = $(input_id); var eventdata = { pagewidth: pagewidth, targetinput: testregexlineedit }; $(testregexbtn).click(eventdata, self.btn_pressed); $(testregexlineedit).elastic(); }, /** * Handler of jquery event: pressing on the button * @param {targetinput} e.data.input from which data should be readen (should be passed as jquery event data) */ btn_pressed : function(e) { e.preventDefault(); var is_first_press = self.dialog === null; self.current_input = e.data.targetinput;// a reference to input from which we got a regex (this reference is passed as 'this' when we install this handler) self.data = self.get_input_data(); if (is_first_press) { // if the 'Test regex' button is first pressed, we should generate a dialog window self.setup_dialog(); } if (is_first_press && typeof(self.onfirstpresscallback) === "function") { self.onfirstpresscallback(); } if (!is_first_press && typeof(self.oneachpresscallback) === "function") { self.oneachpresscallback(); } self.dialog.dialog('open'); }, /** * Сreates new dialog object * @param {int} pagewidth width of dialog */ setup_dialog : function(pagewidth) { self.dialog = $('<div id="poasquestion_textandbutton_dialog"><p>Loading...</p></div>'); if (self.is_stand_alone()) { buttons = [ {text: M.str.editor.close, click: self.oncancelclicked} ] } else { buttons = [ {text: M.str.moodle.savechanges, click: self.onsaveclicked}, {text: M.str.moodle.cancel, click: self.oncancelclicked} ] } self.dialog.dialog({ modal: true, closeOnEscape: true, width: self.dialogwidth, minWidth: '1000px', title: self.dialogtitle, close: function() { if (typeof(self.onclosecallback) === "function") { self.onclosecallback(); } }, buttons: buttons }); }, loadDialogContent : function(url, scripts, callback) { var received = 0; var fakeCallback = function() { received++; if (received === scripts.length+1) callback(); }; $.ajax({ url: url, type: "GET", dataType: "text" }).done(function (responseText, textStatus, jqXHR) { var tmpM = M; var tpage_html = $.parseHTML(responseText, document, false); $(self.dialog).html(tpage_html); M = $.extend(M, tmpM); fakeCallback(); }); for (var i = 0; i < scripts.length; i++) { $.getScript(scripts[i], fakeCallback); } }, /** * Sets up this module. * @param {Object} options Object that contains declaration of * onfirstpresscallback (function that calls at first dialog open) * and oneachpresscallback (function that calls at second and others dialog * open). Also may add extendeddata object to this module. */ setup : function (options) { self.onfirstpresscallback = options.onfirstpresscallback; self.oneachpresscallback = options.oneachpresscallback; self.onclosecallback = options.onclosecallback; self.oncancelclicked = options.oncancelclicked; self.onsaveclicked = options.onsaveclicked; self.extendeddata = options.extendeddata; }, /** * Forces dialog close and sets data from _data param or this.data property * into current input. * @param {String} _data data to set into current input */ close_and_set_new_data : function(_data) { if (typeof(_data) === "string") { self.data = _data; self.set_input_data(_data); } else { self.set_input_data(self.data); } self.dialog.dialog('close'); }, get_input_data : function() { return self.current_input ? self.current_input.val() : ''; }, set_input_data : function(_data) { if (self.current_input) { self.current_input.val(_data); } }, is_stand_alone : function() { return self.current_input.length===0 || (typeof self.current_input === 'undifined'); } }; return self; })(jQuery);
JavaScript
/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh) * Licensed under the MIT License (LICENSE.txt). * * Version: 3.1.9 * * Requires: jQuery 1.2.2+ */ (function (factory) { if ( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof exports === 'object') { // Node/CommonJS style for Browserify module.exports = factory; } else { // Browser globals factory(jQuery); } }(function ($) { var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'], toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'], slice = Array.prototype.slice, nullLowestDeltaTimeout, lowestDelta; if ( $.event.fixHooks ) { for ( var i = toFix.length; i; ) { $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; } } var special = $.event.special.mousewheel = { version: '3.1.9', setup: function() { if ( this.addEventListener ) { for ( var i = toBind.length; i; ) { this.addEventListener( toBind[--i], handler, false ); } } else { this.onmousewheel = handler; } // Store the line height and page height for this particular element $.data(this, 'mousewheel-line-height', special.getLineHeight(this)); $.data(this, 'mousewheel-page-height', special.getPageHeight(this)); }, teardown: function() { if ( this.removeEventListener ) { for ( var i = toBind.length; i; ) { this.removeEventListener( toBind[--i], handler, false ); } } else { this.onmousewheel = null; } }, getLineHeight: function(elem) { return parseInt($(elem)['offsetParent' in $.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10); }, getPageHeight: function(elem) { return $(elem).height(); }, settings: { adjustOldDeltas: true } }; $.fn.extend({ mousewheel: function(fn) { return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel'); }, unmousewheel: function(fn) { return this.unbind('mousewheel', fn); } }); function handler(event) { var orgEvent = event || window.event, args = slice.call(arguments, 1), delta = 0, deltaX = 0, deltaY = 0, absDelta = 0; event = $.event.fix(orgEvent); event.type = 'mousewheel'; // Old school scrollwheel delta if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; } if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; } if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; } if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; } // Firefox < 17 horizontal scrolling related to DOMMouseScroll event if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) { deltaX = deltaY * -1; deltaY = 0; } // Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy delta = deltaY === 0 ? deltaX : deltaY; // New school wheel delta (wheel event) if ( 'deltaY' in orgEvent ) { deltaY = orgEvent.deltaY * -1; delta = deltaY; } if ( 'deltaX' in orgEvent ) { deltaX = orgEvent.deltaX; if ( deltaY === 0 ) { delta = deltaX * -1; } } // No change actually happened, no reason to go any further if ( deltaY === 0 && deltaX === 0 ) { return; } // Need to convert lines and pages to pixels if we aren't already in pixels // There are three delta modes: // * deltaMode 0 is by pixels, nothing to do // * deltaMode 1 is by lines // * deltaMode 2 is by pages if ( orgEvent.deltaMode === 1 ) { var lineHeight = $.data(this, 'mousewheel-line-height'); delta *= lineHeight; deltaY *= lineHeight; deltaX *= lineHeight; } else if ( orgEvent.deltaMode === 2 ) { var pageHeight = $.data(this, 'mousewheel-page-height'); delta *= pageHeight; deltaY *= pageHeight; deltaX *= pageHeight; } // Store lowest absolute delta to normalize the delta values absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); if ( !lowestDelta || absDelta < lowestDelta ) { lowestDelta = absDelta; // Adjust older deltas if necessary if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { lowestDelta /= 40; } } // Adjust older deltas if necessary if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) { // Divide all the things by 40! delta /= 40; deltaX /= 40; deltaY /= 40; } // Get a whole, normalized value for the deltas delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta); deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta); deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta); // Add information to the event object event.deltaX = deltaX; event.deltaY = deltaY; event.deltaFactor = lowestDelta; // Go ahead and set deltaMode to 0 since we converted to pixels // Although this is a little odd since we overwrite the deltaX/Y // properties with normalized deltas. event.deltaMode = 0; // Add event and delta to the front of the arguments args.unshift(event, delta, deltaX, deltaY); // Clearout lowestDelta after sometime to better // handle multiple device types that give different // a different lowestDelta // Ex: trackpad = 3 and mouse wheel = 120 if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); } nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200); return ($.event.dispatch || $.event.handle).apply(this, args); } function nullLowestDelta() { lowestDelta = null; } function shouldAdjustOldDeltas(orgEvent, absDelta) { // If this is an older event and the delta is divisable by 120, // then we are assuming that the browser is treating this as an // older mouse wheel event and that we should divide the deltas // by 40 to try and get a more usable deltaFactor. // Side note, this actually impacts the reported scroll distance // in older browsers and can cause scrolling to be slower than native. // Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false. return special.settings.adjustOldDeltas && orgEvent.type === 'mousewheel' && absDelta % 120 === 0; } }));
JavaScript
/** * @license jquery.panzoom.js v2.0.5 * Updated: Thu Apr 03 2014 * Add pan and zoom functionality to any element * Copyright (c) 2014 timmy willison * Released under the MIT license * https://github.com/timmywil/jquery.panzoom/blob/master/MIT-License.txt */ (function(global, factory) { // AMD if (typeof define === 'function' && define.amd) { define([ 'jquery' ], function(jQuery) { return factory(global, jQuery); }); // CommonJS/Browserify } else if (typeof exports === 'object') { factory(global, require('jquery')); // Global } else { factory(global, global.jQuery); } }(typeof window !== 'undefined' ? window : this, function(window, $) { 'use strict'; // Common properties to lift for touch or pointer events var list = 'over out down up move enter leave cancel'.split(' '); var hook = $.extend({}, $.event.mouseHooks); var events = {}; // Support pointer events in IE11+ if available if ( window.PointerEvent ) { $.each(list, function( i, name ) { // Add event name to events property and add fixHook $.event.fixHooks[ (events[name] = 'pointer' + name) ] = hook; }); } else { var mouseProps = hook.props; // Add touch properties for the touch hook hook.props = mouseProps.concat(['touches', 'changedTouches', 'targetTouches', 'altKey', 'ctrlKey', 'metaKey', 'shiftKey']); /** * Support: Android * Android sets pageX/Y to 0 for any touch event * Attach first touch's pageX/pageY and clientX/clientY if not set correctly */ hook.filter = function( event, originalEvent ) { var touch; var i = mouseProps.length; if ( !originalEvent.pageX && originalEvent.touches && (touch = originalEvent.touches[0]) ) { // Copy over all mouse properties while(i--) { event[mouseProps[i]] = touch[mouseProps[i]]; } } return event; }; $.each(list, function( i, name ) { // No equivalent touch events for over and out if (i < 2) { events[ name ] = 'mouse' + name; } else { var touch = 'touch' + (name === 'down' ? 'start' : name === 'up' ? 'end' : name); // Add fixHook $.event.fixHooks[ touch ] = hook; // Add event names to events property events[ name ] = touch + ' mouse' + name; } }); } $.pointertouch = events; var datakey = '__pz__'; var slice = Array.prototype.slice; var pointerEvents = !!window.PointerEvent; // Regex var rupper = /([A-Z])/g; var rsvg = /^http:[\w\.\/]+svg$/; var rinline = /^inline/; var floating = '(\\-?[\\d\\.e]+)'; var commaSpace = '\\,?\\s*'; var rmatrix = new RegExp( '^matrix\\(' + floating + commaSpace + floating + commaSpace + floating + commaSpace + floating + commaSpace + floating + commaSpace + floating + '\\)$' ); /** * Utility for determing transform matrix equality * Checks backwards to test translation first * @param {Array} first * @param {Array} second */ function matrixEquals(first, second) { var i = first.length; while(--i) { if (+first[i] !== +second[i]) { return false; } } return true; } /** * Creates the options object for reset functions * @param {Boolean|Object} opts See reset methods * @returns {Object} Returns the newly-created options object */ function createResetOptions(opts) { var options = { range: true, animate: true }; if (typeof opts === 'boolean') { options.animate = opts; } else { $.extend(options, opts); } return options; } /** * Represent a transformation matrix with a 3x3 matrix for calculations * Matrix functions adapted from Louis Remi's jQuery.transform (https://github.com/louisremi/jquery.transform.js) * @param {Array|Number} a An array of six values representing a 2d transformation matrix */ function Matrix(a, b, c, d, e, f, g, h, i) { if ($.type(a) === 'array') { this.elements = [ +a[0], +a[2], +a[4], +a[1], +a[3], +a[5], 0, 0, 1 ]; } else { this.elements = [ a, b, c, d, e, f, g || 0, h || 0, i || 1 ]; } } Matrix.prototype = { /** * Multiply a 3x3 matrix by a similar matrix or a vector * @param {Matrix|Vector} matrix * @return {Matrix|Vector} Returns a vector if multiplying by a vector */ x: function(matrix) { var isVector = matrix instanceof Vector; var a = this.elements, b = matrix.elements; if (isVector && b.length === 3) { // b is actually a vector return new Vector( a[0] * b[0] + a[1] * b[1] + a[2] * b[2], a[3] * b[0] + a[4] * b[1] + a[5] * b[2], a[6] * b[0] + a[7] * b[1] + a[8] * b[2] ); } else if (b.length === a.length) { // b is a 3x3 matrix return new Matrix( a[0] * b[0] + a[1] * b[3] + a[2] * b[6], a[0] * b[1] + a[1] * b[4] + a[2] * b[7], a[0] * b[2] + a[1] * b[5] + a[2] * b[8], a[3] * b[0] + a[4] * b[3] + a[5] * b[6], a[3] * b[1] + a[4] * b[4] + a[5] * b[7], a[3] * b[2] + a[4] * b[5] + a[5] * b[8], a[6] * b[0] + a[7] * b[3] + a[8] * b[6], a[6] * b[1] + a[7] * b[4] + a[8] * b[7], a[6] * b[2] + a[7] * b[5] + a[8] * b[8] ); } return false; // fail }, /** * Generates an inverse of the current matrix * @returns {Matrix} */ inverse: function() { var d = 1 / this.determinant(), a = this.elements; return new Matrix( d * ( a[8] * a[4] - a[7] * a[5]), d * (-(a[8] * a[1] - a[7] * a[2])), d * ( a[5] * a[1] - a[4] * a[2]), d * (-(a[8] * a[3] - a[6] * a[5])), d * ( a[8] * a[0] - a[6] * a[2]), d * (-(a[5] * a[0] - a[3] * a[2])), d * ( a[7] * a[3] - a[6] * a[4]), d * (-(a[7] * a[0] - a[6] * a[1])), d * ( a[4] * a[0] - a[3] * a[1]) ); }, /** * Calculates the determinant of the current matrix * @returns {Number} */ determinant: function() { var a = this.elements; return a[0] * (a[8] * a[4] - a[7] * a[5]) - a[3] * (a[8] * a[1] - a[7] * a[2]) + a[6] * (a[5] * a[1] - a[4] * a[2]); } }; /** * Create a vector containing three values */ function Vector(x, y, z) { this.elements = [ x, y, z ]; } /** * Get the element at zero-indexed index i * @param {Number} i */ Vector.prototype.e = Matrix.prototype.e = function(i) { return this.elements[ i ]; }; /** * Create a Panzoom object for a given element * @constructor * @param {Element} elem - Element to use pan and zoom * @param {Object} [options] - An object literal containing options to override default options * (See Panzoom.defaults for ones not listed below) * @param {jQuery} [options.$zoomIn] - zoom in buttons/links collection (you can also bind these yourself * e.g. $button.on('click', function(e) { e.preventDefault(); $elem.panzooom('zoomIn'); });) * @param {jQuery} [options.$zoomOut] - zoom out buttons/links collection on which to bind zoomOut * @param {jQuery} [options.$zoomRange] - zoom in/out with this range control * @param {jQuery} [options.$reset] - Reset buttons/links collection on which to bind the reset method * @param {Function} [options.on[Start|Change|Zoom|Pan|End|Reset] - Optional callbacks for panzoom events */ function Panzoom(elem, options) { // Allow instantiation without `new` keyword if (!(this instanceof Panzoom)) { return new Panzoom(elem, options); } // Sanity checks if (elem.nodeType !== 1) { $.error('Panzoom called on non-Element node'); } if (!$.contains(document, elem)) { $.error('Panzoom element must be attached to the document'); } // Don't remake var d = $.data(elem, datakey); if (d) { return d; } // Extend default with given object literal // Each instance gets its own options this.options = options = $.extend({}, Panzoom.defaults, options); this.elem = elem; var $elem = this.$elem = $(elem); this.$set = options.$set && options.$set.length ? options.$set : $elem; this.$doc = $(elem.ownerDocument || document); this.$parent = $elem.parent(); // This is SVG if the namespace is SVG // However, while <svg> elements are SVG, we want to treat those like other elements this.isSVG = rsvg.test(elem.namespaceURI) && elem.nodeName.toLowerCase() !== 'svg'; this.panning = false; // Save the original transform value // Save the prefixed transform style key // Set the starting transform this._buildTransform(); // Build the appropriately-prefixed transform style property name // De-camelcase this._transform = !this.isSVG && $.cssProps.transform.replace(rupper, '-$1').toLowerCase(); // Build the transition value this._buildTransition(); // Build containment dimensions this.resetDimensions(); // Add zoom and reset buttons to `this` var $empty = $(); var self = this; $.each([ '$zoomIn', '$zoomOut', '$zoomRange', '$reset' ], function(i, name) { self[ name ] = options[ name ] || $empty; }); this.enable(); // Save the instance $.data(elem, datakey, this); } // Attach regex for possible use (immutable) Panzoom.rmatrix = rmatrix; // Container for event names Panzoom.events = $.pointertouch; Panzoom.defaults = { // Should always be non-empty // Used to bind jQuery events without collisions // A guid is not added here as different instantiations/versions of panzoom // on the same element is not supported, so don't do it. eventNamespace: '.panzoom', // Whether or not to transition the scale transition: true, // Default cursor style for the element cursor: 'move', // There may be some use cases for zooming without panning or vice versa disablePan: false, disableZoom: false, // The increment at which to zoom // adds/subtracts to the scale each time zoomIn/Out is called increment: 0.3, minScale: 0.4, maxScale: 5, // The default step for the range input // Precendence: default < HTML attribute < option setting rangeStep: 0.05, // Animation duration (ms) duration: 200, // CSS easing used for scale transition easing: 'ease-in-out', // Indicate that the element should be contained within it's parent when panning // Note: this does not affect zooming outside of the parent // Set this value to 'invert' to only allow panning outside of the parent element (basically the opposite of the normal use of contain) // 'invert' is useful for a large panzoom element where you don't want to show anything behind it contain: false }; Panzoom.prototype = { constructor: Panzoom, /** * @returns {Panzoom} Returns the instance */ instance: function() { return this; }, /** * Enable or re-enable the panzoom instance */ enable: function() { // Unbind first this._initStyle(); this._bind(); this.disabled = false; }, /** * Disable panzoom */ disable: function() { this.disabled = true; this._resetStyle(); this._unbind(); }, /** * @returns {Boolean} Returns whether the current panzoom instance is disabled */ isDisabled: function() { return this.disabled; }, /** * Destroy the panzoom instance */ destroy: function() { this.disable(); $.removeData(this.elem, datakey); }, /** * Builds the restricing dimensions from the containment element * Also used with focal points * Call this method whenever the dimensions of the element or parent are changed */ resetDimensions: function() { // Reset container properties var $parent = this.$parent; this.container = { width: $parent.innerWidth(), height: $parent.innerHeight() }; var po = $parent.offset(); var elem = this.elem; var $elem = this.$elem; var dims; if (this.isSVG) { dims = elem.getBoundingClientRect(); dims = { left: dims.left - po.left, top: dims.top - po.top, width: dims.width, height: dims.height, margin: { left: 0, top: 0 } }; } else { dims = { left: $.css(elem, 'left', true) || 0, top: $.css(elem, 'top', true) || 0, width: $elem.innerWidth(), height: $elem.innerHeight(), margin: { top: $.css(elem, 'marginTop', true) || 0, left: $.css(elem, 'marginLeft', true) || 0 } }; } dims.widthBorder = ($.css(elem, 'borderLeftWidth', true) + $.css(elem, 'borderRightWidth', true)) || 0; dims.heightBorder = ($.css(elem, 'borderTopWidth', true) + $.css(elem, 'borderBottomWidth', true)) || 0; this.dimensions = dims; }, /** * Return the element to it's original transform matrix * @param {Boolean} [options] If a boolean is passed, animate the reset (default: true). If an options object is passed, simply pass that along to setMatrix. * @param {Boolean} [options.silent] Silence the reset event */ reset: function(options) { options = createResetOptions(options); // Reset the transform to its original value var matrix = this.setMatrix(this._origTransform, options); if (!options.silent) { this._trigger('reset', matrix); } }, /** * Only resets zoom level * @param {Boolean|Object} [options] Whether to animate the reset (default: true) or an object of options to pass to zoom() */ resetZoom: function(options) { options = createResetOptions(options); var origMatrix = this.getMatrix(this._origTransform); options.dValue = origMatrix[ 3 ]; this.zoom(origMatrix[0], options); }, /** * Only reset panning * @param {Boolean|Object} [options] Whether to animate the reset (default: true) or an object of options to pass to pan() */ resetPan: function(options) { var origMatrix = this.getMatrix(this._origTransform); this.pan(origMatrix[4], origMatrix[5], createResetOptions(options)); }, /** * Sets a transform on the $set * @param {String} transform */ setTransform: function(transform) { var method = this.isSVG ? 'attr' : 'style'; var $set = this.$set; var i = $set.length; while(i--) { $[method]($set[i], 'transform', transform); } }, /** * Retrieving the transform is different for SVG * (unless a style transform is already present) * Uses the $set collection for retrieving the transform * @param {String} [transform] Pass in an transform value (like 'scale(1.1)') * to have it formatted into matrix format for use by Panzoom * @returns {String} Returns the current transform value of the element */ getTransform: function(transform) { var $set = this.$set; var transformElem = $set[0]; if (transform) { this.setTransform(transform); } else { // Retrieve the transform transform = $[this.isSVG ? 'attr' : 'style'](transformElem, 'transform'); } // Convert any transforms set by the user to matrix format // by setting to computed if (transform !== 'none' && !rmatrix.test(transform)) { // Get computed and set for next time this.setTransform(transform = $.css(transformElem, 'transform')); } return transform || 'none'; }, /** * Retrieve the current transform matrix for $elem (or turn a transform into it's array values) * @param {String} [transform] matrix-formatted transform value * @returns {Array} Returns the current transform matrix split up into it's parts, or a default matrix */ getMatrix: function(transform) { var matrix = rmatrix.exec(transform || this.getTransform()); if (matrix) { matrix.shift(); } return matrix || [ 1, 0, 0, 1, 0, 0 ]; }, /** * Given a matrix object, quickly set the current matrix of the element * @param {Array|String} matrix * @param {Boolean} [animate] Whether to animate the transform change * @param {Object} [options] * @param {Boolean|String} [options.animate] Whether to animate the transform change, or 'skip' indicating that it is unnecessary to set * @param {Boolean} [options.contain] Override the global contain option * @param {Boolean} [options.range] If true, $zoomRange's value will be updated. * @param {Boolean} [options.silent] If true, the change event will not be triggered * @returns {Array} Returns the newly-set matrix */ setMatrix: function(matrix, options) { if (this.disabled) { return; } if (!options) { options = {}; } // Convert to array if (typeof matrix === 'string') { matrix = this.getMatrix(matrix); } var dims, container, marginW, marginH, diffW, diffH, left, top, width, height; var scale = +matrix[0]; var $parent = this.$parent; var contain = typeof options.contain !== 'undefined' ? options.contain : this.options.contain; // Apply containment if (contain) { dims = this._checkDims(); container = this.container; width = dims.width + dims.widthBorder; height = dims.height + dims.heightBorder; // Use absolute value of scale here as negative scale doesn't mean even smaller marginW = ((width * Math.abs(scale)) - container.width) / 2; marginH = ((height * Math.abs(scale)) - container.height) / 2; left = dims.left + dims.margin.left; top = dims.top + dims.margin.top; if (contain === 'invert') { diffW = width > container.width ? width - container.width : 0; diffH = height > container.height ? height - container.height : 0; marginW += (container.width - width) / 2; marginH += (container.height - height) / 2; matrix[4] = Math.max(Math.min(matrix[4], marginW - left), -marginW - left - diffW); matrix[5] = Math.max(Math.min(matrix[5], marginH - top), -marginH - top - diffH + dims.heightBorder); } else { // marginW += dims.widthBorder / 2; marginH += dims.heightBorder / 2; diffW = container.width > width ? container.width - width : 0; diffH = container.height > height ? container.height - height : 0; // If the element is not naturally centered, assume full margin right if ($parent.css('textAlign') !== 'center' || !rinline.test($.css(this.elem, 'display'))) { marginW = marginH = 0; } else { diffW = 0; } matrix[4] = Math.min( Math.max(matrix[4], marginW - left), -marginW - left + diffW ); matrix[5] = Math.min( Math.max(matrix[5], marginH - top), -marginH - top + diffH ); } } if (options.animate !== 'skip') { // Set transition this.transition(!options.animate); } // Update range if (options.range) { this.$zoomRange.val(scale); } // Set the matrix on this.$set this.setTransform('matrix(' + matrix.join(',') + ')'); if (!options.silent) { this._trigger('change', matrix); } return matrix; }, /** * @returns {Boolean} Returns whether the panzoom element is currently being dragged */ isPanning: function() { return this.panning; }, /** * Apply the current transition to the element, if allowed * @param {Boolean} [off] Indicates that the transition should be turned off */ transition: function(off) { if (!this._transition) { return; } var transition = off || !this.options.transition ? 'none' : this._transition; var $set = this.$set; var i = $set.length; while(i--) { // Avoid reflows when zooming if ($.style($set[i], 'transition') !== transition) { $.style($set[i], 'transition', transition); } } }, /** * Pan the element to the specified translation X and Y * Note: this is not the same as setting jQuery#offset() or jQuery#position() * @param {Number} x * @param {Number} y * @param {Object} [options] These options are passed along to setMatrix * @param {Array} [options.matrix] The matrix being manipulated (if already known so it doesn't have to be retrieved again) * @param {Boolean} [options.silent] Silence the pan event. Note that this will also silence the setMatrix change event. * @param {Boolean} [options.relative] Make the x and y values relative to the existing matrix */ pan: function(x, y, options) { if (this.options.disablePan) { return; } if (!options) { options = {}; } var matrix = options.matrix; if (!matrix) { matrix = this.getMatrix(); } // Cast existing matrix values to numbers if (options.relative) { x += +matrix[4]; y += +matrix[5]; } matrix[4] = x; matrix[5] = y; this.setMatrix(matrix, options); if (!options.silent) { this._trigger('pan', matrix[4], matrix[5]); } }, /** * Zoom in/out the element using the scale properties of a transform matrix * @param {Number|Boolean} [scale] The scale to which to zoom or a boolean indicating to transition a zoom out * @param {Object} [opts] All global options can be overwritten by this options object. For example, override the default increment. * @param {Boolean} [opts.noSetRange] Specify that the method should not set the $zoomRange value (as is the case when $zoomRange is calling zoom on change) * @param {jQuery.Event|Object} [opts.focal] A focal point on the panzoom element on which to zoom. * If an object, set the clientX and clientY properties to the position relative to the parent * @param {Boolean} [opts.animate] Whether to animate the zoom (defaults to true if scale is not a number, false otherwise) * @param {Boolean} [opts.silent] Silence the zoom event * @param {Array} [opts.matrix] Optionally pass the current matrix so it doesn't need to be retrieved * @param {Number} [opts.dValue] Think of a transform matrix as four values a, b, c, d * where a/d are the horizontal/vertical scale values and b/c are the skew values * (5 and 6 of matrix array are the tx/ty transform values). * Normally, the scale is set to both the a and d values of the matrix. * This option allows you to specify a different d value for the zoom. * For instance, to flip vertically, you could set -1 as the dValue. */ zoom: function(scale, opts) { // Shuffle arguments if (typeof scale === 'object') { opts = scale; scale = null; } else if (!opts) { opts = {}; } var options = $.extend({}, this.options, opts); // Check if disabled if (options.disableZoom) { return; } var animate = false; var matrix = options.matrix || this.getMatrix(); // Calculate zoom based on increment if (typeof scale !== 'number') { scale = +matrix[0] + (options.increment * (scale ? -1 : 1)); animate = true; } // Constrain scale if (scale > options.maxScale) { scale = options.maxScale; } else if (scale < options.minScale) { scale = options.minScale; } // Calculate focal point based on scale var focal = options.focal; if (focal && !options.disablePan) { // Adapted from code by Florian Günther // https://github.com/florianguenther/zui53 var dims = this._checkDims(); var clientX = focal.clientX; var clientY = focal.clientY; // Adjust the focal point for default transform-origin => 50% 50% if (!this.isSVG) { clientX -= (dims.width + dims.widthBorder) / 2; clientY -= (dims.height + dims.heightBorder) / 2; } var clientV = new Vector(clientX, clientY, 1); var surfaceM = new Matrix(matrix); // Supply an offset manually if necessary var o = this.parentOffset || this.$parent.offset(); var offsetM = new Matrix(1, 0, o.left - this.$doc.scrollLeft(), 0, 1, o.top - this.$doc.scrollTop()); var surfaceV = surfaceM.inverse().x(offsetM.inverse().x(clientV)); var scaleBy = scale / matrix[0]; surfaceM = surfaceM.x(new Matrix([ scaleBy, 0, 0, scaleBy, 0, 0 ])); clientV = offsetM.x(surfaceM.x(surfaceV)); matrix[4] = +matrix[4] + (clientX - clientV.e(0)); matrix[5] = +matrix[5] + (clientY - clientV.e(1)); } // Set the scale matrix[0] = scale; matrix[3] = typeof options.dValue === 'number' ? options.dValue : scale; // Calling zoom may still pan the element this.setMatrix(matrix, { animate: typeof options.animate === 'boolean' ? options.animate : animate, // Set the zoomRange value range: !options.noSetRange }); // Trigger zoom event if (!options.silent) { this._trigger('zoom', matrix[0], options); } }, /** * Get/set option on an existing instance * @returns {Array|undefined} If getting, returns an array of all values * on each instance for a given key. If setting, continue chaining by returning undefined. */ option: function(key, value) { var options; if (!key) { // Avoids returning direct reference return $.extend({}, this.options); } if (typeof key === 'string') { if (arguments.length === 1) { return this.options[ key ] !== undefined ? this.options[ key ] : null; } options = {}; options[ key ] = value; } else { options = key; } this._setOptions(options); }, /** * Internally sets options * @param {Object} options - An object literal of options to set */ _setOptions: function(options) { $.each(options, $.proxy(function(key, value) { switch(key) { case 'disablePan': this._resetStyle(); /* falls through */ case '$zoomIn': case '$zoomOut': case '$zoomRange': case '$reset': case 'disableZoom': case 'onStart': case 'onChange': case 'onZoom': case 'onPan': case 'onEnd': case 'onReset': case 'eventNamespace': this._unbind(); } this.options[ key ] = value; switch(key) { case 'disablePan': this._initStyle(); /* falls through */ case '$zoomIn': case '$zoomOut': case '$zoomRange': case '$reset': // Set these on the instance this[ key ] = value; /* falls through */ case 'disableZoom': case 'onStart': case 'onChange': case 'onZoom': case 'onPan': case 'onEnd': case 'onReset': case 'eventNamespace': this._bind(); break; case 'cursor': $.style(this.elem, 'cursor', value); break; case 'minScale': this.$zoomRange.attr('min', value); break; case 'maxScale': this.$zoomRange.attr('max', value); break; case 'rangeStep': this.$zoomRange.attr('step', value); break; case 'startTransform': this._buildTransform(); break; case 'duration': case 'easing': this._buildTransition(); /* falls through */ case 'transition': this.transition(); break; case '$set': if (value instanceof $ && value.length) { this.$set = value; // Reset styles this._initStyle(); this._buildTransform(); } } }, this)); }, /** * Initialize base styles for the element and its parent */ _initStyle: function() { var styles = { // Promote the element to it's own compositor layer 'backface-visibility': 'hidden', // Set to defaults for the namespace 'transform-origin': this.isSVG ? '0 0' : '50% 50%' }; // Set elem styles if (!this.options.disablePan) { styles.cursor = this.options.cursor; } this.$set.css(styles); // Set parent to relative if set to static var $parent = this.$parent; // No need to add styles to the body if ($parent.length && !$.nodeName($parent[0], 'body')) { styles = { overflow: 'hidden' }; if ($parent.css('position') === 'static') { styles.position = 'relative'; } $parent.css(styles); } }, /** * Undo any styles attached in this plugin */ _resetStyle: function() { this.$elem.css({ 'cursor': '', 'transition': '' }); this.$parent.css({ 'overflow': '', 'position': '' }); }, /** * Binds all necessary events */ _bind: function() { var self = this; var options = this.options; var ns = options.eventNamespace; var str_start = pointerEvents ? 'pointerdown' + ns : ('touchstart' + ns + ' mousedown' + ns); var str_click = pointerEvents ? 'pointerup' + ns : ('touchend' + ns + ' click' + ns); var events = {}; var $reset = this.$reset; var $zoomRange = this.$zoomRange; // Bind panzoom events from options $.each([ 'Start', 'Change', 'Zoom', 'Pan', 'End', 'Reset' ], function() { var m = options[ 'on' + this ]; if ($.isFunction(m)) { events[ 'panzoom' + this.toLowerCase() + ns ] = m; } }); // Bind $elem drag and click/touchdown events // Bind touchstart if either panning or zooming is enabled if (!options.disablePan || !options.disableZoom) { events[ str_start ] = function(e) { var touches; if (e.type === 'touchstart' ? // Touch (touches = e.touches) && ((touches.length === 1 && !options.disablePan) || touches.length === 2) : // Mouse/Pointer: Ignore right click !options.disablePan && e.which === 1) { e.preventDefault(); e.stopPropagation(); self._startMove(e, touches); } }; } this.$elem.on(events); // Bind reset if ($reset.length) { $reset.on(str_click, function(e) { e.preventDefault(); self.reset(); }); } // Set default attributes for the range input if ($zoomRange.length) { $zoomRange.attr({ // Only set the range step if explicit or // set the default if there is no attribute present step: options.rangeStep === Panzoom.defaults.rangeStep && $zoomRange.attr('step') || options.rangeStep, min: options.minScale, max: options.maxScale }).prop({ value: this.getMatrix()[0] }); } // No bindings if zooming is disabled if (options.disableZoom) { return; } var $zoomIn = this.$zoomIn; var $zoomOut = this.$zoomOut; // Bind zoom in/out // Don't bind one without the other if ($zoomIn.length && $zoomOut.length) { // preventDefault cancels future mouse events on touch events $zoomIn.on(str_click, function(e) { e.preventDefault(); self.zoom(); }); $zoomOut.on(str_click, function(e) { e.preventDefault(); self.zoom(true); }); } if ($zoomRange.length) { events = {}; // Cannot prevent default action here, just use pointerdown/mousedown events[ (pointerEvents ? 'pointerdown' : 'mousedown') + ns ] = function() { self.transition(true); }; events[ 'change' + ns ] = function() { self.zoom(+this.value, { noSetRange: true }); }; $zoomRange.on(events); } }, /** * Unbind all events */ _unbind: function() { this.$elem .add(this.$zoomIn) .add(this.$zoomOut) .add(this.$reset) .off(this.options.eventNamespace); }, /** * Builds the original transform value */ _buildTransform: function() { // Save the original transform // Retrieving this also adds the correct prefixed style name // to jQuery's internal $.cssProps return this._origTransform = this.getTransform(this.options.startTransform); }, /** * Set transition property for later use when zooming * If SVG, create necessary animations elements for translations and scaling */ _buildTransition: function() { if (this._transform) { var options = this.options; this._transition = this._transform + ' ' + options.duration + 'ms ' + options.easing; } }, /** * Checks dimensions to make sure they don't need to be re-calculated */ _checkDims: function() { var dims = this.dimensions; // Rebuild if width or height is still 0 if (!dims.width || !dims.height) { this.resetDimensions(); } return this.dimensions; }, /** * Calculates the distance between two touch points * Remember pythagorean? * @param {Array} touches * @returns {Number} Returns the distance */ _getDistance: function(touches) { var touch1 = touches[0]; var touch2 = touches[1]; return Math.sqrt(Math.pow(Math.abs(touch2.clientX - touch1.clientX), 2) + Math.pow(Math.abs(touch2.clientY - touch1.clientY), 2)); }, /** * Constructs an approximated point in the middle of two touch points * @returns {Object} Returns an object containing pageX and pageY */ _getMiddle: function(touches) { var touch1 = touches[0]; var touch2 = touches[1]; return { clientX: ((touch2.clientX - touch1.clientX) / 2) + touch1.clientX, clientY: ((touch2.clientY - touch1.clientY) / 2) + touch1.clientY }; }, /** * Trigger a panzoom event on our element * The event is passed the Panzoom instance * @param {String|jQuery.Event} event * @param {Mixed} arg1[, arg2, arg3, ...] Arguments to append to the trigger */ _trigger: function (event) { if (typeof event === 'string') { event = 'panzoom' + event; } this.$elem.triggerHandler(event, [this].concat(slice.call(arguments, 1))); }, /** * Starts the pan * This is bound to mouse/touchmove on the element * @param {jQuery.Event} event An event with pageX, pageY, and possibly the touches list * @param {TouchList} [touches] The touches list if present */ _startMove: function(event, touches) { var move, moveEvent, endEvent, startDistance, startScale, startMiddle, startPageX, startPageY; var self = this; var options = this.options; var ns = options.eventNamespace; var matrix = this.getMatrix(); var original = matrix.slice(0); var origPageX = +original[4]; var origPageY = +original[5]; var panOptions = { matrix: matrix, animate: 'skip' }; // Use proper events if (pointerEvents) { moveEvent = 'pointermove'; endEvent = 'pointerup'; } else if (event.type === 'touchstart') { moveEvent = 'touchmove'; endEvent = 'touchend'; } else { moveEvent = 'mousemove'; endEvent = 'mouseup'; } // Add namespace moveEvent += ns; endEvent += ns; // Remove any transitions happening this.transition(true); // Indicate that we are currently panning this.panning = true; // Trigger start event this._trigger('start', event, touches); if (touches && touches.length === 2) { startDistance = this._getDistance(touches); startScale = +matrix[0]; startMiddle = this._getMiddle(touches); move = function(e) { e.preventDefault(); // Calculate move on middle point var middle = self._getMiddle(touches = e.touches); var diff = self._getDistance(touches) - startDistance; // Set zoom self.zoom(diff * (options.increment / 100) + startScale, { focal: middle, matrix: matrix, animate: false }); // Set pan self.pan( +matrix[4] + middle.clientX - startMiddle.clientX, +matrix[5] + middle.clientY - startMiddle.clientY, panOptions ); startMiddle = middle; }; } else { startPageX = event.pageX; startPageY = event.pageY; /** * Mousemove/touchmove function to pan the element * @param {Object} e Event object */ move = function(e) { e.preventDefault(); self.pan( origPageX + e.pageX - startPageX, origPageY + e.pageY - startPageY, panOptions ); }; } // Bind the handlers $(document) .off(ns) .on(moveEvent, move) .on(endEvent, function(e) { e.preventDefault(); // Unbind all document events $(this).off(ns); self.panning = false; // Trigger our end event // Simply set the type to "panzoomend" to pass through all end properties // jQuery's `not` is used here to compare Array equality e.type = 'panzoomend'; self._trigger(e, matrix, !matrixEquals(matrix, original)); }); } }; // Add Panzoom as a static property $.Panzoom = Panzoom; /** * Extend jQuery * @param {Object|String} options - The name of a method to call on the prototype * or an object literal of options * @returns {jQuery|Mixed} jQuery instance for regular chaining or the return value(s) of a panzoom method call */ $.fn.panzoom = function(options) { var instance, args, m, ret; // Call methods widget-style if (typeof options === 'string') { ret = []; args = slice.call(arguments, 1); this.each(function() { instance = $.data(this, datakey); if (!instance) { ret.push(undefined); // Ignore methods beginning with `_` } else if (options.charAt(0) !== '_' && typeof (m = instance[ options ]) === 'function' && // If nothing is returned, do not add to return values (m = m.apply(instance, args)) !== undefined) { ret.push(m); } }); // Return an array of values for the jQuery instances // Or the value itself if there is only one // Or keep chaining return ret.length ? (ret.length === 1 ? ret[0] : ret) : this; } return this.each(function() { new Panzoom(this, options); }); }; return Panzoom; }));
JavaScript
/** * This module part applied to a form to work with descriptions. */ /** * Namespace */ M.question_type_correctwriting = { }; M.question_type_correctwriting.Form = function() { /** * List of descriptions to be hidden * @type {Array} */ this.hidden_descriptions = []; /** * Count of answers in form for input * @type {int} */ this.answer_count = 0; /** * URL for working with lexer * @type {string} */ this.lexerurl = 0; /** * Last time, when event of keyup is fired. Used to determine, whether to perform ajax invocation * @type {object} */ this.lasttimefired = {}; //noinspection JSUnusedGlobalSymbols /** * Forces descriptions to be hidden * @param {YUI} Y * @param {array} descriptions list of descriptions */ this.hide_descriptions = function(Y, descriptions) { this.hidden_descriptions = descriptions; $(document).ready(function() { var i, id, el; var form = M.question_type_correctwriting.form; for( i = 0; i < form.hidden_descriptions.length; i++) { id = form.hidden_descriptions[i]; el = $("#fitem_id_lexemedescriptions_" + id); el.css("display", "none"); el.prev().css("display", "none"); } }); }; //noinspection JSUnusedGlobalSymbols /** * Forces descriptions to be hidden * @param {YUI} Y * @param {int} i answer index, which description should be hidden */ this.hide_description_field = function(Y, i) { var selector = "#fitem_id_lexemedescriptions_" + i; var element = $(selector); element.prev().css("display", "none"); element.css("display", "none"); }; //noinspection JSUnusedGlobalSymbols /** * Forces inits text input on page * @param {YUI} Y * @param {int} answercount * @param {string} lexerurl */ this.init_text_input = function(Y, answercount, lexerurl) { this.answer_count = answercount; this.lexerurl = lexerurl; var event_handler = function() { var ctime = new Date().getTime(); var matches = $(this).attr("name").match("(answer|fraction)\\[([0-9]+)\\]"); var number = matches[2]; var hintgradeborder = parseFloat($("input[name=hintgradeborder]").val()); var text = $("textarea[name='answer[" + number +"]']").val(); var descriptions = $("#fitem_id_lexemedescriptions_" + number); var fraction = parseFloat($("select[name='fraction[" + number +"]']").val()); var shouldrequestdescriptions = false; if (!isNaN(hintgradeborder)) { if (text.length == 0 || fraction < hintgradeborder) { descriptions.css("display", "none"); descriptions.prev().css("display", "none"); } else { descriptions.css("display", "block"); descriptions.prev().css("display", "block"); shouldrequestdescriptions = true; } } if (ctime - M.question_type_correctwriting.form.lasttimefired[number] > 50) { M.question_type_correctwriting.form.lasttimefired[number] = ctime; if (shouldrequestdescriptions) { M.question_type_correctwriting.form.run_request(text, number) } } }; var hintgradeborderchanged = function() { var gradeborder = parseFloat($(this).val()); var fraction, descriptions, text; if (!isNaN(gradeborder)) { for(var i = 0; i < M.question_type_correctwriting.form.answer_count; i++) { text = $("textarea[name=\'answer[" + i +"]\']").val(); fraction = parseFloat($("select[name=\'fraction[" + i +"]\']").val()); descriptions = $("#fitem_id_lexemedescriptions_" + i); if (text.length == 0 || fraction < gradeborder) { descriptions.css("display", "none"); descriptions.prev().css("display", "none"); } else { descriptions.css("display", "block"); descriptions.prev().css("display", "block"); M.question_type_correctwriting.form.run_request(text, i); } } } }; var readyhandler = function() { /** @var this M.question_type_correctwriting.Form */ for(var i = 0; i < this.answer_count; i++) { M.question_type_correctwriting.form.lasttimefired[i] = new Date().getTime(); $("textarea[name=\'answer[" + i +"]\']").keyup(event_handler); $("select[name=\'fraction[" + i +"]\']").change(event_handler); $("input[name=hintgradeborder]").focusout(hintgradeborderchanged); } }.bind(this); $(document).ready(readyhandler); }; /** * Runs a tokenization request for text * @param {string} text a text for request * @param {int} number a number of index of answer, which request is came from */ this.run_request = function(text, number) { var labeltextarea = $("label[for=id_lexemedescriptions_" + number + "] textarea"); var editabletextarea = $("#id_lexemedescriptions_" + number); var currentlanguage = $("#id_langid").val(); var answerfield = $("textarea[name=\'answer[" + number+ "]\']"); var mistakespanselector = "*[id=\'id_error_answer[" + number + "]\']"; $.ajax({ "url": this.lexerurl, "type": "POST", "data": { "scannedtext" : text, "lang" : currentlanguage }, "dataType": "json", "success": function(data) { if (typeof(data) == "object" && data != null) { if (!("tokens" in data)) { //noinspection JSPotentiallyInvalidConstructorUsage new M.core.ajaxException(data); return; } var cols = 0; //noinspection JSUnresolvedVariable for(var i = 0; i < data.tokens.length; i++) { //noinspection JSUnresolvedVariable cols = Math.max(cols, data.tokens[i].length); } // Reset mistakes array accordingly //noinspection JSUnresolvedFunction qf_errorHandler(answerfield[0], ""); if (data.errors.length != 0) { // fake label for errors, we need to set text as html, // but qf_errorHandler does not allow us to do so // we doing it via jQuery. This is so going to be // messed up on any kind of form update. // But sadly, there is no other way... //noinspection JSUnresolvedFunction qf_errorHandler(answerfield[0], "fake label"); $(mistakespanselector).html(data.errors); } labeltextarea.removeAttr("style"); labeltextarea.css("display", "inline"); //noinspection JSUnresolvedVariable labeltextarea.attr("rows", data.tokens.length); labeltextarea.attr("cols", cols); //noinspection JSUnresolvedVariable labeltextarea.val(data.tokens.join("\n")); //noinspection JSUnresolvedVariable editabletextarea.attr("rows", data.tokens.length); } } }); } }; M.question_type_correctwriting.form = new M.question_type_correctwriting.Form();
JavaScript
/** * Script for button "Check", "Back" and push in interactive tree * * @copyright &copy; 2012 Oleg Sychev, Volgograd State Technical University * @author Pahomov Dmitry, Terechov Grigory, Volgograd State Technical University * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package questions */ /** * This object extends M.poasquestion_text_and_button with onfirstpresscallback() * function and oneachpresscallback() */ M.preg_authoring_tools_script = (function ($) { var self = { mouseDownElement : null, mouseUpElement : null, caller : null, containerChildren : null, startReq : function(textForSending) { // EncodeURIComponent need for case, // when user will pick symbols like &%'/ ... var txt = encodeURIComponent(textForSending); var query = 'txt=' + txt; $.ajax({ type : 'POST', url: self.www_root + '/question/type/preg/authoring_tools/capture.php', data : query, success : function(data){ alert(data); } }); }, TREE_KEY : 'tree', TREE_MAP_KEY : 'map', GRAPH_KEY : 'graph', DESCRIPTION_KEY : 'description', STRINGS_KEY : 'regex_test', TREE_MAP_ID : '#qtype_preg_tree', GRAPH_MAP_ID : '#qtype_preg_graph', /** @var string with moodle root url (smth like 'http://moodle.site.ru/') */ www_root : null, /** @var {string} name of qtype_preg_textbutton parent object */ textbutton_widget : null, /** @var {Object} reference to the regex textarea */ regex_input : null, matching_options : ['engine', 'notation', 'exactmatch', 'usecase'], prevdata : null, data : null, /** @var {Object} cache of content; dimensions are: 1) tool name, 2) concatenated options, selection borders, etc. */ cache : { tree : {}, graph : {}, description : {}, regex_test : {} }, /** * setups module * @param {Object} Y NOT USED! It's needed because moodle passes this object anyway * @param {string} _www_root string with www host of moodle * (smth like 'http://moodle.site.ru/') * @param {string} poasquestion_text_and_button_objname name of qtype_preg_textbutton parent object */ init : function (Y, _www_root, poasquestion_text_and_button_objname) { this.www_root = _www_root; this.textbutton_widget = M.poasquestion_text_and_button; this.setup_parent_object(); }, tree_err : function () { return $('#tree_err'); }, tree_img: function () { return $('#tree_img'); }, graph_err: function () { return $('#graph_err'); }, graph_img: function () { return $('#graph_img'); }, desc_hnd: function () { return $('#description_handler'); }, /** * Sets up options of M.poasquestion_text_and_button object * This method defines onfirstpresscallback method, that calls on very first * press on button, right afted dialog generation * oneachpresscallback calls on second and following pressings on button */ setup_parent_object : function () { var options = { onfirstpresscallback : function () { var content_url = self.www_root + '/question/type/preg/authoring_tools/preg_authoring.php'; var scripts = [ self.www_root+'/question/type/poasquestion/jquery.panzoom.js', self.www_root+'/question/type/poasquestion/jquery-textrange.js', self.www_root+'/question/type/poasquestion/interface.js', self.www_root+'/question/type/poasquestion/jquery.mousewheel.js', self.www_root+'/question/type/poasquestion/textareaHighlighter.js' ]; self.textbutton_widget.loadDialogContent(content_url, scripts, function () { // init moodle form js if (M.form && M.form.shortforms) { M.form.shortforms({"formid":"mformauthoring"}); // TODO - find native way to init headers collapse functionatily } $('#poasquestion_textandbutton_dialog').mouseup( function (){ var selection, elem = $('#mformauthoring'); if(selection = window.getSelection) selection = window.getSelection(); else selection = elem.selection.createRange().text; var rezult = selection.toString(), tmp=null, _tmp=null, strLen=0, startindex=-5, startelem=null, endindex=-5, endelem=null; //Getting element, on which mousebutton was released var e = e || window.event; self.mouseUpElement = typeof(e.target) !== 'undefined' ? e.target : e.srcElement; /////////////////// CHECKING MATCHING ENGINE VALUE/////////////////// var matchingValue = document.getElementById('id_engine_auth').value; if(selection.toString().length > 0 && self.mouseDownElement != null && matchingValue!='php_preg_matcher') { ///////////////////////////////////////////////////////////////////// if(self.caller.id == "description_handler_selection") { //TODO } if(self.caller.id == "id_test_regex") { var cor_el = null; _tmp = []; startindex = selection.anchorOffset; endindex = selection.focusOffset - 1; // Getting numbers of rows and indexes for(var v = 1, v1 = 0; v < self.containerChildren.length; v++) { if(self.containerChildren[v].nodeName.toLowerCase() == 'img') v1++; _tmp[v] = v1; if(self.containerChildren[v] == self.mouseDownElement) startelem = v; if(self.containerChildren[v] == self.mouseUpElement) endelem = v; } // If mouse was pressed / released on empty space: if(endelem == null && startelem != null) { var vt = startelem; while(_tmp[vt] == _tmp[startelem]) vt++; endelem = vt - 2; endindex = self.containerChildren[endelem].innerText.length - 1; } if(startelem == null && endelem != null) { var vt = endelem; while(_tmp[vt] == _tmp[endelem]) vt++; startelem = vt - 2; startindex = self.containerChildren[startelem].innerText.length - 1; endindex++; } if(startelem > endelem) { tmp = startelem; startelem = endelem; endelem = tmp; tmp = startindex; startindex = endindex + 1; endindex = tmp - 1; } if(startindex > endindex && startelem == endelem) { tmp = startindex; startindex = endindex + 1; endindex = tmp - 1; } if(self.containerChildren[startelem].className == 'correct'&& self.containerChildren[endelem].className!='correct') { cor_el = _tmp[startelem]; endindex = self.containerChildren[startelem].innerText.length - 1; } if(self.containerChildren[startelem].className != 'correct'&& self.containerChildren[endelem].className == 'correct') { cor_el = _tmp[endelem]; startindex = 0; } if(self.containerChildren[startelem].className != 'correct' && self.containerChildren[endelem].className != 'correct' && _tmp[startelem] == _tmp[endelem]) { cor_el = _tmp[startelem + 1]; startindex = 0; endindex = self.containerChildren[startelem + 1].innerText.length-1; } if(self.containerChildren[startelem].className == 'correct' && self.containerChildren[endelem].className == 'correct' && _tmp[startelem] == _tmp[endelem]) cor_el = _tmp[startelem]; if(startelem == endelem && self.containerChildren[startelem].className != 'correct') cor_el = null; if(cor_el != null) { strLen = endindex - startindex + 1; var rse = startelem; if(self.containerChildren[rse].nodeName.toLowerCase() != 'img') { while(self.containerChildren[rse].nodeName.toLowerCase() != 'img') { if(self.containerChildren[rse].className != 'correct') startindex += self.containerChildren[rse].innerText.length; rse--; } } self.startReq("regextest_" + selection.toString() + "_" + cor_el.toString() + "_" + startindex.toString() + "_"+strLen.toString()); } } self.mouseDownElement = null; self.mouseUpElement = null; self.caller = null; self.containerChildren = null; } }); $('#id_test_regex').mousedown( function () { var tmp, m = 0, n, i = 0, sel = window.getSelection(); sel.removeAllRanges(); // Get mousedown element var e = e || window.event; self.mouseDownElement = typeof(e.target) !== 'undefined' ? e.target : e.srcElement; self.caller = this; self.containerChildren = []; tmp = this.childNodes; for(var v = 0; v < tmp.length; v++) { if(tmp[v].nodeType == 1) { self.containerChildren[i] = tmp[v]; i++; } } }); // Remove the "skip to main content" link. $(self.textbutton_widget.dialog).find('.skiplinks').remove(); // Add handlers for the buttons. $('#id_regex_show').click(self.btn_show_clicked); if (!self.textbutton_widget.is_stand_alone()) { $('#id_regex_save').click(self.btn_save_clicked); } else { $('#id_regex_save').hide(); } $('#id_regex_cancel').click(self.btn_cancel_clicked); $('#id_regex_check_strings').click(self.btn_check_strings_clicked); $("#id_graph_selection_mode").change(self.btn_graph_selection_mode_rectangle_selection_click); // Add handlers for the radiobuttons. $('#fgroup_id_tree_orientation_radioset input').change(self.rbtn_changed); $('#fgroup_id_charset_process_radioset input').change(self.rbtn_changed); // Add handlers for the regex textarea. self.regex_input = $('#id_regex_text').textareaHighlighter({rows: 2}); //remove left margin $(self.textbutton_widget.dialog).find('#region-main').css('margin-left',0); // Add handlers for the regex testing textarea. $('#id_regex_match_text').keyup(self.textbutton_widget.fix_textarea_rows); // Hide the non-working "displayas". $('#fgroup_id_charset_process_radioset').hide(); // resize magic (alter for html-voodoo-bug-positioning-development) $( window ).resize(self.resize_handler); $("#id_capturing_switcher_cenab").attr("checked", true); self.resize_handler(); self.panzooms.init(); options.oneachpresscallback(); }); }, oneachpresscallback : function () { self.regex_input.val(self.textbutton_widget.data).trigger('keyup'); self.invalidate_content(); self.data = self.regex_input.val(); // Put the testing data into ui. if (!self.textbutton_widget.is_stand_alone()) { $('#id_regex_match_text').val($('input[name=\'regextests[' + $(self.textbutton_widget.current_input).attr('id').split("id_answer_")[1] + ']\']').val()) .trigger('keyup'); $.each(self.matching_options, function (i, option) { var preg_id = '#id_' + option, this_id = preg_id + '_auth'; $(this_id).val($(preg_id).val()); }); } $('#id_regex_show').click(); }, onclosecallback : function () { self.save_sections_state(); }, onsaveclicked : function () { $('#id_regex_save').click(); }, oncancelclicked : function () { $('#id_regex_cancel').click(); } }; self.textbutton_widget.setup(options); }, is_changed : function() { return self.data !== self.prevdata; }, save_sections_state : function () { var sections = ['regex_input', 'regex_matching_options', 'regex_tree', 'regex_graph', 'regex_description', 'regex_testing' ]; $.each(sections, function (i, section) { var val = $("[name='mform_isexpanded_id_" + section + "_header']").val(); M.util.set_user_preference('qtype_preg_' + section + '_expanded', val); }); }, btn_show_clicked : function (e) { e.preventDefault(); self.data = self.regex_input.val(); // If regex is changed if(self.is_changed()) { $('input[name=\'tree_fold_node_points\']').val(''); self.prevdata = self.data; self.panzooms.reset_all(); } selection = $(self.regex_input).textrange('get'), indfirst = selection.start, indlast = selection.end - 1; if (indfirst > indlast) { indfirst = indlast = -2; } $('input[name=\'tree_selected_node_points\']').val(indfirst + ',' + indlast); self.load_content(indfirst, indlast); self.load_strings(indfirst, indlast); /*$('input[name=\'tree_selected_node_points\']').val(''); var sel = self.get_selection(); self.load_content(sel.indfirst, sel.indlast); self.load_strings(sel.indfirst, sel.indlast);*/ }, btn_save_clicked : function (e) { e.preventDefault(); self.textbutton_widget.data = self.regex_input.val(); $.each(self.matching_options, function (i, option) { var preg_id = '#id_' + option, this_id = preg_id + '_auth'; $(preg_id).val($(this_id).val()); }); self.textbutton_widget.close_and_set_new_data(self.textbutton_widget.data); $('input[name=\'regextests[' + $(self.textbutton_widget.current_input).attr('id').split("id_answer_")[1] + ']\']').val($('#id_regex_match_text').val()); $('#id_test_regex').html(''); M.form.updateFormState("mform1"); }, btn_cancel_clicked : function (e) { e.preventDefault(); self.textbutton_widget.dialog.dialog("close"); $('#id_test_regex').html(''); }, btn_check_strings_clicked : function (e) { e.preventDefault(); var sel = self.get_selection(); self.load_strings(sel.indfirst, sel.indlast); }, rbtn_changed : function (e) { e.preventDefault(); if(e.currentTarget.id != "id_tree_folding_mode") { var sel = self.get_selection(); self.load_content(sel.indfirst, sel.indlast); self.panzooms.reset_tree(); } }, tree_node_clicked : function (e) { e.preventDefault(); var tmp = $($(e.target).parents(".node")[0]).attr('id').split(/_/), // TODO -omg make beauty indfirst = tmp[2], indlast = tmp[3]; if(self.is_tree_foldind_mode()) { var points = $('input[name=\'tree_fold_node_points\']').val(); // if new point not contained if(points.indexOf(indfirst + ',' + indlast) == -1) { // add new point if(points != '') { points += ';'; } points += indfirst + ',' + indlast; } else { // if new point already contained // remove this point if(points.indexOf(';' + indfirst + ',' + indlast) != -1) { points = points.replace(';' + indfirst + ',' + indlast, ''); } else if(points.indexOf(indfirst + ',' + indlast + ';') != -1) { points = points.replace(indfirst + ',' + indlast + ';', ''); } else { points = points.replace(indfirst + ',' + indlast, ''); } } $('input[name=\'tree_fold_node_points\']').val(points); if(typeof $('input[name=\'tree_selected_node_points\']').val() != 'undefined') { var tmpcoords = $('input[name=\'tree_selected_node_points\']').val().split(','); indfirst = tmpcoords[0]; indlast = tmpcoords[1]; self.load_content(indfirst, indlast); self.load_strings(indfirst, indlast); } else { self.load_content(); self.load_strings(); } } else { $('input[name=\'tree_selected_node_points\']').val(indfirst + ',' + indlast); self.load_content(indfirst, indlast); self.load_strings(indfirst, indlast); } }, tree_node_misclicked : function (e) { e.preventDefault(); // TODO - joining many times when panning if(!self.is_tree_foldind_mode()) { $('input[name=\'tree_selected_node_points\']').val(''); self.load_content(); self.load_strings(); } }, graph_node_clicked : function (e) { e.preventDefault(); if (!self.is_graph_selection_rectangle_visible()) { var tmp = $($(e.target).parents(".node")[0]).attr('id').split('_'), // TODO -omg make beauty indfirst = tmp[2], indlast = tmp[3]; $('input[name=\'tree_selected_node_points\']').val(indfirst + ',' + indlast); self.load_content(indfirst, indlast); self.load_strings(indfirst, indlast); } }, graph_node_misclicked : function (e) { e.preventDefault(); if (!self.is_graph_selection_rectangle_visible()) { $('input[name=\'tree_selected_node_points\']').val(''); self.load_content(); self.load_strings(); } }, is_tree_foldind_mode : function () { return $("#id_tree_folding_mode").is(':checked'); }, is_graph_selection_rectangle_visible : function () { return $("#id_graph_selection_mode").is(':checked'); }, cache_key_for_explaining_tools : function (indfirst, indlast) { return '' /*+ self.regex_input.val() + $('#id_notation_auth').val() + $('#id_exactmatch_auth').val() + $('#id_usecase_auth').val() + self.get_orientation() + self.get_displayas() + indfirst + ',' + indlast*/; }, cache_key_for_testing_tool : function (indfirst, indlast) { return '' + self.regex_input.val() + $('#id_engine_auth').val() + $('#id_notation_auth').val() + $('#id_exactmatch_auth').val() + $('#id_usecase_auth').val() + $('#id_regex_match_text').val() + indfirst + ',' + indlast; }, upd_content_success : function (data, textStatus, jqXHR) { var json = (typeof data == "object") ? data : JSON.parse(data), regex = json['regex'], //engine = json['engine'], notation = json['notation'], exactmatch = json['exactmatch'], usecase = json['usecase'], treeorientation = json['treeorientation'], displayas = json['displayas'], indfirst = parseInt(json['indfirst']), indlast = parseInt(json['indlast']), indfirstorig = parseInt(json['indfirstorig']), indlastorig = parseInt(json['indlastorig']), t = json[self.TREE_KEY], g = json[self.GRAPH_KEY], d = json[self.DESCRIPTION_KEY], k = '' + regex + notation + exactmatch + usecase + treeorientation + displayas + indfirst + ',' + indlast; // Cache the content. self.cache[self.TREE_KEY][k] = t; self.cache[self.GRAPH_KEY][k] = g; self.cache[self.DESCRIPTION_KEY][k] = d; // Display the content. self.display_content(t, g, d, indfirst, indlast, indfirstorig, indlastorig); }, upd_strings_success : function (data, textStatus, jqXHR) { var json = (typeof data == "object") ? data : JSON.parse(data), regex = json['regex'], engine = json['engine'], notation = json['notation'], exactmatch = json['exactmatch'], usecase = json['usecase'], treeorientation = json['treeorientation'], displayas = json['displayas'], indfirst = json['indfirst'], indlast = json['indlast'], strings = json['strings'], s = json[self.STRINGS_KEY], k = '' + regex + engine + notation + exactmatch + usecase + strings + indfirst + ',' + indlast; // Cache the strings. self.cache[self.STRINGS_KEY][k] = s; // Display the strings. self.display_strings(s); }, invalidate_content : function () { self.tree_err().html(''); self.tree_img().css('visibility', 'hidden'); self.graph_err().html(''); self.graph_img().css('visibility', 'hidden'); self.desc_hnd().html(''); }, // Displays given images and description display_content : function (t, g, d, indfirst, indlast, indfirstorig, indlastorig) { var scroll = $(window).scrollTop(); self.invalidate_content(); if (typeof t != 'undefined' && t.img) { self.tree_img().css('visibility', 'visible').html(t.img); self.tree_img().click(self.tree_node_misclicked); $("svg .node", self.tree_img()).click(self.tree_node_clicked); var tmpH = $("#tree_img svg").attr('height'); var tmpW = $("#tree_img svg").attr('width'); $("#tree_img svg").attr('height', tmpH.replace('pt', 'px')); $("#tree_img svg").attr('width', tmpW.replace('pt', 'px')); } else if (typeof t != 'undefined') { self.tree_err().html(t); } if (typeof g != 'undefined' && g.img) { self.graph_img().css('visibility', 'visible').html(g.img) self.graph_img().click(self.graph_node_misclicked); $("svg .node", self.graph_img()).click(self.graph_node_clicked); var tmpH = $("#graph_img svg").attr('height'); var tmpW = $("#graph_img svg").attr('width'); $("#graph_img svg").attr('height', tmpH.replace('pt', 'px')); $("#graph_img svg").attr('width', tmpW.replace('pt', 'px')); $('#graph_img').mousedown(function(e) { e.preventDefault(); //check is checked check box if (self.is_graph_selection_rectangle_visible()) { self.init_rectangle_selection(e, 'graph_img','resizeGraph', 'graph_hnd'); } }); $('#graph_img').mousemove(function(e) { e.preventDefault(); self.resize_rectangle_selection(e, 'graph_img','resizeGraph', 'graph_hnd'); }); $(window).mouseup(function(e){ e.preventDefault(); if(self.CALC_COORD == true) { self.CALC_COORD = false; var transformattr = $('#explaining_graph').attr('transform'); var ta = /.*translate\(\s*(\d+)\s+(\d+).*/g.exec(transformattr); var translate_x = ta[1]; var translate_y = ta[2]; var sel = self.get_rect_selection(e, 'resizeGraph', 'graph_img', (document.getElementById('graph_hnd').getBoundingClientRect().left - document.getElementById('graph_img').getBoundingClientRect().left + parseInt(translate_x) - $('#graph_hnd').prop('scrollLeft')), (document.getElementById('graph_hnd').getBoundingClientRect().top - document.getElementById('graph_img').getBoundingClientRect().top + parseInt(translate_y) + $('#graph_hnd').prop('scrollTop'))); $('input[name=\'tree_selected_node_points\']').val(sel.indfirst + ',' + sel.indlast); self.load_content(sel.indfirst, sel.indlast); self.load_strings(sel.indfirst, sel.indlast); $('#resizeGraph').css({ width : 0, height : 0, left : -10, top : -10 }); } }); } else if (typeof g != 'undefined') { self.graph_err().html(g); } if (typeof d != 'undefined') { self.desc_hnd().html(d); } var length = indlast - indfirst + 1; if (indfirst < 0) { indfirst = 0; } if (indlast < 0) { length = 0; } if ( (indfirstorig!==indfirst || indlastorig!==indlast) && indfirst<=indfirstorig && indlast>=indlastorig) { self.regex_input.textareaHighlighter('highlight2areas', indfirst, indlast, 'yellow', indfirstorig, indlastorig, 'orange'); } else { self.regex_input.textareaHighlighter('highlight', indfirst, indlast, 'orange'); } $(window).scrollTop(scroll); // TODO - what is is? O_0 This is madness!!! }, resize_rectangle_selection : function(e, img, rectangle, hnd) { if (self.CALC_COORD) { var br = document.getElementById(img).getBoundingClientRect(); var new_pageX = self.get_current_x(e, img, hnd); var new_pageY = self.get_current_y(e, img, hnd); if(self.RECTANGLE_WIDTH < new_pageX && self.RECTANGLE_HEIGHT < new_pageY) { $('#' + rectangle).css({ width : (new_pageX - self.RECTANGLE_WIDTH)-10, height : (new_pageY - self.RECTANGLE_HEIGHT)-10 }); } else if(self.RECTANGLE_WIDTH < new_pageX && self.RECTANGLE_HEIGHT > new_pageY) { $('#' + rectangle).css({ width : (new_pageX - self.RECTANGLE_WIDTH)-10, height : (self.RECTANGLE_HEIGHT - new_pageY)-10, top : new_pageY }); } else if(self.RECTANGLE_WIDTH > new_pageX && self.RECTANGLE_HEIGHT > new_pageY) { $('#' + rectangle).css({ width : (self.RECTANGLE_WIDTH - new_pageX)-10, height : (self.RECTANGLE_HEIGHT - new_pageY)-10, top : new_pageY, left : new_pageX }); } else if(self.RECTANGLE_WIDTH > new_pageX && self.RECTANGLE_HEIGHT < new_pageY) { $('#' + rectangle).css({ width : (self.RECTANGLE_WIDTH - new_pageX)-10, height : (new_pageY - self.RECTANGLE_HEIGHT)-10, left : new_pageX }); } // draw selected items in image var transformattr = $('#explaining_graph').attr('transform'); var ta = /.*translate\(\s*(\d+)\s+(\d+).*/g.exec(transformattr); var translate_x = ta[1]; var translate_y = ta[2]; var tdx = (document.getElementById('graph_hnd').getBoundingClientRect().left - document.getElementById('graph_img').getBoundingClientRect().left + parseInt(translate_x) - $('#graph_hnd').prop('scrollLeft')); var tdy = (document.getElementById('graph_hnd').getBoundingClientRect().top - document.getElementById('graph_img').getBoundingClientRect().top + parseInt(translate_y) + $('#graph_hnd').prop('scrollTop')); var items = self.get_figures_in_rect('resizeGraph', 'graph_img', tdx, tdy); var areas = $("ellipse, polygon", "#" + img + " > svg > g"); // check all sgv elements and set opasity 100% for (var i = 0; i < areas.length; ++i) { $(areas[i]).attr('opacity' , '1.0'); } // check selected svg elements and set opasity 50% for (var i = 0; i < items.length; ++i) { $(items[i]).attr('opacity' , '0.5'); } } }, init_rectangle_selection : function(e, img, rectangle, hnd) { self.CALC_COORD = true; //var br = $("#"+img+" > svg > g")[0].getBoundingClientRect(); // TODO - use pure jquery analog $('#' + rectangle).Resizable({ minWidth: 20, minHeight: 20, /*maxWidth: (br.right - br.left), maxHeight: (br.bottom - br.top), minTop: 1, minLeft: 1, maxRight: br.right - br.left, maxBottom: br.bottom - br.top,*/ maxWidth: 9999, maxHeight: 9999, minTop: 1, minLeft: 1, maxRight: 9999, maxBottom: 9999, dragHandle: true, onDrag: function(x, y) { this.style.backgroundPosition = '-' + (x - 50) + 'px -' + (y - 50) + 'px'; }, /*handlers: { se: '#resizeSE', e: '#resizeE', ne: '#resizeNE', n: '#resizeN', nw: '#resizeNW', w: '#resizeW', sw: '#resizeSW', s: '#resizeS' },*/ onResize : function(size, position) { this.style.backgroundPosition = '-' + (position.left - 50) + 'px -' + (position.top - 50) + 'px'; } } ); self.RECTANGLE_WIDTH = self.get_current_x(e, img, hnd); self.RECTANGLE_HEIGHT = self.get_current_y(e, img, hnd); $('#' + rectangle).css({ width : 20, height : 20, left : self.RECTANGLE_WIDTH, top : self.RECTANGLE_HEIGHT, visibility : 'visible' }); }, get_current_x : function(e, img, hnd) { return e.pageX - $(window).prop('scrollX') - document.getElementById(img).getBoundingClientRect().left - (document.getElementById(hnd).getBoundingClientRect().left - document.getElementById(img).getBoundingClientRect().left) + $('#' + hnd).prop('scrollLeft'); }, get_current_y : function(e, img, hnd) { return e.pageY - $(window).prop('scrollY') - document.getElementById(img).getBoundingClientRect().top - (document.getElementById(hnd).getBoundingClientRect().top - document.getElementById(img).getBoundingClientRect().top) + $('#' + hnd).prop('scrollTop'); }, /** * Detects a rectangle within polygon and adds a center point to it. * @param area Area of map tag. * @returns {boolean} Is polygon a rectangle? */ detect_rect : function(area) { // Get list of coordinates as integers. var nodeCoords = area.coords.split(/[, ]/).map(function(item){return parseInt(item);}); // If it looks like a rectangle... if (nodeCoords.length == 8) { // Build a list of points for convenience. var points = []; for (var j = 0; j < nodeCoords.length; j += 2) { points[points.length] = {x: nodeCoords[j], y: nodeCoords[j+1]}; } // Calculate a center point of rectangle. var center = { x: Math.floor(points[0].x + (points[2].x - points[0].x)/2), y: Math.floor(points[0].y + (points[2].y - points[0].y)/2) }; // Add a center point to coordinates of area. area.coords += ',' + center.x + ',' + center.y; return true; } else { return false; } }, /** * Finds figures at image inside rectangle. * @param rectangle selection area. * @param img image to search. * @param deltaX coordinate's shift by X axis. * @param deltaY coordinate's shift by Y axis. * @returns {Array} figures inside rectangle. */ get_figures_in_rect : function (rectangle, img, deltaX, deltaY) { rect_left_bot_x = $('#' + rectangle).prop('offsetLeft') + deltaX; rect_left_bot_y = $('#' + rectangle).prop('offsetTop') + $('#' + rectangle).prop('offsetHeight') - deltaY; rect_right_top_x = $('#' + rectangle).prop('offsetLeft') + $('#' + rectangle).prop('offsetWidth') + deltaX; rect_right_top_y = $('#' + rectangle).prop('offsetTop') - deltaY; var areas = $(".edge, .node, .cluster", "#"+img+" > svg > g"); var figures = []; for (var i = 0; i < areas.length; ++i) { var nodeId = areas[i].id.split('_'); if (nodeId.length != 4) continue; var figure = null; switch (areas[i].getAttribute('class')) { case 'node': figure = $("ellipse, polygon", areas[i])[0]; if (figure.length == 0) { figure = $("polygon", "#"+areas[i].id+" > g > a")[0]; } break; case 'edge': figure = $("path", areas[i])[0]; var additionalFigure = $("polygon", areas[i])[0]; break; case 'cluster': figure = $("polygon", "#"+areas[i].id+" > g > a")[0]; if (figure === undefined) { figure = $("polygon", "#"+areas[i].id+" > a")[0]; } break; default: continue; } if ($(figure).is("ellipse")) { var nodeCoords = [ { x: figure.cx.baseVal.value, y : figure.cy.baseVal.value } ]; } else if ($(figure).is("polygon")) { var nodeCoords = []; for (var j = 0; j < figure.points.numberOfItems; ++j) { nodeCoords.push({ x : figure.points.getItem(j).x, y : figure.points.getItem(j).y }); } } else if ($(figure).is("path")) { var nodeCoords = []; var pathInfo = figure.getAttribute('d'); var delimIndex = pathInfo.indexOf('C'); var biginCoordsStr = pathInfo.substring(1, delimIndex).split(','); var biginCoords = {x: parseFloat(biginCoordsStr[0]), y: parseFloat(biginCoordsStr[1])}; var pathCoordsStr = pathInfo.substring(delimIndex+1).split(' '); for (var j = 0; j < pathCoordsStr.length; ++j) { var pairStr = pathCoordsStr[j].split(','); nodeCoords.push({ x : parseFloat(pairStr[0]), y : parseFloat(pairStr[1]) }); } nodeCoords = nodeCoords.filter(function (item) { var maxX = additionalFigure.points.getItem(1).x; var pathLength = maxX - biginCoords.x; return item.x < (maxX - pathLength*0.15) && item.x > (biginCoords.x + pathLength*0.15); }); } else { continue; } // check selected coords for (var j = 0; j < nodeCoords.length; ++j) { if (rect_left_bot_x < nodeCoords[j].x && rect_right_top_x > nodeCoords[j].x && rect_left_bot_y + 2*(document.getElementById("graph_hnd").getBoundingClientRect().top - document.getElementById("graph_img").getBoundingClientRect().top) > nodeCoords[j].y && rect_right_top_y + 2*(document.getElementById("graph_hnd").getBoundingClientRect().top - document.getElementById("graph_img").getBoundingClientRect().top) < nodeCoords[j].y) { figures.push(figure); } } } return figures; }, get_rect_selection : function (e, rectangle, img, deltaX, deltaY) { // Check ids selected nodes rect_left_bot_x = $('#' + rectangle).prop('offsetLeft') + deltaX; rect_left_bot_y = $('#' + rectangle).prop('offsetTop') + $('#' + rectangle).prop('offsetHeight') - deltaY; rect_right_top_x = $('#' + rectangle).prop('offsetLeft') + $('#' + rectangle).prop('offsetWidth') + deltaX; rect_right_top_y = $('#' + rectangle).prop('offsetTop') - deltaY; var areas = $(".edge, .node, .cluster", "#"+img+" > svg > g"); var indfirst = 999; var indlast = -999; // check all areas and select indfirst and indlast for (var i = 0; i < areas.length; ++i) { var nodeId = areas[i].id.split('_'); if (nodeId.length != 4) continue; var figure = null; switch (areas[i].getAttribute('class')) { case 'node': figure = $("ellipse, polygon", areas[i])[0]; if (figure.length == 0) { figure = $("polygon", "#"+areas[i].id+" > g > a")[0]; } break; case 'edge': figure = $("path", areas[i])[0]; var additionalFigure = $("polygon", areas[i])[0]; break; case 'cluster': figure = $("polygon", "#"+areas[i].id+" > g > a")[0]; if (figure === undefined) { figure = $("polygon", "#"+areas[i].id+" > a")[0]; } break; default: continue; } if ($(figure).is("ellipse")) { var nodeCoords = [ { x: figure.cx.baseVal.value, y : figure.cy.baseVal.value } ]; } else if ($(figure).is("polygon")) { var nodeCoords = []; for (var j = 0; j < figure.points.numberOfItems; ++j) { nodeCoords.push({ x : figure.points.getItem(j).x, y : figure.points.getItem(j).y }); } } else if ($(figure).is("path")) { var nodeCoords = []; var pathInfo = figure.getAttribute('d'); var delimIndex = pathInfo.indexOf('C'); var biginCoordsStr = pathInfo.substring(1, delimIndex).split(','); var biginCoords = {x: parseFloat(biginCoordsStr[0]), y: parseFloat(biginCoordsStr[1])}; var pathCoordsStr = pathInfo.substring(delimIndex+1).split(' '); for (var j = 0; j < pathCoordsStr.length; ++j) { var pairStr = pathCoordsStr[j].split(','); nodeCoords.push({ x : parseFloat(pairStr[0]), y : parseFloat(pairStr[1]) }); } nodeCoords = nodeCoords.filter(function (item) { var maxX = additionalFigure.points.getItem(1).x; var pathLength = maxX - biginCoords.x; return item.x < (maxX - pathLength*0.15) && item.x > (biginCoords.x + pathLength*0.15); }); } else { continue; } // check selected coords for (var j = 0; j < nodeCoords.length; ++j) { if (rect_left_bot_x < nodeCoords[j].x && rect_right_top_x > nodeCoords[j].x && rect_left_bot_y + 2*(document.getElementById("graph_hnd").getBoundingClientRect().top - document.getElementById("graph_img").getBoundingClientRect().top) > nodeCoords[j].y && rect_right_top_y + 2*(document.getElementById("graph_hnd").getBoundingClientRect().top - document.getElementById("graph_img").getBoundingClientRect().top) < nodeCoords[j].y) { if(parseInt(nodeId[2]) < parseInt(indfirst)) { indfirst = nodeId[2]; } if(parseInt(nodeId[3]) > parseInt(indlast)) { indlast = nodeId[3]; } } } } if (parseInt(indfirst) == 999 || parseInt(indlast) == -999) { indfirst = indlast = -2; } return { indfirst : indfirst, indlast : indlast }; }, display_strings : function (s) { $('#id_test_regex').html(s); }, btn_graph_selection_mode_rectangle_selection_click : function (e) { e.preventDefault(); if (self.is_graph_selection_rectangle_visible()) { self.panzooms.disable_graph(); } else { self.panzooms.enable_graph(); $('#resizeGraph').css({ width : 0, height : 0, left : -10, top : -10 }); } }, /** Checks for cached data and if it doesn't exist, sends a request to the server */ load_content : function (indfirst, indlast) { if (typeof indfirst == "undefined" || typeof indlast == "undefined") { indfirst = indlast = -2; } // Unbind tree handlers so nothing is clickable till the response is received. self.tree_img().unbind('click', self.tree_node_misclicked); $("svg .node", self.tree_img()).unbind('click', self.tree_node_clicked); self.graph_img().unbind('click', self.graph_node_misclicked); $("svg .node", self.graph_img()).unbind('click', self.graph_node_clicked); // TODO - idea says that this is bad :c // Check the cache. var k = self.cache_key_for_explaining_tools(indfirst, indlast); var cached = self.cache[self.TREE_KEY][k]; if (cached) { self.display_content(self.cache[self.TREE_KEY][k], self.cache[self.GRAPH_KEY][k], self.cache[self.DESCRIPTION_KEY][k], indfirst, indlast); return; } $.ajax({ type: 'GET', url: self.www_root + '/question/type/preg/authoring_tools/preg_authoring_tools_loader.php', data: { regex: self.regex_input.val(), engine: $('#id_engine_auth :selected').val(), notation: $('#id_notation_auth :selected').val(), exactmatch: $('#id_exactmatch_auth :selected').val(), usecase: $('#id_usecase_auth :selected').val(), indfirst: indfirst, indlast: indlast, treeorientation: self.get_orientation(), displayas: self.get_displayas(), foldcoords: $('input[name=\'tree_fold_node_points\']').val(), treeisfold: $("#id_tree_folding_mode").is(':checked') ? 1 : 0, ajax: true }, success: self.upd_content_success }); }, load_strings : function (indfirst, indlast) { if (typeof indfirst == "undefined" || typeof indlast == "undefined") { indfirst = indlast = -2; } // Check the cache. var k = self.cache_key_for_testing_tool(indfirst, indlast); var cached = self.cache[self.STRINGS_KEY][k]; if (cached) { self.display_strings(cached); return; } $.ajax({ type: 'GET', url: self.www_root + '/question/type/preg/authoring_tools/preg_regex_testing_tool_loader.php', data: { regex: self.regex_input.val(), engine: $('#id_engine_auth :selected').val(), notation: $('#id_notation_auth :selected').val(), exactmatch: $('#id_exactmatch_auth :selected').val(), usecase: $('#id_usecase_auth :selected').val(), indfirst: indfirst, indlast: indlast, strings: $('#id_regex_match_text').val(), ajax: true }, success: self.upd_strings_success }); }, get_selection : function () { var scroll = $(window).scrollTop(), /*selection = $(self.regex_input).textrange('get'), indfirst = selection.start, indlast = selection.end - 1;*/ indfirst = indlast = -2; if(typeof $('input[name=\'tree_selected_node_points\']').val() != 'undefined') { var tmpcoords = $('input[name=\'tree_selected_node_points\']').val().split(','); indfirst = tmpcoords[0]; indlast = tmpcoords[1]; } if (indfirst > indlast) { indfirst = indlast = -2; } $(window).scrollTop(scroll); return { indfirst : indfirst, indlast : indlast }; }, get_orientation : function () { return $('#fgroup_id_tree_orientation_radioset input:checked').val(); }, get_displayas : function () { return $('#fgroup_id_charset_process_radioset input:checked').val(); }, resize_handler : function() { $('#tree_hnd').css('width', $('#mformauthoring').prop('offsetWidth') - 37); $('#graph_hnd').css('width', $('#mformauthoring').prop('offsetWidth') - 37); }, panzooms : { reset_tree : function() { self.tree_img().panzoom("reset"); }, reset_graph : function() { self.graph_img().panzoom("reset"); }, disable_tree : function() { self.tree_img().panzoom("disable"); }, disable_graph : function() { self.graph_img().panzoom("instance")._unbind(); self.graph_img().off('mousewheel.focal', this._zoom); }, enable_tree : function() { self.tree_img().panzoom("enable"); }, enable_graph : function() { self.graph_img().panzoom("instance")._bind(); self.graph_img().on('mousewheel.focal', this._zoom); }, reset_all : function() { self.panzooms.reset_tree(); self.panzooms.reset_graph(); self.panzooms.reset_tree_dimensions(); self.panzooms.reset_graph_dimensions(); }, reset_tree_dimensions : function() { self.tree_img().panzoom("resetDimensions"); }, reset_graph_dimensions : function() { self.graph_img().panzoom("resetDimensions"); }, init_tree : function() { var tree_panzoom_obj = self.tree_img().panzoom(); self.tree_img().on('mousewheel.focal', this._zoom); self.tree_img().panzoom("option", "pan", false); }, init_graph : function() { var graph_panzoom_obj = self.graph_img().panzoom(); self.graph_img().on('mousewheel.focal', this._zoom); }, init : function() { self.panzooms.init_graph(); self.panzooms.init_tree(); }, _zoom : function( e ) { e.preventDefault(); var delta = e.delta || e.originalEvent.wheelDelta; var zoomOut = delta ? delta < 0 : e.originalEvent.deltaY > 0; var panzoomholder= $(e.target).parents(".preg_img_panzoom")[0]; $(panzoomholder).panzoom('zoom', zoomOut, { increment: 0.1, focal: e }); } }, //RECTANGLE SELECTION CODE CALC_COORD : false, RECTANGLE_WIDTH: 0, RECTANGLE_HEIGHT : 0 }; return self; })(jQuery);
JavaScript
/** * This module part applied to a Formal Languages Block */ /** * Namespace */ M.block_formal_langs = { }; /** * An ajax page, which will receive all requests * @type {string} */ M.block_formal_langs.ajax_page = ""; /** * A context, where block was created * @type {number} */ M.block_formal_langs.context = 0; /** * A path to icon with closed eye * @type {string} */ M.block_formal_langs.hide_icon = ""; /** * A path to icon with open eye * @type {string} */ M.block_formal_langs.show_icon = ""; /** * Whether block is displayed in a system context * i.e. this is global settings for a site * @type {boolean} */ M.block_formal_langs.is_global = false; /** * A string for affected courses * @type {string} */ M.block_formal_langs.affected_courses_label = ""; /** * Initializes block * @param {YUI} Y yui class * @param {string} ajax_page a page for ajax requests * @param {number} context context id * @param {string} hide_icon an icon for hidden languages * @param {string} show_icon an icon for visible languages * @param {boolean} is_global whether block is shown in global context * @param {string} affected_courses_label a label for affected courses */ M.block_formal_langs.init = function(Y, ajax_page, context, hide_icon, show_icon, is_global, affected_courses_label) { M.block_formal_langs.ajax_page = ajax_page; M.block_formal_langs.context = context; M.block_formal_langs.hide_icon = hide_icon; M.block_formal_langs.show_icon = show_icon; M.block_formal_langs.is_global = is_global; M.block_formal_langs.affected_courses_label = affected_courses_label; $("document").ready(function() { $("a.deletelanguage").click(function() { var id = $(this).attr("data-id"); $("span[data-id=" + id + "]").parent().parent().remove(); //noinspection JSUnusedLocalSymbols $.ajax({ "url": M.block_formal_langs.ajax_page, "type" : "GET", "data": { "action": "removeformallanguage", "languageid" : id, "context" : M.block_formal_langs.context }, "dataType": "text", "success": function() { }, "error": function(xhr) { //noinspection JSPotentiallyInvalidConstructorUsage var a = new M.core.ajaxException({ "error": "Cannot remove formal language", "center": true, "closeButton": true, "draggable": true, "reproductionlink": M.block_formal_langs.ajax_page }); a.show(); } }); }); $("a.changevisibility").click(function() { var id = $(this).attr("data-id"); var visible = $(this).attr("data-visible"); var src = M.block_formal_langs.hide_icon; if (visible == 1) { visible = 0; $("span[data-id=" + id + "]").addClass("dimmed_text"); } else { visible = 1; $("span[data-id=" + id + "]").removeClass("dimmed_text"); src = M.block_formal_langs.show_icon; } $(this).find("img").attr("src", src); $(this).attr("data-visible", visible); var updateinheritance = function (text) { $(this).parent().parent().parent().find(".inherited-hint").html(text); }; var updateinheritancethis = updateinheritance.bind(this); //noinspection JSUnusedLocalSymbols $.ajax({ "url": M.block_formal_langs.ajax_page, "type" : "GET", "data": { "action": "flanguagevisibility", "languageid" : id, "visible" : visible, "context" : M.block_formal_langs.context, "global" : M.block_formal_langs.is_global }, "dataType": "json", "success": function(data) { var label = M.block_formal_langs.affected_courses_label + "<br />"; if (M.block_formal_langs.is_global) { label = label + data.map(function(o) { //noinspection JSUnresolvedVariable return o.shortname }).join("<br />"); $(".global-affected-courses").html(label); } else { updateinheritancethis(data); } }, "error": function(xhr) { //noinspection JSPotentiallyInvalidConstructorUsage var a = new M.core.ajaxException({ "error": "Cannot change visibility", "center": true, "closeButton": true, "draggable": true, "reproductionlink": M.block_formal_langs.ajax_page }); a.show(); } }); }); }); };
JavaScript
M.block_role_assign = M.block_role_assign || {}; M.block_role_assign.del_rule = function(Y,rowid,ruleid,courseid,del,message) { var button = Y.one("#cur_cell" + rowid); button.on("click", function (e) { if(confirm(message)){ var params = { id : ruleid, courseid : courseid, del: del }; Y.io(M.cfg.wwwroot + '/blocks/role_assign/delete_rule.php', { method: 'POST', data: build_querystring(params), on: { success: function (id, result) { var row = Y.one("#cur_table" + rowid); row.setStyle('display', 'none'); } } }); } }); } M.block_role_assign.check_role = function(Y,element,courseid,userid) { var handle = Y.later( 1000 * 2, window, function(){ var params = { courseid : courseid, userid : userid }; Y.io(M.cfg.wwwroot + '/blocks/role_assign/check_role.php', { method: 'GET', data: build_querystring(params), on: { success: function (id, result) { var elem = Y.one("#" + element); elem.set("innerHTML", result.responseText); } } }); M.block_role_assign.check_role(Y,element,courseid,userid); }, [],false); }
JavaScript
function selectAll(objectSelectAll, checkboxName) { var elements = document.getElementsByName(checkboxName);//.getElementsByTagName('input'); var checked = objectSelectAll.checked; var size = elements.length; for (i = 0; i < size; i++) { if (elements[i].type == "checkbox") { elements[i].checked = checked; } } } function selectItem(checkboxName) { var elementSelectAll = document.getElementById("select_all"); if(!elementSelectAll) { return; } var elements = document.getElementsByName(checkboxName); var size = elements.length; var checked = true; for (i = 0; i < size; i++) { if (elements[i].type == "checkbox" && !elements[i].checked) { checked = false; } } elementSelectAll.checked = checked; } function startJSForTable(text) { var divSelectAll = document.getElementById("select_all"); if(divSelectAll) { divSelectAll.outerHTML = "<input type = \"checkbox\" id = \"select_all\" onclick = \"selectAll(this,\'" + text + "\');\"/>"; } }
JavaScript
// This file is part of Student Access Control Kit - https://code.google.com/p/oasychev-moodle-plugins/ // // Student Access Control Kit is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Student Access Control Kit is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * @package block * @subpackage supervised * @author Andrey Ushakov <andrey200964@yandex.ru> * @copyright 2014 Oleg Sychev, Volgograd State Technical University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ M.block_supervised = M.block_supervised || {}; // Code for updating the countdown timer that is used for finish out-of-date sessions automatically. M.block_supervised.timer = { // YUI object. Y: null, // Timestamp at which time runs out, according to the student's computer's clock. endtime: 0, // This records the id of the timeout that updates the clock periodically, // so we can cancel. timeoutid: null, /** * @param Y the YUI object * @param duration, timer duration, in secondss. */ init: function(Y, duration) { M.block_supervised.timer.Y = Y; M.block_supervised.timer.endtime = M.pageloadstarttime.getTime() + duration * 1000; M.block_supervised.timer.update(); }, /** * Stop the timer, if it is running. */ stop: function(e) { if (M.block_supervised.timer.timeoutid) { clearTimeout(M.block_supervised.timer.timeoutid); } }, // Function to update the clock with the current time left, and finish the session if necessary. update: function() { var Y = M.block_supervised.timer.Y; var secondsleft = Math.floor((M.block_supervised.timer.endtime - new Date().getTime()) / 1000); // If time has expired, finish session simulating mouse click by form button. if (secondsleft < 0) { M.block_supervised.timer.stop(null); YUI().use('node-event-simulate', function(Y) { var button = document.getElementById("id_supervised_finishbtn"); button.click(); }); return; } // Arrange for this method to be called again soon. M.block_supervised.timer.timeoutid = setTimeout(M.block_supervised.timer.update, 1000); } };
JavaScript
M.mod_poasassignment = {}; M.mod_poasassignment.init_tree = function(Y, expand_all, htmlid) { Y.use('yui2-treeview', function(Y) { var tree = new YAHOO.widget.TreeView(htmlid); tree.subscribe("clickEvent", function(node, event) { // we want normal clicking which redirects to url return false; }); if (expand_all) { tree.expandAll(); } tree.render(); }); }
JavaScript
// This file is part of Student Access Control Kit - https://code.google.com/p/oasychev-moodle-plugins/ // // Access Control Kit is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Access Control Kit is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * @package quizaccess_supervisedcheck * @author Andrey Ushakov <andrey200964@yandex.ru> * @copyright 2014 Oleg Sychev, Volgograd State Technical University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $(document).ready(function(){ function updateLessontypes(){ if ($('#id_supervisedmode_2').is(':checked')) { $('#fgroup_id_lessontypesgroup :input').removeAttr('disabled'); } else { $('#fgroup_id_lessontypesgroup :input').attr('disabled', true); } } $('#fgroup_id_radioar :input').change( function(){ updateLessontypes(); } ); updateLessontypes(); });
JavaScript
// Copyright 2012 Google Inc. /** * @name Store Locator for Google Maps API V3 * @version 0.1 * @author Chris Broadfoot (Google) * @fileoverview * This library makes it easy to create a fully-featured Store Locator for * your business's website. */ /** * @license * * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Namespace for Store Locator. * @constructor */ var storeLocator = function() {}; window['storeLocator'] = storeLocator; /** * Convert from degrees to radians. * @private * @param {number} degrees the number in degrees. * @return {number} the number in radians. */ storeLocator.toRad_ = function(degrees) { return degrees * Math.PI / 180; };
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Allows developers to specify a static set of stores to be used in the * storelocator. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * A DataFeed with a static set of stores. Provides sorting of stores by * proximity and feature filtering (store must have <em>all</em> features from * the filter). * @example <pre> * var dataFeed = new storeLocator.StaticDataFeed(); * jQuery.getJSON('stores.json', function(json) { * var stores = parseStores(json); * dataFeed.setStores(stores); * }); * new storeLocator.View(map, dataFeed); * </pre> * @implements {storeLocator.DataFeed} * @constructor * @implements storeLocator_StaticDataFeed */ storeLocator.StaticDataFeed = function() { /** * The static list of stores. * @private * @type {Array.<storeLocator.Store>} */ this.stores_ = []; }; storeLocator['StaticDataFeed'] = storeLocator.StaticDataFeed; /** * This will contain a callback to be called if getStores was called before * setStores (i.e. if the map is waiting for data from the data source). * @private * @type {Function} */ storeLocator.StaticDataFeed.prototype.firstCallback_; /** * Set the stores for this data feed. * @param {!Array.<!storeLocator.Store>} stores the stores for this data feed. */ storeLocator.StaticDataFeed.prototype.setStores = function(stores) { this.stores_ = stores; if (this.firstCallback_) { this.firstCallback_(); } else { delete this.firstCallback_; } }; /** * @inheritDoc */ storeLocator.StaticDataFeed.prototype.getStores = function(bounds, features, callback) { // Prevent race condition - if getStores is called before stores are loaded. if (!this.stores_.length) { var that = this; this.firstCallback_ = function() { that.getStores(bounds, features, callback); }; return; } // Filter stores for features. var stores = []; for (var i = 0, store; store = this.stores_[i]; i++) { if (store.hasAllFeatures(features)) { stores.push(store); } } this.sortByDistance_(bounds.getCenter(), stores); callback(stores); }; /** * Sorts a list of given stores by distance from a point in ascending order. * Directly manipulates the given array (has side effects). * @private * @param {google.maps.LatLng} latLng the point to sort from. * @param {!Array.<!storeLocator.Store>} stores the stores to sort. */ storeLocator.StaticDataFeed.prototype.sortByDistance_ = function(latLng, stores) { stores.sort(function(a, b) { return a.distanceTo(latLng) - b.distanceTo(latLng); }); };
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Feature model class for Store Locator library. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Representation of a feature of a store. (e.g. 24 hours, BYO, etc). * @example <pre> * var feature = new storeLocator.Feature('24hour', 'Open 24 Hours'); * </pre> * @param {string} id unique identifier for this feature. * @param {string} name display name of this feature. * @constructor * @implements storeLocator_Feature */ storeLocator.Feature = function(id, name) { this.id_ = id; this.name_ = name; }; storeLocator['Feature'] = storeLocator.Feature; /** * Gets this Feature's ID. * @return {string} this feature's ID. */ storeLocator.Feature.prototype.getId = function() { return this.id_; }; /** * Gets this Feature's display name. * @return {string} this feature's display name. */ storeLocator.Feature.prototype.getDisplayName = function() { return this.name_; }; storeLocator.Feature.prototype.toString = function() { return this.getDisplayName(); };
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * An info panel, which complements the map view of the Store Locator. * Provides a list of stores, location search, feature filter, and directions. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * An info panel, to complement the map view. * Provides a list of stores, location search, feature filter, and directions. * @example <pre> * var container = document.getElementById('panel'); * var panel = new storeLocator.Panel(container, { * view: view, * locationSearchLabel: 'Location:' * }); * google.maps.event.addListener(panel, 'geocode', function(result) { * geocodeMarker.setPosition(result.geometry.location); * }); * </pre> * @extends {google.maps.MVCObject} * @param {!Node} el the element to contain this panel. * @param {storeLocator.PanelOptions} opt_options * @constructor * @implements storeLocator_Panel */ storeLocator.Panel = function(el, opt_options) { this.el_ = $(el); this.el_.addClass('storelocator-panel'); this.settings_ = $.extend({ 'locationSearch': true, 'locationSearchLabel': 'Where are you?', 'featureFilter': true, 'directions': true, 'view': null }, opt_options); this.directionsRenderer_ = new google.maps.DirectionsRenderer({ draggable: true }); this.directionsService_ = new google.maps.DirectionsService; this.init_(); }; storeLocator['Panel'] = storeLocator.Panel; storeLocator.Panel.prototype = new google.maps.MVCObject; /** * Initialise the info panel * @private */ storeLocator.Panel.prototype.init_ = function() { var that = this; this.itemCache_ = {}; if (this.settings_['view']) { this.set('view', this.settings_['view']); } this.filter_ = $('<form class="storelocator-filter"/>'); this.el_.append(this.filter_); if (this.settings_['locationSearch']) { this.locationSearch_ = $('<div class="location-search"><h4>' + this.settings_['locationSearchLabel'] + '</h4><input></div>'); this.filter_.append(this.locationSearch_); if (typeof google.maps.places != 'undefined') { this.initAutocomplete_(); } else { this.filter_.submit(function() { that.searchPosition($('input', that.locationSearch_).val()); }); } this.filter_.submit(function() { return false; }); google.maps.event.addListener(this, 'geocode', function(place) { if (that.searchPositionTimeout_) { window.clearTimeout(that.searchPositionTimeout_); } if (!place.geometry) { that.searchPosition(place.name); return; } this.directionsFrom_ = place.geometry.location; if (that.directionsVisible_) { that.renderDirections_(); } var sl = that.get('view'); sl.highlight(null); var map = sl.getMap(); if (place.geometry.viewport) { map.fitBounds(place.geometry.viewport); } else { map.setCenter(place.geometry.location); map.setZoom(13); } sl.refreshView(); that.listenForStoresUpdate_(); }); } if (this.settings_['featureFilter']) { // TODO(cbro): update this on view_changed this.featureFilter_ = $('<div class="feature-filter"/>'); var allFeatures = this.get('view').getFeatures().asList(); for (var i = 0, ii = allFeatures.length; i < ii; i++) { var feature = allFeatures[i]; var checkbox = $('<input type="checkbox"/>'); checkbox.data('feature', feature); $('<label/>').append(checkbox).append(feature.getDisplayName()) .appendTo(this.featureFilter_); } this.filter_.append(this.featureFilter_); this.featureFilter_.find('input').change(function() { var feature = $(this).data('feature'); that.toggleFeatureFilter_(feature); that.get('view').refreshView(); }); } this.storeList_ = $('<ul class="store-list"/>'); this.el_.append(this.storeList_); if (this.settings_['directions']) { this.directionsPanel_ = $('<div class="directions-panel"><form>' + '<input class="directions-to"/>' + '<input type="submit" value="Find directions"/>' + '<a href="#" class="close-directions">Close</a>' + '</form><div class="rendered-directions"></div></div>'); this.directionsPanel_.find('.directions-to').attr('readonly', 'readonly'); this.directionsPanel_.hide(); this.directionsVisible_ = false; this.directionsPanel_.find('form').submit(function() { that.renderDirections_(); return false; }); this.directionsPanel_.find('.close-directions').click(function() { that.hideDirections(); }); this.el_.append(this.directionsPanel_); } }; /** * Toggles a particular feature on/off in the feature filter. * @param {storeLocator.Feature} feature The feature to toggle. * @private */ storeLocator.Panel.prototype.toggleFeatureFilter_ = function(feature) { var featureFilter = this.get('featureFilter'); featureFilter.toggle(feature); this.set('featureFilter', featureFilter); }; /** * Global Geocoder instance, for convenience. * @type {google.maps.Geocoder} * @private */ storeLocator.geocoder_ = new google.maps.Geocoder; /** * Triggers an update for the store list in the Panel. Will wait for stores * to load asynchronously from the data source. * @private */ storeLocator.Panel.prototype.listenForStoresUpdate_ = function() { var that = this; var view = /** @type storeLocator.View */(this.get('view')); if (this.storesChangedListener_) { google.maps.event.removeListener(this.storesChangedListener_); } this.storesChangedListener_ = google.maps.event.addListenerOnce(view, 'stores_changed', function() { that.set('stores', view.get('stores')); }); }; /** * Search and pan to the specified address. * @param {string} searchText the address to pan to. */ storeLocator.Panel.prototype.searchPosition = function(searchText) { var that = this; var request = { address: searchText, bounds: this.get('view').getMap().getBounds() }; storeLocator.geocoder_.geocode(request, function(result, status) { if (status != google.maps.GeocoderStatus.OK) { //TODO(cbro): proper error handling return; } google.maps.event.trigger(that, 'geocode', result[0]); }); }; /** * Sets the associated View. * @param {storeLocator.View} view the view to set. */ storeLocator.Panel.prototype.setView = function(view) { this.set('view', view); }; /** * view_changed handler. * Sets up additional bindings between the info panel and the map view. */ storeLocator.Panel.prototype.view_changed = function() { var sl = /** @type {google.maps.MVCObject} */ (this.get('view')); this.bindTo('selectedStore', sl); var that = this; if (this.geolocationListener_) { google.maps.event.removeListener(this.geolocationListener_); } if (this.zoomListener_) { google.maps.event.removeListener(this.zoomListener_); } if (this.idleListener_) { google.maps.event.removeListener(this.idleListener_); } var center = sl.getMap().getCenter(); var updateList = function() { sl.clearMarkers(); that.listenForStoresUpdate_(); }; //TODO(cbro): somehow get the geolocated position and populate the 'from' box. this.geolocationListener_ = google.maps.event.addListener(sl, 'load', updateList); this.zoomListener_ = google.maps.event.addListener(sl.getMap(), 'zoom_changed', updateList); this.idleListener_ = google.maps.event.addListener(sl.getMap(), 'idle', function() { return that.idle_(sl.getMap()); }); updateList(); this.bindTo('featureFilter', sl); if (this.autoComplete_) { this.autoComplete_.bindTo('bounds', sl.getMap()); } }; /** * Adds autocomplete to the input box. * @private */ storeLocator.Panel.prototype.initAutocomplete_ = function() { var that = this; var input = $('input', this.locationSearch_)[0]; this.autoComplete_ = new google.maps.places.Autocomplete(input); if (this.get('view')) { this.autoComplete_.bindTo('bounds', this.get('view').getMap()); } google.maps.event.addListener(this.autoComplete_, 'place_changed', function() { google.maps.event.trigger(that, 'geocode', this.getPlace()); }); }; /** * Called on the view's map idle event. Refreshes the store list if the * user has navigated far away enough. * @param {google.maps.Map} map the current view's map. * @private */ storeLocator.Panel.prototype.idle_ = function(map) { if (!this.center_) { this.center_ = map.getCenter(); } else if (!map.getBounds().contains(this.center_)) { this.center_ = map.getCenter(); this.listenForStoresUpdate_(); } }; /** * @const * @type {string} * @private */ storeLocator.Panel.NO_STORES_HTML_ = '<li class="no-stores">There are no' + ' stores in this area.</li>'; /** * @const * @type {string} * @private */ storeLocator.Panel.NO_STORES_IN_VIEW_HTML_ = '<li class="no-stores">There are' + ' no stores in this area. However, stores closest to you are' + ' listed below.</li>'; /** * Handler for stores_changed. Updates the list of stores. * @this storeLocator.Panel */ storeLocator.Panel.prototype.stores_changed = function() { if (!this.get('stores')) { return; } var view = this.get('view'); var bounds = view && view.getMap().getBounds(); var that = this; var stores = this.get('stores'); var selectedStore = this.get('selectedStore'); this.storeList_.empty(); if (!stores.length) { this.storeList_.append(storeLocator.Panel.NO_STORES_HTML_); } else if (bounds && !bounds.contains(stores[0].getLocation())) { this.storeList_.append(storeLocator.Panel.NO_STORES_IN_VIEW_HTML_); } var clickHandler = function() { view.highlight(this['store'], true); }; // TODO(cbro): change 10 to a setting/option for (var i = 0, ii = Math.min(10, stores.length); i < ii; i++) { var storeLi = stores[i].getInfoPanelItem(); storeLi['store'] = stores[i]; if (selectedStore && stores[i].getId() == selectedStore.getId()) { $(storeLi).addClass('highlighted'); } if (!storeLi.clickHandler_) { storeLi.clickHandler_ = google.maps.event.addDomListener( storeLi, 'click', clickHandler); } that.storeList_.append(storeLi); } }; /** * Handler for selectedStore_changed. Highlights the selected store in the * store list. * @this storeLocator.Panel */ storeLocator.Panel.prototype.selectedStore_changed = function() { $('.highlighted', this.storeList_).removeClass('highlighted'); var that = this; var store = this.get('selectedStore'); if (!store) { return; } this.directionsTo_ = store; this.storeList_.find('#store-' + store.getId()).addClass('highlighted'); if (this.settings_['directions']) { this.directionsPanel_.find('.directions-to') .val(store.getDetails().title); } var node = that.get('view').getInfoWindow().getContent(); var directionsLink = $('<a/>') .text('Directions') .attr('href', '#') .addClass('action') .addClass('directions'); // TODO(cbro): Make these two permanent fixtures in InfoWindow. // Move out of Panel. var zoomLink = $('<a/>') .text('Zoom here') .attr('href', '#') .addClass('action') .addClass('zoomhere'); var streetViewLink = $('<a/>') .text('Street view') .attr('href', '#') .addClass('action') .addClass('streetview'); directionsLink.click(function() { that.showDirections(); return false; }); zoomLink.click(function() { that.get('view').getMap().setOptions({ center: store.getLocation(), zoom: 16 }); }); streetViewLink.click(function() { var streetView = that.get('view').getMap().getStreetView(); streetView.setPosition(store.getLocation()); streetView.setVisible(true); }); $(node).append(directionsLink).append(zoomLink).append(streetViewLink); }; /** * Hides the directions panel. */ storeLocator.Panel.prototype.hideDirections = function() { this.directionsVisible_ = false; this.directionsPanel_.fadeOut(); this.featureFilter_.fadeIn(); this.storeList_.fadeIn(); this.directionsRenderer_.setMap(null); }; /** * Shows directions to the selected store. */ storeLocator.Panel.prototype.showDirections = function() { var store = this.get('selectedStore'); this.featureFilter_.fadeOut(); this.storeList_.fadeOut(); this.directionsPanel_.find('.directions-to').val(store.getDetails().title); this.directionsPanel_.fadeIn(); this.renderDirections_(); this.directionsVisible_ = true; }; /** * Renders directions from the location in the input box, to the store that is * pre-filled in the 'to' box. * @private */ storeLocator.Panel.prototype.renderDirections_ = function() { var that = this; if (!this.directionsFrom_ || !this.directionsTo_) { return; } var rendered = this.directionsPanel_.find('.rendered-directions').empty(); this.directionsService_.route({ origin: this.directionsFrom_, destination: this.directionsTo_.getLocation(), travelMode: google.maps['DirectionsTravelMode'].DRIVING //TODO(cbro): region biasing, waypoints, travelmode }, function(result, status) { if (status != google.maps.DirectionsStatus.OK) { // TODO(cbro): better error handling return; } var renderer = that.directionsRenderer_; renderer.setPanel(rendered[0]); renderer.setMap(that.get('view').getMap()); renderer.setDirections(result); }); }; /** * featureFilter_changed event handler. */ storeLocator.Panel.prototype.featureFilter_changed = function() { this.listenForStoresUpdate_(); }; /** * Fired when searchPosition has been called. This happens when the user has * searched for a location from the location search box and/or autocomplete. * @name storeLocator.Panel#event:geocode * @param {google.maps.PlaceResult|google.maps.GeocoderResult} result * @event */ /** * Fired when the <code>Panel</code>'s <code>view</code> property changes. * @name storeLocator.Panel#event:view_changed * @event */ /** * Fired when the <code>Panel</code>'s <code>featureFilter</code> property * changes. * @name storeLocator.Panel#event:featureFilter_changed * @event */ /** * Fired when the <code>Panel</code>'s <code>stores</code> property changes. * @name storeLocator.Panel#event:stores_changed * @event */ /** * Fired when the <code>Panel</code>'s <code>selectedStore</code> property * changes. * @name storeLocator.Panel#event:selectedStore_changed * @event */ /** * @example see storeLocator.Panel * @interface */ storeLocator.PanelOptions = function() {}; /** * Whether to show the location search box. Default is true. * @type boolean */ storeLocator.prototype.locationSearch; /** * The label to show above the location search box. Default is "Where are you * now?". * @type string */ storeLocator.PanelOptions.prototype.locationSearchLabel; /** * Whether to show the feature filter picker. Default is true. * @type boolean */ storeLocator.PanelOptions.prototype.featureFilter; /** * Whether to provide directions. Deafult is true. * @type boolean */ storeLocator.PanelOptions.prototype.directions; /** * The store locator model to bind to. * @type storeLocator.View */ storeLocator.PanelOptions.prototype.view;
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * This library makes it easy to create a fully-featured Store Locator for * your business's website. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Data feed that returns stores based on a given bounds and a set of features. * @example <pre> * // always returns the same stores * function SimpleStaticFeed(stores) { * this.stores = stores; * } * SimpleStaticFeed.prototype.getStores = function(bounds, features, callback) { * callback(this.stores); * }; * new storeLocator.View(map, new SimpleStaticFeed()); * </pre> * @interface */ storeLocator.DataFeed = function() {}; storeLocator['DataFeed'] = storeLocator.DataFeed; /** * Fetch stores, based on bounds to search within, and features to filter on. * @param {google.maps.LatLngBounds} bounds the bounds to search within. * @param {storeLocator.FeatureSet} features the features to filter on. * @param {function(Array.<!storeLocator.Store>)} callback the callback * function. */ storeLocator.DataFeed.prototype.getStores = function(bounds, features, callback) {}; /** * The main store locator object. * @example <pre> * new storeLocator.View(map, dataFeed); * </pre> * <pre> * var features = new storeLocator.FeatureSet(feature1, feature2, feature3); * new storeLocator.View(map, dataFeed, { * markerIcon: 'icon.png', * features: features, * geolocation: false * }); * </pre> * <pre> * // refresh stores every 10 seconds, regardless of interaction on the map. * var view = new storeLocator.View(map, dataFeed, { * updateOnPan: false * }); * setTimeout(function() { * view.refreshView(); * }, 10000); * </pre> * <pre> * // custom MarkerOptions, by overriding the createMarker method. * view.createMarker = function(store) { * return new google.maps.Marker({ * position: store.getLocation(), * icon: store.getDetails().icon, * title: store.getDetails().title * }); * }; * </pre> * @extends {google.maps.MVCObject} * @param {google.maps.Map} map the map to operate upon. * @param {storeLocator.DataFeed} data the data feed to fetch stores from. * @param {storeLocator.ViewOptions} opt_options * @constructor * @implements storeLocator_View */ storeLocator.View = function(map, data, opt_options) { this.map_ = map; this.data_ = data; this.settings_ = $.extend({ 'updateOnPan': true, 'geolocation': true, 'features': new storeLocator.FeatureSet }, opt_options); this.init_(); google.maps.event.trigger(this, 'load'); this.set('featureFilter', new storeLocator.FeatureSet); }; storeLocator['View'] = storeLocator.View; storeLocator.View.prototype = new google.maps.MVCObject; /** * Attempt to perform geolocation and pan to the given location * @private */ storeLocator.View.prototype.geolocate_ = function() { var that = this; if (window.navigator && navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(pos) { var loc = new google.maps.LatLng( pos.coords.latitude, pos.coords.longitude); that.getMap().setCenter(loc); that.getMap().setZoom(11); google.maps.event.trigger(that, 'load'); }, undefined, /** @type GeolocationPositionOptions */({ maximumAge: 60 * 1000, timeout: 10 * 1000 })); } }; /** * Initialise the View object * @private */ storeLocator.View.prototype.init_ = function() { if (this.settings_['geolocation']) { this.geolocate_(); } this.markerCache_ = {}; this.infoWindow_ = new google.maps.InfoWindow; var that = this; var map = this.getMap(); this.set('updateOnPan', this.settings_['updateOnPan']); google.maps.event.addListener(this.infoWindow_, 'closeclick', function() { that.highlight(null); }); google.maps.event.addListener(map, 'click', function() { that.highlight(null); that.infoWindow_.close(); }); }; /** * Adds/remove hooks as appropriate. */ storeLocator.View.prototype.updateOnPan_changed = function() { if (this.updateOnPanListener_) { google.maps.event.removeListener(this.updateOnPanListener_); } if (this.get('updateOnPan') && this.getMap()) { var that = this; var map = this.getMap(); this.updateOnPanListener_ = google.maps.event.addListener(map, 'idle', function() { that.refreshView(); }); } }; /** * Add a store to the map. * @param {storeLocator.Store} store the store to add. */ storeLocator.View.prototype.addStoreToMap = function(store) { var marker = this.getMarker(store); store.setMarker(marker); var that = this; marker.clickListener_ = google.maps.event.addListener(marker, 'click', function() { that.highlight(store, false); }); if (marker.getMap() != this.getMap()) { marker.setMap(this.getMap()); } }; /** * Create a marker for a store. * @param {storeLocator.Store} store the store to produce a marker for. * @this storeLocator.View * @return {google.maps.Marker} a new marker. * @export */ storeLocator.View.prototype.createMarker = function(store) { var markerOptions = { position: store.getLocation() }; var opt_icon = this.settings_['markerIcon']; if (opt_icon) { markerOptions.icon = opt_icon; } return new google.maps.Marker(markerOptions); }; /** * Get a marker for a store. By default, this caches the value from * createMarker(store) * @param {storeLocator.Store} store the store to get the marker from. * @return {google.maps.Marker} the marker. */ storeLocator.View.prototype.getMarker = function(store) { var cache = this.markerCache_; var key = store.getId(); if (!cache[key]) { cache[key] = this['createMarker'](store); } return cache[key]; }; /** * Get a InfoWindow for a particular store. * @param {storeLocator.Store} store the store. * @return {google.maps.InfoWindow} the store's InfoWindow. */ storeLocator.View.prototype.getInfoWindow = function(store) { if (!store) { return this.infoWindow_; } var div = $(store.getInfoWindowContent()); this.infoWindow_.setContent(div[0]); return this.infoWindow_; }; /** * Gets all possible features for this View. * @return {storeLocator.FeatureSet} All possible features. */ storeLocator.View.prototype.getFeatures = function() { return this.settings_['features']; }; /** * Gets a feature by its id. Convenience method. * @param {string} id the feature's id. * @return {storeLocator.Feature|undefined} The feature, if the id is valid. * undefined if not. */ storeLocator.View.prototype.getFeatureById = function(id) { if (!this.featureById_) { this.featureById_ = {}; for (var i = 0, feature; feature = this.settings_['features'][i]; i++) { this.featureById_[feature.getId()] = feature; } } return this.featureById_[id]; }; /** * featureFilter_changed event handler. */ storeLocator.View.prototype.featureFilter_changed = function() { google.maps.event.trigger(this, 'featureFilter_changed', this.get('featureFilter')); if (this.get('stores')) { this.clearMarkers(); } }; /** * Clears the visible markers on the map. */ storeLocator.View.prototype.clearMarkers = function() { for (var marker in this.markerCache_) { this.markerCache_[marker].setMap(null); var listener = this.markerCache_[marker].clickListener_; if (listener) { google.maps.event.removeListener(listener); } } }; /** * Refresh the map's view. This will fetch new data based on the map's bounds. */ storeLocator.View.prototype.refreshView = function() { var that = this; this.data_.getStores(this.getMap().getBounds(), (/** @type {storeLocator.FeatureSet} */ this.get('featureFilter')), function(stores) { var oldStores = that.get('stores'); if (oldStores) { for (var i = 0, ii = oldStores.length; i < ii; i++) { google.maps.event.removeListener( oldStores[i].getMarker().clickListener_); } } that.set('stores', stores); }); }; /** * stores_changed event handler. * This will display all new stores on the map. * @this storeLocator.View */ storeLocator.View.prototype.stores_changed = function() { var stores = this.get('stores'); for (var i = 0, store; store = stores[i]; i++) { this.addStoreToMap(store); } }; /** * Gets the view's Map. * @return {google.maps.Map} the view's Map. */ storeLocator.View.prototype.getMap = function() { return this.map_; }; /** * Select a particular store. * @param {storeLocator.Store} store the store to highlight. * @param {boolean} pan if panning to the store on the map is desired. */ storeLocator.View.prototype.highlight = function(store, pan) { var infoWindow = this.getInfoWindow(store); if (store) { var infoWindow = this.getInfoWindow(store); if (store.getMarker()) { infoWindow.open(this.getMap(), store.getMarker()); } else { infoWindow.setPosition(store.getLocation()); infoWindow.open(this.getMap()); } if (pan) { this.getMap().panTo(store.getLocation()); } if (this.getMap().getStreetView().getVisible()) { this.getMap().getStreetView().setPosition(store.getLocation()); } } else { infoWindow.close(); } this.set('selectedStore', store); }; /** * Re-triggers the selectedStore_changed event with the store as a parameter. * @this storeLocator.View */ storeLocator.View.prototype.selectedStore_changed = function() { google.maps.event.trigger(this, 'selectedStore_changed', this.get('selectedStore')); }; /** * Fired when the <code>View</code> is loaded. This happens once immediately, * then once more if geolocation is successful. * @name storeLocator.View#event:load * @event */ /** * Fired when the <code>View</code>'s <code>featureFilter</code> property * changes. * @name storeLocator.View#event:featureFilter_changed * @event */ /** * Fired when the <code>View</code>'s <code>updateOnPan</code> property changes. * @name storeLocator.View#event:updateOnPan_changed * @event */ /** * Fired when the <code>View</code>'s <code>stores</code> property changes. * @name storeLocator.View#event:stores_changed * @event */ /** * Fired when the <code>View</code>'s <code>selectedStore</code> property * changes. This happens after <code>highlight()</code> is called. * @name storeLocator.View#event:selectedStore_changed * @param {storeLocator.Store} store * @event */ /** * @example see storeLocator.View * @interface */ storeLocator.ViewOptions = function() {}; /** * Whether the map should update stores in the visible area when the visible * area changes. <code>refreshView()</code> will need to be called * programatically. Defaults to true. * @type boolean */ storeLocator.ViewOptions.prototype.updateOnPan; /** * Whether the store locator should attempt to determine the user's location * for the initial view. Defaults to true. * @type boolean */ storeLocator.ViewOptions.prototype.geolocation; /** * All available store features. Defaults to empty FeatureSet. * @type storeLocator.FeatureSet */ storeLocator.ViewOptions.prototype.features; /** * The icon to use for markers representing stores. * @type string|google.maps.MarkerImage */ storeLocator.ViewOptions.prototype.markerIcon;
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Store model class for Store Locator library. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Represents a store. * @example <pre> * var latLng = new google.maps.LatLng(40.7585, -73.9861); * var store = new storeLocator.Store('times_square', latLng, null); * </pre> * <pre> * var features = new storeLocator.FeatureSet( * view.getFeatureById('24hour'), * view.getFeatureById('express'), * view.getFeatureById('wheelchair_access')); * * var store = new storeLocator.Store('times_square', latLng, features, { * title: 'Times Square', * address: '1 Times Square&lt;br>Manhattan, NY 10036' * }); * </pre> * <pre> * store.distanceTo(map.getCenter()); * * // override default info window * store.getInfoWindowContent = function() { * var details = this.getDetails(); * return '&lt;h1>' + details.title + '&lt;h1>' + details.address; * }; * </pre> * @param {string} id globally unique id of the store - should be suitable to * use as a HTML id. * @param {!google.maps.LatLng} location location of the store. * @param {storeLocator.FeatureSet} features the features of this store. * @param {Object.<string, *>=} props any additional properties. * <p> Recommended fields are: * 'title', 'address', 'phone', 'misc', 'web'. </p> * @constructor * @implements storeLocator_Store */ storeLocator.Store = function(id, location, features, props) { this.id_ = id; this.location_ = location; this.features_ = features || storeLocator.FeatureSet.NONE; this.props_ = props || {}; }; storeLocator['Store'] = storeLocator.Store; /** * Sets this store's Marker. * @param {google.maps.Marker} marker the marker to set on this store. */ storeLocator.Store.prototype.setMarker = function(marker) { this.marker_ = marker; google.maps.event.trigger(this, 'marker_changed', marker); }; /** * Gets this store's Marker * @return {google.maps.Marker} the store's marker. */ storeLocator.Store.prototype.getMarker = function() { return this.marker_; }; /** * Gets this store's ID. * @return {string} this store's ID. */ storeLocator.Store.prototype.getId = function() { return this.id_; }; /** * Gets this store's location. * @return {google.maps.LatLng} this store's location. */ storeLocator.Store.prototype.getLocation = function() { return this.location_; }; /** * Gets this store's features. * @return {storeLocator.FeatureSet} this store's features. */ storeLocator.Store.prototype.getFeatures = function() { return this.features_; }; /** * Checks whether this store has a particular feature. * @param {!storeLocator.Feature} feature the feature to check for. * @return {boolean} true if the store has the feature, false otherwise. */ storeLocator.Store.prototype.hasFeature = function(feature) { return this.features_.contains(feature); }; /** * Checks whether this store has all the given features. * @param {storeLocator.FeatureSet} features the features to check for. * @return {boolean} true if the store has all features, false otherwise. */ storeLocator.Store.prototype.hasAllFeatures = function(features) { if (!features) { return true; } var featureList = features.asList(); for (var i = 0, ii = featureList.length; i < ii; i++) { if (!this.hasFeature(featureList[i])) { return false; } } return true; }; /** * Gets additional details about this store. * @return {Object} additional properties of this store. */ storeLocator.Store.prototype.getDetails = function() { return this.props_; }; /** * Generates HTML for additional details about this store. * @private * @param {Array.<string>} fields the optional fields of this store to output. * @return {string} html version of additional fields of this store. */ storeLocator.Store.prototype.generateFieldsHTML_ = function(fields) { var html = []; for (var i = 0, ii = fields.length; i < ii; i++) { var prop = fields[i]; if (this.props_[prop]) { html.push('<div class="'); html.push(prop); html.push('">'); html.push(this.props_[prop]); html.push('</div>'); } } return html.join(''); }; /** * Generates a HTML list of this store's features. * @private * @return {string} html list of this store's features. */ storeLocator.Store.prototype.generateFeaturesHTML_ = function() { var html = []; html.push('<ul class="features">'); var featureList = this.features_.asList(); for (var i = 0, feature; feature = featureList[i]; i++) { html.push('<li>'); html.push(feature.getDisplayName()); html.push('</li>'); } html.push('</ul>'); return html.join(''); }; /** * Gets the HTML content for this Store, suitable for use in an InfoWindow. * @return {string} a HTML version of this store. */ storeLocator.Store.prototype.getInfoWindowContent = function() { if (!this.content_) { // TODO(cbro): make this a setting? var fields = ['title', 'address', 'phone', 'misc', 'web']; var html = ['<div class="store">']; html.push(this.generateFieldsHTML_(fields)); html.push(this.generateFeaturesHTML_()); html.push('</div>'); this.content_ = html.join(''); } return this.content_; }; /** * Gets the HTML content for this Store, suitable for use in suitable for use * in the sidebar info panel. * @this storeLocator.Store * @return {string} a HTML version of this store. */ storeLocator.Store.prototype.getInfoPanelContent = function() { return this.getInfoWindowContent(); }; /** * Keep a cache of InfoPanel items (DOM Node), keyed by the store ID. * @private * @type {Object} */ storeLocator.Store.infoPanelCache_ = {}; /** * Gets a HTML element suitable for use in the InfoPanel. * @return {Node} a HTML element. */ storeLocator.Store.prototype.getInfoPanelItem = function() { var cache = storeLocator.Store.infoPanelCache_; var store = this; var key = store.getId(); if (!cache[key]) { var content = store.getInfoPanelContent(); cache[key] = $('<li class="store" id="store-' + store.getId() + '">' + content + '</li>')[0]; } return cache[key]; }; /** * Gets the distance between this Store and a certain location. * @param {google.maps.LatLng} point the point to calculate distance to/from. * @return {number} the distance from this store to a given point. * @license * Latitude/longitude spherical geodesy formulae & scripts * (c) Chris Veness 2002-2010 * www.movable-type.co.uk/scripts/latlong.html */ storeLocator.Store.prototype.distanceTo = function(point) { var R = 6371; // mean radius of earth var location = this.getLocation(); var lat1 = storeLocator.toRad_(location.lat()); var lon1 = storeLocator.toRad_(location.lng()); var lat2 = storeLocator.toRad_(point.lat()); var lon2 = storeLocator.toRad_(point.lng()); var dLat = lat2 - lat1; var dLon = lon2 - lon1; var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(lat1) * Math.cos(lat2) * Math.sin(dLon / 2) * Math.sin(dLon / 2); var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)); return R * c; }; /** * Fired when the <code>Store</code>'s <code>marker</code> property changes. * @name storeLocator.Store#event:marker_changed * @param {google.maps.Marker} marker * @event */
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * FeatureSet class for Store Locator library. A mutable, ordered set of * storeLocator.Features. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * A mutable, ordered set of <code>storeLocator.Feature</code>s. * @example <pre> * var feature1 = new storeLocator.Feature('1', 'Feature One'); * var feature2 = new storeLocator.Feature('2', 'Feature Two'); * var feature3 = new storeLocator.Feature('3', 'Feature Three'); * * var featureSet = new storeLocator.FeatureSet(feature1, feature2, feature3); * </pre> * @param {...storeLocator.Feature} var_args the initial features to add to * the set. * @constructor * @implements storeLocator_FeatureSet */ storeLocator.FeatureSet = function(var_args) { /** * Stores references to the actual Feature. * @private * @type {!Array.<storeLocator.Feature>} */ this.array_ = []; /** * Maps from a Feature's id to its array index. * @private * @type {Object.<string, number>} */ this.hash_ = {}; for (var i = 0, feature; feature = arguments[i]; i++) { this.add(feature); } }; storeLocator['FeatureSet'] = storeLocator.FeatureSet; /** * Adds the given feature to the set, if it doesn't exist in the set already. * Else, removes the feature from the set. * @param {!storeLocator.Feature} feature the feature to toggle. */ storeLocator.FeatureSet.prototype.toggle = function(feature) { if (this.contains(feature)) { this.remove(feature); } else { this.add(feature); } }; /** * Check if a feature exists within this set. * @param {!storeLocator.Feature} feature the feature. * @return {boolean} true if the set contains the given feature. */ storeLocator.FeatureSet.prototype.contains = function(feature) { return feature.getId() in this.hash_; }; /** * Gets a Feature object from the set, by the feature id. * @param {string} featureId the feature's id. * @return {storeLocator.Feature} the feature, if the set contains it. */ storeLocator.FeatureSet.prototype.getById = function(featureId) { if (featureId in this.hash_) { return this.array_[this.hash_[featureId]]; } return null; }; /** * Adds a feature to the set. * @param {storeLocator.Feature} feature the feature to add. */ storeLocator.FeatureSet.prototype.add = function(feature) { if (!feature) { return; } this.array_.push(feature); this.hash_[feature.getId()] = this.array_.length - 1; }; /** * Removes a feature from the set, if it already exists in the set. If it does * not already exist in the set, this function is a no op. * @param {!storeLocator.Feature} feature the feature to remove. */ storeLocator.FeatureSet.prototype.remove = function(feature) { if (!this.contains(feature)) { return; } this.array_[this.hash_[feature.getId()]] = null; delete this.hash_[feature.getId()]; }; /** * Get the contents of this set as an Array. * @return {Array.<!storeLocator.Feature>} the features in the set, in the order * they were inserted. */ storeLocator.FeatureSet.prototype.asList = function() { var filtered = []; for (var i = 0, ii = this.array_.length; i < ii; i++) { var elem = this.array_[i]; if (elem !== null) { filtered.push(elem); } } return filtered; }; /** * Empty feature set. * @type storeLocator.FeatureSet * @const */ storeLocator.FeatureSet.NONE = new storeLocator.FeatureSet;
JavaScript
// A simple demo showing how to grab places using the Maps API Places Library. // Useful extensions may include using "name" filtering or "keyword" search. google.maps.event.addDomListener(window, 'load', function() { var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps.LatLng(-28, 135), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }); var panelDiv = document.getElementById('panel'); var data = new PlacesDataSource(map); var view = new storeLocator.View(map, data); var markerSize = new google.maps.Size(24, 24); view.createMarker = function(store) { return new google.maps.Marker({ position: store.getLocation(), icon: new google.maps.MarkerImage(store.getDetails().icon, null, null, null, markerSize) }); }; new storeLocator.Panel(panelDiv, { view: view }); }); /** * Creates a new PlacesDataSource. * @param {google.maps.Map} map * @constructor */ function PlacesDataSource(map) { this.service_ = new google.maps.places.PlacesService(map); } /** * @inheritDoc */ PlacesDataSource.prototype.getStores = function(bounds, features, callback) { this.service_.search({ bounds: bounds }, function(results, status) { var stores = []; for (var i = 0, result; result = results[i]; i++) { var latLng = result.geometry.location; var store = new storeLocator.Store(result.id, latLng, null, { title: result.name, address: result.types.join(', '), icon: result.icon }); stores.push(store); } callback(stores); }); };
JavaScript
/** * @implements storeLocator.DataFeed * @constructor */ function MedicareDataSource() { } MedicareDataSource.prototype.getStores = function(bounds, features, callback) { var center = bounds.getCenter(); var that = this; var audioFeature = this.FEATURES_.getById('Audio-YES'); var wheelchairFeature = this.FEATURES_.getById('Wheelchair-YES'); $.getJSON('https://storelocator-go-demo.appspot.com/query?callback=?', { lat: center.lat(), lng: center.lng(), n: bounds.getNorthEast().lat(), e: bounds.getNorthEast().lng(), s: bounds.getSouthWest().lat(), w: bounds.getSouthWest().lng(), audio: features.contains(audioFeature) || '', access: features.contains(wheelchairFeature) || '' }, function(resp) { var stores = that.parse_(resp.data); that.sortByDistance_(center, stores); callback(stores); }); }; MedicareDataSource.prototype.parse_ = function(data) { var stores = []; for (var i = 0, row; row = data[i]; i++) { var features = new storeLocator.FeatureSet; features.add(this.FEATURES_.getById('Wheelchair-' + row.Wheelchair)); features.add(this.FEATURES_.getById('Audio-' + row.Audio)); var position = new google.maps.LatLng(row.Ycoord, row.Xcoord); var shop = this.join_([row.Shp_num_an, row.Shp_centre], ', '); var locality = this.join_([row.Locality, row.Postcode], ', '); var store = new storeLocator.Store(row.uuid, position, features, { title: row.Fcilty_nam, address: this.join_([shop, row.Street_add, locality], '<br>'), hours: row.Hrs_of_bus }); stores.push(store); } return stores; }; /** * @const * @type {!storeLocator.FeatureSet} * @private */ MedicareDataSource.prototype.FEATURES_ = new storeLocator.FeatureSet( new storeLocator.Feature('Wheelchair-YES', 'Wheelchair access'), new storeLocator.Feature('Audio-YES', 'Audio') ); /** * @return {!storeLocator.FeatureSet} */ MedicareDataSource.prototype.getFeatures = function() { return this.FEATURES_; }; /** * Joins elements of an array that are non-empty and non-null. * @private * @param {!Array} arr array of elements to join. * @param {string} sep the separator. * @return {string} */ MedicareDataSource.prototype.join_ = function(arr, sep) { var parts = []; for (var i = 0, ii = arr.length; i < ii; i++) { arr[i] && parts.push(arr[i]); } return parts.join(sep); }; /** * Sorts a list of given stores by distance from a point in ascending order. * Directly manipulates the given array (has side effects). * @private * @param {google.maps.LatLng} latLng the point to sort from. * @param {!Array.<!storeLocator.Store>} stores the stores to sort. */ MedicareDataSource.prototype.sortByDistance_ = function(latLng, stores) { stores.sort(function(a, b) { return a.distanceTo(latLng) - b.distanceTo(latLng); }); };
JavaScript
google.maps.event.addDomListener(window, 'load', function() { var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps.LatLng(-28, 135), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }); var panelDiv = document.getElementById('panel'); var data = new MedicareDataSource; var view = new storeLocator.View(map, data, { geolocation: false, features: data.getFeatures() }); new storeLocator.Panel(panelDiv, { view: view }); });
JavaScript
/** * @extends storeLocator.StaticDataFeed * @constructor */ function MedicareDataSource() { $.extend(this, new storeLocator.StaticDataFeed); var that = this; $.get('medicare.csv', function(data) { that.setStores(that.parse_(data)); }); } /** * @const * @type {!storeLocator.FeatureSet} * @private */ MedicareDataSource.prototype.FEATURES_ = new storeLocator.FeatureSet( new storeLocator.Feature('Wheelchair-YES', 'Wheelchair access'), new storeLocator.Feature('Audio-YES', 'Audio') ); /** * @return {!storeLocator.FeatureSet} */ MedicareDataSource.prototype.getFeatures = function() { return this.FEATURES_; }; /** * @private * @param {string} csv * @return {!Array.<!storeLocator.Store>} */ MedicareDataSource.prototype.parse_ = function(csv) { var stores = []; var rows = csv.split('\n'); var headings = this.parseRow_(rows[0]); for (var i = 1, row; row = rows[i]; i++) { row = this.toObject_(headings, this.parseRow_(row)); var features = new storeLocator.FeatureSet; features.add(this.FEATURES_.getById('Wheelchair-' + row.Wheelchair)); features.add(this.FEATURES_.getById('Audio-' + row.Audio)); var position = new google.maps.LatLng(row.Ycoord, row.Xcoord); var shop = this.join_([row.Shp_num_an, row.Shp_centre], ', '); var locality = this.join_([row.Locality, row.Postcode], ', '); var store = new storeLocator.Store(row.uuid, position, features, { title: row.Fcilty_nam, address: this.join_([shop, row.Street_add, locality], '<br>'), hours: row.Hrs_of_bus }); stores.push(store); } return stores; }; /** * Joins elements of an array that are non-empty and non-null. * @private * @param {!Array} arr array of elements to join. * @param {string} sep the separator. * @return {string} */ MedicareDataSource.prototype.join_ = function(arr, sep) { var parts = []; for (var i = 0, ii = arr.length; i < ii; i++) { arr[i] && parts.push(arr[i]); } return parts.join(sep); }; /** * Very rudimentary CSV parsing - we know how this particular CSV is formatted. * IMPORTANT: Don't use this for general CSV parsing! * @private * @param {string} row * @return {Array.<string>} */ MedicareDataSource.prototype.parseRow_ = function(row) { // Strip leading quote. if (row.charAt(0) == '"') { row = row.substring(1); } // Strip trailing quote. There seems to be a character between the last quote // and the line ending, hence 2 instead of 1. if (row.charAt(row.length - 2) == '"') { row = row.substring(0, row.length - 2); } row = row.split('","'); return row; }; /** * Creates an object mapping headings to row elements. * @private * @param {Array.<string>} headings * @param {Array.<string>} row * @return {Object} */ MedicareDataSource.prototype.toObject_ = function(headings, row) { var result = {}; for (var i = 0, ii = row.length; i < ii; i++) { result[headings[i]] = row[i]; } return result; };
JavaScript
// Store locator with customisations // - custom marker // - custom info window (using Info Bubble) // - custom info window content (+ store hours) var ICON = new google.maps.MarkerImage('medicare.png', null, null, new google.maps.Point(14, 13)); var SHADOW = new google.maps.MarkerImage('medicare-shadow.png', null, null, new google.maps.Point(14, 13)); google.maps.event.addDomListener(window, 'load', function() { var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps.LatLng(-28, 135), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }); var panelDiv = document.getElementById('panel'); var data = new MedicareDataSource; var view = new storeLocator.View(map, data, { geolocation: false, features: data.getFeatures() }); view.createMarker = function(store) { var markerOptions = { position: store.getLocation(), icon: ICON, shadow: SHADOW, title: store.getDetails().title }; return new google.maps.Marker(markerOptions); } var infoBubble = new InfoBubble; view.getInfoWindow = function(store) { if (!store) { return infoBubble; } var details = store.getDetails(); var html = ['<div class="store"><div class="title">', details.title, '</div><div class="address">', details.address, '</div>', '<div class="hours misc">', details.hours, '</div></div>'].join(''); infoBubble.setContent($(html)[0]); return infoBubble; }; new storeLocator.Panel(panelDiv, { view: view }); });
JavaScript
/** * User: dizemding * Time: 11-7-21 下午2:30 */ $(function() { $("#dialog-order").dialog({ autoOpen: false, height: 500, width: 760, modal: true, show:"clip", hide:"blind", buttons: { "确认": function() { $('#order-form :submit').click(); alert("购买成功") }, "关闭": function() { $(this).dialog('close'); } } }); });
JavaScript
/** * User: dizemding * Time: 11-7-20 下午1:29 */ $(document).ready(function() { $('#user_li').attr("class", "current") $("#dialog:ui-dialog").dialog("destroy"); $("#dialog-mail").dialog({ autoOpen: false, height: 390, width: 520, modal: true, show: "clip", hide: "slide", buttons: { "发送": function() { alert("发送成功!") $(this).dialog('close'); }, "关闭": function() { $(this).dialog('close'); } } }); $("#dialog-sms").dialog({ autoOpen: false, height: 350, width: 520, modal: true, show: "clip", hide: "slide", buttons: { "发送": function() { alert("发送成功!") $(this).dialog('close'); }, "关闭": function() { $(this).dialog('close'); } } }); }); function sendMail(address) { $('#txt_mail_to').val(address); $('#txt_title').val('18团购的来信'); $('#txt_content').val('尊敬的用户:\n 您好:\n '); $('#dialog-mail').dialog('open'); return false; } function sendSMS(mobile) { $('#txt_mobile').val(mobile); $('#txt_content').val('尊敬的用户:\n 您好:\n '); $('#dialog-sms').dialog('open'); return false; }
JavaScript
/** * User: dizemding * Time: 11-7-19 下午1:14 */ $(function() { $("#dialog:ui-dialog").dialog("destroy"); $("#dialog-login").dialog({ autoOpen: false, height: 310, width: 520, modal: true, show:"clip", hide:"blind", buttons: { "确定": function() { $('#login-form :submit').click(); }, "关闭": function() { $(this).dialog('close'); } } }); $("#btn_login").click(function() { $("#dialog-login").dialog("open"); resetValidationCode($("#login-form #validation_image")); }); $("#dialog-register").dialog({ autoOpen: false, height: 590, width: 580, modal: true, show:"clip", hide:"blind", buttons: { "确定": function() { $('#register-form :submit').click(); }, "关闭": function() { $(this).dialog('close'); } } }); $("#btn_register").click(function() { resetValidationCode($("#register-form #validation_image")); $("#dialog-register").dialog("open"); }); });
JavaScript
/** * User: dizemding * Time: 11-7-19 下午2:04 */ /** * 重置验证码 * @param img 验证码图片 */ function resetValidationCode(img) { img.click() } function formatFloat(src, pos) { return Math.round(src * Math.pow(10, pos)) / Math.pow(10, pos); } /** * 警告框提示 * @param message 提示内容 * @param title 提示标题 */ function alert(message, title) { if (title == null) { title = "提示"; } if ($("#dialogalert").length == 0) { $("body").append('<div id="dialogalert"></div>'); $("#dialogalert").dialog({ autoOpen: false, title: title, modal: true, resizable:false, show: "clip", hide: "slide", buttons: { "确定": function() { $(this).dialog("close"); } } }); } $("#dialogalert").html(message); $("#dialogalert").dialog("open"); } /** * 确认框提示 * @param message * @param title * @param callback */ function confirm(message, title, callback) { if ($("#dialogconfirm").length == 0) { $("body").append('<div id="dialogconfirm" title="提示"></div>'); $("#dialogconfirm").dialog({ autoOpen: false, title: title, modal: true, resizable:false, show: "clip", hide: "slide", buttons: { "确定": function() { callback(); $(this).dialog("close"); }, "取消": function() { $(this).dialog("close"); } } }); } $("#dialogconfirm").html(message); $("#dialogconfirm").dialog("open"); } function confirmDelete(msg, url) { confirm(msg, '确认删除', function() { window.location.href = url; }); return false; } function confirmOrder(msg, url) { confirm(msg, '操作', function() { window.location.href = url; }); return false; }
JavaScript
(function($) { $.alerts = { // These properties can be read/written by accessing $.alerts.propertyName from your scripts at any time verticalOffset: -75, // vertical offset of the dialog from center screen, in pixels horizontalOffset: 0, // horizontal offset of the dialog from center screen, in pixels/ repositionOnResize: true, // re-centers the dialog on window resize overlayOpacity: .01, // transparency level of overlay overlayColor: '#FFF', // base color of overlay draggable: true, // make the dialogs draggable (requires UI Draggables plugin) okButton: '&nbsp;确定&nbsp;', // text for the OK button cancelButton: '&nbsp;取消&nbsp;', // text for the Cancel button dialogClass: null, // if specified, this class will be applied to all dialogs // Public methods alert: function(message, title, callback) { if( title == null ) title = 'Alert'; $.alerts._show(title, message, null, 'alert', function(result) { if( callback ) callback(result); }); }, confirm: function(message, title, callback) { if( title == null ) title = 'Confirm'; $.alerts._show(title, message, null, 'confirm', function(result) { if( callback ) callback(result); }); }, prompt: function(message, value, title, callback) { if( title == null ) title = 'Prompt'; $.alerts._show(title, message, value, 'prompt', function(result) { if( callback ) callback(result); }); }, // Private methods _show: function(title, msg, value, type, callback) { $.alerts._hide(); $.alerts._overlay('show'); $("BODY").append( '<div id="popup_container">' + '<h1 id="popup_title"></h1>' + '<div id="popup_content">' + '<div id="popup_message"></div>' + '</div>' + '</div>'); if( $.alerts.dialogClass ) $("#popup_container").addClass($.alerts.dialogClass); // IE6 Fix var pos = ($.browser.msie && parseInt($.browser.version) <= 6 ) ? 'absolute' : 'fixed'; $("#popup_container").css({ position: pos, zIndex: 99999, padding: 0, margin: 0 }); $("#popup_title").text(title); $("#popup_content").addClass(type); $("#popup_message").text(msg); $("#popup_message").html( $("#popup_message").text().replace(/\n/g, '<br />') ); $("#popup_container").css({ minWidth: $("#popup_container").outerWidth(), maxWidth: $("#popup_container").outerWidth() }); $.alerts._reposition(); $.alerts._maintainPosition(true); switch( type ) { case 'alert': $("#popup_message").after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /></div>'); $("#popup_ok").click( function() { $.alerts._hide(); callback(true); }); $("#popup_ok").focus().keypress( function(e) { if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger('click'); }); break; case 'confirm': $("#popup_message").after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /> <input type="button" value="' + $.alerts.cancelButton + '" id="popup_cancel" /></div>'); $("#popup_ok").click( function() { $.alerts._hide(); if( callback ) callback(true); }); $("#popup_cancel").click( function() { $.alerts._hide(); if( callback ) callback(false); }); $("#popup_ok").focus(); $("#popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); break; case 'prompt': $("#popup_message").append('<br /><input type="text" size="30" id="popup_prompt" />').after('<div id="popup_panel"><input type="button" value="' + $.alerts.okButton + '" id="popup_ok" /> <input type="button" value="' + $.alerts.cancelButton + '" id="popup_cancel" /></div>'); $("#popup_prompt").width( $("#popup_message").width() ); $("#popup_ok").click( function() { var val = $("#popup_prompt").val(); $.alerts._hide(); if( callback ) callback( val ); }); $("#popup_cancel").click( function() { $.alerts._hide(); if( callback ) callback( null ); }); $("#popup_prompt, #popup_ok, #popup_cancel").keypress( function(e) { if( e.keyCode == 13 ) $("#popup_ok").trigger('click'); if( e.keyCode == 27 ) $("#popup_cancel").trigger('click'); }); if( value ) $("#popup_prompt").val(value); $("#popup_prompt").focus().select(); break; } // Make draggable if( $.alerts.draggable ) { try { $("#popup_container").draggable({ handle: $("#popup_title") }); $("#popup_title").css({ cursor: 'move' }); } catch(e) { /* requires jQuery UI draggables */ } } }, _hide: function() { $("#popup_container").remove(); $.alerts._overlay('hide'); $.alerts._maintainPosition(false); }, _overlay: function(status) { switch( status ) { case 'show': $.alerts._overlay('hide'); $("BODY").append('<div id="popup_overlay"></div>'); $("#popup_overlay").css({ position: 'absolute', zIndex: 99998, top: '0px', left: '0px', width: '100%', height: $(document).height(), background: $.alerts.overlayColor, opacity: $.alerts.overlayOpacity }); break; case 'hide': $("#popup_overlay").remove(); break; } }, _reposition: function() { var top = (($(window).height() / 2) - ($("#popup_container").outerHeight() / 2)) + $.alerts.verticalOffset; var left = (($(window).width() / 2) - ($("#popup_container").outerWidth() / 2)) + $.alerts.horizontalOffset; if( top < 0 ) top = 0; if( left < 0 ) left = 0; // IE6 fix if( $.browser.msie && parseInt($.browser.version) <= 6 ) top = top + $(window).scrollTop(); $("#popup_container").css({ top: top + 'px', left: left + 'px' }); $("#popup_overlay").height( $(document).height() ); }, _maintainPosition: function(status) { if( $.alerts.repositionOnResize ) { switch(status) { case true: $(window).bind('resize', $.alerts._reposition); break; case false: $(window).unbind('resize', $.alerts._reposition); break; } } } } // Shortuct functions jAlert = function(message, title, callback) { $.alerts.alert(message, title, callback); } jConfirm = function(message, title, callback) { $.alerts.confirm(message, title, callback); }; jPrompt = function(message, value, title, callback) { $.alerts.prompt(message, value, title, callback); }; })(jQuery);
JavaScript
/** * User: dizemding * Time: 11-7-20 下午5:21 */ function formatFloat(src, pos) { return Math.round(src * Math.pow(10, pos)) / Math.pow(10, pos); } function doRating(rate) { $("#rating_num").val(rate) $('.ratings_star').attr("class", "ratings_star ratings_star_off") for (var i = 0; i < rate; ++i) { $('.ratings_star:eq(' + i + ')').attr("class", "ratings_star ratings_star_on") } } $(function() { $("#dialog:ui-dialog").dialog("destroy"); $("#dialog-comment").dialog({ autoOpen: false, height: 375, width: 510, modal: true, show:"clip", hide:"blind", buttons: { "确定": function() { $('#form-reply :submit').click(); $(this).dialog('close'); alert("评论成功") }, "关闭": function() { $(this).dialog('close'); } } }); var $sidebar1 = $("#inner_side"), offset1 = $sidebar1.offset(); $(window).scroll(function() { if ($(window).scrollTop() > offset1.top) { $sidebar1.stop().animate({ marginTop: $(window).scrollTop() - offset1.top + 10 }); } else { $sidebar1.stop().animate({ marginTop: 0 }); } }); var $sidebar2 = $("#sidebar"), offset2 = $sidebar2.offset(); $(window).scroll(function() { if ($(window).scrollTop() > offset2.top) { $sidebar2.stop().animate({ marginTop: $(window).scrollTop() - offset2.top + 10 }); } else { $sidebar2.stop().animate({ marginTop: 0 }); } }); });
JavaScript

JavaScript
define("dojoxt/dojoxt-all", ["dojo","dojoxt","dojoxt/HeadPane"], function(dojo, dojoxt) { return dojoxt; });
JavaScript
/* */ if(!dojo._hasResource["dojoxt.BorderPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojoxt.BorderPane"] = true; dojo.provide("dojoxt.BorderPane"); dojo.forEach(["dijit.layout._LayoutWidget","dijit.layout.BorderContainer"],dojo.require); dojo.declare("dojoxt.BorderPane", [dijit.layout.BorderContainer, dijit.layout._LayoutWidget], { //baseClass:"dojoxtBorderPane", postMixInProperties: function(){ // change class name to indicate that BorderContainer is being used purely for // layout (like LayoutContainer) rather than for pretty formatting. if(!this.gutters){ this.baseClass += "NoGutter"; } base.inherited(arguments); }, }); }
JavaScript
/* */ if(!dojo._hasResource["dojoxt.FootPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojoxt.FootPane"] = true; dojo.provide("dojoxt.FootPane"); dojo.require("dijit.layout.ContentPane"); dojo.declare("dojoxt.FootPane", [dijit.layout.ContentPane], { baseClass:"dojoxtFootPane", region:"bottom" }); }
JavaScript
/* */ if(!dojo._hasResource["dojoxt.HeadPane"]){ dojo._hasResource["dojoxt.HeadPane"] = true; dojo.provide("dojoxt.HeadPane"); dojo.require("dijit.layout.ContentPane"); dojo.declare("dojoxt.HeadPane", [dijit.layout.ContentPane], { baseClass:"dojoxtHeadPane", region:"top" }); }
JavaScript
/* */ if(!dojo._hasResource["dojoxt.CenterPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojoxt.CenterPane"] = true; dojo.provide("dojoxt.CenterPane"); dojo.require("dijit.layout.ContentPane"); dojo.declare("dojoxt.CenterPane", [dijit.layout.ContentPane], { baseClass:"dojoxtCenterPane", region:"center" }); }
JavaScript
dojo.ready(function(){ dojo.forEach([ "dijit.layout.ContentPane", "dijit.layout.BorderContainer", "dojoxt.HeadPane", "dojoxt.FootPane", "dojoxt.CenterPane" /*"dojoxt.BorderPane",*/],dojo.require) });
JavaScript
var dojoConfig={ parseOnLoad:true, locale:"uk", extraLocale:["ru","uk","en"], baseUrl:'./', modulePath:{'dojoxt':'dojoxt'} };
JavaScript
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
JavaScript
/** * jQuery.ScrollTo * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 5/25/2009 * * @projectDescription Easy element scrolling using jQuery. * http://flesler.blogspot.com/2007/10/jqueryscrollto.html * Works with jQuery +1.2.6. Tested on FF 2/3, IE 6/7/8, Opera 9.5/6, Safari 3, Chrome 1 on WinXP. * * @author Ariel Flesler * @version 1.4.2 * * @id jQuery.scrollTo * @id jQuery.fn.scrollTo * @param {String, Number, DOMElement, jQuery, Object} target Where to scroll the matched elements. * The different options for target are: * - A number position (will be applied to all axes). * - A string position ('44', '100px', '+=90', etc ) will be applied to all axes * - A jQuery/DOM element ( logically, child of the element to scroll ) * - A string selector, that will be relative to the element to scroll ( 'li:eq(2)', etc ) * - A hash { top:x, left:y }, x and y can be any kind of number/string like above. * - A percentage of the container's dimension/s, for example: 50% to go to the middle. * - The string 'max' for go-to-end. * @param {Number} duration The OVERALL length of the animation, this argument can be the settings object instead. * @param {Object,Function} settings Optional set of settings or the onAfter callback. * @option {String} axis Which axis must be scrolled, use 'x', 'y', 'xy' or 'yx'. * @option {Number} duration The OVERALL length of the animation. * @option {String} easing The easing method for the animation. * @option {Boolean} margin If true, the margin of the target element will be deducted from the final position. * @option {Object, Number} offset Add/deduct from the end position. One number for both axes or { top:x, left:y }. * @option {Object, Number} over Add/deduct the height/width multiplied by 'over', can be { top:x, left:y } when using both axes. * @option {Boolean} queue If true, and both axis are given, the 2nd axis will only be animated after the first one ends. * @option {Function} onAfter Function to be called after the scrolling ends. * @option {Function} onAfterFirst If queuing is activated, this function will be called after the first scrolling ends. * @return {jQuery} Returns the same jQuery object, for chaining. * * @desc Scroll to a fixed position * @example $('div').scrollTo( 340 ); * * @desc Scroll relatively to the actual position * @example $('div').scrollTo( '+=340px', { axis:'y' } ); * * @dec Scroll using a selector (relative to the scrolled element) * @example $('div').scrollTo( 'p.paragraph:eq(2)', 500, { easing:'swing', queue:true, axis:'xy' } ); * * @ Scroll to a DOM element (same for jQuery object) * @example var second_child = document.getElementById('container').firstChild.nextSibling; * $('#container').scrollTo( second_child, { duration:500, axis:'x', onAfter:function(){ * alert('scrolled!!'); * }}); * * @desc Scroll on both axes, to different values * @example $('div').scrollTo( { top: 300, left:'+=200' }, { axis:'xy', offset:-20 } ); */ ;(function( $ ){ var $scrollTo = $.scrollTo = function( target, duration, settings ){ $(window).scrollTo( target, duration, settings ); }; $scrollTo.defaults = { axis:'xy', duration: parseFloat($.fn.jquery) >= 1.3 ? 0 : 1 }; // Returns the element that needs to be animated to scroll the window. // Kept for backwards compatibility (specially for localScroll & serialScroll) $scrollTo.window = function( scope ){ return $(window)._scrollable(); }; // Hack, hack, hack :) // Returns the real elements to scroll (supports window/iframes, documents and regular nodes) $.fn._scrollable = function(){ return this.map(function(){ var elem = this, isWin = !elem.nodeName || $.inArray( elem.nodeName.toLowerCase(), ['iframe','#document','html','body'] ) != -1; if( !isWin ) return elem; var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem; return $.browser.safari || doc.compatMode == 'BackCompat' ? doc.body : doc.documentElement; }); }; $.fn.scrollTo = function( target, duration, settings ){ if( typeof duration == 'object' ){ settings = duration; duration = 0; } if( typeof settings == 'function' ) settings = { onAfter:settings }; if( target == 'max' ) target = 9e9; settings = $.extend( {}, $scrollTo.defaults, settings ); // Speed is still recognized for backwards compatibility duration = duration || settings.speed || settings.duration; // Make sure the settings are given right settings.queue = settings.queue && settings.axis.length > 1; if( settings.queue ) // Let's keep the overall duration duration /= 2; settings.offset = both( settings.offset ); settings.over = both( settings.over ); return this._scrollable().each(function(){ var elem = this, $elem = $(elem), targ = target, toff, attr = {}, win = $elem.is('html,body'); switch( typeof targ ){ // A number will pass the regex case 'number': case 'string': if( /^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ) ){ targ = both( targ ); // We are done break; } // Relative selector, no break! targ = $(targ,this); case 'object': // DOMElement / jQuery if( targ.is || targ.style ) // Get the real position of the target toff = (targ = $(targ)).offset(); } $.each( settings.axis.split(''), function( i, axis ){ var Pos = axis == 'x' ? 'Left' : 'Top', pos = Pos.toLowerCase(), key = 'scroll' + Pos, old = elem[key], max = $scrollTo.max(elem, axis); if( toff ){// jQuery / DOMElement attr[key] = toff[pos] + ( win ? 0 : old - $elem.offset()[pos] ); // If it's a dom element, reduce the margin if( settings.margin ){ attr[key] -= parseInt(targ.css('margin'+Pos)) || 0; attr[key] -= parseInt(targ.css('border'+Pos+'Width')) || 0; } attr[key] += settings.offset[pos] || 0; if( settings.over[pos] ) // Scroll to a fraction of its width/height attr[key] += targ[axis=='x'?'width':'height']() * settings.over[pos]; }else{ var val = targ[pos]; // Handle percentage values attr[key] = val.slice && val.slice(-1) == '%' ? parseFloat(val) / 100 * max : val; } // Number or 'number' if( /^\d+$/.test(attr[key]) ) // Check the limits attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max ); // Queueing axes if( !i && settings.queue ){ // Don't waste time animating, if there's no need. if( old != attr[key] ) // Intermediate animation animate( settings.onAfterFirst ); // Don't animate this axis again in the next iteration. delete attr[key]; } }); animate( settings.onAfter ); function animate( callback ){ $elem.animate( attr, duration, settings.easing, callback && function(){ callback.call(this, target, settings); }); }; }).end(); }; // Max scrolling position, works on quirks mode // It only fails (not too badly) on IE, quirks mode. $scrollTo.max = function( elem, axis ){ var Dim = axis == 'x' ? 'Width' : 'Height', scroll = 'scroll'+Dim; if( !$(elem).is('html,body') ) return elem[scroll] - $(elem)[Dim.toLowerCase()](); var size = 'client' + Dim, html = elem.ownerDocument.documentElement, body = elem.ownerDocument.body; return Math.max( html[scroll], body[scroll] ) - Math.min( html[size] , body[size] ); }; function both( val ){ return typeof val == 'object' ? val : { top:val, left:val }; }; })( jQuery );
JavaScript
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
JavaScript
;(function($){ $.fn.skygqOneDblClick = function(options){ return this.each(function(){ var s = $.extend({}, $.fn.skygqOneDblClick.Default, options || {}); var self_obj = this; do_click = function(e){ clearTimeout(s.timer); s.timer = setTimeout(function(){s.oneclick.call(self_obj,e);}, 400); }, do_dblclick = function(e) { clearTimeout(s.timer); s.dblclick.call(self_obj,e); }; $(this).click(do_click).dblclick(do_dblclick); }); }; $.fn.skygqOneDblClick.Default = { timer: null, oneclick: $.noop, dblclick: $.noop }; })(jQuery);
JavaScript
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
JavaScript
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
JavaScript
/** * jQuery.timers - Timer abstractions for jQuery * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). * Date: 2009/10/16 * * @author Blair Mitchelmore * @version 1.2 * **/ jQuery.fn.extend({ everyTime: function(interval, label, fn, times) { return this.each(function() { jQuery.timer.add(this, interval, label, fn, times); }); }, oneTime: function(interval, label, fn) { return this.each(function() { jQuery.timer.add(this, interval, label, fn, 1); }); }, stopTime: function(label, fn) { return this.each(function() { jQuery.timer.remove(this, label, fn); }); } }); jQuery.extend({ timer: { global: [], guid: 1, dataKey: "jQuery.timer", regex: /^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/, powers: { // Yeah this is major overkill... 'ms': 1, 'cs': 10, 'ds': 100, 's': 1000, 'das': 10000, 'hs': 100000, 'ks': 1000000 }, timeParse: function(value) { if (value == undefined || value == null) return null; var result = this.regex.exec(jQuery.trim(value.toString())); if (result[2]) { var num = parseFloat(result[1]); var mult = this.powers[result[2]] || 1; return num * mult; } else { return value; } }, add: function(element, interval, label, fn, times) { var counter = 0; if (jQuery.isFunction(label)) { if (!times) times = fn; fn = label; label = interval; } interval = jQuery.timer.timeParse(interval); if (typeof interval != 'number' || isNaN(interval) || interval < 0) return; if (typeof times != 'number' || isNaN(times) || times < 0) times = 0; times = times || 0; var timers = jQuery.data(element, this.dataKey) || jQuery.data(element, this.dataKey, {}); if (!timers[label]) timers[label] = {}; fn.timerID = fn.timerID || this.guid++; var handler = function() { if ((++counter > times && times !== 0) || fn.call(element, counter) === false) jQuery.timer.remove(element, label, fn); }; handler.timerID = fn.timerID; if (!timers[label][fn.timerID]) timers[label][fn.timerID] = window.setInterval(handler,interval); this.global.push( element ); }, remove: function(element, label, fn) { var timers = jQuery.data(element, this.dataKey), ret; if ( timers ) { if (!label) { for ( label in timers ) this.remove(element, label, fn); } else if ( timers[label] ) { if ( fn ) { if ( fn.timerID ) { window.clearInterval(timers[label][fn.timerID]); delete timers[label][fn.timerID]; } } else { for ( var fn in timers[label] ) { window.clearInterval(timers[label][fn]); delete timers[label][fn]; } } for ( ret in timers[label] ) break; if ( !ret ) { ret = null; delete timers[label]; } } for ( ret in timers ) break; if ( !ret ) jQuery.removeData(element, this.dataKey); } } } }); jQuery(window).bind("unload", function() { jQuery.each(jQuery.timer.global, function(index, item) { jQuery.timer.remove(item); }); });
JavaScript
// jquery.observe_field.js (function( $ ){ jQuery.fn.observe_field = function(frequency, callback) { frequency = frequency * 1000; // translate to milliseconds return this.each(function(){ var $this = $(this); var prev = $this.val(); var check = function() { var val = $this.val(); if(prev != val){ prev = val; $this.map(callback); // invokes the callback on $this } }; var reset = function() { if(ti){ clearInterval(ti); ti = setInterval(check, frequency); } }; check(); var ti = setInterval(check, frequency); // invoke check periodically // reset counter after user interaction $this.bind('keyup click mousemove', reset); //mousemove is for selects }); }; })( jQuery );
JavaScript
/** * Hash * a jQuery plugin that implements the MooTools's Hash, a brand new native/object. * * Copyright (c) 2010-2011 Guillaume Coguiec <g.coguiec@gmail.com> * * https://github.com/gcoguiec/jquery-hash * Inspired by MooTools (mootools-core, mootools-more) under the same MIT license. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is furnished * to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ (function($, window) { if (window.Hash) { return; } var Hash = function(params) { params = ($.isFunction(params)) ? { initialize: params} : params; var Object = function() { var value = (this.initialize) ? this.initialize.apply(this, arguments) : this; return value; }; $.extend(Object, this); $.extend(Object.prototype, params); return Object; }; var Hash = new Hash({ name: 'Hash', length: 0, _internals: [ 'length', '$type' ], initialize: function(o) { if ('undefined' != typeof o) { this.merge(o); } this.$type = this.name.toLowerCase(); }, isHash: function(o) { if ('undefined' === typeof o) { return false; } return (this.name.toLowerCase() === o.$type); }, clone: function(o) { o = (undefined === o) ? this : o; if (!this.isHash(o)) { throw new Error('cannot clone a non-' + this.name + ' object.'); } var clone = new Hash(); for (var key in o) { if (this.has(key, o)) { clone[key] = o[key]; } } return clone; }, has: function(key, bind) { bind = (undefined === bind) ? this : bind; if (0 <= $.inArray(key, this._internals)) { return false; } return Object.prototype.hasOwnProperty.call(bind, key); }, each: function(fn, bind) { bind = (bind) ? bind : this; for (var key in this) { if (this.has(key)) { fn.call(bind, key, this[key], this); } } }, merge: function() { var argc = arguments.length, argv = Array.prototype.slice.call(arguments); if (0 === argc) { return this; } for (var offset in argv) { var o = (this.isHash(argv[offset])) ? argv[offset].clone() : argv[offset]; for (var key in o) { if (this.has(key, o)) { this[key] = o[key]; } } } this._updateLength(); return this; }, set: function(key, value) { if (!this[key] || this.has(key)) { this[key] = value; } this._updateLength(); return this; }, get: function(key) { return (this[key] && this.has(key)) ? this[key] : null; }, erase: function(key) { if (this.has(key)) { delete this[key]; } this._updateLength(); return this; }, empty: function() { this.each(function(key, value) { if (this.has(key)) { delete this[key]; } }, this); this.length = 0; return this; }, keyOf: function (value) { var keys = []; for (var key in this) { if (this.has(key) && value === this[key]) { keys.push(key); } } return (!keys.length) ? null : ((1 === keys.length) ? keys[0] : keys); }, keys: function() { var keys = []; for (var key in this) { if (this.has(key)) { keys.push(key); } } return keys; }, values: function() { var values = []; for (var key in this) { if (this.has(key)) { values.push(this[key]); } } return values; }, cherrypick: function(deep, deeper) { var argc = arguments.length, argv = Array.prototype.slice.call(arguments); deep = (undefined === deep) ? false : deep; deeper = (undefined === deeper) ? false: deeper; if (0 === argc) { return this.toObject(false); } var o = {}; for (var offset in argv) { var key = argv[offset]; if (this.has(key)) { o[key] = (deep && this.isHash(this[key])) ? this[key].toObject(deeper) : this[key]; } } return o; }, contains: function(value) { return (null != this.keyOf(value)); }, register: function(key, value) { if (undefined === this[key]) { this[key] = value; } this._updateLength(); return this; }, map: function(fn, bind, asObject) { var results = {}; bind = (undefined === bind) ? this : bind; asObject = (undefined === asObject) ? false : asObject; for (var key in this) { if (this.has(key)) { results[key] = fn.call(bind, key, this[key], this); } } return (asObject) ? results : new Hash(results); }, filter: function(fn, bind, asObject) { var results = {}; bind = (undefined === bind) ? this : bind; asObject = (undefined === asObject) ? false : asObject; for (var key in this) { var value = this[key]; if (this.has(key) && fn.call(bind, key, value, this)) { results[key] = value; } } return (asObject) ? results : new Hash(results); }, toObject: function(deep, deeper, fn) { var o = {}, self = this; deep = (undefined === deep) ? false : deep; deeper = (undefined === deeper) ? false: deeper; self = ('function' === typeof fn) ? this.map(fn, this) : self; for (var key in self) { if (self.has(key)) { o[key] = (deep && self.isHash(self[key])) ? self[key].toObject(deeper) : self[key]; } } return o; }, _updateLength: function() { var length = 0; for (var key in this) { length += ((this.has(key)) ? 1 : 0); } this.length = length; }, toString: function() { var results = this.toObject(true, true, function(key, value) { if ('object' === typeof value) { return value + ''; } return value; }); if ('undefined' === typeof window.JSON) { return results.toString(); } return (JSON.stringify) ? JSON.stringify(results) : results.toString(); }, toJSON: function() { return this.toString(); } }); $.extend(window, { Hash: Hash, $H: Hash }); $.extend($, { isHash: function(o) { return new Hash().isHash(o); } }); })(jQuery, this);
JavaScript
function notify_city_change() { chrome.extension.connect().postMessage({message: 'city_change'}); }
JavaScript
var weatherchina = { onLoad: function() { // initialization code this.initialized = true; this.strings = document.getElementById("weatherchina-strings"); }, onMenuItemCommand: function(e) { var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); promptService.alert(window, this.strings.getString("helloMessageTitle"), this.strings.getString("helloMessage")); }, onToolbarButtonCommand: function(e) { // just reuse the function above. you can change this, obviously! weatherchina.onMenuItemCommand(e); } }; window.addEventListener("load", weatherchina.onLoad, false);
JavaScript
weatherchina.onFirefoxLoad = function(event) { document.getElementById("contentAreaContextMenu") .addEventListener("popupshowing", function (e){ weatherchina.showFirefoxContextMenu(e); }, false); }; weatherchina.showFirefoxContextMenu = function(event) { // show or hide the menuitem based on what the context menu is on document.getElementById("context-weatherchina").hidden = gContextMenu.onImage; }; window.addEventListener("load", weatherchina.onFirefoxLoad, false);
JavaScript
pref("extensions.weatherchina.boolpref", false); pref("extensions.weatherchina.intpref", 0); pref("extensions.weatherchina.stringpref", "A string"); // https://developer.mozilla.org/en/Localizing_extension_descriptions pref("extensions.1.0.description", "chrome://weatherchina/locale/overlay.properties");
JavaScript
window.onload = function() { var copyP = document.createElement( 'p' ) ; copyP.className = 'copyright' ; copyP.innerHTML = '&copy; 2007-2011 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . All rights reserved.<br /><br />' ; document.body.appendChild( document.createElement( 'hr' ) ) ; document.body.appendChild( copyP ) ; window.top.SetActiveTopic( window.location.pathname ) ; }
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Dutch * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['nl'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, niet beschikbaar</span>', confirmCancel : 'Enkele opties zijn gewijzigd. Weet u zeker dat u dit dialoogvenster wilt sluiten?', ok : 'OK', cancel : 'Annuleren', confirmationTitle : 'Bevestigen', messageTitle : 'Informatie', inputTitle : 'Vraag', undo : 'Ongedaan maken', redo : 'Opnieuw uitvoeren', skip : 'Overslaan', skipAll : 'Alles overslaan', makeDecision : 'Welke actie moet uitgevoerd worden?', rememberDecision: 'Onthoud mijn keuze' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'nl', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'd-m-yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mappen', FolderLoading : 'Laden...', FolderNew : 'Vul de mapnaam in: ', FolderRename : 'Vul de nieuwe mapnaam in: ', FolderDelete : 'Weet je het zeker dat je de map "%1" wilt verwijderen?', FolderRenaming : ' (Aanpassen...)', FolderDeleting : ' (Verwijderen...)', // Files FileRename : 'Vul de nieuwe bestandsnaam in: ', FileRenameExt : 'Weet je zeker dat je de extensie wilt wijzigen? Het bestand kan onbruikbaar worden.', FileRenaming : 'Aanpassen...', FileDelete : 'Weet je zeker dat je het bestand "%1" wilt verwijderen?', FilesLoading : 'Laden...', FilesEmpty : 'De map is leeg.', FilesMoved : 'Bestand %1 is verplaatst naar %2:%3.', FilesCopied : 'Bestand %1 is gekopieerd naar %2:%3.', // Basket BasketFolder : 'Mandje', BasketClear : 'Mandje legen', BasketRemove : 'Verwijder uit het mandje', BasketOpenFolder : 'Bovenliggende map openen', BasketTruncateConfirm : 'Weet je zeker dat je alle bestand uit het mandje wilt verwijderen?', BasketRemoveConfirm : 'Weet je zeker dat je het bestand "%1" uit het mandje wilt verwijderen?', BasketEmpty : 'Geen bestanden in het mandje, sleep bestanden hierheen.', BasketCopyFilesHere : 'Bestanden kopiëren uit het mandje', BasketMoveFilesHere : 'Bestanden verplaatsen uit het mandje', BasketPasteErrorOther : 'Bestand %s foutmelding: %e', BasketPasteMoveSuccess : 'De volgende bestanden zijn verplaatst: %s', BasketPasteCopySuccess : 'De volgende bestanden zijn gekopieerd: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Uploaden', UploadTip : 'Nieuw bestand uploaden', Refresh : 'Vernieuwen', Settings : 'Instellingen', Help : 'Help', HelpTip : 'Help', // Context Menus Select : 'Selecteer', SelectThumbnail : 'Selecteer miniatuurafbeelding', View : 'Bekijken', Download : 'Downloaden', NewSubFolder : 'Nieuwe onderliggende map', Rename : 'Naam wijzigen', Delete : 'Verwijderen', CopyDragDrop : 'Bestand hierheen kopiëren', MoveDragDrop : 'Bestand hierheen verplaatsen', // Dialogs RenameDlgTitle : 'Naam wijzigen', NewNameDlgTitle : 'Nieuwe naam', FileExistsDlgTitle : 'Bestand bestaat al', SysErrorDlgTitle : 'Systeemfout', FileOverwrite : 'Overschrijven', FileAutorename : 'Automatisch hernoemen', // Generic OkBtn : 'OK', CancelBtn : 'Annuleren', CloseBtn : 'Sluiten', // Upload Panel UploadTitle : 'Nieuw bestand uploaden', UploadSelectLbl : 'Selecteer het bestand om te uploaden', UploadProgressLbl : '(Bezig met uploaden, even geduld a.u.b...)', UploadBtn : 'Upload geselecteerde bestand', UploadBtnCancel : 'Annuleren', UploadNoFileMsg : 'Kies een bestand van je computer.', UploadNoFolder : 'Selecteer a.u.b. een map voordat je gaat uploaden.', UploadNoPerms : 'Uploaden bestand niet toegestaan.', UploadUnknError : 'Fout bij het versturen van het bestand.', UploadExtIncorrect : 'Bestandsextensie is niet toegestaan in deze map.', // Flash Uploads UploadLabel : 'Te uploaden bestanden', UploadTotalFiles : 'Totaal aantal bestanden:', UploadTotalSize : 'Totale grootte:', UploadAddFiles : 'Bestanden toevoegen', UploadClearFiles : 'Bestanden wissen', UploadCancel : 'Upload annuleren', UploadRemove : 'Verwijderen', UploadRemoveTip : 'Verwijder !f', UploadUploaded : '!n% geüpload', UploadProcessing : 'Verwerken...', // Settings Panel SetTitle : 'Instellingen', SetView : 'Bekijken:', SetViewThumb : 'Miniatuurafbeelding', SetViewList : 'Lijst', SetDisplay : 'Weergave:', SetDisplayName : 'Bestandsnaam', SetDisplayDate : 'Datum', SetDisplaySize : 'Bestandsgrootte', SetSort : 'Sorteren op:', SetSortName : 'Op bestandsnaam', SetSortDate : 'Op datum', SetSortSize : 'Op grootte', // Status Bar FilesCountEmpty : '<Lege map>', FilesCountOne : '1 bestand', FilesCountMany : '%1 bestanden', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Het was niet mogelijk om deze actie uit te voeren. (Fout %1)', Errors : { 10 : 'Ongeldig commando.', 11 : 'Het bestandstype komt niet voor in de aanvraag.', 12 : 'Het gevraagde brontype is niet geldig.', 102 : 'Ongeldige bestands- of mapnaam.', 103 : 'Het verzoek kon niet worden voltooid vanwege autorisatie beperkingen.', 104 : 'Het verzoek kon niet worden voltooid door beperkingen in de rechten op het bestandssysteem.', 105 : 'Ongeldige bestandsextensie.', 109 : 'Ongeldige aanvraag.', 110 : 'Onbekende fout.', 115 : 'Er bestaat al een bestand of map met deze naam.', 116 : 'Map niet gevonden, vernieuw de mappenlijst of kies een andere map.', 117 : 'Bestand niet gevonden, vernieuw de mappenlijst of kies een andere map.', 118 : 'Bron- en doelmap zijn gelijk.', 201 : 'Er bestaat al een bestand met dezelfde naam. Het geüploade bestand is hernoemd naar: "%1".', 202 : 'Ongeldige bestand.', 203 : 'Ongeldige bestand. Het bestand is te groot.', 204 : 'De geüploade file is kapot.', 205 : 'Er is geen hoofdmap gevonden.', 206 : 'Het uploaden van het bestand is om veiligheidsredenen afgebroken. Er is HTML code in het bestand aangetroffen.', 207 : 'Het geüploade bestand is hernoemd naar: "%1".', 300 : 'Bestand(en) verplaatsen is mislukt.', 301 : 'Bestand(en) kopiëren is mislukt.', 500 : 'Het uploaden van een bestand is momenteel niet mogelijk. Contacteer de beheerder en controleer het CKFinder configuratiebestand.', 501 : 'De ondersteuning voor miniatuurafbeeldingen is uitgeschakeld.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'De bestandsnaam mag niet leeg zijn.', FileExists : 'Bestand %s bestaat al.', FolderEmpty : 'De mapnaam mag niet leeg zijn.', FileInvChar : 'De bestandsnaam mag de volgende tekens niet bevatten: \n\\ / : * ? " < > |', FolderInvChar : 'De mapnaam mag de volgende tekens niet bevatten: \n\\ / : * ? " < > |', PopupBlockView : 'Het was niet mogelijk om dit bestand in een nieuw venster te openen. Configureer de browser zodat het de popups van deze website niet blokkeert.', XmlError : 'Het is niet gelukt om de XML van de webserver te laden.', XmlEmpty : 'Het is niet gelukt om de XML van de webserver te laden. De server gaf een leeg resultaat terug.', XmlRawResponse : 'Origineel resultaat van de server: %s' }, // Imageresize plugin Imageresize : { dialogTitle : '%s herschalen', sizeTooBig : 'Het is niet mogelijk om een breedte of hoogte in te stellen die groter is dan de originele afmetingen (%size).', resizeSuccess : 'De afbeelding is met succes herschaald.', thumbnailNew : 'Miniatuurafbeelding maken', thumbnailSmall : 'Klein (%s)', thumbnailMedium : 'Medium (%s)', thumbnailLarge : 'Groot (%s)', newSize : 'Nieuwe afmetingen instellen', width : 'Breedte', height : 'Hoogte', invalidHeight : 'Ongeldige hoogte.', invalidWidth : 'Ongeldige breedte.', invalidName : 'Ongeldige bestandsnaam.', newImage : 'Nieuwe afbeelding maken', noExtensionChange : 'De bestandsextensie kan niet worden gewijzigd.', imageSmall : 'Bronafbeelding is te klein.', contextMenuName : 'Herschalen', lockRatio : 'Afmetingen vergrendelen', resetSize : 'Afmetingen resetten' }, // Fileeditor plugin Fileeditor : { save : 'Opslaan', fileOpenError : 'Kan het bestand niet openen.', fileSaveSuccess : 'Bestand is succesvol opgeslagen.', contextMenuName : 'Wijzigen', loadingFile : 'Bestand laden, even geduld a.u.b...' }, Maximize : { maximize : 'Maximaliseren', minimize : 'Minimaliseren' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Italian * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['it'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, non disponibile</span>', confirmCancel : 'Alcune delle opzioni sono state cambiate. Sei sicuro di voler chiudere la finestra di dialogo?', ok : 'OK', cancel : 'Annulla', confirmationTitle : 'Confermare', messageTitle : 'Informazione', inputTitle : 'Domanda', undo : 'Annulla', redo : 'Ripristina', skip : 'Ignora', skipAll : 'Ignora tutti', makeDecision : 'Che azione prendere?', rememberDecision: 'Ricorda mia decisione' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'it', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Cartelle', FolderLoading : 'Caricando...', FolderNew : 'Nome della cartella: ', FolderRename : 'Nuovo nome della cartella: ', FolderDelete : 'Se sicuro di voler eliminare la cartella "%1"?', FolderRenaming : ' (Rinominando...)', FolderDeleting : ' (Eliminando...)', // Files FileRename : 'Nuovo nome del file: ', FileRenameExt : 'Sei sicure di voler cambiare la estensione del file? Il file può risultare inusabile.', FileRenaming : 'Rinominando...', FileDelete : 'Sei sicuro di voler eliminare il file "%1"?', FilesLoading : 'Caricamento in corso...', FilesEmpty : 'Cartella vuota', FilesMoved : 'File %1 mosso a %2:%3.', FilesCopied : 'File %1 copiato in %2:%3.', // Basket BasketFolder : 'Cestino', BasketClear : 'Svuota Cestino', BasketRemove : 'Rimuove dal Cestino', BasketOpenFolder : 'Apre Cartella Superiore', BasketTruncateConfirm : 'Sei sicuro di voler svuotare il cestino?', BasketRemoveConfirm : 'Sei sicuro di voler rimuovere il file "%1" dal cestino?', BasketEmpty : 'Nessun file nel cestino, si deve prima trascinare qualcuno.', BasketCopyFilesHere : 'Copia i File dal Cestino', BasketMoveFilesHere : 'Muove i File dal Cestino', BasketPasteErrorOther : 'File %s errore: %e', BasketPasteMoveSuccess : 'File mossi: %s', BasketPasteCopySuccess : 'File copiati: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Upload', UploadTip : 'Carica Nuovo File', Refresh : 'Aggiorna', Settings : 'Configurazioni', Help : 'Aiuto', HelpTip : 'Aiuto (Inglese)', // Context Menus Select : 'Seleziona', SelectThumbnail : 'Seleziona la miniatura', View : 'Vedi', Download : 'Scarica', NewSubFolder : 'Nuova Sottocartella', Rename : 'Rinomina', Delete : 'Elimina', CopyDragDrop : 'Copia file qui', MoveDragDrop : 'Muove file qui', // Dialogs RenameDlgTitle : 'Rinomina', NewNameDlgTitle : 'Nuovo nome', FileExistsDlgTitle : 'Il file già esiste', SysErrorDlgTitle : 'Errore di Sistema', FileOverwrite : 'Sovrascrivere', FileAutorename : 'Rinomina automaticamente', // Generic OkBtn : 'OK', CancelBtn : 'Anulla', CloseBtn : 'Chiudi', // Upload Panel UploadTitle : 'Carica Nuovo File', UploadSelectLbl : 'Seleziona il file', UploadProgressLbl : '(Caricamento in corso, attendere prego...)', UploadBtn : 'Carica File', UploadBtnCancel : 'Annulla', UploadNoFileMsg : 'Seleziona il file da caricare', UploadNoFolder : 'Seleziona il file prima di caricare.', UploadNoPerms : 'Non è permesso il caricamento di file.', UploadUnknError : 'Errore nel caricamento del file.', UploadExtIncorrect : 'In questa cartella non sono permessi file con questa estensione.', // Flash Uploads UploadLabel : 'File da Caricare', UploadTotalFiles : 'File:', UploadTotalSize : 'Dimensione:', UploadAddFiles : 'Aggiungi File', UploadClearFiles : 'Elimina File', UploadCancel : 'Annulla il Caricamento', UploadRemove : 'Rimuovi', UploadRemoveTip : 'Rimuove !f', UploadUploaded : '!n% caricato', UploadProcessing : 'Attendere...', // Settings Panel SetTitle : 'Configurazioni', SetView : 'Vedi:', SetViewThumb : 'Anteprima', SetViewList : 'Lista', SetDisplay : 'Informazioni:', SetDisplayName : 'Nome del File', SetDisplayDate : 'Data', SetDisplaySize : 'Dimensione', SetSort : 'Ordina:', SetSortName : 'per Nome', SetSortDate : 'per Data', SetSortSize : 'per Dimensione', // Status Bar FilesCountEmpty : '<Nessun file>', FilesCountOne : '1 file', FilesCountMany : '%1 file', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Impossibile completare la richiesta. (Errore %1)', Errors : { 10 : 'Commando non valido.', 11 : 'Il tipo di risorsa non è stato specificato nella richiesta.', 12 : 'Il tipo di risorsa richiesto non è valido.', 102 : 'Nome di file o cartella non valido.', 103 : 'Non è stato possibile completare la richiesta a causa di restrizioni di autorizazione.', 104 : 'Non è stato possibile completare la richiesta a causa di restrizioni nei permessi del file system.', 105 : 'L\'estensione del file non è valida.', 109 : 'Richiesta invalida.', 110 : 'Errore sconosciuto.', 115 : 'Un file o cartella con lo stesso nome è già esistente.', 116 : 'Cartella non trovata. Prego aggiornare e riprovare.', 117 : 'File non trovato. Prego aggirnare la lista dei file e riprovare.', 118 : 'Il percorso di origine e di destino sono uguali.', 201 : 'Un file con lo stesso nome è già disponibile. Il file caricato è stato rinominato in "%1".', 202 : 'File invalido.', 203 : 'File invalido. La dimensione del file eccede i limiti del sistema.', 204 : 'Il file caricato è corrotto.', 205 : 'Il folder temporario non è disponibile new server.', 206 : 'Upload annullato per motivi di sicurezza. Il file contiene dati in formatto HTML.', 207 : 'Il file caricato è stato rinominato a "%1".', 300 : 'Non è stato possibile muovere i file.', 301 : 'Non è stato possibile copiare i file.', 500 : 'Questo programma è disabilitato per motivi di sicurezza. Prego contattare l\'amministratore del sistema e verificare le configurazioni di CKFinder.', 501 : 'Il supporto alle anteprime non è attivo.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Il nome del file non può essere vuoto.', FileExists : 'File %s già esiste.', FolderEmpty : 'Il nome della cartella non può essere vuoto.', FileInvChar : 'I seguenti caratteri non possono essere usati per comporre il nome del file: \n\\ / : * ? " < > |', FolderInvChar : 'I seguenti caratteri non possono essere usati per comporre il nome della cartella: \n\\ / : * ? " < > |', PopupBlockView : 'Non è stato possile aprire il file in una nuova finestra. Prego configurare il browser e disabilitare i blocchi delle popup.', XmlError : 'Non è stato possibile caricare la risposta XML dal server.', XmlEmpty : 'Non è stato possibile caricare la risposta XML dal server. La risposta è vuota.', XmlRawResponse : 'Risposta originale inviata dal server: %s' }, // Imageresize plugin Imageresize : { dialogTitle : 'Ridimensiona %s', sizeTooBig : 'Non si può usare valori di altezza e larghezza che siano maggiore che le dimensioni originali (%size).', resizeSuccess : 'Immagine ridimensionata.', thumbnailNew : 'Crea una nuova thumbnail', thumbnailSmall : 'Piccolo (%s)', thumbnailMedium : 'Medio (%s)', thumbnailLarge : 'Grande (%s)', newSize : 'Nuove dimensioni', width : 'Larghezza', height : 'Altezza', invalidHeight : 'Altezza non valida.', invalidWidth : 'Larghezza non valida.', invalidName : 'Nome del file non valido.', newImage : 'Crea nuova immagine', noExtensionChange : 'L\'estensione del file non può essere cambiata.', imageSmall : 'L\'immagine originale è molto piccola.', contextMenuName : 'Ridimensiona', lockRatio : 'Blocca rapporto', resetSize : 'Reimposta dimensione' }, // Fileeditor plugin Fileeditor : { save : 'Salva', fileOpenError : 'Non è stato possibile aprire il file.', fileSaveSuccess : 'File salvato.', contextMenuName : 'Modifica', loadingFile : 'Attendere prego. Caricamento del file in corso...' }, Maximize : { maximize : 'Massimizza', minimize : 'Minimizza' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the German * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['de'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, nicht verfügbar</span>', confirmCancel : 'Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schließen?', ok : 'OK', cancel : 'Abbrechen', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Frage', undo : 'Rückgängig', redo : 'Wiederherstellen', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'de', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'd.m.yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Verzeichnisse', FolderLoading : 'Laden...', FolderNew : 'Bitte geben Sie den neuen Verzeichnisnamen an: ', FolderRename : 'Bitte geben Sie den neuen Verzeichnisnamen an: ', FolderDelete : 'Wollen Sie wirklich den Ordner "%1" löschen?', FolderRenaming : ' (Umbenennen...)', FolderDeleting : ' (Löschen...)', // Files FileRename : 'Bitte geben Sie den neuen Dateinamen an: ', FileRenameExt : 'Wollen Sie wirklich die Dateierweiterung ändern? Die Datei könnte unbrauchbar werden!', FileRenaming : 'Umbennenen...', FileDelete : 'Wollen Sie wirklich die Datei "%1" löschen?', FilesLoading : 'Laden...', FilesEmpty : 'The folder is empty.', // MISSING FilesMoved : 'File %1 moved to %2:%3.', // MISSING FilesCopied : 'File %1 copied to %2:%3.', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from Basket', // MISSING BasketOpenFolder : 'Open Parent Folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag and drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Hochladen', UploadTip : 'Neue Datei hochladen', Refresh : 'Aktualisieren', Settings : 'Einstellungen', Help : 'Hilfe', HelpTip : 'Hilfe', // Context Menus Select : 'Auswählen', SelectThumbnail : 'Miniatur auswählen', View : 'Ansehen', Download : 'Herunterladen', NewSubFolder : 'Neues Unterverzeichnis', Rename : 'Umbenennen', Delete : 'Löschen', CopyDragDrop : 'Copy File Here', // MISSING MoveDragDrop : 'Move File Here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New Name', // MISSING FileExistsDlgTitle : 'File Already Exists', // MISSING SysErrorDlgTitle : 'Systemfehler', FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Abbrechen', CloseBtn : 'Schließen', // Upload Panel UploadTitle : 'Neue Datei hochladen', UploadSelectLbl : 'Bitte wählen Sie die Datei aus', UploadProgressLbl : '(Die Daten werden übertragen, bitte warten...)', UploadBtn : 'Ausgewählte Datei hochladen', UploadBtnCancel : 'Abbrechen', UploadNoFileMsg : 'Bitte wählen Sie eine Datei auf Ihrem Computer aus.', UploadNoFolder : 'Please select a folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Entfernen', UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Einstellungen', SetView : 'Ansicht:', SetViewThumb : 'Miniaturansicht', SetViewList : 'Liste', SetDisplay : 'Anzeige:', SetDisplayName : 'Dateiname', SetDisplayDate : 'Datum', SetDisplaySize : 'Dateigröße', SetSort : 'Sortierung:', SetSortName : 'nach Dateinamen', SetSortDate : 'nach Datum', SetSortSize : 'nach Größe', // Status Bar FilesCountEmpty : '<Leeres Verzeichnis>', FilesCountOne : '1 Datei', FilesCountMany : '%1 Datei', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Ihre Anfrage konnte nicht bearbeitet werden. (Fehler %1)', Errors : { 10 : 'Unbekannter Befehl.', 11 : 'Der Ressourcentyp wurde nicht spezifiziert.', 12 : 'Der Ressourcentyp ist nicht gültig.', 102 : 'Ungültiger Datei oder Verzeichnisname.', 103 : 'Ihre Anfrage konnte wegen Authorisierungseinschränkungen nicht durchgeführt werden.', 104 : 'Ihre Anfrage konnte wegen Dateisystemeinschränkungen nicht durchgeführt werden.', 105 : 'Invalid file extension.', 109 : 'Unbekannte Anfrage.', 110 : 'Unbekannter Fehler.', 115 : 'Es existiert bereits eine Datei oder ein Ordner mit dem gleichen Namen.', 116 : 'Verzeichnis nicht gefunden. Bitte aktualisieren Sie die Anzeige und versuchen es noch einmal.', 117 : 'Datei nicht gefunden. Bitte aktualisieren Sie die Dateiliste und versuchen es noch einmal.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Es existiert bereits eine Datei unter gleichem Namen. Die hochgeladene Datei wurde unter "%1" gespeichert.', 202 : 'Ungültige Datei.', 203 : 'ungültige Datei. Die Dateigröße ist zu groß.', 204 : 'Die hochgeladene Datei ist korrupt.', 205 : 'Es existiert kein temp. Ordner für das Hochladen auf den Server.', 206 : 'Das Hochladen wurde aus Sicherheitsgründen abgebrochen. Die Datei enthält HTML-Daten.', 207 : 'Die hochgeladene Datei wurde unter "%1" gespeichert.', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Der Dateibrowser wurde aus Sicherheitsgründen deaktiviert. Bitte benachrichtigen Sie Ihren Systemadministrator und prüfen Sie die Konfigurationsdatei.', 501 : 'Die Miniaturansicht wurde deaktivert.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Der Dateinamen darf nicht leer sein.', FileExists : 'File %s already exists.', // MISSING FolderEmpty : 'Der Verzeichnisname darf nicht leer sein.', FileInvChar : 'Der Dateinamen darf nicht eines der folgenden Zeichen enthalten: \n\\ / : * ? " < > |', FolderInvChar : 'Der Verzeichnisname darf nicht eines der folgenden Zeichen enthalten: \n\\ / : * ? " < > |', PopupBlockView : 'Die Datei konnte nicht in einem neuen Fenster geöffnet werden. Bitte deaktivieren Sie in Ihrem Browser alle Popup-Blocker für diese Seite.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create a new thumbnail', // MISSING thumbnailSmall : 'Klein (%s)', thumbnailMedium : 'Mittel (%s)', thumbnailLarge : 'Groß (%s)', newSize : 'Set a new size', // MISSING width : 'Breite', height : 'Höhe', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create a new image', // MISSING noExtensionChange : 'File extension cannot be changed.', // MISSING imageSmall : 'Source image is too small.', // MISSING contextMenuName : 'Resize', // MISSING lockRatio : 'Größenverhältnis beibehalten', resetSize : 'Größe zurücksetzen' }, // Fileeditor plugin Fileeditor : { save : 'Speichern', fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING }, Maximize : { maximize : 'Maximieren', minimize : 'Minimieren' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Polish * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['pl'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, wyłączone</span>', confirmCancel : 'Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?', ok : 'OK', cancel : 'Anuluj', confirmationTitle : 'Potwierdzenie', messageTitle : 'Informacja', inputTitle : 'Pytanie', undo : 'Cofnij', redo : 'Ponów', skip : 'Pomiń', skipAll : 'Pomiń wszystkie', makeDecision : 'Wybierz jedną z opcji:', rememberDecision: 'Zapamiętaj mój wybór' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'pl', LangCode : 'pl', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy-mm-dd HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Foldery', FolderLoading : 'Ładowanie...', FolderNew : 'Podaj nazwę nowego folderu: ', FolderRename : 'Podaj nową nazwę folderu: ', FolderDelete : 'Czy na pewno chcesz usunąć folder "%1"?', FolderRenaming : ' (Zmieniam nazwę...)', FolderDeleting : ' (Kasowanie...)', // Files FileRename : 'Podaj nową nazwę pliku: ', FileRenameExt : 'Czy na pewno chcesz zmienić rozszerzenie pliku? Może to spowodować problemy z otwieraniem pliku przez innych użytkowników.', FileRenaming : 'Zmieniam nazwę...', FileDelete : 'Czy na pewno chcesz usunąć plik "%1"?', FilesLoading : 'Ładowanie...', FilesEmpty : 'Folder jest pusty', FilesMoved : 'Plik %1 został przeniesiony do %2:%3.', FilesCopied : 'Plik %1 został skopiowany do %2:%3.', // Basket BasketFolder : 'Koszyk', BasketClear : 'Wyczyść koszyk', BasketRemove : 'Usuń z koszyka', BasketOpenFolder : 'Otwórz folder z plikiem', BasketTruncateConfirm : 'Czy naprawdę chcesz usunąć wszystkie pliki z koszyka?', BasketRemoveConfirm : 'Czy naprawdę chcesz usunąć plik "%1" z koszyka?', BasketEmpty : 'Brak plików w koszyku. Aby dodać plik, przeciągnij i upuść (drag\'n\'drop) dowolny plik do koszyka.', BasketCopyFilesHere : 'Skopiuj pliki z koszyka', BasketMoveFilesHere : 'Przenieś pliki z koszyka', BasketPasteErrorOther : 'Plik: %s błąd: %e', BasketPasteMoveSuccess : 'Następujące pliki zostały przeniesione: %s', BasketPasteCopySuccess : 'Następujące pliki zostały skopiowane: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Wyślij', UploadTip : 'Wyślij plik', Refresh : 'Odśwież', Settings : 'Ustawienia', Help : 'Pomoc', HelpTip : 'Wskazówka', // Context Menus Select : 'Wybierz', SelectThumbnail : 'Wybierz miniaturkę', View : 'Zobacz', Download : 'Pobierz', NewSubFolder : 'Nowy podfolder', Rename : 'Zmień nazwę', Delete : 'Usuń', CopyDragDrop : 'Skopiuj plik tutaj', MoveDragDrop : 'Przenieś plik tutaj', // Dialogs RenameDlgTitle : 'Zmiana nazwy', NewNameDlgTitle : 'Nowa nazwa', FileExistsDlgTitle : 'Plik już istnieje', SysErrorDlgTitle : 'Błąd systemu', FileOverwrite : 'Nadpisz', FileAutorename : 'Zmień automatycznie nazwę', // Generic OkBtn : 'OK', CancelBtn : 'Anuluj', CloseBtn : 'Zamknij', // Upload Panel UploadTitle : 'Wyślij plik', UploadSelectLbl : 'Wybierz plik', UploadProgressLbl : '(Trwa wysyłanie pliku, proszę czekać...)', UploadBtn : 'Wyślij wybrany plik', UploadBtnCancel : 'Anuluj', UploadNoFileMsg : 'Wybierz plik ze swojego komputera.', UploadNoFolder : 'Wybierz folder przed wysłaniem pliku.', UploadNoPerms : 'Wysyłanie plików nie jest dozwolone.', UploadUnknError : 'Błąd podczas wysyłania pliku.', UploadExtIncorrect : 'Rozszerzenie pliku nie jest dozwolone w tym folderze.', // Flash Uploads UploadLabel : 'Pliki do wysłania', UploadTotalFiles : 'Ilość razem:', UploadTotalSize : 'Rozmiar razem:', UploadAddFiles : 'Dodaj pliki', UploadClearFiles : 'Wyczyść wszystko', UploadCancel : 'Anuluj wysyłanie', UploadRemove : 'Usuń', UploadRemoveTip : 'Usuń !f', UploadUploaded : 'Wysłano: !n', UploadProcessing : 'Przetwarzanie...', // Settings Panel SetTitle : 'Ustawienia', SetView : 'Widok:', SetViewThumb : 'Miniaturki', SetViewList : 'Lista', SetDisplay : 'Wyświetlanie:', SetDisplayName : 'Nazwa pliku', SetDisplayDate : 'Data', SetDisplaySize : 'Rozmiar pliku', SetSort : 'Sortowanie:', SetSortName : 'wg nazwy pliku', SetSortDate : 'wg daty', SetSortSize : 'wg rozmiaru', // Status Bar FilesCountEmpty : '<Pusty folder>', FilesCountOne : '1 plik', FilesCountMany : 'Ilość plików: %1', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Wykonanie operacji zakończyło się niepowodzeniem. (Błąd %1)', Errors : { 10 : 'Nieprawidłowe polecenie (command).', 11 : 'Brak wymaganego parametru: typ danych (resource type).', 12 : 'Nieprawidłowy typ danych (resource type).', 102 : 'Nieprawidłowa nazwa pliku lub folderu.', 103 : 'Wykonanie operacji nie jest możliwe: brak uprawnień.', 104 : 'Wykonanie operacji nie powiodło się z powodu niewystarczających uprawnień do systemu plików.', 105 : 'Nieprawidłowe rozszerzenie.', 109 : 'Nieprawiłowe żądanie.', 110 : 'Niezidentyfikowany błąd.', 115 : 'Plik lub folder o podanej nazwie już istnieje.', 116 : 'Nie znaleziono folderu. Odśwież panel i spróbuj ponownie.', 117 : 'Nie znaleziono pliku. Odśwież listę plików i spróbuj ponownie.', 118 : 'Ścieżki źródłowa i docelowa są jednakowe.', 201 : 'Plik o podanej nazwie już istnieje. Nazwa przesłanego pliku została zmieniona na "%1".', 202 : 'Nieprawidłowy plik.', 203 : 'Nieprawidłowy plik. Plik przekracza dozwolony rozmiar.', 204 : 'Przesłany plik jest uszkodzony.', 205 : 'Brak folderu tymczasowego na serwerze do przesyłania plików.', 206 : 'Przesyłanie pliku zakończyło się niepowodzeniem z powodów bezpieczeństwa. Plik zawiera dane przypominające HTML.', 207 : 'Nazwa przesłanego pliku została zmieniona na "%1".', 300 : 'Przenoszenie nie powiodło się.', 301 : 'Kopiowanie nie powiodo się.', 500 : 'Menedżer plików jest wyłączony z powodów bezpieczeństwa. Skontaktuj się z administratorem oraz sprawdź plik konfiguracyjny CKFindera.', 501 : 'Tworzenie miniaturek jest wyłączone.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Nazwa pliku nie może być pusta.', FileExists : 'Plik %s już istnieje.', FolderEmpty : 'Nazwa folderu nie może być pusta.', FileInvChar : 'Nazwa pliku nie może zawierać żadnego z podanych znaków: \n\\ / : * ? " < > |', FolderInvChar : 'Nazwa folderu nie może zawierać żadnego z podanych znaków: \n\\ / : * ? " < > |', PopupBlockView : 'Otwarcie pliku w nowym oknie nie powiodło się. Należy zmienić konfigurację przeglądarki i wyłączyć wszelkie blokady okienek popup dla tej strony.', XmlError : 'Nie można poprawnie załadować odpowiedzi XML z serwera WWW.', XmlEmpty : 'Nie można załadować odpowiedzi XML z serwera WWW. Serwer zwrócił pustą odpowiedź.', XmlRawResponse : 'Odpowiedź serwera: %s' }, // Imageresize plugin Imageresize : { dialogTitle : 'Zmiana rozmiaru %s', sizeTooBig : 'Nie możesz zmienić wysokości lub szerokości na wartość większą od oryginalnego rozmiaru (%size).', resizeSuccess : 'Obrazek został pomyślnie przeskalowany.', thumbnailNew : 'Utwórz nową miniaturkę', thumbnailSmall : 'Mała (%s)', thumbnailMedium : 'Średnia (%s)', thumbnailLarge : 'Duża (%s)', newSize : 'Podaj nowe wymiary', width : 'Szerokość', height : 'Wysokość', invalidHeight : 'Nieprawidłowa wysokość.', invalidWidth : 'Nieprawidłowa szerokość.', invalidName : 'Nieprawidłowa nazwa pliku.', newImage : 'Utwórz nowy obrazek', noExtensionChange : 'Rozszerzenie pliku nie może zostac zmienione.', imageSmall : 'Plik źródłowy jest zbyt mały.', contextMenuName : 'Zmień rozmiar', lockRatio : 'Zablokuj proporcje', resetSize : 'Przywróć rozmiar' }, // Fileeditor plugin Fileeditor : { save : 'Zapisz', fileOpenError : 'Nie udało się otworzyć pliku.', fileSaveSuccess : 'Plik został zapisany pomyślnie.', contextMenuName : 'Edytuj', loadingFile : 'Trwa ładowanie pliku, proszę czekać...' }, Maximize : { maximize : 'Maksymalizuj', minimize : 'Minimalizuj' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Hungarian * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['hu'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, nem elérhető</span>', confirmCancel : 'Az űrlap tartalma megváltozott, ám a változásokat nem rögzítette. Biztosan be szeretné zárni az űrlapot?', ok : 'Rendben', cancel : 'Mégsem', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Visszavonás', redo : 'Ismétlés', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'hu', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy. m. d. HH:MM', DateAmPm : ['de.', 'du.'], // Folders FoldersTitle : 'Mappák', FolderLoading : 'Betöltés...', FolderNew : 'Kérjük adja meg a mappa nevét: ', FolderRename : 'Kérjük adja meg a mappa új nevét: ', FolderDelete : 'Biztosan törölni szeretné a következő mappát: "%1"?', FolderRenaming : ' (átnevezés...)', FolderDeleting : ' (törlés...)', // Files FileRename : 'Kérjük adja meg a fájl új nevét: ', FileRenameExt : 'Biztosan szeretné módosítani a fájl kiterjesztését? A fájl esetleg használhatatlan lesz.', FileRenaming : 'Átnevezés...', FileDelete : 'Biztosan törölni szeretné a következő fájlt: "%1"?', FilesLoading : 'Betöltés...', FilesEmpty : 'The folder is empty.', // MISSING FilesMoved : 'File %1 moved to %2:%3.', // MISSING FilesCopied : 'File %1 copied to %2:%3.', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from Basket', // MISSING BasketOpenFolder : 'Open Parent Folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag and drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Feltöltés', UploadTip : 'Új fájl feltöltése', Refresh : 'Frissítés', Settings : 'Beállítások', Help : 'Súgó', HelpTip : 'Súgó (angolul)', // Context Menus Select : 'Kiválaszt', SelectThumbnail : 'Bélyegkép kiválasztása', View : 'Megtekintés', Download : 'Letöltés', NewSubFolder : 'Új almappa', Rename : 'Átnevezés', Delete : 'Törlés', CopyDragDrop : 'Copy File Here', // MISSING MoveDragDrop : 'Move File Here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New Name', // MISSING FileExistsDlgTitle : 'File Already Exists', // MISSING SysErrorDlgTitle : 'System Error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Mégsem', CloseBtn : 'Bezárás', // Upload Panel UploadTitle : 'Új fájl feltöltése', UploadSelectLbl : 'Válassza ki a feltölteni kívánt fájlt', UploadProgressLbl : '(A feltöltés folyamatban, kérjük várjon...)', UploadBtn : 'A kiválasztott fájl feltöltése', UploadBtnCancel : 'Mégsem', UploadNoFileMsg : 'Kérjük válassza ki a fájlt a számítógépéről.', UploadNoFolder : 'Please select a folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Beállítások', SetView : 'Nézet:', SetViewThumb : 'bélyegképes', SetViewList : 'listás', SetDisplay : 'Megjelenik:', SetDisplayName : 'fájl neve', SetDisplayDate : 'dátum', SetDisplaySize : 'fájlméret', SetSort : 'Rendezés:', SetSortName : 'fájlnév', SetSortDate : 'dátum', SetSortSize : 'méret', // Status Bar FilesCountEmpty : '<üres mappa>', FilesCountOne : '1 fájl', FilesCountMany : '%1 fájl', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'A parancsot nem sikerült végrehajtani. (Hiba: %1)', Errors : { 10 : 'Érvénytelen parancs.', 11 : 'A fájl típusa nem lett a kérés során beállítva.', 12 : 'A kívánt fájl típus érvénytelen.', 102 : 'Érvénytelen fájl vagy könyvtárnév.', 103 : 'Hitelesítési problémák miatt nem sikerült a kérést teljesíteni.', 104 : 'Jogosultsági problémák miatt nem sikerült a kérést teljesíteni.', 105 : 'Érvénytelen fájl kiterjesztés.', 109 : 'Érvénytelen kérés.', 110 : 'Ismeretlen hiba.', 115 : 'A fálj vagy mappa már létezik ezen a néven.', 116 : 'Mappa nem található. Kérjük frissítsen és próbálja újra.', 117 : 'Fájl nem található. Kérjük frissítsen és próbálja újra.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Ilyen nevű fájl már létezett. A feltöltött fájl a következőre lett átnevezve: "%1".', 202 : 'Érvénytelen fájl.', 203 : 'Érvénytelen fájl. A fájl mérete túl nagy.', 204 : 'A feltöltött fájl hibás.', 205 : 'A szerveren nem található a feltöltéshez ideiglenes mappa.', 206 : 'Upload cancelled due to security reasons. The file contains HTML-like data.', // MISSING 207 : 'El fichero subido ha sido renombrado como "%1".', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'A fájl-tallózó biztonsági okok miatt nincs engedélyezve. Kérjük vegye fel a kapcsolatot a rendszer üzemeltetőjével és ellenőrizze a CKFinder konfigurációs fájlt.', 501 : 'A bélyegkép támogatás nincs engedélyezve.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'A fájl neve nem lehet üres.', FileExists : 'File %s already exists.', // MISSING FolderEmpty : 'A mappa neve nem lehet üres.', FileInvChar : 'A fájl neve nem tartalmazhatja a következő karaktereket: \n\\ / : * ? " < > |', FolderInvChar : 'A mappa neve nem tartalmazhatja a következő karaktereket: \n\\ / : * ? " < > |', PopupBlockView : 'A felugró ablak megnyitása nem sikerült. Kérjük ellenőrizze a böngészője beállításait és tiltsa le a felugró ablakokat blokkoló alkalmazásait erre a honlapra.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create a new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set a new size', // MISSING width : 'Szélesség', height : 'Magasság', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create a new image', // MISSING noExtensionChange : 'File extension cannot be changed.', // MISSING imageSmall : 'Source image is too small.', // MISSING contextMenuName : 'Resize', // MISSING lockRatio : 'Arány megtartása', resetSize : 'Eredeti méret' }, // Fileeditor plugin Fileeditor : { save : 'Mentés', fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING }, Maximize : { maximize : 'Teljes méret', minimize : 'Kis méret' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Russian * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['ru'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, недоступно</span>', confirmCancel : 'Внесенные вами изменения будут утеряны. Вы уверены?', ok : 'OK', cancel : 'Отмена', confirmationTitle : 'Подтверждение', messageTitle : 'Информация', inputTitle : 'Вопрос', undo : 'Отменить', redo : 'Повторить', skip : 'Пропустить', skipAll : 'Пропустить все', makeDecision : 'Что следует сделать?', rememberDecision: 'Запомнить мой выбор' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'ru', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd.mm.yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Папки', FolderLoading : 'Загрузка...', FolderNew : 'Пожалуйста, введите новое имя папки: ', FolderRename : 'Пожалуйста, введите новое имя папки: ', FolderDelete : 'Вы уверены, что хотите удалить папку "%1"?', FolderRenaming : ' (Переименовываю...)', FolderDeleting : ' (Удаляю...)', // Files FileRename : 'Пожалуйста, введите новое имя файла: ', FileRenameExt : 'Вы уверены, что хотите изменить расширение файла? Файл может стать недоступным.', FileRenaming : 'Переименовываю...', FileDelete : 'Вы уверены, что хотите удалить файл "%1"?', FilesLoading : 'Загрузка...', FilesEmpty : 'Пустая папка', FilesMoved : 'Файл %1 перемещен в %2:%3.', FilesCopied : 'Файл %1 скопирован в %2:%3.', // Basket BasketFolder : 'Корзина', BasketClear : 'Очистить корзину', BasketRemove : 'Убрать из корзины', BasketOpenFolder : 'Перейти в папку этого файла', BasketTruncateConfirm : 'Вы точно хотите очистить корзину?', BasketRemoveConfirm : 'Вы точно хотите убрать файл "%1" из корзины?', BasketEmpty : 'В корзине пока нет файлов, добавьте новые с помощью драг-н-дропа (перетащите файл в корзину).', BasketCopyFilesHere : 'Скопировать файл из корзины', BasketMoveFilesHere : 'Переместить файл из корзины', BasketPasteErrorOther : 'Произошла ошибка при обработке файла %s: %e', BasketPasteMoveSuccess : 'Файлы перемещены: %s', BasketPasteCopySuccess : 'Файлы скопированы: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Загрузка', UploadTip : 'Загрузить новый файл', Refresh : 'Обновить', Settings : 'Установки', Help : 'Помощь', HelpTip : 'Помощь', // Context Menus Select : 'Выбрать', SelectThumbnail : 'Выбрать миниатюру', View : 'Посмотреть', Download : 'Сохранить', NewSubFolder : 'Новая папка', Rename : 'Переименовать', Delete : 'Удалить', CopyDragDrop : 'Копировать', MoveDragDrop : 'Переместить', // Dialogs RenameDlgTitle : 'Переименовать', NewNameDlgTitle : 'Новое имя', FileExistsDlgTitle : 'Файл уже существует', SysErrorDlgTitle : 'Системная ошибка', FileOverwrite : 'Заменить файл', FileAutorename : 'Автоматически переименовывать', // Generic OkBtn : 'ОК', CancelBtn : 'Отмена', CloseBtn : 'Закрыть', // Upload Panel UploadTitle : 'Загрузить новый файл', UploadSelectLbl : 'Выбрать файл для загрузки', UploadProgressLbl : '(Загрузка в процессе, пожалуйста подождите...)', UploadBtn : 'Загрузить выбранный файл', UploadBtnCancel : 'Отмена', UploadNoFileMsg : 'Пожалуйста, выберите файл на вашем компьютере.', UploadNoFolder : 'Пожалуйста, выберите папку, в которую вы хотите закачать файл.', UploadNoPerms : 'Загрузка файлов запрещена.', UploadUnknError : 'Ошибка при передаче файла.', UploadExtIncorrect : 'В эту папку нельзя закачивать файлы с таким расширением.', // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Установки', SetView : 'Просмотр:', SetViewThumb : 'Миниатюры', SetViewList : 'Список', SetDisplay : 'Отобразить:', SetDisplayName : 'Имя файла', SetDisplayDate : 'Дата', SetDisplaySize : 'Размер файла', SetSort : 'Сортировка:', SetSortName : 'по имени файла', SetSortDate : 'по дате', SetSortSize : 'по размеру', // Status Bar FilesCountEmpty : '<Пустая папка>', FilesCountOne : '1 файл', FilesCountMany : '%1 файлов', // Size and Speed Kb : '%1 кБ', KbPerSecond : '%1 кБ/с', // Connector Error Messages. ErrorUnknown : 'Невозможно завершить запрос. (Ошибка %1)', Errors : { 10 : 'Неверная команда.', 11 : 'Тип ресурса не указан в запросе.', 12 : 'Неверный запрошенный тип ресурса.', 102 : 'Неверное имя файла или папки.', 103 : 'Невозможно завершить запрос из-за ограничений авторизации.', 104 : 'Невозможно завершить запрос из-за ограничения разрешений файловой системы.', 105 : 'Неверное расширение файла.', 109 : 'Неверный запрос.', 110 : 'Неизвестная ошибка.', 115 : 'Файл или папка с таким именем уже существует.', 116 : 'Папка не найдена. Пожалуйста, обновите вид папок и попробуйте еще раз.', 117 : 'Файл не найден. Пожалуйста, обновите список файлов и попробуйте еще раз.', 118 : 'Исходное расположение файла совпадает с указанным.', 201 : 'Файл с таким именем уже существует. Загруженный файл был переименован в "%1".', 202 : 'Неверный файл.', 203 : 'Неверный файл. Размер файла слишком большой.', 204 : 'Загруженный файл поврежден.', 205 : 'Недоступна временная папка для загрузки файлов на сервер.', 206 : 'Загрузка отменена из-за соображений безопасности. Файл содержит похожие на HTML данные.', 207 : 'Загруженный файл был переименован в "%1".', 300 : 'Произошла ошибка при перемещении файла(ов).', 301 : 'Произошла ошибка при копировании файла(ов).', 500 : 'Браузер файлов отключен из-за соображений безопасности. Пожалуйста, сообщите вашему системному администратру и проверьте конфигурационный файл CKFinder.', 501 : 'Поддержка миниатюр отключена.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Имя файла не может быть пустым.', FileExists : 'Файл %s уже существует.', FolderEmpty : 'Имя папки не может быть пустым.', FileInvChar : 'Имя файла не может содержать любой из перечисленных символов: \n\\ / : * ? " < > |', FolderInvChar : 'Имя папки не может содержать любой из перечисленных символов: \n\\ / : * ? " < > |', PopupBlockView : 'Невозможно открыть файл в новом окне. Пожалуйста, проверьте настройки браузера и отключите все блокировки всплывающих окон для этого сайта.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Изменить размеры %s', sizeTooBig : 'Нельзя указывать размеры больше, чем у оригинального файла (%size).', resizeSuccess : 'Размеры успешно изменены.', thumbnailNew : 'Создать миниатюру(ы)', thumbnailSmall : 'Маленькая (%s)', thumbnailMedium : 'Средняя (%s)', thumbnailLarge : 'Большая (%s)', newSize : 'Установить новые размеры', width : 'Ширина', height : 'Высота', invalidHeight : 'Высота должна быть числом больше нуля.', invalidWidth : 'Ширина должна быть числом больше нуля.', invalidName : 'Неверное имя файла.', newImage : 'Сохранить как новый файл', noExtensionChange : 'Не удалось поменять расширение файла.', imageSmall : 'Исходная картинка слишком маленькая.', contextMenuName : 'Изменить размер', lockRatio : 'Сохранять пропорции', resetSize : 'Вернуть обычные размеры' }, // Fileeditor plugin Fileeditor : { save : 'Сохранить', fileOpenError : 'Не удалось открыть файл.', fileSaveSuccess : 'Файл успешно сохранен.', contextMenuName : 'Редактировать', loadingFile : 'Файл загружается, пожалуйста подождите...' }, Maximize : { maximize : 'Развернуть', minimize : 'Свернуть' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Swedish * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['sv'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, Ej tillgänglig</span>', confirmCancel : 'Några av de alternativ har ändrats. Är du säker på att stänga dialogrutan?', ok : 'OK', cancel : 'Avbryt', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Ångra', redo : 'Gör om', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'sv', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy-mm-dd HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Mappar', FolderLoading : 'Laddar...', FolderNew : 'Skriv namnet på den nya mappen: ', FolderRename : 'Skriv det nya namnet på mappen: ', FolderDelete : 'Är du säker på att du vill radera mappen "%1"?', FolderRenaming : ' (Byter mappens namn...)', FolderDeleting : ' (Raderar...)', // Files FileRename : 'Skriv det nya filnamnet: ', FileRenameExt : 'Är du säker på att du fill ändra på filändelsen? Filen kan bli oanvändbar.', FileRenaming : 'Byter filnamn...', FileDelete : 'Är du säker på att du vill radera filen "%1"?', FilesLoading : 'Laddar...', FilesEmpty : 'The folder is empty.', // MISSING FilesMoved : 'File %1 moved to %2:%3.', // MISSING FilesCopied : 'File %1 copied to %2:%3.', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from Basket', // MISSING BasketOpenFolder : 'Open Parent Folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag and drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Ladda upp', UploadTip : 'Ladda upp en ny fil', Refresh : 'Uppdatera', Settings : 'Inställningar', Help : 'Hjälp', HelpTip : 'Hjälp', // Context Menus Select : 'Infoga bild', SelectThumbnail : 'Infoga som tumnagel', View : 'Visa', Download : 'Ladda ner', NewSubFolder : 'Ny Undermapp', Rename : 'Byt namn', Delete : 'Radera', CopyDragDrop : 'Copy File Here', // MISSING MoveDragDrop : 'Move File Here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New Name', // MISSING FileExistsDlgTitle : 'File Already Exists', // MISSING SysErrorDlgTitle : 'System Error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Avbryt', CloseBtn : 'Stäng', // Upload Panel UploadTitle : 'Ladda upp en ny fil', UploadSelectLbl : 'Välj fil att ladda upp', UploadProgressLbl : '(Laddar upp filen, var god vänta...)', UploadBtn : 'Ladda upp den valda filen', UploadBtnCancel : 'Avbryt', UploadNoFileMsg : 'Välj en fil från din dator.', UploadNoFolder : 'Please select a folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Inställningar', SetView : 'Visa:', SetViewThumb : 'Tumnaglar', SetViewList : 'Lista', SetDisplay : 'Visa:', SetDisplayName : 'Filnamn', SetDisplayDate : 'Datum', SetDisplaySize : 'Filstorlek', SetSort : 'Sortering:', SetSortName : 'Filnamn', SetSortDate : 'Datum', SetSortSize : 'Storlek', // Status Bar FilesCountEmpty : '<Tom Mapp>', FilesCountOne : '1 fil', FilesCountMany : '%1 filer', // Size and Speed Kb : '%1 kB', // MISSING KbPerSecond : '%1 kB/s', // MISSING // Connector Error Messages. ErrorUnknown : 'Begäran kunde inte utföras eftersom ett fel uppstod. (Error %1)', Errors : { 10 : 'Ogiltig begäran.', 11 : 'Resursens typ var inte specificerad i förfrågan.', 12 : 'Den efterfrågade resurstypen är inte giltig.', 102 : 'Ogiltigt fil- eller mappnamn.', 103 : 'Begäran kunde inte utföras p.g.a. restriktioner av rättigheterna.', 104 : 'Begäran kunde inte utföras p.g.a. restriktioner av rättigheter i filsystemet.', 105 : 'Ogiltig filändelse.', 109 : 'Ogiltig begäran.', 110 : 'Okänt fel.', 115 : 'En fil eller mapp med aktuellt namn finns redan.', 116 : 'Mappen kunde inte hittas. Var god uppdatera sidan och försök igen.', 117 : 'Filen kunde inte hittas. Var god uppdatera sidan och försök igen.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'En fil med aktuellt namn fanns redan. Den uppladdade filen har döpts om till "%1".', 202 : 'Ogiltig fil.', 203 : 'Ogiltig fil. Filen var för stor.', 204 : 'Den uppladdade filen var korrupt.', 205 : 'En tillfällig mapp för uppladdning är inte tillgänglig på servern.', 206 : 'Uppladdningen stoppades av säkerhetsskäl. Filen innehåller HTML-liknande data.', 207 : 'Den uppladdade filen har döpts om till "%1".', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Filhanteraren har stoppats av säkerhetsskäl. Var god kontakta administratören för att kontrollera konfigurationsfilen för CKFinder.', 501 : 'Stöd för tumnaglar har stängts av.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Filnamnet får inte vara tomt.', FileExists : 'File %s already exists.', // MISSING FolderEmpty : 'Mappens namn får inte vara tomt.', FileInvChar : 'Filnamnet får inte innehålla något av följande tecken: \n\\ / : * ? " < > |', FolderInvChar : 'Mappens namn får inte innehålla något av följande tecken: \n\\ / : * ? " < > |', PopupBlockView : 'Det gick inte att öppna filen i ett nytt fönster. Ändra inställningarna i din webbläsare och tillåt popupfönster för den här hemsidan.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create a new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set a new size', // MISSING width : 'Bredd', height : 'Höjd', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create a new image', // MISSING noExtensionChange : 'File extension cannot be changed.', // MISSING imageSmall : 'Source image is too small.', // MISSING contextMenuName : 'Resize', // MISSING lockRatio : 'Lås höjd/bredd förhållanden', resetSize : 'Återställ storlek' }, // Fileeditor plugin Fileeditor : { save : 'Spara', fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING }, Maximize : { maximize : 'Maximera', minimize : 'Minimera' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object, for the Turkish * language. This is the base file for all translations. * * Turkish translation by Abdullah M CEYLAN a.k.a. Kenan Balamir. * Last updated: 26-07-2011 */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['tr'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility"> öğesi, mevcut değil</span>', confirmCancel : 'Bazı seçenekler değiştirildi. Pencereyi kapatmak istiyor musunuz?', ok : 'Tamam', cancel : 'Vazgeç', confirmationTitle : 'Onay', messageTitle : 'Bilgi', inputTitle : 'Soru', undo : 'Geri Al', redo : 'Yinele', skip : 'Atla', skipAll : 'Tümünü Atla', makeDecision : 'Hangi işlem yapılsın?', rememberDecision: 'Kararımı hatırla' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'tr', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'd/m/yyyy h:MM aa', DateAmPm : ['GN', 'GC'], // Folders FoldersTitle : 'Klasörler', FolderLoading : 'Yükleniyor...', FolderNew : 'Lütfen yeni klasör adını yazın: ', FolderRename : 'Lütfen yeni klasör adını yazın: ', FolderDelete : '"%1" klasörünü silmek istediğinizden emin misiniz?', FolderRenaming : ' (Yeniden adlandırılıyor...)', FolderDeleting : ' (Siliniyor...)', // Files FileRename : 'Lütfen yeni dosyanın adını yazın: ', FileRenameExt : 'Dosya uzantısını değiştirmek istiyor musunuz? Bu, dosyayı kullanılamaz hale getirebilir.', FileRenaming : 'Yeniden adlandırılıyor...', FileDelete : '"%1" dosyasını silmek istediğinizden emin misiniz?', FilesLoading : 'Yükleniyor...', FilesEmpty : 'Klasör boş', FilesMoved : '%1 dosyası, %2:%3 içerisine taşındı', FilesCopied : '%1 dosyası, %2:%3 içerisine kopyalandı', // Basket BasketFolder : 'Sepet', BasketClear : 'Sepeti temizle', BasketRemove : 'Sepetten sil', BasketOpenFolder : 'Üst klasörü aç', BasketTruncateConfirm : 'Sepetteki tüm dosyaları silmek istediğinizden emin misiniz?', BasketRemoveConfirm : 'Sepetteki %1% dosyasını silmek istediğinizden emin misiniz?', BasketEmpty : 'Sepette hiç dosya yok, birkaç tane sürükleyip bırakabilirsiniz', BasketCopyFilesHere : 'Sepetten Dosya Kopyala', BasketMoveFilesHere : 'Sepetten Dosya Taşı', BasketPasteErrorOther : '%s Dosya Hatası: %e', BasketPasteMoveSuccess : 'Taşınan dosya: %s', BasketPasteCopySuccess : 'Kopyalanan dosya: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Yükle', UploadTip : 'Yeni Dosya Yükle', Refresh : 'Yenile', Settings : 'Ayarlar', Help : 'Yardım', HelpTip : 'Yardım', // Context Menus Select : 'Seç', SelectThumbnail : 'Önizleme Olarak Seç', View : 'Görüntüle', Download : 'İndir', NewSubFolder : 'Yeni Altklasör', Rename : 'Yeniden Adlandır', Delete : 'Sil', CopyDragDrop : 'Dosyayı buraya kopyala', MoveDragDrop : 'Dosyayı buraya taşı', // Dialogs RenameDlgTitle : 'Yeniden Adlandır', NewNameDlgTitle : 'Yeni Adı', FileExistsDlgTitle : 'Dosya zaten var', SysErrorDlgTitle : 'Sistem hatası', FileOverwrite : 'Üzerine yaz', FileAutorename : 'Oto-Yeniden Adlandır', // Generic OkBtn : 'Tamam', CancelBtn : 'Vazgeç', CloseBtn : 'Kapat', // Upload Panel UploadTitle : 'Yeni Dosya Yükle', UploadSelectLbl : 'Yüklenecek dosyayı seçin', UploadProgressLbl : '(Yükleniyor, lütfen bekleyin...)', UploadBtn : 'Seçili Dosyayı Yükle', UploadBtnCancel : 'Vazgeç', UploadNoFileMsg : 'Lütfen bilgisayarınızdan dosya seçin', UploadNoFolder : 'Lütfen yüklemeden önce klasör seçin.', UploadNoPerms : 'Dosya yüklemeye izin verilmiyor.', UploadUnknError : 'Dosya gönderme hatası.', UploadExtIncorrect : 'Bu dosya uzantısına, bu klasörde izin verilmiyor.', // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Ayarlar', SetView : 'Görünüm:', SetViewThumb : 'Önizlemeler', SetViewList : 'Liste', SetDisplay : 'Gösterim:', SetDisplayName : 'Dosya adı', SetDisplayDate : 'Tarih', SetDisplaySize : 'Dosya boyutu', SetSort : 'Sıralama:', SetSortName : 'Dosya adına göre', SetSortDate : 'Tarihe göre', SetSortSize : 'Boyuta göre', // Status Bar FilesCountEmpty : '<Klasörde Dosya Yok>', FilesCountOne : '1 dosya', FilesCountMany : '%1 dosya', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'İsteğinizi yerine getirmek mümkün değil. (Hata %1)', Errors : { 10 : 'Geçersiz komut.', 11 : 'İstekte kaynak türü belirtilmemiş.', 12 : 'Talep edilen kaynak türü geçersiz.', 102 : 'Geçersiz dosya ya da klasör adı.', 103 : 'Kimlik doğrulama kısıtlamaları nedeni ile talebinizi yerine getiremiyoruz.', 104 : 'Dosya sistemi kısıtlamaları nedeni ile talebinizi yerine getiremiyoruz.', 105 : 'Geçersiz dosya uzantısı.', 109 : 'Geçersiz istek.', 110 : 'Bilinmeyen hata.', 115 : 'Aynı isimde bir dosya ya da klasör zaten var.', 116 : 'Klasör bulunamadı. Lütfen yenileyin ve tekrar deneyin.', 117 : 'Dosya bulunamadı. Lütfen dosya listesini yenileyin ve tekrar deneyin.', 118 : 'Kaynak ve hedef yol aynı!', 201 : 'Aynı ada sahip bir dosya zaten var. Yüklenen dosyanın adı "%1" olarak değiştirildi.', 202 : 'Geçersiz dosya', 203 : 'Geçersiz dosya. Dosya boyutu çok büyük.', 204 : 'Yüklenen dosya bozuk.', 205 : 'Dosyaları yüklemek için gerekli geçici klasör sunucuda bulunamadı.', 206 : 'Güvenlik nedeni ile yükleme iptal edildi. Dosya HTML benzeri veri içeriyor.', 207 : 'Yüklenen dosyanın adı "%1" olarak değiştirildi.', 300 : 'Dosya taşıma işlemi başarısız.', 301 : 'Dosya kopyalama işlemi başarısız.', 500 : 'Güvenlik nedeni ile dosya gezgini devredışı bırakıldı. Lütfen sistem yöneticiniz ile irtibata geçin ve CKFinder yapılandırma dosyasını kontrol edin.', 501 : 'Önizleme desteği devredışı.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Dosya adı boş olamaz', FileExists : '%s dosyası zaten var', FolderEmpty : 'Klasör adı boş olamaz', FileInvChar : 'Dosya adının içermesi mümkün olmayan karakterler: \n\\ / : * ? " < > |', FolderInvChar : 'Klasör adının içermesi mümkün olmayan karakterler: \n\\ / : * ? " < > |', PopupBlockView : 'Dosyayı yeni pencerede açmak için, tarayıcı ayarlarından bu sitenin açılır pencerelerine izin vermeniz gerekiyor.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Boyutlandır: %s', sizeTooBig : 'Yükseklik ve genişlik değeri orijinal boyuttan büyük olduğundan, işlem gerçekleştirilemedi (%size).', resizeSuccess : 'Resim başarıyla yeniden boyutlandırıldı.', thumbnailNew : 'Yeni önizleme oluştur', thumbnailSmall : 'Küçük (%s)', thumbnailMedium : 'Orta (%s)', thumbnailLarge : 'Büyük (%s)', newSize : 'Yeni boyutu ayarla', width : 'Genişlik', height : 'Yükseklik', invalidHeight : 'Geçersiz yükseklik.', invalidWidth : 'Geçersiz genişlik.', invalidName : 'Geçersiz dosya adı.', newImage : 'Yeni resim oluştur', noExtensionChange : 'Dosya uzantısı değiştirilemedi.', imageSmall : 'Kaynak resim çok küçük', contextMenuName : 'Boyutlandır', lockRatio : 'Lock ratio', // MISSING resetSize : 'Reset size' // MISSING }, // Fileeditor plugin Fileeditor : { save : 'Kaydet', fileOpenError : 'Dosya açılamadı.', fileSaveSuccess : 'Dosya başarıyla kaydedildi.', contextMenuName : 'Düzenle', loadingFile : 'Dosya yükleniyor, lütfen bekleyin...' }, Maximize : { maximize : 'Maximize', // MISSING minimize : 'Minimize' // MISSING } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the French * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['fr'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, Inaccessible</span>', confirmCancel : 'Certaines options ont été modifiées. Êtes vous sûr de vouloir fermer cette fenêtre?', ok : 'OK', cancel : 'Annuler', confirmationTitle : 'Confirmation', messageTitle : 'Information', inputTitle : 'Question', undo : 'Annuler', redo : 'Rétablir', skip : 'Passer', skipAll : 'Passer tout', makeDecision : 'Quelle action choisir?', rememberDecision: 'Se rappeller de la décision' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'fr', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy H:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Dossiers', FolderLoading : 'Chargement...', FolderNew : 'Entrez le nouveau nom du dossier: ', FolderRename : 'Entrez le nouveau nom du dossier: ', FolderDelete : 'Êtes-vous sûr de vouloir effacer le dossier "%1"?', FolderRenaming : ' (Renommage en cours...)', FolderDeleting : ' (Suppression en cours...)', // Files FileRename : 'Entrez le nouveau nom du fichier: ', FileRenameExt : 'Êtes-vous sûr de vouloir ¨changer l\'extension de ce fichier? Le fichier pourrait devenir inutilisable.', FileRenaming : 'Renommage en cours...', FileDelete : 'Êtes-vous sûr de vouloir effacer le fichier "%1"?', FilesLoading : 'Chargement...', FilesEmpty : 'Répertoire vide', FilesMoved : 'Fichier %1 déplacé vers %2:%3.', FilesCopied : 'Fichier %1 copié vers %2:%3.', // Basket BasketFolder : 'Corbeille', BasketClear : 'Vider la corbeille', BasketRemove : 'Retirer de la corbeille', BasketOpenFolder : 'Ouvrir le répertiore parent', BasketTruncateConfirm : 'Êtes vous sûr de vouloir supprimer tous les fichiers de la corbeille?', BasketRemoveConfirm : 'Êtes vous sûr de vouloir supprimer le fichier "%1" de la corbeille?', BasketEmpty : 'Aucun fichier dans la corbeille, déposez en queques uns.', BasketCopyFilesHere : 'Copier des fichiers depuis la corbeille', BasketMoveFilesHere : 'Déplacer des fichiers depuis la corbeille', BasketPasteErrorOther : 'Fichier %s erreur: %e.', BasketPasteMoveSuccess : 'Les fichiers suivant ont été déplacés: %s', BasketPasteCopySuccess : 'Les fichiers suivant ont été copiés: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Envoyer', UploadTip : 'Envoyer un nouveau fichier', Refresh : 'Rafraîchir', Settings : 'Configuration', Help : 'Aide', HelpTip : 'Aide', // Context Menus Select : 'Choisir', SelectThumbnail : 'Choisir une miniature', View : 'Voir', Download : 'Télécharger', NewSubFolder : 'Nouveau sous-dossier', Rename : 'Renommer', Delete : 'Effacer', CopyDragDrop : 'Copier les fichiers ici', MoveDragDrop : 'Déplacer les fichiers ici', // Dialogs RenameDlgTitle : 'Renommer', NewNameDlgTitle : 'Nouveau fichier', FileExistsDlgTitle : 'Fichier déjà existant', SysErrorDlgTitle : 'Erreur système', FileOverwrite : 'Ré-écrire', FileAutorename : 'Re-nommage automatique', // Generic OkBtn : 'OK', CancelBtn : 'Annuler', CloseBtn : 'Fermer', // Upload Panel UploadTitle : 'Envoyer un nouveau fichier', UploadSelectLbl : 'Sélectionner le fichier à télécharger', UploadProgressLbl : '(Envoi en cours, veuillez patienter...)', UploadBtn : 'Envoyer le fichier sélectionné', UploadBtnCancel : 'Annuler', UploadNoFileMsg : 'Sélectionner un fichier sur votre ordinateur.', UploadNoFolder : 'Merci de sélectionner un répertoire avant l\'envoi.', UploadNoPerms : 'L\'envoi de fichier n\'est pas autorisé.', UploadUnknError : 'Erreur pendant l\'envoi du fichier.', UploadExtIncorrect : 'L\'extension du fichier n\'est pas autorisée dans ce dossier.', // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Configuration', SetView : 'Voir:', SetViewThumb : 'Miniatures', SetViewList : 'Liste', SetDisplay : 'Affichage:', SetDisplayName : 'Nom du fichier', SetDisplayDate : 'Date', SetDisplaySize : 'Taille du fichier', SetSort : 'Classement:', SetSortName : 'par Nom de Fichier', SetSortDate : 'par Date', SetSortSize : 'par Taille', // Status Bar FilesCountEmpty : '<Dossier Vide>', FilesCountOne : '1 fichier', FilesCountMany : '%1 fichiers', // Size and Speed Kb : '%1 ko', KbPerSecond : '%1 ko/s', // Connector Error Messages. ErrorUnknown : 'La demande n\'a pas abouti. (Erreur %1)', Errors : { 10 : 'Commande invalide.', 11 : 'Le type de ressource n\'a pas été spécifié dans la commande.', 12 : 'Le type de ressource n\'est pas valide.', 102 : 'Nom de fichier ou de dossier invalide.', 103 : 'La demande n\'a pas abouti : problème d\'autorisations.', 104 : 'La demande n\'a pas abouti : problème de restrictions de permissions.', 105 : 'Extension de fichier invalide.', 109 : 'Demande invalide.', 110 : 'Erreur inconnue.', 115 : 'Un fichier ou un dossier avec ce nom existe déjà.', 116 : 'Ce dossier n\'existe pas. Veuillez rafraîchir la page et réessayer.', 117 : 'Ce fichier n\'existe pas. Veuillez rafraîchir la page et réessayer.', 118 : 'Les chemins vers la source et la cible sont les mêmes.', 201 : 'Un fichier avec ce nom existe déjà. Le fichier téléversé a été renommé en "%1".', 202 : 'Fichier invalide.', 203 : 'Fichier invalide. La taille est trop grande.', 204 : 'Le fichier téléversé est corrompu.', 205 : 'Aucun dossier temporaire n\'est disponible sur le serveur.', 206 : 'Envoi interrompu pour raisons de sécurité. Le fichier contient des données de type HTML.', 207 : 'The uploaded file was renamed to "%1".', // MISSING 300 : 'Le déplacement des fichiers a échoué.', 301 : 'La copie des fichiers a échoué.', 500 : 'L\'interface de gestion des fichiers est désactivé. Contactez votre administrateur et vérifier le fichier de configuration de CKFinder.', 501 : 'La fonction "miniatures" est désactivée.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Le nom du fichier ne peut être vide.', FileExists : 'Le fichier %s existes déjà.', FolderEmpty : 'Le nom du dossier ne peut être vide.', FileInvChar : 'Le nom du fichier ne peut pas contenir les charactères suivants : \n\\ / : * ? " < > |', FolderInvChar : 'Le nom du dossier ne peut pas contenir les charactères suivants : \n\\ / : * ? " < > |', PopupBlockView : 'Il n\'a pas été possible d\'ouvrir la nouvelle fenêtre. Désactiver votre bloqueur de fenêtres pour ce site.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Redimensionner %s', sizeTooBig : 'Impossible de modifier la hauteur ou la largeur de cette image pour une valeur plus grande que l\'original (%size).', resizeSuccess : 'L\'image a été redimensionné avec succès.', thumbnailNew : 'Créer une nouvelle vignette', thumbnailSmall : 'Petit (%s)', thumbnailMedium : 'Moyen (%s)', thumbnailLarge : 'Gros (%s)', newSize : 'Déterminer les nouvelles dimensions', width : 'Largeur', height : 'Hauteur', invalidHeight : 'Hauteur invalide.', invalidWidth : 'Largeur invalide.', invalidName : 'Nom de fichier incorrect.', newImage : 'Créer une nouvelle image', noExtensionChange : 'L\'extension du fichier ne peut pas être changé.', imageSmall : 'L\'image est trop petit', contextMenuName : 'Redimensionner', lockRatio : 'Conserver les proportions', resetSize : 'Taille d\'origine' }, // Fileeditor plugin Fileeditor : { save : 'Sauvegarder', fileOpenError : 'Impossible d\'ouvrir le fichier', fileSaveSuccess : 'Fichier sauvegardé avec succès.', contextMenuName : 'Edition', loadingFile : 'Chargement du fichier, veuillez patientez...' }, Maximize : { maximize : 'Agrandir', minimize : 'Minimiser' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Chinese-Simplified * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['zh-cn'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, 不可用</span>', confirmCancel : '部分内容尚未保存,确定关闭对话框么?', ok : '确定', cancel : '取消', confirmationTitle : '确认', messageTitle : '提示', inputTitle : '询问', undo : '撤销', redo : '重做', skip : '跳过', skipAll : '全部跳过', makeDecision : '应采取何样措施?', rememberDecision: '下次不再询问' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'zh-cn', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'yyyy年m月d日 h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : '文件夹', FolderLoading : '正在加载文件夹...', FolderNew : '请输入新文件夹名称: ', FolderRename : '请输入新文件夹名称: ', FolderDelete : '您确定要删除文件夹 "%1" 吗?', FolderRenaming : ' (正在重命名...)', FolderDeleting : ' (正在删除...)', // Files FileRename : '请输入新文件名: ', FileRenameExt : '如果改变文件扩展名,可能会导致文件不可用。\r\n确定要更改吗?', FileRenaming : '正在重命名...', FileDelete : '您确定要删除文件 "%1" 吗?', FilesLoading : '加载中...', FilesEmpty : '空文件夹', FilesMoved : '文件 %1 已移动至 %2:%3.', FilesCopied : '文件 %1 已拷贝至 %2:%3.', // Basket BasketFolder : '临时文件夹', BasketClear : '清空临时文件夹', BasketRemove : '从临时文件夹移除', BasketOpenFolder : '打开临时文件夹', BasketTruncateConfirm : '确认清空临时文件夹?', BasketRemoveConfirm : '确认从临时文件夹中移除文件 "%1"?', BasketEmpty : '临时文件夹为空, 可拖放文件至其中.', BasketCopyFilesHere : '从临时文件夹复制至此', BasketMoveFilesHere : '从临时文件夹移动至此', BasketPasteErrorOther : '文件 %s 出错: %e', BasketPasteMoveSuccess : '已移动以下文件: %s', BasketPasteCopySuccess : '已拷贝以下文件: %s', // Toolbar Buttons (some used elsewhere) Upload : '上传', UploadTip : '上传文件', Refresh : '刷新', Settings : '设置', Help : '帮助', HelpTip : '查看在线帮助', // Context Menus Select : '选择', SelectThumbnail : '选中缩略图', View : '查看', Download : '下载', NewSubFolder : '创建子文件夹', Rename : '重命名', Delete : '删除', CopyDragDrop : '将文件复制至此', MoveDragDrop : '将文件移动至此', // Dialogs RenameDlgTitle : '重命名', NewNameDlgTitle : '文件名', FileExistsDlgTitle : '文件已存在', SysErrorDlgTitle : '系统错误', FileOverwrite : '自动覆盖重名', FileAutorename : '自动重命名重名', // Generic OkBtn : '确定', CancelBtn : '取消', CloseBtn : '关闭', // Upload Panel UploadTitle : '上传文件', UploadSelectLbl : '选定要上传的文件', UploadProgressLbl : '(正在上传文件,请稍候...)', UploadBtn : '上传选定的文件', UploadBtnCancel : '取消', UploadNoFileMsg : '请选择一个要上传的文件', UploadNoFolder : '需先选择一个文件.', UploadNoPerms : '无文件上传权限.', UploadUnknError : '上传文件出错.', UploadExtIncorrect : '此文件后缀在当前文件夹中不可用.', // Flash Uploads UploadLabel : '上传文件', UploadTotalFiles : '上传总计:', UploadTotalSize : '上传总大小:', UploadAddFiles : '添加文件', UploadClearFiles : '清空文件', UploadCancel : '取消上传', UploadRemove : '删除', UploadRemoveTip : '已删除!f', UploadUploaded : '已上传!n%', UploadProcessing : '上传中...', // Settings Panel SetTitle : '设置', SetView : '查看:', SetViewThumb : '缩略图', SetViewList : '列表', SetDisplay : '显示:', SetDisplayName : '文件名', SetDisplayDate : '日期', SetDisplaySize : '大小', SetSort : '排列顺序:', SetSortName : '按文件名', SetSortDate : '按日期', SetSortSize : '按大小', // Status Bar FilesCountEmpty : '<空文件夹>', FilesCountOne : '1 个文件', FilesCountMany : '%1 个文件', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : '请求的操作未能完成. (错误 %1)', Errors : { 10 : '无效的指令.', 11 : '文件类型不在许可范围之内.', 12 : '文件类型无效.', 102 : '无效的文件名或文件夹名称.', 103 : '由于作者限制,该请求不能完成.', 104 : '由于文件系统的限制,该请求不能完成.', 105 : '无效的扩展名.', 109 : '无效请求.', 110 : '未知错误.', 115 : '存在重名的文件或文件夹.', 116 : '文件夹不存在. 请刷新后再试.', 117 : '文件不存在. 请刷新列表后再试.', 118 : '目标位置与当前位置相同.', 201 : '文件与现有的重名. 新上传的文件改名为 "%1".', 202 : '无效的文件.', 203 : '无效的文件. 文件尺寸太大.', 204 : '上传文件已损失.', 205 : '服务器中的上传临时文件夹无效.', 206 : '因为安全原因,上传中断. 上传文件包含不能 HTML 类型数据.', 207 : '新上传的文件改名为 "%1".', 300 : '移动文件失败.', 301 : '复制文件失败.', 500 : '因为安全原因,文件不可浏览. 请联系系统管理员并检查CKFinder配置文件.', 501 : '不支持缩略图方式.' }, // Other Error Messages. ErrorMsg : { FileEmpty : '文件名不能为空.', FileExists : '文件 %s 已存在.', FolderEmpty : '文件夹名称不能为空.', FileInvChar : '文件名不能包含以下字符: \n\\ / : * ? " < > |', FolderInvChar : '文件夹名称不能包含以下字符: \n\\ / : * ? " < > |', PopupBlockView : '未能在新窗口中打开文件. 请修改浏览器配置解除对本站点的锁定.', XmlError : '从服务器读取XML数据出错', XmlEmpty : '无法从服务器读取数据,因XML响应返回结果为空', XmlRawResponse : '服务器返回原始结果: %s' }, // Imageresize plugin Imageresize : { dialogTitle : '改变尺寸 %s', sizeTooBig : '无法大于原图尺寸 (%size).', resizeSuccess : '图像尺寸已修改.', thumbnailNew : '创建缩略图', thumbnailSmall : '小 (%s)', thumbnailMedium : '中 (%s)', thumbnailLarge : '大 (%s)', newSize : '设置新尺寸', width : '宽度', height : '高度', invalidHeight : '无效高度.', invalidWidth : '无效宽度.', invalidName : '文件名无效.', newImage : '创建图像', noExtensionChange : '无法改变文件后缀.', imageSmall : '原文件尺寸过小', contextMenuName : '改变尺寸', lockRatio : '锁定比例', resetSize : '原始尺寸' }, // Fileeditor plugin Fileeditor : { save : '保存', fileOpenError : '无法打开文件.', fileSaveSuccess : '成功保存文件.', contextMenuName : '编辑', loadingFile : '加载文件中...' }, Maximize : { maximize : '全屏', minimize : '最小化' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Japanese * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['ja'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, は利用できません。</span>', confirmCancel : '変更された項目があります。ウィンドウを閉じてもいいですか?', ok : '適用', cancel : 'キャンセル', confirmationTitle : '確認', messageTitle : 'インフォメーション', inputTitle : '質問', undo : '元に戻す', redo : 'やり直す', skip : 'スキップ', skipAll : 'すべてスキップ', makeDecision : 'どうしますか?', rememberDecision: '注意:' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'ja', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Folders', FolderLoading : '読み込み中...', FolderNew : '新しいフォルダ名を入力してください: ', FolderRename : '新しいフォルダ名を入力してください: ', FolderDelete : '本当にフォルダ「"%1"」を削除してもよろしいですか?', FolderRenaming : ' (リネーム中...)', FolderDeleting : ' (削除中...)', // Files FileRename : '新しいファイル名を入力してください: ', FileRenameExt : 'ファイルが使えなくなる可能性がありますが、本当に拡張子を変更してもよろしいですか?', FileRenaming : 'リネーム中...', FileDelete : '本当に「"%1"」を削除してもよろしいですか?', FilesLoading : '読み込み中...', FilesEmpty : 'ファイルがありません', FilesMoved : ' %1 は %2:%3 に移動されました', FilesCopied : ' %1 cは %2:%3 にコピーされました', // Basket BasketFolder : 'Basket', BasketClear : 'バスケットを空にする', BasketRemove : 'バスケットから削除', BasketOpenFolder : '親フォルダを開く', BasketTruncateConfirm : '本当にバスケットの中身を空にしますか?', BasketRemoveConfirm : '本当に「"%1"」をバスケットから削除しますか?', BasketEmpty : 'バスケットの中にファイルがありません。このエリアにドラッグ&ドロップして追加することができます。', BasketCopyFilesHere : 'バスケットからファイルをコピー', BasketMoveFilesHere : 'バスケットからファイルを移動', BasketPasteErrorOther : 'ファイル %s のエラー: %e', BasketPasteMoveSuccess : '以下のファイルが移動されました: %s', BasketPasteCopySuccess : '以下のファイルがコピーされました: %s', // Toolbar Buttons (some used elsewhere) Upload : 'アップロード', UploadTip : '新しいファイルのアップロード', Refresh : '表示の更新', Settings : 'カスタマイズ', Help : 'ヘルプ', HelpTip : 'ヘルプ', // Context Menus Select : 'この画像を選択', SelectThumbnail : 'この画像のサムネイルを選択', View : '画像だけを表示', Download : 'ダウンロード', NewSubFolder : '新しいフォルダに入れる', Rename : 'ファイル名の変更', Delete : '削除', CopyDragDrop : 'コピーするファイルをここにドロップしてください', MoveDragDrop : '移動するファイルをここにドロップしてください', // Dialogs RenameDlgTitle : 'リネーム', NewNameDlgTitle : '新しい名前', FileExistsDlgTitle : 'ファイルはすでに存在します。', SysErrorDlgTitle : 'システムエラー', FileOverwrite : '上書き', FileAutorename : 'A自動でリネーム', // Generic OkBtn : 'OK', CancelBtn : 'キャンセル', CloseBtn : '閉じる', // Upload Panel UploadTitle : 'ファイルのアップロード', UploadSelectLbl : 'アップロードするファイルを選択してください', UploadProgressLbl : '(ファイルのアップロード中...)', UploadBtn : 'アップロード', UploadBtnCancel : 'キャンセル', UploadNoFileMsg : 'ファイルを選んでください。', UploadNoFolder : 'アップロードの前にフォルダを選択してください。', UploadNoPerms : 'ファイルのアップロード権限がありません。', UploadUnknError : 'ファイルの送信に失敗しました。', UploadExtIncorrect : '選択されたファイルの拡張子は許可されていません。', // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : '表示のカスタマイズ', SetView : '表示方法:', SetViewThumb : 'サムネイル', SetViewList : '表示形式', SetDisplay : '表示する項目:', SetDisplayName : 'ファイル名', SetDisplayDate : '日時', SetDisplaySize : 'ファイルサイズ', SetSort : '表示の順番:', SetSortName : 'ファイル名', SetSortDate : '日付', SetSortSize : 'サイズ', // Status Bar FilesCountEmpty : '<フォルダ内にファイルがありません>', FilesCountOne : '1つのファイル', FilesCountMany : '%1個のファイル', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'リクエストの処理に失敗しました。 (Error %1)', Errors : { 10 : '不正なコマンドです。', 11 : 'リソースタイプが特定できませんでした。', 12 : '要求されたリソースのタイプが正しくありません。', 102 : 'ファイル名/フォルダ名が正しくありません。', 103 : 'リクエストを完了できませんでした。認証エラーです。', 104 : 'リクエストを完了できませんでした。ファイルのパーミッションが許可されていません。', 105 : '拡張子が正しくありません。', 109 : '不正なリクエストです。', 110 : '不明なエラーが発生しました。', 115 : '同じ名前のファイル/フォルダがすでに存在しています。', 116 : 'フォルダが見つかりませんでした。ページを更新して再度お試し下さい。', 117 : 'ファイルが見つかりませんでした。ページを更新して再度お試し下さい。', 118 : '対象が移動元と同じ場所を指定されています。', 201 : '同じ名前のファイルがすでに存在しています。"%1" にリネームして保存されました。', 202 : '不正なファイルです。', 203 : 'ファイルのサイズが大きすぎます。', 204 : 'アップロードされたファイルは壊れています。', 205 : 'サーバ内の一時作業フォルダが利用できません。', 206 : 'セキュリティ上の理由からアップロードが取り消されました。このファイルにはHTMLに似たデータが含まれています。', 207 : 'ファイルは "%1" にリネームして保存されました。', 300 : 'ファイルの移動に失敗しました。', 301 : 'ファイルのコピーに失敗しました。', 500 : 'ファイルブラウザはセキュリティ上の制限から無効になっています。システム担当者に連絡をして、CKFinderの設定をご確認下さい。', 501 : 'サムネイル機能は無効になっています。' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'ファイル名を入力してください', FileExists : ' %s はすでに存在しています。別の名前を入力してください。', FolderEmpty : 'フォルダ名を入力してください', FileInvChar : 'ファイルに以下の文字は使えません: \n\\ / : * ? " < > |', FolderInvChar : 'フォルダに以下の文字は使えません: \n\\ / : * ? " < > |', PopupBlockView : 'ファイルを新しいウィンドウで開くことに失敗しました。 お使いのブラウザの設定でポップアップをブロックする設定を解除してください。', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'リサイズ: %s', sizeTooBig : 'オリジナルの画像よりも大きいサイズは指定できません。 (%size).', resizeSuccess : '画像のリサイズに成功しました', thumbnailNew : 'サムネイルをつくる', thumbnailSmall : '小 (%s)', thumbnailMedium : '中 (%s)', thumbnailLarge : '大 (%s)', newSize : 'Set new size', width : '幅', height : '高さ', invalidHeight : '高さの値が不正です。', invalidWidth : '幅の値が不正です。', invalidName : 'ファイル名が不正です。', newImage : '新しい画像を作成', noExtensionChange : '拡張子は変更できません。', imageSmall : '元画像が小さすぎます。', contextMenuName : 'リサイズ', lockRatio : 'ロック比率', resetSize : 'サイズリセット' }, // Fileeditor plugin Fileeditor : { save : '保存', fileOpenError : 'ファイルを開けませんでした。', fileSaveSuccess : 'ファイルの保存が完了しました。', contextMenuName : '編集', loadingFile : 'ファイルの読み込み中...' }, Maximize : { maximize : '最大化', minimize : '最小化' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Slovak * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['sk'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Niektore možnosti boli zmenené. Naozaj chcete zavrieť okno?', ok : 'OK', cancel : 'Zrušiť', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Späť', redo : 'Znovu', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'sk', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'mm/dd/yyyy HH:MM', DateAmPm : ['AM', 'PM'], // Folders FoldersTitle : 'Adresáre', FolderLoading : 'Nahrávam...', FolderNew : 'Zadajte prosím meno nového adresára: ', FolderRename : 'Zadajte prosím meno nového adresára: ', FolderDelete : 'Skutočne zmazať adresár "%1"?', FolderRenaming : ' (Prebieha premenovanie adresára...)', FolderDeleting : ' (Prebieha zmazanie adresára...)', // Files FileRename : 'Zadajte prosím meno nového súboru: ', FileRenameExt : 'Skutočne chcete zmeniť príponu súboru? Upozornenie: zmenou prípony sa súbor môže stať nepoužiteľným, pokiaľ prípona nie je podporovaná.', FileRenaming : 'Prebieha premenovanie súboru...', FileDelete : 'Skutočne chcete odstrániť súbor "%1"?', FilesLoading : 'Nahrávam...', FilesEmpty : 'The folder is empty.', // MISSING FilesMoved : 'File %1 moved to %2:%3.', // MISSING FilesCopied : 'File %1 copied to %2:%3.', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from Basket', // MISSING BasketOpenFolder : 'Open Parent Folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag and drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Prekopírovať na server (Upload)', UploadTip : 'Prekopírovať nový súbor', Refresh : 'Znovunačítať (Refresh)', Settings : 'Nastavenia', Help : 'Pomoc', HelpTip : 'Pomoc', // Context Menus Select : 'Vybrať', SelectThumbnail : 'Select Thumbnail', // MISSING View : 'Náhľad', Download : 'Stiahnuť', NewSubFolder : 'Nový podadresár', Rename : 'Premenovať', Delete : 'Zmazať', CopyDragDrop : 'Copy File Here', // MISSING MoveDragDrop : 'Move File Here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New Name', // MISSING FileExistsDlgTitle : 'File Already Exists', // MISSING SysErrorDlgTitle : 'System Error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Zrušiť', CloseBtn : 'Zatvoriť', // Upload Panel UploadTitle : 'Nahrať nový súbor', UploadSelectLbl : 'Vyberte súbor, ktorý chcete prekopírovať na server', UploadProgressLbl : '(Prebieha kopírovanie, čakajte prosím...)', UploadBtn : 'Prekopírovať vybratý súbor', UploadBtnCancel : 'Zrušiť', UploadNoFileMsg : 'Vyberte prosím súbor na Vašom počítači!', UploadNoFolder : 'Please select a folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Nastavenia', SetView : 'Náhľad:', SetViewThumb : 'Miniobrázky', SetViewList : 'Zoznam', SetDisplay : 'Zobraziť:', SetDisplayName : 'Názov súboru', SetDisplayDate : 'Dátum', SetDisplaySize : 'Veľkosť súboru', SetSort : 'Zoradenie:', SetSortName : 'podľa názvu súboru', SetSortDate : 'podľa dátumu', SetSortSize : 'podľa veľkosti', // Status Bar FilesCountEmpty : '<Prázdny adresár>', FilesCountOne : '1 súbor', FilesCountMany : '%1 súborov', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Server nemohol dokončiť spracovanie požiadavky. (Chyba %1)', Errors : { 10 : 'Neplatný príkaz.', 11 : 'V požiadavke nebol špecifikovaný typ súboru.', 12 : 'Nepodporovaný typ súboru.', 102 : 'Neplatný názov súboru alebo adresára.', 103 : 'Nebolo možné dokončiť spracovanie požiadavky kvôli nepostačujúcej úrovni oprávnení.', 104 : 'Nebolo možné dokončiť spracovanie požiadavky kvôli obmedzeniam v prístupových právach ku súborom.', 105 : 'Neplatná prípona súboru.', 109 : 'Neplatná požiadavka.', 110 : 'Neidentifikovaná chyba.', 115 : 'Zadaný súbor alebo adresár už existuje.', 116 : 'Adresár nebol nájdený. Aktualizujte obsah adresára (Znovunačítať) a skúste znovu.', 117 : 'Súbor nebol nájdený. Aktualizujte obsah adresára (Znovunačítať) a skúste znovu.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Súbor so zadaným názvom už existuje. Prekopírovaný súbor bol premenovaný na "%1".', 202 : 'Neplatný súbor.', 203 : 'Neplatný súbor - súbor presahuje maximálnu povolenú veľkosť.', 204 : 'Kopírovaný súbor je poškodený.', 205 : 'Server nemá špecifikovaný dočasný adresár pre kopírované súbory.', 206 : 'Kopírovanie prerušené kvôli nedostatočnému zabezpečeniu. Súbor obsahuje HTML data.', 207 : 'Prekopírovaný súbor bol premenovaný na "%1".', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Prehliadanie súborov je zakázané kvôli bezpečnosti. Kontaktujte prosím administrátora a overte nastavenia v konfiguračnom súbore pre CKFinder.', 501 : 'Momentálne nie je zapnutá podpora pre generáciu miniobrázkov.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Názov súbor nesmie prázdny.', FileExists : 'File %s already exists.', // MISSING FolderEmpty : 'Názov adresára nesmie byť prázdny.', FileInvChar : 'Súbor nesmie obsahovať žiadny z nasledujúcich znakov: \n\\ / : * ? " < > |', FolderInvChar : 'Adresár nesmie obsahovať žiadny z nasledujúcich znakov: \n\\ / : * ? " < > |', PopupBlockView : 'Nebolo možné otvoriť súbor v novom okne. Overte nastavenia Vášho prehliadača a zakážte všetky blokovače popup okien pre túto webstránku.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create a new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set a new size', // MISSING width : 'Šírka', height : 'Výška', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create a new image', // MISSING noExtensionChange : 'File extension cannot be changed.', // MISSING imageSmall : 'Source image is too small.', // MISSING contextMenuName : 'Resize', // MISSING lockRatio : 'Zámok', resetSize : 'Pôvodná veľkosť' }, // Fileeditor plugin Fileeditor : { save : 'Uložiť', fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING }, Maximize : { maximize : 'Maximalizovať', minimize : 'Minimalizovať' } };
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the English * language. This is the base file for all translations. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['en'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', confirmCancel : 'Some of the options were changed. Are you sure you want to close the dialog window?', ok : 'OK', cancel : 'Cancel', confirmationTitle : 'Confirmation', messageTitle : 'Information', inputTitle : 'Question', undo : 'Undo', redo : 'Redo', skip : 'Skip', skipAll : 'Skip all', makeDecision : 'What action should be taken?', rememberDecision: 'Remember my decision' }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'en', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'm/d/yyyy h:MM aa', DateAmPm : ['AM','PM'], // Folders FoldersTitle : 'Folders', FolderLoading : 'Loading...', FolderNew : 'Please type the new folder name: ', FolderRename : 'Please type the new folder name: ', FolderDelete : 'Are you sure you want to delete the "%1" folder?', FolderRenaming : ' (Renaming...)', FolderDeleting : ' (Deleting...)', // Files FileRename : 'Please type the new file name: ', FileRenameExt : 'Are you sure you want to change the file extension? The file may become unusable.', FileRenaming : 'Renaming...', FileDelete : 'Are you sure you want to delete the file "%1"?', FilesLoading : 'Loading...', FilesEmpty : 'The folder is empty.', FilesMoved : 'File %1 moved to %2:%3.', FilesCopied : 'File %1 copied to %2:%3.', // Basket BasketFolder : 'Basket', BasketClear : 'Clear Basket', BasketRemove : 'Remove from Basket', BasketOpenFolder : 'Open Parent Folder', BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', BasketEmpty : 'No files in the basket, drag and drop some.', BasketCopyFilesHere : 'Copy Files from Basket', BasketMoveFilesHere : 'Move Files from Basket', BasketPasteErrorOther : 'File %s error: %e', BasketPasteMoveSuccess : 'The following files were moved: %s', BasketPasteCopySuccess : 'The following files were copied: %s', // Toolbar Buttons (some used elsewhere) Upload : 'Upload', UploadTip : 'Upload New File', Refresh : 'Refresh', Settings : 'Settings', Help : 'Help', HelpTip : 'Help', // Context Menus Select : 'Select', SelectThumbnail : 'Select Thumbnail', View : 'View', Download : 'Download', NewSubFolder : 'New Subfolder', Rename : 'Rename', Delete : 'Delete', CopyDragDrop : 'Copy File Here', MoveDragDrop : 'Move File Here', // Dialogs RenameDlgTitle : 'Rename', NewNameDlgTitle : 'New Name', FileExistsDlgTitle : 'File Already Exists', SysErrorDlgTitle : 'System Error', FileOverwrite : 'Overwrite', FileAutorename : 'Auto-rename', // Generic OkBtn : 'OK', CancelBtn : 'Cancel', CloseBtn : 'Close', // Upload Panel UploadTitle : 'Upload New File', UploadSelectLbl : 'Select a file to upload', UploadProgressLbl : '(Upload in progress, please wait...)', UploadBtn : 'Upload Selected File', UploadBtnCancel : 'Cancel', UploadNoFileMsg : 'Please select a file from your computer.', UploadNoFolder : 'Please select a folder before uploading.', UploadNoPerms : 'File upload not allowed.', UploadUnknError : 'Error sending the file.', UploadExtIncorrect : 'File extension not allowed in this folder.', // Flash Uploads UploadLabel : 'Files to Upload', UploadTotalFiles : 'Total Files:', UploadTotalSize : 'Total Size:', UploadAddFiles : 'Add Files', UploadClearFiles : 'Clear Files', UploadCancel : 'Cancel Upload', UploadRemove : 'Remove', UploadRemoveTip : 'Remove !f', UploadUploaded : 'Uploaded !n%', UploadProcessing : 'Processing...', // Settings Panel SetTitle : 'Settings', SetView : 'View:', SetViewThumb : 'Thumbnails', SetViewList : 'List', SetDisplay : 'Display:', SetDisplayName : 'File Name', SetDisplayDate : 'Date', SetDisplaySize : 'File Size', SetSort : 'Sorting:', SetSortName : 'by File Name', SetSortDate : 'by Date', SetSortSize : 'by Size', // Status Bar FilesCountEmpty : '<Empty Folder>', FilesCountOne : '1 file', FilesCountMany : '%1 files', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'It was not possible to complete the request. (Error %1)', Errors : { 10 : 'Invalid command.', 11 : 'The resource type was not specified in the request.', 12 : 'The requested resource type is not valid.', 102 : 'Invalid file or folder name.', 103 : 'It was not possible to complete the request due to authorization restrictions.', 104 : 'It was not possible to complete the request due to file system permission restrictions.', 105 : 'Invalid file extension.', 109 : 'Invalid request.', 110 : 'Unknown error.', 115 : 'A file or folder with the same name already exists.', 116 : 'Folder not found. Please refresh and try again.', 117 : 'File not found. Please refresh the files list and try again.', 118 : 'Source and target paths are equal.', 201 : 'A file with the same name is already available. The uploaded file was renamed to "%1".', 202 : 'Invalid file.', 203 : 'Invalid file. The file size is too big.', 204 : 'The uploaded file is corrupt.', 205 : 'No temporary folder is available for upload in the server.', 206 : 'Upload cancelled due to security reasons. The file contains HTML-like data.', 207 : 'The uploaded file was renamed to "%1".', 300 : 'Moving file(s) failed.', 301 : 'Copying file(s) failed.', 500 : 'The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.', 501 : 'The thumbnails support is disabled.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'The file name cannot be empty.', FileExists : 'File %s already exists.', FolderEmpty : 'The folder name cannot be empty.', FileInvChar : 'The file name cannot contain any of the following characters: \n\\ / : * ? " < > |', FolderInvChar : 'The folder name cannot contain any of the following characters: \n\\ / : * ? " < > |', PopupBlockView : 'It was not possible to open the file in a new window. Please configure your browser and disable all popup blockers for this site.', XmlError : 'It was not possible to properly load the XML response from the web server.', XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', XmlRawResponse : 'Raw response from the server: %s' }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', resizeSuccess : 'Image resized successfully.', thumbnailNew : 'Create a new thumbnail', thumbnailSmall : 'Small (%s)', thumbnailMedium : 'Medium (%s)', thumbnailLarge : 'Large (%s)', newSize : 'Set a new size', width : 'Width', height : 'Height', invalidHeight : 'Invalid height.', invalidWidth : 'Invalid width.', invalidName : 'Invalid file name.', newImage : 'Create a new image', noExtensionChange : 'File extension cannot be changed.', imageSmall : 'Source image is too small.', contextMenuName : 'Resize', lockRatio : 'Lock ratio', resetSize : 'Reset size' }, // Fileeditor plugin Fileeditor : { save : 'Save', fileOpenError : 'Unable to open file.', fileSaveSuccess : 'File saved successfully.', contextMenuName : 'Edit', loadingFile : 'Loading file, please wait...' }, Maximize : { maximize : 'Maximize', minimize : 'Minimize' } };
JavaScript