diff --git a/sites/all/modules/wysiwyg/CHANGELOG.txt b/sites/all/modules/wysiwyg/CHANGELOG.txt index 2b79f35bb1408c23a5381e044f13b860285e0c48..2072654e95fedb56a35d1436945749fd373fe960 100644 --- a/sites/all/modules/wysiwyg/CHANGELOG.txt +++ b/sites/all/modules/wysiwyg/CHANGELOG.txt @@ -1,6 +1,25 @@ Wysiwyg 7.x-2.x, xxxx-xx-xx --------------------------- +#1388224 by ksenzee, sun, TwoD: Fixed editors detaching on form submissions. +#682160 by n_vashenko, TwoD: Fixed lists plugin support for TinyMCE. +#1414354 by Merco: Fixed none.js breaks if textarea.js is not loaded. +#1064600 by TwoD: Fixed maximized editors hidden under Drupal's toolbar. +#1405786 by logaritmisk: Fixed CKEditor being wider than parent elements. +#1531896 by Chi: Fixed strict warning for WYMeditor. +#1442226 by robertom: Fixed inverted list button names for WYMeditor. +#1352426 by TwoD, sun: Added install notes (CKEditor edition clarification). +#1112212 by timdiacon, TwoD: Added language direction buttons for CKEditor. +#1398560 by markwittens: Fixed TinyMCE removing the longdesc attribute. +#970452 by smk-ka, sun, TwoD, drzraf: Fixed outdated TinyMCE plugin info. +#1155678 by james.elliott, Jody Lynn, sun: Add Drupal.detachBehaviors support. +#624018 by smk-ka, quartsize, dagmar, nedjo, rickvug, catch, sun: Added Features support. +#1238766 by Dave Reid: Fixed Missing cells in profile plugins table. +#1073106 by scottrouse: Fixed 'Input Format' should be 'Text Format'. +#1153458 by TwoD: Fixed TinyMCE 'Verify HTML' setting ignored. +#1125582 by TwoD: Fixed TinyMCE fullscreen plugin deletes content. +#1078834 by sun: Fixed coding standards errors. +#1173476 by jim0203, sun: Fixed installation instructions in README.txt. Wysiwyg 7.x-2.1, 2011-06-19 diff --git a/sites/all/modules/wysiwyg/LICENSE.txt b/sites/all/modules/wysiwyg/LICENSE.txt index 2c095c8d3f42488e8168f9710a4ffbfc4125a159..d159169d1050894d3ea3b98e1c965c4058208fe1 100644 --- a/sites/all/modules/wysiwyg/LICENSE.txt +++ b/sites/all/modules/wysiwyg/LICENSE.txt @@ -1,274 +1,339 @@ -GNU GENERAL PUBLIC LICENSE - - Version 2, June 1991 - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, -Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute -verbatim copies of this license document, but changing it is not allowed. - - Preamble - -The licenses for most software are designed to take away your freedom to -share and change it. By contrast, the GNU General Public License is -intended to guarantee your freedom to share and change free software--to -make sure the software is free for all its users. This General Public License -applies to most of the Free Software Foundation's software and to any other -program whose authors commit to using it. (Some other Free Software -Foundation software is covered by the GNU Library General Public License -instead.) You can apply it to your programs, too. - -When we speak of free software, we are referring to freedom, not price. Our -General Public Licenses are designed to make sure that you have the -freedom to distribute copies of free software (and charge for this service if -you wish), that you receive source code or can get it if you want it, that you -can change the software or use pieces of it in new free programs; and that -you know you can do these things. - -To protect your rights, we need to make restrictions that forbid anyone to -deny you these rights or to ask you to surrender the rights. These restrictions -translate to certain responsibilities for you if you distribute copies of the -software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis or for -a fee, you must give the recipients all the rights that you have. You must make -sure that they, too, receive or can get the source code. And you must show -them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and (2) -offer you this license which gives you legal permission to copy, distribute -and/or modify the software. - -Also, for each author's protection and ours, we want to make certain that -everyone understands that there is no warranty for this free software. If the -software is modified by someone else and passed on, we want its recipients -to know that what they have is not the original, so that any problems -introduced by others will not reflect on the original authors' reputations. - -Finally, any free program is threatened constantly by software patents. We -wish to avoid the danger that redistributors of a free program will individually -obtain patent licenses, in effect making the program proprietary. To prevent -this, we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - -The precise terms and conditions for copying, distribution and modification -follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND - MODIFICATION - -0. This License applies to any program or other work which contains a notice -placed by the copyright holder saying it may be distributed under the terms -of this General Public License. The "Program", below, refers to any such -program or work, and a "work based on the Program" means either the -Program or any derivative work under copyright law: that is to say, a work -containing the Program or a portion of it, either verbatim or with -modifications and/or translated into another language. (Hereinafter, translation -is included without limitation in the term "modification".) Each licensee is -addressed as "you". - -Activities other than copying, distribution and modification are not covered -by this License; they are outside its scope. The act of running the Program is -not restricted, and the output from the Program is covered only if its contents -constitute a work based on the Program (independent of having been made -by running the Program). Whether that is true depends on what the Program -does. - -1. You may copy and distribute verbatim copies of the Program's source -code as you receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice and -disclaimer of warranty; keep intact all the notices that refer to this License -and to the absence of any warranty; and give any other recipients of the -Program a copy of this License along with the Program. - -You may charge a fee for the physical act of transferring a copy, and you -may at your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Program or any portion of it, -thus forming a work based on the Program, and copy and distribute such -modifications or work under the terms of Section 1 above, provided that you -also meet all of these conditions: - -a) You must cause the modified files to carry prominent notices stating that -you changed the files and the date of any change. - -b) You must cause any work that you distribute or publish, that in whole or in -part contains or is derived from the Program or any part thereof, to be -licensed as a whole at no charge to all third parties under the terms of this -License. - -c) If the modified program normally reads commands interactively when run, -you must cause it, when started running for such interactive use in the most -ordinary way, to print or display an announcement including an appropriate -copyright notice and a notice that there is no warranty (or else, saying that -you provide a warranty) and that users may redistribute the program under -these conditions, and telling the user how to view a copy of this License. -(Exception: if the Program itself is interactive but does not normally print such -an announcement, your work based on the Program is not required to print -an announcement.) - -These requirements apply to the modified work as a whole. If identifiable -sections of that work are not derived from the Program, and can be -reasonably considered independent and separate works in themselves, then -this License, and its terms, do not apply to those sections when you distribute -them as separate works. But when you distribute the same sections as part -of a whole which is a work based on the Program, the distribution of the -whole must be on the terms of this License, whose permissions for other -licensees extend to the entire whole, and thus to each and every part -regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest your rights to -work written entirely by you; rather, the intent is to exercise the right to -control the distribution of derivative or collective works based on the -Program. + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of a -storage or distribution medium does not bring the other work under the scope -of this License. - -3. You may copy and distribute the Program (or a work based on it, under -Section 2) in object code or executable form under the terms of Sections 1 -and 2 above provided that you also do one of the following: - -a) Accompany it with the complete corresponding machine-readable source -code, which must be distributed under the terms of Sections 1 and 2 above -on a medium customarily used for software interchange; or, - -b) Accompany it with a written offer, valid for at least three years, to give -any third party, for a charge no more than your cost of physically performing -source distribution, a complete machine-readable copy of the corresponding -source code, to be distributed under the terms of Sections 1 and 2 above on -a medium customarily used for software interchange; or, - -c) Accompany it with the information you received as to the offer to distribute -corresponding source code. (This alternative is allowed only for -noncommercial distribution and only if you received the program in object -code or executable form with such an offer, in accord with Subsection b -above.) +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source code -means all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation and -installation of the executable. However, as a special exception, the source -code distributed need not include anything that is normally distributed (in -either source or binary form) with the major components (compiler, kernel, -and so on) of the operating system on which the executable runs, unless that -component itself accompanies the executable. - -If distribution of executable or object code is made by offering access to -copy from a designated place, then offering equivalent access to copy the -source code from the same place counts as distribution of the source code, -even though third parties are not compelled to copy the source along with the -object code. - -4. You may not copy, modify, sublicense, or distribute the Program except as -expressly provided under this License. Any attempt otherwise to copy, -modify, sublicense or distribute the Program is void, and will automatically -terminate your rights under this License. However, parties who have received -copies, or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - -5. You are not required to accept this License, since you have not signed it. -However, nothing else grants you permission to modify or distribute the -Program or its derivative works. These actions are prohibited by law if you -do not accept this License. Therefore, by modifying or distributing the -Program (or any work based on the Program), you indicate your acceptance -of this License to do so, and all its terms and conditions for copying, -distributing or modifying the Program or works based on it. - -6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the original -licensor to copy, distribute or modify the Program subject to these terms and -conditions. You may not impose any further restrictions on the recipients' -exercise of the rights granted herein. You are not responsible for enforcing -compliance by third parties to this License. - -7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), conditions -are imposed on you (whether by court order, agreement or otherwise) that -contradict the conditions of this License, they do not excuse you from the -conditions of this License. If you cannot distribute so as to satisfy -simultaneously your obligations under this License and any other pertinent -obligations, then as a consequence you may not distribute the Program at all. -For example, if a patent license would not permit royalty-free redistribution -of the Program by all those who receive copies directly or indirectly through -you, then the only way you could satisfy both it and this License would be to +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply and -the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any patents or -other property right claims or to contest validity of any such claims; this -section has the sole purpose of protecting the integrity of the free software -distribution system, which is implemented by public license practices. Many -people have made generous contributions to the wide range of software -distributed through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing to -distribute software through any other system and a licensee cannot impose -that choice. - -This section is intended to make thoroughly clear what is believed to be a -consequence of the rest of this License. - -8. If the distribution and/or use of the Program is restricted in certain -countries either by patents or by copyrighted interfaces, the original copyright -holder who places the Program under this License may add an explicit -geographical distribution limitation excluding those countries, so that -distribution is permitted only in or among countries not thus excluded. In such -case, this License incorporates the limitation as if written in the body of this -License. - -9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will be -similar in spirit to the present version, but may differ in detail to address new -problems or concerns. - -Each version is given a distinguishing version number. If the Program specifies -a version number of this License which applies to it and "any later version", -you have the option of following the terms and conditions either of that -version or of any later version published by the Free Software Foundation. If -the Program does not specify a version number of this License, you may -choose any version ever published by the Free Software Foundation. - -10. If you wish to incorporate parts of the Program into other free programs -whose distribution conditions are different, write to the author to ask for -permission. For software which is copyrighted by the Free Software -Foundation, write to the Free Software Foundation; we sometimes make -exceptions for this. Our decision will be guided by the two goals of -preserving the free status of all derivatives of our free software and of -promoting the sharing and reuse of software generally. - - NO WARRANTY - -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, -THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT -PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE -STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT -WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND -PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL -NECESSARY SERVICING, REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR -AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR -ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE -LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, -SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES -ARISING OUT OF THE USE OR INABILITY TO USE THE -PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA -OR DATA BEING RENDERED INACCURATE OR LOSSES -SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE -PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN -IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF -THE POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program 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 2 of the License, or + (at your option) any later version. + + This program 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 this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/sites/all/modules/wysiwyg/README.txt b/sites/all/modules/wysiwyg/README.txt index cc81447a1134273260d9b6e6c7358e02d15d31c5..75d2b14c5c2ceab36dd4beba949862c4f4bf8873 100644 --- a/sites/all/modules/wysiwyg/README.txt +++ b/sites/all/modules/wysiwyg/README.txt @@ -18,7 +18,8 @@ To submit bug reports and feature suggestions, or to track changes: -- INSTALLATION -- -* Install as usual, see http://drupal.org/node/70151 for further information. +* Install as usual, see + http://drupal.org/documentation/install/modules-themes/modules-7 * Go to Administration » Configuration » Content authoring » Wysiwyg, and follow the displayed installation instructions to download and install one diff --git a/sites/all/modules/wysiwyg/editors/ckeditor.inc b/sites/all/modules/wysiwyg/editors/ckeditor.inc index 0a56fe0815e21633c862d84b360a9f09cd4fdc7f..fcf168ec311e4a5b98e4938b62be652b061ffdec 100644 --- a/sites/all/modules/wysiwyg/editors/ckeditor.inc +++ b/sites/all/modules/wysiwyg/editors/ckeditor.inc @@ -27,8 +27,11 @@ function wysiwyg_ckeditor_editor() { ), ), ), + 'install note callback' => 'wysiwyg_ckeditor_install_note', 'version callback' => 'wysiwyg_ckeditor_version', 'themes callback' => 'wysiwyg_ckeditor_themes', + 'settings form callback' => 'wysiwyg_ckeditor_settings_form', + 'init callback' => 'wysiwyg_ckeditor_init', 'settings callback' => 'wysiwyg_ckeditor_settings', 'plugin callback' => 'wysiwyg_ckeditor_plugins', 'plugin settings callback' => 'wysiwyg_ckeditor_plugin_settings', @@ -48,6 +51,13 @@ function wysiwyg_ckeditor_editor() { return $editor; } +/** + * Return an install note. + */ +function wysiwyg_ckeditor_install_note() { + return '<p class="warning">' . t('Do NOT download the "CKEditor for Drupal" edition.') . '</p>'; +} + /** * Detect editor version. * @@ -111,6 +121,69 @@ function wysiwyg_ckeditor_themes($editor, $profile) { } } +/** + * Enhances the editor profile settings form for CKEditor. + * + * Adds support for CKEditor's advanced stylesSets, which are a more advanced + * implementation and combination of block formats and font styles that allow + * to adjust the HTML element, attributes, and CSS styles at once. + * + * @see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles + * @see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.stylesSet + */ +function wysiwyg_ckeditor_settings_form(&$form, &$form_state) { + if (version_compare($form_state['wysiwyg']['editor']['installed version'], '3.2.1', '>=')) { + // Replace CSS classes element description to explain the advanced syntax. + $form['css']['css_classes']['#description'] = t('Optionally define CSS classes for the "Font style" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from loaded stylesheet(s).', array( + '!format' => '<code>[label]=[element].[class]</code>', + '!example' => '<code>Title=h1.title</code>', + )); + $form['css']['css_classes']['#element_validate'][] = 'wysiwyg_ckeditor_settings_form_validate_css_classes'; + } + else { + // Versions below 3.2.1 do not support Font styles at all. + $form['css']['css_classes']['#access'] = FALSE; + } +} + +/** + * #element_validate handler for CSS classes element altered by wysiwyg_ckeditor_settings_form(). + */ +function wysiwyg_ckeditor_settings_form_validate_css_classes($element, &$form_state) { + if (wysiwyg_ckeditor_settings_parse_styles($element['#value']) === FALSE) { + form_error($element, t('The specified CSS classes are syntactically incorrect.')); + } +} + +/** + * Returns an initialization JavaScript for this editor library. + * + * @param array $editor + * The editor library definition. + * @param string $library + * The library variant key from $editor['libraries']. + * @param object $profile + * The (first) wysiwyg editor profile. + * + * @return string + * A string containing inline JavaScript to execute before the editor library + * script is loaded. + */ +function wysiwyg_ckeditor_init($editor) { + // CKEditor unconditionally searches for its library filename in SCRIPT tags + // on the page upon loading the library in order to determine the base path to + // itself. When JavaScript aggregation is enabled, this search fails and all + // relative constructed paths within CKEditor are broken. The library has a + // CKEditor.basePath property, but it is not publicly documented and thus not + // reliable. The official documentation suggests to solve the issue through + // the global window variable. + // @see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Specifying_the_Editor_Path + $library_path = base_path() . $editor['library path'] . '/'; + return <<<EOL +window.CKEDITOR_BASEPATH = '$library_path'; +EOL; +} + /** * Return runtime editor settings for a given wysiwyg profile. * @@ -127,8 +200,7 @@ function wysiwyg_ckeditor_themes($editor, $profile) { */ function wysiwyg_ckeditor_settings($editor, $config, $theme) { $settings = array( - 'baseHref' => $GLOBALS['base_url'] . '/', - 'width' => '100%', + 'width' => 'auto', // For better compatibility with smaller textareas. 'resize_minWidth' => 450, 'height' => 420, @@ -167,7 +239,7 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { $settings['contentsCss'] = reset(wysiwyg_get_css()); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + $settings['contentsCss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } else { @@ -175,16 +247,25 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { $settings['contentsCss'] = wysiwyg_get_css(); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = explode(',', strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme()))); + $settings['contentsCss'] = explode(',', strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL))))); } } } + // Parse and define the styles set for the Styles plugin (3.2.1+). + // @todo This should be a plugin setting, but Wysiwyg does not support + // plugin-specific settings yet. + if (!empty($config['buttons']['default']['Styles']) && version_compare($editor['installed version'], '3.2.1', '>=')) { + if ($styles = wysiwyg_ckeditor_settings_parse_styles($config['css_classes'])) { + $settings['stylesSet'] = $styles; + } + } + if (isset($config['language'])) { $settings['language'] = $config['language']; } if (isset($config['resizing'])) { - // CKEditor tests "!== false", so ensure it is a Boolean. + // CKEditor performs a type-agnostic comparison on this particular setting. $settings['resize_enabled'] = (bool) $config['resizing']; } if (isset($config['toolbar_loc'])) { @@ -240,6 +321,51 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { return $settings; } +/** + * Parses CSS classes settings string into a stylesSet JavaScript settings array. + * + * @param string $css_classes + * A string containing CSS class definitions to add to the Style dropdown + * list, separated by newlines. + * + * @return array|false + * An array containing the parsed stylesSet definition, or FALSE on parse + * error. + * + * @see wysiwyg_ckeditor_settings_form() + * @see wysiwyg_ckeditor_settings_form_validate_css_classes() + * + * @todo This should be a plugin setting, but Wysiwyg does not support + * plugin-specific settings yet. + */ +function wysiwyg_ckeditor_settings_parse_styles($css_classes) { + $set = array(); + $input = trim($css_classes); + if (empty($input)) { + return $set; + } + // Handle both Unix and Windows line-endings. + foreach (explode("\n", str_replace("\r", '', $input)) as $line) { + $line = trim($line); + // [label]=[element].[class][.[class]][...] pattern expected. + if (!preg_match('@^.+= *[a-zA-Z0-9]+(\.[a-zA-Z0-9_ -]+)*$@', $line)) { + return FALSE; + } + list($label, $selector) = explode('=', $line, 2); + $classes = explode('.', $selector); + $element = array_shift($classes); + + $style = array(); + $style['name'] = trim($label); + $style['element'] = trim($element); + if (!empty($classes)) { + $style['attributes']['class'] = implode(' ', array_map('trim', $classes)); + } + $set[] = $style; + } + return $set; +} + /** * Build a JS settings array of native external plugins that need to be loaded separately. */ @@ -294,6 +420,7 @@ function wysiwyg_ckeditor_plugins($editor) { 'Bold' => t('Bold'), 'Italic' => t('Italic'), 'Underline' => t('Underline'), 'Strike' => t('Strike-through'), 'JustifyLeft' => t('Align left'), 'JustifyCenter' => t('Align center'), 'JustifyRight' => t('Align right'), 'JustifyBlock' => t('Justify'), + 'BidiLtr' => t('Left-to-right'), 'BidiRtl' => t('Right-to-left'), 'BulletedList' => t('Bullet list'), 'NumberedList' => t('Numbered list'), 'Outdent' => t('Outdent'), 'Indent' => t('Indent'), 'Undo' => t('Undo'), 'Redo' => t('Redo'), @@ -325,6 +452,10 @@ function wysiwyg_ckeditor_plugins($editor) { if (version_compare($editor['installed version'], '3.1.0.4885', '<')) { unset($plugins['default']['buttons']['CreateDiv']); } + if (version_compare($editor['installed version'], '3.4.0.5808', '<')) { + unset($plugins['default']['buttons']['BidiLtr']); + unset($plugins['default']['buttons']['BidiRtl']); + } if (version_compare($editor['installed version'], '3.5.0.6260', '<')) { unset($plugins['default']['buttons']['Iframe']); } diff --git a/sites/all/modules/wysiwyg/editors/epiceditor.inc b/sites/all/modules/wysiwyg/editors/epiceditor.inc new file mode 100644 index 0000000000000000000000000000000000000000..7c8976867df34c5908645e491858ff896d4455f3 --- /dev/null +++ b/sites/all/modules/wysiwyg/editors/epiceditor.inc @@ -0,0 +1,102 @@ +<?php + +/** + * @file + * Editor integration functions for EpicEditor. + */ + +/** + * Plugin implementation of hook_editor(). + */ +function wysiwyg_epiceditor_editor() { + $editor['epiceditor'] = array( + 'title' => 'EpicEditor', + 'vendor url' => 'http://oscargodson.github.com/EpicEditor', + 'download url' => 'http://oscargodson.github.com/EpicEditor/docs/downloads/EpicEditor-v0.1.1.zip', + 'libraries' => array( + '' => array( + 'title' => 'Minified', + 'files' => array('js/epiceditor.min.js'), + ), + 'src' => array( + 'title' => 'Source', + 'files' => array('js/epiceditor.js'), + ), + ), + 'version callback' => 'wysiwyg_epiceditor_version', + 'themes callback' => 'wysiwyg_epiceditor_themes', + 'settings callback' => 'wysiwyg_epiceditor_settings', + 'versions' => array( + '0.1.1' => array( + 'js files' => array('epiceditor.js'), + ), + ), + ); + return $editor; +} + +/** + * Detect editor version. + * + * @param $editor + * An array containing editor properties as returned from hook_editor(). + * + * @return + * The installed editor version. + */ +function wysiwyg_epiceditor_version($editor) { + $library = $editor['library path'] . '/js/epiceditor.js'; + if (!file_exists($library)) { + return; + } + // @todo Do not load the entire file; use fgets() instead. + $library = file_get_contents($library, 'r'); + $version = preg_match('%EpicEditor\.version = \'(.*)\'\;%', $library, $matches); + if (!isset($matches[1])) { + return; + } + return $matches[1]; +} + +/** + * Determine available editor themes or check/reset a given one. + * + * @param $editor + * A processed hook_editor() array of editor properties. + * @param $profile + * A wysiwyg editor profile. + * + * @return + * An array of theme names. The first returned name should be the default + * theme name. + */ +function wysiwyg_epiceditor_themes($editor, $profile) { + return array('epic-dark', 'epic-light'); + // @todo Use the preview themes somewhere. + //return array('preview-dark', 'github'); +} + +/** + * Return runtime editor settings for a given wysiwyg profile. + * + * @param $editor + * A processed hook_editor() array of editor properties. + * @param $config + * An array containing wysiwyg editor profile settings. + * @param $theme + * The name of a theme/GUI/skin to use. + * + * @return + * A settings array to be populated in + * Drupal.settings.wysiwyg.configs.{editor} + */ +function wysiwyg_epiceditor_settings($editor, $config, $theme) { + $settings = array( + 'basePath' => base_path() . $editor['library path'], + 'clientSideStorage' => FALSE, + 'theme' => $theme, + //'preview_theme' => '', + ); + return $settings; +} + diff --git a/sites/all/modules/wysiwyg/editors/fckeditor.inc b/sites/all/modules/wysiwyg/editors/fckeditor.inc index 70954da69bcd2c737111acd672406da95743e9d9..27bcb7b38f1048a5d6a64c08190768dcc7ebfed7 100644 --- a/sites/all/modules/wysiwyg/editors/fckeditor.inc +++ b/sites/all/modules/wysiwyg/editors/fckeditor.inc @@ -131,8 +131,8 @@ function wysiwyg_fckeditor_settings($editor, $config, $theme) { if ($config['css_setting'] == 'theme') { $settings['EditorAreaCSS'] = implode(',', wysiwyg_get_css()); } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['EditorAreaCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['EditorAreaCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } diff --git a/sites/all/modules/wysiwyg/editors/js/ckeditor-3.0.js b/sites/all/modules/wysiwyg/editors/js/ckeditor-3.0.js index d2cf300564d1e2b4bd6e618e5fbe50766bc498cd..f2889283268515a9146a78ab54289fe2165693d1 100644 --- a/sites/all/modules/wysiwyg/editors/js/ckeditor-3.0.js +++ b/sites/all/modules/wysiwyg/editors/js/ckeditor-3.0.js @@ -23,6 +23,10 @@ Drupal.wysiwyg.editor.init.ckeditor = function(settings) { } } } + // Register Font styles (versions 3.2.1 and above). + if (Drupal.settings.wysiwyg.configs.ckeditor[format].stylesSet) { + CKEDITOR.stylesSet.add(format, Drupal.settings.wysiwyg.configs.ckeditor[format].stylesSet); + } } }; @@ -34,6 +38,8 @@ Drupal.wysiwyg.editor.attach.ckeditor = function(context, params, settings) { // Apply editor instance settings. CKEDITOR.config.customConfig = ''; + var $drupalToolbar = $('#toolbar', Drupal.overlayChild ? window.parent.document : document); + settings.on = { instanceReady: function(ev) { var editor = ev.editor; @@ -125,6 +131,19 @@ Drupal.wysiwyg.editor.attach.ckeditor = function(context, params, settings) { focus: function(ev) { Drupal.wysiwyg.activeId = ev.editor.name; + }, + + afterCommandExec: function(ev) { + // Fix Drupal toolbar obscuring editor toolbar in fullscreen mode. + if (ev.data.name != 'maximize') { + return; + } + if (ev.data.command.state == CKEDITOR.TRISTATE_ON) { + $drupalToolbar.hide(); + } + else { + $drupalToolbar.show(); + } } }; @@ -139,16 +158,19 @@ Drupal.wysiwyg.editor.attach.ckeditor = function(context, params, settings) { * containing all instances or the passed in params.field instance, but * always return an array to simplify all detach functions. */ -Drupal.wysiwyg.editor.detach.ckeditor = function(context, params) { +Drupal.wysiwyg.editor.detach.ckeditor = function (context, params, trigger) { + var method = (trigger == 'serialize') ? 'updateElement' : 'destroy'; if (typeof params != 'undefined') { var instance = CKEDITOR.instances[params.field]; if (instance) { - instance.destroy(); + instance[method](); } } else { for (var instanceName in CKEDITOR.instances) { - CKEDITOR.instances[instanceName].destroy(); + if (CKEDITOR.instances.hasOwnProperty(instanceName)) { + CKEDITOR.instances[instanceName][method](); + } } } }; @@ -208,9 +230,18 @@ Drupal.wysiwyg.editor.instance.ckeditor = { // @todo Don't know if we need this yet. return content; }, + insert: function(content) { content = this.prepareContent(content); CKEDITOR.instances[this.field].insertHtml(content); + }, + + setContent: function (content) { + CKEDITOR.instances[this.field].setData(content); + }, + + getContent: function () { + return CKEDITOR.instances[this.field].getData(); } }; diff --git a/sites/all/modules/wysiwyg/editors/js/epiceditor.js b/sites/all/modules/wysiwyg/editors/js/epiceditor.js new file mode 100644 index 0000000000000000000000000000000000000000..03c48017cd0dc2d6443d59fd4d7e959f8801f6b4 --- /dev/null +++ b/sites/all/modules/wysiwyg/editors/js/epiceditor.js @@ -0,0 +1,38 @@ +(function($) { + +/** + * Attach this editor to a target element. + */ +Drupal.wysiwyg.editor.attach.epiceditor = function (context, params, settings) { + var $target = $('#' + params.field); + var containerId = params.field + '-epiceditor'; + var defaultContent = $target.val(); + $target.hide().after('<div id="' + containerId + '" />'); + + settings.container = containerId; + settings.file = { + defaultContent: defaultContent + }; + settings.theme = { + preview: '/themes/preview/preview-dark.css', + editor: '/themes/editor/' + settings.theme + '.css' + } + var editor = new EpicEditor(settings).load(); + $target.data('epiceditor', editor); +}; + +/** + * Detach a single or all editors. + */ +Drupal.wysiwyg.editor.detach.epiceditor = function (context, params, trigger) { + var $target = $('#' + params.field); + var editor = $target.data('epiceditor'); + + $target.val(editor.exportFile()); + + editor.unload(function () { + $target.show(); + }); +}; + +})(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/fckeditor-2.6.js b/sites/all/modules/wysiwyg/editors/js/fckeditor-2.6.js index 4ee2cff739822b614109b262c9337d9ca4d4ee38..fd915e3fe0291d258770ca7c3cda93c39047d2aa 100644 --- a/sites/all/modules/wysiwyg/editors/js/fckeditor-2.6.js +++ b/sites/all/modules/wysiwyg/editors/js/fckeditor-2.6.js @@ -21,7 +21,7 @@ Drupal.wysiwyg.editor.attach.fckeditor = function(context, params, settings) { /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.fckeditor = function(context, params) { +Drupal.wysiwyg.editor.detach.fckeditor = function (context, params, trigger) { var instances = []; if (typeof params != 'undefined' && typeof FCKeditorAPI != 'undefined') { var instance = FCKeditorAPI.GetInstance(params.field); @@ -36,6 +36,11 @@ Drupal.wysiwyg.editor.detach.fckeditor = function(context, params) { for (var instanceName in instances) { var instance = instances[instanceName]; instance.UpdateLinkedField(); + if (trigger == 'serialize') { + // The editor is not being removed from the DOM, so updating the linked + // field is the only action necessary. + continue; + } // Since we already detach the editor and update the textarea, the submit // event handler needs to be removed to prevent data loss (in IE). // FCKeditor uses 2 nested iFrames; instance.EditingArea.Window is the @@ -175,6 +180,16 @@ Drupal.wysiwyg.editor.instance.fckeditor = { var instance = FCKeditorAPI.GetInstance(this.field); // @see FCK.InsertHtml(), FCK.InsertElement() instance.InsertHtml(content); + }, + + getContent: function () { + var instance = FCKeditorAPI.GetInstance(this.field); + return instance.GetData(); + }, + + setContent: function (content) { + var instance = FCKeditorAPI.GetInstance(this.field); + instance.SetHTML(content); } }; diff --git a/sites/all/modules/wysiwyg/editors/js/fckeditor.config.js b/sites/all/modules/wysiwyg/editors/js/fckeditor.config.js index d3fbc2fc1d73c6e87679ab5cf9605a9a3bf6692f..42efc32260c0b17e5efa87e5aefa5416392c16b6 100644 --- a/sites/all/modules/wysiwyg/editors/js/fckeditor.config.js +++ b/sites/all/modules/wysiwyg/editors/js/fckeditor.config.js @@ -40,6 +40,19 @@ for (var setting in wysiwygSettings) { } } +// Fix Drupal toolbar obscuring editor toolbar in fullscreen mode. +var oldFitWindowExecute = FCKFitWindow.prototype.Execute; +var $drupalToolbar = window.parent.jQuery('#toolbar', Drupal.overlayChild ? window.parent.window.parent.document : window.parent.document); +FCKFitWindow.prototype.Execute = function() { + oldFitWindowExecute.apply(this, arguments); + if (this.IsMaximized) { + $drupalToolbar.hide(); + } + else { + $drupalToolbar.show(); + } +} + /** * Initialize this editor instance. */ diff --git a/sites/all/modules/wysiwyg/editors/js/jwysiwyg.js b/sites/all/modules/wysiwyg/editors/js/jwysiwyg.js index ae47853221f914daf80763d3779c3698c8eacc1e..d3e7490f78e0d4614b40c723329354c8cc7d0b25 100644 --- a/sites/all/modules/wysiwyg/editors/js/jwysiwyg.js +++ b/sites/all/modules/wysiwyg/editors/js/jwysiwyg.js @@ -11,15 +11,33 @@ Drupal.wysiwyg.editor.attach.jwysiwyg = function(context, params, settings) { /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.jwysiwyg = function(context, params) { +Drupal.wysiwyg.editor.detach.jwysiwyg = function (context, params, trigger) { var $field = $('#' + params.field); var editor = $field.data('wysiwyg'); if (typeof editor != 'undefined') { editor.saveContent(); - editor.element.remove(); + if (trigger != 'serialize') { + editor.element.remove(); + } } $field.removeData('wysiwyg'); - $field.show(); + if (trigger != 'serialize') { + $field.show(); + } +}; + +Drupal.wysiwyg.editor.instance.jwysiwyg = { + insert: function (content) { + $('#' + this.field).wysiwyg('insertHtml', content); + }, + + setContent: function (content) { + $('#' + this.field).wysiwyg('setContent', content); + }, + + getContent: function () { + return $('#' + this.field).wysiwyg('getContent'); + } }; })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/markitup.js b/sites/all/modules/wysiwyg/editors/js/markitup.js index 66918114405863423af003bc37c9ce01d5933615..00e10b978a54528007c47209fe620b8beb45e5ea 100644 --- a/sites/all/modules/wysiwyg/editors/js/markitup.js +++ b/sites/all/modules/wysiwyg/editors/js/markitup.js @@ -17,7 +17,10 @@ Drupal.wysiwyg.editor.attach.markitup = function(context, params, settings) { /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.markitup = function(context, params) { +Drupal.wysiwyg.editor.detach.markitup = function (context, params, trigger) { + if (trigger == 'serialize') { + return; + } if (typeof params != 'undefined') { $('#' + params.field, context).markItUpRemove(); } @@ -26,4 +29,18 @@ Drupal.wysiwyg.editor.detach.markitup = function(context, params) { } }; +Drupal.wysiwyg.editor.instance.markitup = { + insert: function (content) { + $.markItUp({ replaceWith: content }); + }, + + setContent: function (content) { + $('#' + this.field).val(content); + }, + + getContent: function () { + return $('#' + this.field).val(); + } +}; + })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/nicedit.js b/sites/all/modules/wysiwyg/editors/js/nicedit.js index d5d979575f3bea34f9c6918f571b084c7927cf55..10b7809c5d5997cecadf111530ee1453ae6616c5 100644 --- a/sites/all/modules/wysiwyg/editors/js/nicedit.js +++ b/sites/all/modules/wysiwyg/editors/js/nicedit.js @@ -30,12 +30,17 @@ Drupal.wysiwyg.editor.attach.nicedit = function(context, params, settings) { * * See Drupal.wysiwyg.editor.detach.none() for a full description of this hook. */ -Drupal.wysiwyg.editor.detach.nicedit = function(context, params) { +Drupal.wysiwyg.editor.detach.nicedit = function (context, params, trigger) { if (typeof params != 'undefined') { var instance = nicEditors.findEditor(params.field); if (instance) { - instance.ne.removeInstance(params.field); - instance.ne.removePanel(); + if (trigger == 'serialize') { + instance.saveContent(); + } + else { + instance.ne.removeInstance(params.field); + instance.ne.removePanel(); + } } } else { @@ -43,10 +48,17 @@ Drupal.wysiwyg.editor.detach.nicedit = function(context, params) { // Save contents of all editors back into textareas. var instances = nicEditors.editors[e].nicInstances; for (var i = 0; i < instances.length; i++) { - instances[i].remove(); + if (trigger == 'serialize') { + instances[i].saveContent(); + } + else { + instances[i].remove(); + } } // Remove all editor instances. - nicEditors.editors[e].nicInstances = []; + if (trigger != 'serialize') { + nicEditors.editors[e].nicInstances = []; + } } } }; @@ -62,7 +74,7 @@ Drupal.wysiwyg.editor.instance.nicedit = { // IE. if (document.selection) { editingArea.focus(); - sel.createRange().text = content; + sel.createRange().pasteHTML(content); } else { // Convert selection to a range. @@ -89,6 +101,14 @@ Drupal.wysiwyg.editor.instance.nicedit = { // Only fragment children are inserted. range.insertNode(fragment); } + }, + + setContent: function (content) { + nicEditors.findEditor(this.field).setContent(content); + }, + + getContent: function () { + return nicEditors.findEditor(this.field).getContent(); } }; diff --git a/sites/all/modules/wysiwyg/editors/js/none.js b/sites/all/modules/wysiwyg/editors/js/none.js index 34020240c288afc5e89269402c15685e18d1c2a1..762f7fb2b5d495489d31b9b49f64e4b4cb410da3 100644 --- a/sites/all/modules/wysiwyg/editors/js/none.js +++ b/sites/all/modules/wysiwyg/editors/js/none.js @@ -17,7 +17,7 @@ Drupal.wysiwyg.editor.attach.none = function(context, params, settings) { if (params.resizable) { var $wrapper = $('#' + params.field).parents('.form-textarea-wrapper:first'); $wrapper.addClass('resizable'); - if (Drupal.behaviors.textarea.attach) { + if (Drupal.behaviors.textarea) { Drupal.behaviors.textarea.attach(); } } @@ -26,6 +26,9 @@ Drupal.wysiwyg.editor.attach.none = function(context, params, settings) { /** * Detach a single or all editors. * + * The editor syncs its contents back to the original field before its instance + * is removed. + * * @param context * A DOM element, supplied by Drupal.attachBehaviors(). * @param params @@ -33,9 +36,18 @@ Drupal.wysiwyg.editor.attach.none = function(context, params, settings) { * only the editor instance in params.field should be detached. Otherwise, * all editors should be detached and saved, so they can be submitted in * AJAX/AHAH applications. + * @param trigger + * A string describing why the editor is being detached. + * Possible triggers are: + * - unload: (default) Another or no editor is about to take its place. + * - move: Currently expected to produce the same result as unload. + * - serialize: The form is about to be serialized before an AJAX request or + * a normal form submission. If possible, perform a quick detach and leave + * the editor's GUI elements in place to avoid flashes or scrolling issues. + * @see Drupal.detachBehaviors */ -Drupal.wysiwyg.editor.detach.none = function(context, params) { - if (typeof params != 'undefined') { +Drupal.wysiwyg.editor.detach.none = function (context, params, trigger) { + if (typeof params != 'undefined' && (trigger != 'serialize')) { var $wrapper = $('#' + params.field).parents('.form-textarea-wrapper:first'); $wrapper.removeOnce('textarea').removeClass('.resizable-textarea') .find('.grippie').remove(); @@ -65,6 +77,14 @@ Drupal.wysiwyg.editor.instance.none = { else { editor.value += content; } + }, + + setContent: function (content) { + $('#' + this.field).val(content); + }, + + getContent: function () { + return $('#' + this.field).val(); } }; diff --git a/sites/all/modules/wysiwyg/editors/js/openwysiwyg.js b/sites/all/modules/wysiwyg/editors/js/openwysiwyg.js index 89a5337edc16f7cd5a01b48ea7b4672c64d67d3e..a01e8a0b1ea5cb0a82dd0949bc49ee46302bf305 100644 --- a/sites/all/modules/wysiwyg/editors/js/openwysiwyg.js +++ b/sites/all/modules/wysiwyg/editors/js/openwysiwyg.js @@ -23,6 +23,19 @@ WYSIWYG.getEditor = function (n) { (function($) { +// Fix Drupal toolbar obscuring editor toolbar in fullscreen mode. +var oldMaximize = WYSIWYG.maximize; +WYSIWYG.maximize = function (n) { +var $drupalToolbar = $('#toolbar', Drupal.overlayChild ? window.parent.document : document); + oldMaximize.apply(this, arguments); + if (this.maximized[n]) { + $drupalToolbar.hide(); + } + else { + $drupalToolbar.show(); + } +} + /** * Attach this editor to a target element. */ @@ -45,24 +58,84 @@ Drupal.wysiwyg.editor.attach.openwysiwyg = function(context, params, settings) { /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.openwysiwyg = function(context, params) { +Drupal.wysiwyg.editor.detach.openwysiwyg = function (context, params, trigger) { if (typeof params != 'undefined') { var instance = WYSIWYG.config[params.field]; if (typeof instance != 'undefined') { WYSIWYG.updateTextArea(params.field); - jQuery('#wysiwyg_div_' + params.field).remove(); - delete instance; + if (trigger != 'serialize') { + jQuery('#wysiwyg_div_' + params.field).remove(); + delete instance; + } + } + if (trigger != 'serialize') { + jQuery('#' + params.field).show(); } - jQuery('#' + params.field).show(); } else { jQuery.each(WYSIWYG.config, function(field) { WYSIWYG.updateTextArea(field); - jQuery('#wysiwyg_div_' + field).remove(); - delete this; - jQuery('#' + field).show(); + if (trigger != 'serialize') { + jQuery('#wysiwyg_div_' + field).remove(); + delete this; + jQuery('#' + field).show(); + } }); } }; +/** + * Instance methods for openWYSIWYG. + */ +Drupal.wysiwyg.editor.instance.openwysiwyg = { + insert: function (content) { + // If IE has dropped focus content will be inserted at the top of the page. + $('#wysiwyg' + this.field).contents().find('body').focus(); + WYSIWYG.insertHTML(content, this.field); + }, + + setContent: function (content) { + // Based on openWYSIWYG's _generate() method. + var doc = WYSIWYG.getEditorWindow(this.field).document; + if (WYSIWYG.config[this.field].ReplaceLineBreaks) { + content = content.replace(/\n\r|\n/ig, '<br />'); + } + if (WYSIWYG.viewTextMode[this.field]) { + var html = document.createTextNode(content); + doc.body.innerHTML = ''; + doc.body.appendChild(html); + } + else { + doc.open(); + doc.write(content); + doc.close(); + } + }, + + getContent: function () { + // Based on openWYSIWYG's updateTextarea() method. + var content = ''; + var doc = WYSIWYG.getEditorWindow(this.field).document; + if (WYSIWYG.viewTextMode[this.field]) { + if (WYSIWYG_Core.isMSIE) { + content = doc.body.innerText; + } + else { + var range = doc.body.ownerDocument.createRange(); + range.selectNodeContents(doc.body); + content = range.toString(); + } + } + else { + content = doc.body.innerHTML; + } + content = WYSIWYG.stripURLPath(this.field, content); + content = WYSIWYG_Core.replaceRGBWithHexColor(content); + if (WYSIWYG.config[this.field].ReplaceLineBreaks) { + content = content.replace(/(\r\n)|(\n)/ig, ''); + } + return content; + } +}; + })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/tinymce-2.js b/sites/all/modules/wysiwyg/editors/js/tinymce-2.js index 088021f710eb9e5cd62aefb993ddff7803b7630c..61a60ade44a6533f0afa7d450e9f0c26da857abb 100644 --- a/sites/all/modules/wysiwyg/editors/js/tinymce-2.js +++ b/sites/all/modules/wysiwyg/editors/js/tinymce-2.js @@ -10,18 +10,8 @@ * An object containing editor settings for each input format. */ Drupal.wysiwyg.editor.init.tinymce = function(settings) { - // If JS compression is enabled, TinyMCE is unable to autodetect its global - // settinge, hence we need to define them manually. - // @todo Move global library settings somewhere else. - tinyMCE.baseURL = settings.global.editorBasePath; - tinyMCE.srcMode = (settings.global.execMode == 'src' ? '_src' : ''); - tinyMCE.gzipMode = (settings.global.execMode == 'gzip'); - // Initialize editor configurations. for (var format in settings) { - if (format == 'global') { - continue; - } tinyMCE.init(settings[format]); if (Drupal.settings.wysiwyg.plugins[format]) { // Load native external plugins. @@ -67,7 +57,7 @@ Drupal.wysiwyg.editor.attach.tinymce = function(context, params, settings) { * * See Drupal.wysiwyg.editor.detach.none() for a full desciption of this hook. */ -Drupal.wysiwyg.editor.detach.tinymce = function(context, params) { +Drupal.wysiwyg.editor.detach.tinymce = function (context, params, trigger) { if (typeof params != 'undefined') { tinyMCE.removeMCEControl(tinyMCE.getEditorId(params.field)); $('#' + params.field).removeAttr('style'); diff --git a/sites/all/modules/wysiwyg/editors/js/tinymce-3.js b/sites/all/modules/wysiwyg/editors/js/tinymce-3.js index bbb453cb6e36c04e783602d43f9d053be2c47ca1..4e64c7dbf628071c16192df48774899d159b2f5f 100644 --- a/sites/all/modules/wysiwyg/editors/js/tinymce-3.js +++ b/sites/all/modules/wysiwyg/editors/js/tinymce-3.js @@ -11,19 +11,21 @@ * An object containing editor settings for each input format. */ Drupal.wysiwyg.editor.init.tinymce = function(settings) { - // If JS compression is enabled, TinyMCE is unable to autodetect its global - // settinge, hence we need to define them manually. - // @todo Move global library settings somewhere else. - tinyMCE.baseURL = settings.global.editorBasePath; - tinyMCE.srcMode = (settings.global.execMode == 'src' ? '_src' : ''); - tinyMCE.gzipMode = (settings.global.execMode == 'gzip'); + // Fix Drupal toolbar obscuring editor toolbar in fullscreen mode. + var $drupalToolbar = $('#toolbar', Drupal.overlayChild ? window.parent.document : document); + tinyMCE.onAddEditor.add(function (mgr, ed) { + if (ed.id == 'mce_fullscreen') { + $drupalToolbar.hide(); + } + }); + tinyMCE.onRemoveEditor.add(function (mgr, ed) { + if (ed.id == 'mce_fullscreen') { + $drupalToolbar.show(); + } + }); // Initialize editor configurations. for (var format in settings) { - if (format == 'global') { - continue; - }; - tinyMCE.init(settings[format]); if (Drupal.settings.wysiwyg.plugins[format]) { // Load native external plugins. // Array syntax required; 'native' is a predefined token in JavaScript. @@ -50,7 +52,9 @@ Drupal.wysiwyg.editor.attach.tinymce = function(context, params, settings) { ed.onEvent.add(function(ed, e) { Drupal.wysiwyg.activeId = ed.id; }); - /* START UNL CHANGE + // Indicate that the DOM has been loaded (in case of Ajax). + tinymce.dom.Event.domLoaded = true; +/* START UNL CHANGE // Make toolbar buttons wrappable (required for IE). ed.onPostRender.add(function (ed) { var $toolbar = $('<div class="wysiwygToolbar"></div>'); @@ -60,7 +64,7 @@ Drupal.wysiwyg.editor.attach.tinymce = function(context, params, settings) { $('#' + ed.editorContainer + ' table.mceLayout td.mceToolbar').append($toolbar); $('#' + ed.editorContainer + ' table.mceToolbar').remove(); }); - END UNL CHANGE */ +END UNL CHANGE */ // Remove TinyMCE's internal mceItem class, which was incorrectly added to // submitted content by Wysiwyg <2.1. TinyMCE only temporarily adds the class // for placeholder elements. If preemptively set, the class prevents (native) @@ -80,20 +84,24 @@ Drupal.wysiwyg.editor.attach.tinymce = function(context, params, settings) { * * See Drupal.wysiwyg.editor.detach.none() for a full desciption of this hook. */ -Drupal.wysiwyg.editor.detach.tinymce = function(context, params) { +Drupal.wysiwyg.editor.detach.tinymce = function (context, params, trigger) { if (typeof params != 'undefined') { var instance = tinyMCE.get(params.field); if (instance) { instance.save(); - instance.remove(); + if (trigger != 'serialize') { + instance.remove(); + } } } else { // Save contents of all editors back into textareas. tinyMCE.triggerSave(); - // Remove all editor instances. - for (var instance in tinyMCE.editors) { - tinyMCE.editors[instance].remove(); + if (trigger != 'serialize') { + // Remove all editor instances. + for (var instance in tinyMCE.editors) { + tinyMCE.editors[instance].remove(); + } } } }; @@ -139,16 +147,18 @@ Drupal.wysiwyg.editor.instance.tinymce = { // Attach: Replace plain text with HTML representations. ed.onBeforeSetContent.add(function(ed, data) { + var editorId = (ed.id == 'mce_fullscreen' ? ed.getParam('fullscreen_editor_id') : ed.id); if (typeof Drupal.wysiwyg.plugins[plugin].attach == 'function') { - data.content = Drupal.wysiwyg.plugins[plugin].attach(data.content, pluginSettings, ed.id); + data.content = Drupal.wysiwyg.plugins[plugin].attach(data.content, pluginSettings, editorId); data.content = Drupal.wysiwyg.editor.instance.tinymce.prepareContent(data.content); } }); // Detach: Replace HTML representations with plain text. ed.onGetContent.add(function(ed, data) { + var editorId = (ed.id == 'mce_fullscreen' ? ed.getParam('fullscreen_editor_id') : ed.id); if (typeof Drupal.wysiwyg.plugins[plugin].detach == 'function') { - data.content = Drupal.wysiwyg.plugins[plugin].detach(data.content, pluginSettings, ed.id); + data.content = Drupal.wysiwyg.plugins[plugin].detach(data.content, pluginSettings, editorId); } }); @@ -176,7 +186,7 @@ Drupal.wysiwyg.editor.instance.tinymce = { }, openDialog: function(dialog, params) { - var instanceId = this.isFullscreen() ? 'mce_fullscreen' : this.field; + var instanceId = this.getInstanceId(); var editor = tinyMCE.get(instanceId); editor.windowManager.open({ file: dialog.url + '/' + instanceId, @@ -187,8 +197,7 @@ Drupal.wysiwyg.editor.instance.tinymce = { }, closeDialog: function(dialog) { - var instanceId = this.isFullscreen() ? 'mce_fullscreen' : this.field; - var editor = tinyMCE.get(instanceId); + var editor = tinyMCE.get(this.getInstanceId()); editor.windowManager.close(dialog); }, @@ -223,13 +232,25 @@ Drupal.wysiwyg.editor.instance.tinymce = { insert: function(content) { content = this.prepareContent(content); - var instanceId = this.isFullscreen() ? 'mce_fullscreen' : this.field; - tinyMCE.execInstanceCommand(instanceId, 'mceInsertContent', false, content); + tinyMCE.execInstanceCommand(this.getInstanceId(), 'mceInsertContent', false, content); + }, + + setContent: function (content) { + content = this.prepareContent(content); + tinyMCE.execInstanceCommand(this.getInstanceId(), 'mceSetContent', false, content); + }, + + getContent: function () { + return tinyMCE.get(this.getInstanceId()).getContent(); }, isFullscreen: function() { // TinyMCE creates a completely new instance for fullscreen mode. return tinyMCE.activeEditor.id == 'mce_fullscreen' && tinyMCE.activeEditor.getParam('fullscreen_editor_id') == this.field; + }, + + getInstanceId: function () { + return this.isFullscreen() ? 'mce_fullscreen' : this.field; } }; diff --git a/sites/all/modules/wysiwyg/editors/js/whizzywig-56.js b/sites/all/modules/wysiwyg/editors/js/whizzywig-56.js index 229a70b27f802e2a9b26f9089c954cb69b97c0dd..3fc2fe57c1e73d6dd3acfa35c2086e15b5448cb3 100644 --- a/sites/all/modules/wysiwyg/editors/js/whizzywig-56.js +++ b/sites/all/modules/wysiwyg/editors/js/whizzywig-56.js @@ -80,39 +80,28 @@ Drupal.wysiwyg.editor.attach.whizzywig = function(context, params, settings) { // Attach editor. makeWhizzyWig(params.field, (settings.buttons ? settings.buttons : 'all')); // Whizzywig fails to detect and set initial textarea contents. - var instance = $('#whizzy' + params.field).get(0); - if (instance) { - instance.contentWindow.document.body.innerHTML = tidyD($field.val()); - } + $('#whizzy' + params.field).contents().find('body').html(tidyD($field.val())); }; /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { +Drupal.wysiwyg.editor.detach.whizzywig = function (context, params, trigger) { var detach = function (index) { - var id = whizzies[index]; - var instance = $('#whizzy' + id).get(0); - if (!instance) { - return; - } - var editingArea = instance.contentWindow.document; - var $field = $('#' + id); - // Whizzywig shows the original textarea in source mode. - if ($field.css('display') == 'block') { - editingArea.body.innerHTML = $field.val(); - } + var id = whizzies[index], $field = $('#' + id), instance = Drupal.wysiwyg.instances[id]; // Save contents of editor back into textarea. - $field.val(tidyH(editingArea)); + $field.val(instance.getContent()); + // If the editor is just being serialized (not detached), our work is done. + if (trigger == 'serialize') { + return; + } // Remove editor instance. $('#' + id + '-whizzywig').remove(); whizzies.splice(index, 1); // Restore original textarea styling. - var originalValues = Drupal.wysiwyg.instances[id]; - $field.removeAttr('style'); - $field.attr('style', originalValues.originalStyle); + $field.removeAttr('style').attr('style', instance.originalStyle); }; if (typeof params != 'undefined') { @@ -130,4 +119,37 @@ Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { } }; +/** + * Instance methods for Whizzywig. + */ +Drupal.wysiwyg.editor.instance.whizzywig = { + insert: function (content) { + // Whizzywig executes any string beginning with 'js:'. + insHTML(content.replace(/^js:/, 'js:')); + }, + + setContent: function (content) { + // Whizzywig shows the original textarea in source mode. + if ($field.css('display') == 'block') { + $('#' + this.field).val(content); + } + else { + var doc = $('#whizzy' + this.field).contents()[0]; + doc.open(); + doc.write(content); + doc.close(); + } + }, + + getContent: function () { + // Whizzywig's tidyH() expects a document node. Clone the editing iframe's + // document so tidyH() won't mess with it if this gets called while editing. + var clone = $($('#whizzy' + this.field).contents()[0].documentElement).clone()[0].ownerDocument; + // Whizzywig shows the original textarea in source mode so update the body. + if ($field.css('display') == 'block') { + clone.body.innerHTML = $('#' + this.field).val(); + } + return tidyH(clone); + } +}; })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/whizzywig-60.js b/sites/all/modules/wysiwyg/editors/js/whizzywig-60.js index dc995f6c5d56276136e68d302985ec4c493c6468..bbc6e649dc04b00692d67828c797e83d42a47ef3 100644 --- a/sites/all/modules/wysiwyg/editors/js/whizzywig-60.js +++ b/sites/all/modules/wysiwyg/editors/js/whizzywig-60.js @@ -29,42 +29,31 @@ Drupal.wysiwyg.editor.attach.whizzywig = function(context, params, settings) { // Attach editor. makeWhizzyWig(params.field, (settings.buttons ? settings.buttons : 'all')); // Whizzywig fails to detect and set initial textarea contents. - var instance = $('#whizzy' + params.field).get(0); - if (instance) { - instance.contentWindow.document.body.innerHTML = tidyD($field.val()); - } + $('#whizzy' + params.field).contents().find('body').html(tidyD($field.val())); }; /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { +Drupal.wysiwyg.editor.detach.whizzywig = function (context, params, trigger) { var detach = function (index) { - var id = whizzies[index]; - var instance = $('#whizzy' + id).get(0); - if (!instance) { - return; - } - var editingArea = instance.contentWindow.document; - var $field = $('#' + id); - // Whizzywig shows the original textarea in source mode. - if ($field.css('display') == 'block') { - editingArea.body.innerHTML = $field.val(); - } + var id = whizzies[index], $field = $('#' + id), instance = Drupal.wysiwyg.instances[id]; // Save contents of editor back into textarea. - $field.val(tidyH(editingArea)); + $field.val(instance.getContent()); + // If the editor is just being serialized (not detached), our work is done. + if (trigger == 'serialize') { + return; + } // Move original textarea back to its previous location. - $container = $('#CONTAINER' + id); + var $container = $('#CONTAINER' + id); $field.insertBefore($container); // Remove editor instance. $container.remove(); whizzies.splice(index, 1); // Restore original textarea styling. - var originalValues = Drupal.wysiwyg.instances[id]; - $field.removeAttr('style'); - $field.attr('style', originalValues.originalStyle); + $field.removeAttr('style').attr('style', instance.originalStyle); } if (typeof params != 'undefined') { @@ -82,4 +71,37 @@ Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { } }; +/** + * Instance methods for Whizzywig. + */ +Drupal.wysiwyg.editor.instance.whizzywig = { + insert: function (content) { + // Whizzywig executes any string beginning with 'js:'. + insHTML(content.replace(/^js:/, 'js:')); + }, + + setContent: function (content) { + // Whizzywig shows the original textarea in source mode. + if ($field.css('display') == 'block') { + $('#' + this.field).val(content); + } + else { + var doc = $('#whizzy' + this.field).contents()[0]; + doc.open(); + doc.write(content); + doc.close(); + } + }, + + getContent: function () { + // Whizzywig's tidyH() expects a document node. Clone the editing iframe's + // document so tidyH() won't mess with it if this gets called while editing. + var clone = $($('#whizzy' + this.field).contents()[0].documentElement).clone()[0].ownerDocument; + // Whizzywig shows the original textarea in source mode so update the body. + if ($field.css('display') == 'block') { + clone.body.innerHTML = $('#' + this.field).val(); + } + return tidyH(clone); + } +}; })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/whizzywig.js b/sites/all/modules/wysiwyg/editors/js/whizzywig.js index e98bc4da81ebecb8a286985538edd58a34645dcb..e89ac5f09d1bed1b7d2a1cfca7cdd5f9132c1166 100644 --- a/sites/all/modules/wysiwyg/editors/js/whizzywig.js +++ b/sites/all/modules/wysiwyg/editors/js/whizzywig.js @@ -71,41 +71,28 @@ Drupal.wysiwyg.editor.attach.whizzywig = function(context, params, settings) { // Attach editor. makeWhizzyWig(params.field, (settings.buttons ? settings.buttons : 'all')); // Whizzywig fails to detect and set initial textarea contents. - var instance = $('#whizzy' + params.field).get(0); - if (instance) { - instance.contentWindow.document.body.innerHTML = tidyD($field.val()); - } + $('#whizzy' + params.field).contents().find('body').html(tidyD($field.val())); }; /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { +Drupal.wysiwyg.editor.detach.whizzywig = function (context, params, trigger) { var detach = function (index) { - var id = whizzies[index]; - var instance = $('#whizzy' + id).get(0); - if (!instance) { - return; - } - var body = instance.contentWindow.document.body; - var $field = $('#' + id); - // Whizzywig shows the original textarea in source mode. - if ($field.css('display') == 'block') { - body.innerHTML = $field.val(); - } - body.innerHTML = tidyH(body.innerHTML); + var id = whizzies[index], $field = $('#' + id), instance = Drupal.wysiwyg.instances[id]; // Save contents of editor back into textarea. - $field.val(window.get_xhtml ? get_xhtml(body) : body.innerHTML); - $field.val($field.val().replace(location.href + '#', '#')); + $field.val(instance.getContent()); + // If the editor is just being serialized (not detached), our work is done. + if (trigger == 'serialize') { + return; + } // Remove editor instance. $('#' + id + '-whizzywig').remove(); whizzies.splice(index, 1); // Restore original textarea styling. - var originalValues = Drupal.wysiwyg.instances[id]; - $field.removeAttr('style'); - $field.attr('style', originalValues.originalStyle); + $field.removeAttr('style').attr('style', instance.originalStyle); }; if (typeof params != 'undefined') { @@ -123,4 +110,45 @@ Drupal.wysiwyg.editor.detach.whizzywig = function(context, params) { } }; +/** + * Instance methods for Whizzywig. + */ +Drupal.wysiwyg.editor.instance.whizzywig = { + insert: function (content) { + // Whizzywig executes any string beginning with 'js:'. + insHTML(content.replace(/^js:/, 'js:')); + }, + + setContent: function (content) { + var $field = $('#' + this.field); + // Whizzywig shows the original textarea in source mode. + if ($field.css('display') == 'block') { + $field.val(content); + } + else { + var doc = $('#whizzy' + this.field).contents()[0]; + doc.open(); + doc.write(content); + doc.close(); + } + }, + + getContent: function () { + var $field = $('#' + this.field), + // Whizzywig shows the original textarea in source mode. + content = ($field.css('display') == 'block' ? + $field.val() : $('#whizzy' + this.field).contents().find('body').html() + ); + + content = tidyH(content); + // Whizzywig's get_xhtml() addon, if defined, expects a DOM node. + if ($.isFunction(window.get_xhtml)) { + var pre = document.createElement('pre'); + pre.innerHTML = content; + content = get_xhtml(pre); + } + return content.replace(location.href + '#', '#'); + } +}; + })(jQuery); diff --git a/sites/all/modules/wysiwyg/editors/js/wymeditor.js b/sites/all/modules/wysiwyg/editors/js/wymeditor.js index ed66784831b3d4b6124452408f2198ddb8febb34..4989dc60beed5aa5146f1c01ad6dc99338012c4a 100644 --- a/sites/all/modules/wysiwyg/editors/js/wymeditor.js +++ b/sites/all/modules/wysiwyg/editors/js/wymeditor.js @@ -19,37 +19,55 @@ Drupal.wysiwyg.editor.attach.wymeditor = function (context, params, settings) { /** * Detach a single or all editors. */ -Drupal.wysiwyg.editor.detach.wymeditor = function (context, params) { +Drupal.wysiwyg.editor.detach.wymeditor = function (context, params, trigger) { if (typeof params != 'undefined') { var $field = $('#' + params.field); var index = $field.data(WYMeditor.WYM_INDEX); if (typeof index != 'undefined') { var instance = WYMeditor.INSTANCES[index]; instance.update(); - $(instance._box).remove(); - $(instance._element).show(); - delete instance; + if (trigger != 'serialize') { + $(instance._box).remove(); + $(instance._element).show(); + delete instance; + } + } + if (trigger != 'serialize') { + $field.show(); } - $field.show(); } else { jQuery.each(WYMeditor.INSTANCES, function () { this.update(); - $(this._box).remove(); - $(this._element).show(); - delete this; + if (trigger != 'serialize') { + $(this._box).remove(); + $(this._element).show(); + delete this; + } }); } }; Drupal.wysiwyg.editor.instance.wymeditor = { insert: function (content) { + this.getInstance().insert(content); + }, + + setContent: function (content) { + this.getInstance().html(content); + }, + + getContent: function () { + return this.getInstance().xhtml(); + }, + + getInstance: function () { var $field = $('#' + this.field); var index = $field.data(WYMeditor.WYM_INDEX); if (typeof index != 'undefined') { - var instance = WYMeditor.INSTANCES[index]; - instance.insert(content); + return WYMeditor.INSTANCES[index]; } + return null; } }; diff --git a/sites/all/modules/wysiwyg/editors/js/yui.js b/sites/all/modules/wysiwyg/editors/js/yui.js index ad8be368e7b3f931f373193ed6bcd4cdd9e8249b..3f4e7c63a31d9ba95040f9927e09f88a2a8b2cce 100644 --- a/sites/all/modules/wysiwyg/editors/js/yui.js +++ b/sites/all/modules/wysiwyg/editors/js/yui.js @@ -2,12 +2,70 @@ /** * Attach this editor to a target element. + * + * Since buttons must be added before the editor is rendered, we add plugins + * buttons on attach event rather than in init. */ Drupal.wysiwyg.editor.attach.yui = function(context, params, settings) { // Apply theme. $('#' + params.field).parent().addClass('yui-skin-' + settings.theme); + + // Load plugins stylesheet. + for (var plugin in Drupal.settings.wysiwyg.plugins[params.format].drupal) { + settings.extracss += settings.extracss+' @import "'+Drupal.settings.wysiwyg.plugins[params.format].drupal[plugin].css+'"; '; + } + // Attach editor. var editor = new YAHOO.widget.Editor(params.field, settings); + + editor.on('toolbarLoaded', function() { + // Load Drupal plugins. + for (var plugin in Drupal.settings.wysiwyg.plugins[params.format].drupal) { + Drupal.wysiwyg.instances[params.field].addPlugin(plugin, Drupal.settings.wysiwyg.plugins[params.format].drupal[plugin], Drupal.settings.wysiwyg.plugins.drupal[plugin]); + } + }); + + // Allow plugins to act on setEditorHTML. + var oldSetEditorHTML = editor.setEditorHTML; + editor.setEditorHTML = function (content) { + for (var plugin in Drupal.settings.wysiwyg.plugins[params.format].drupal) { + var pluginSettings = Drupal.settings.wysiwyg.plugins.drupal[plugin]; + if (typeof Drupal.wysiwyg.plugins[plugin].attach == 'function') { + content = Drupal.wysiwyg.plugins[plugin].attach(content, pluginSettings, params.field); + content = Drupal.wysiwyg.instances[params.field].prepareContent(content); + } + } + oldSetEditorHTML.call(this, content); + }; + + // Allow plugins to act on getEditorHTML. + var oldGetEditorHTML = editor.getEditorHTML; + editor.getEditorHTML = function () { + var content = oldGetEditorHTML.call(this); + for (var plugin in Drupal.settings.wysiwyg.plugins[params.format].drupal) { + var pluginSettings = Drupal.settings.wysiwyg.plugins.drupal[plugin]; + if (typeof Drupal.wysiwyg.plugins[plugin].detach == 'function') { + content = Drupal.wysiwyg.plugins[plugin].detach(content, pluginSettings, params.field); + } + } + return content; + } + + // Reload the editor contents to give Drupal plugins a chance to act. + editor.on('editorContentLoaded', function (e) { + e.target.setEditorHTML(oldGetEditorHTML.call(e.target)); + }); + + editor.on('afterNodeChange', function (e) { + for (var plugin in Drupal.settings.wysiwyg.plugins[params.format].drupal) { + if (typeof Drupal.wysiwyg.plugins[plugin].isNode == 'function') { + if (Drupal.wysiwyg.plugins[plugin].isNode(e.target._getSelectedElement())) { + this.toolbar.selectButton(plugin); + } + } + } + }); + editor.render(); }; @@ -16,19 +74,71 @@ Drupal.wysiwyg.editor.attach.yui = function(context, params, settings) { * * See Drupal.wysiwyg.editor.detach.none() for a full desciption of this hook. */ -Drupal.wysiwyg.editor.detach.yui = function(context, params) { +Drupal.wysiwyg.editor.detach.yui = function (context, params, trigger) { + var method = (trigger && trigger == 'serialize') ? 'saveHTML' : 'destroy'; if (typeof params != 'undefined') { - var instance = YAHOO.widget.EditorInfo.getEditorById(params.field); + var instance = YAHOO.widget.EditorInfo._instances[params.field]; if (instance) { - instance.destroy(); + instance[method](); + if (method == 'destroy') { + delete YAHOO.widget.EditorInfo._instances[params.field]; + } } } else { for (var e in YAHOO.widget.EditorInfo._instances) { // Save contents of all editors back into textareas. var instance = YAHOO.widget.EditorInfo._instances[e]; - instance.destroy(); + instance[method](); + if (method == 'destroy') { + delete YAHOO.widget.EditorInfo._instances[e]; + } + } + } +}; + +/** + * Instance methods for YUI Editor. + */ +Drupal.wysiwyg.editor.instance.yui = { + addPlugin: function (plugin, settings, pluginSettings) { + if (typeof Drupal.wysiwyg.plugins[plugin] != 'object') { + return; } + var editor = YAHOO.widget.EditorInfo.getEditorById(this.field); + var button = editor.toolbar.getButtonByValue(plugin); + $(button._button).parent().css('background', 'transparent url(' + settings.icon + ') no-repeat center'); + // 'this' will reference the toolbar while inside the event handler. + var instanceId = this.field; + editor.toolbar.on(plugin + 'Click', function (e) { + var selectedElement = editor._getSelectedElement(); + // @todo Using .html() will cause XTHML vs HTML conflicts. + var data = { + format: 'html', + node: selectedElement, + content: $(selectedElement).html() + }; + Drupal.wysiwyg.plugins[plugin].invoke(data, pluginSettings, instanceId); + }); + }, + + prepareContent: function (content) { + var editor = YAHOO.widget.EditorInfo.getEditorById(this.field); + content = editor.cleanHTML(content); + return content; + }, + + insert: function (content) { + YAHOO.widget.EditorInfo.getEditorById(this.field).cmd_inserthtml(content); + }, + + setContent: function (content) { + YAHOO.widget.EditorInfo.getEditorById(this.field).setEditorHTML(content); + }, + + getContent: function () { + var instance = YAHOO.widget.EditorInfo.getEditorById(this.field); + return instance.cleanHTML(instance.getEditorHTML(content)); } }; diff --git a/sites/all/modules/wysiwyg/editors/nicedit.inc b/sites/all/modules/wysiwyg/editors/nicedit.inc index 779660c99019f52f3f3680b636b90a393e5eaa46..6acc800dc22c56ec1d30cb22f894aa4f090479da 100644 --- a/sites/all/modules/wysiwyg/editors/nicedit.inc +++ b/sites/all/modules/wysiwyg/editors/nicedit.inc @@ -77,13 +77,13 @@ function wysiwyg_nicedit_settings($editor, $config, $theme) { // Add editor content stylesheet. if (isset($config['css_setting'])) { if ($config['css_setting'] == 'theme') { - $css = path_to_theme() . '/style.css'; + $css = drupal_get_path('theme', variable_get('theme_default', NULL)) . '/style.css'; if (file_exists($css)) { $settings['externalCSS'] = base_path() . $css; } } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } diff --git a/sites/all/modules/wysiwyg/editors/openwysiwyg.inc b/sites/all/modules/wysiwyg/editors/openwysiwyg.inc index f521da56196163f8dea66bc75e182d468321b4f6..b3ad84dd050b621afb9f705dadd1762cb918ef23 100644 --- a/sites/all/modules/wysiwyg/editors/openwysiwyg.inc +++ b/sites/all/modules/wysiwyg/editors/openwysiwyg.inc @@ -102,8 +102,8 @@ function wysiwyg_openwysiwyg_settings($editor, $config, $theme) { if ($config['css_setting'] == 'theme') { $settings['CSSFile'] = reset(wysiwyg_get_css()); } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['CSSFile'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['CSSFile'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } diff --git a/sites/all/modules/wysiwyg/editors/tinymce.inc b/sites/all/modules/wysiwyg/editors/tinymce.inc index a7250f355707bbab3b633e4e358aa7a787e8613a..f3a92dd89622264b8f25aae7511ed76b4325b357 100644 --- a/sites/all/modules/wysiwyg/editors/tinymce.inc +++ b/sites/all/modules/wysiwyg/editors/tinymce.inc @@ -28,6 +28,7 @@ function wysiwyg_tinymce_editor() { ), 'version callback' => 'wysiwyg_tinymce_version', 'themes callback' => 'wysiwyg_tinymce_themes', + 'init callback' => 'wysiwyg_tinymce_init', 'settings callback' => 'wysiwyg_tinymce_settings', 'plugin callback' => 'wysiwyg_tinymce_plugins', 'plugin settings callback' => 'wysiwyg_tinymce_plugin_settings', @@ -125,6 +126,40 @@ function wysiwyg_tinymce_themes($editor, $profile) { return array('advanced', 'simple'); } +/** + * Returns an initialization JavaScript for this editor library. + * + * @param array $editor + * The editor library definition. + * @param string $library + * The library variant key from $editor['libraries']. + * @param object $profile + * The (first) wysiwyg editor profile. + * + * @return string + * A string containing inline JavaScript to execute before the editor library + * script is loaded. + */ +function wysiwyg_tinymce_init($editor, $library) { + // TinyMCE unconditionally searches for its library filename in SCRIPT tags on + // on the page upon loading the library in order to determine the base path to + // itself. When JavaScript aggregation is enabled, this search fails and all + // relative constructed paths within TinyMCE are broken. The library has a + // tinyMCE.baseURL property, but it is not publicly documented and thus not + // reliable. The official support forum suggests to solve the issue through + // the global window.tinyMCEPreInit variable also used by various serverside + // compressor scrips available from the official website. + // @see http://www.tinymce.com/forum/viewtopic.php?id=23286 + $settings = drupal_json_encode(array( + 'base' => base_path() . $editor['library path'], + 'suffix' => (strpos($library, 'src') !== FALSE || strpos($library, 'dev') !== FALSE ? '_src' : ''), + 'query' => '', + )); + return <<<EOL +window.tinyMCEPreInit = $settings; +EOL; +} + /** * Return runtime editor settings for a given wysiwyg profile. * @@ -178,6 +213,7 @@ function wysiwyg_tinymce_settings($editor, $config, $theme) { $settings['remove_linebreaks'] = $config['remove_linebreaks']; } if (isset($config['verify_html'])) { + // TinyMCE performs a type-agnostic comparison on this particular setting. $settings['verify_html'] = (bool) $config['verify_html']; } @@ -189,8 +225,8 @@ function wysiwyg_tinymce_settings($editor, $config, $theme) { if ($config['css_setting'] == 'theme') { $settings['content_css'] = implode(',', wysiwyg_get_css()); } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['content_css'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['content_css'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } @@ -229,15 +265,15 @@ function wysiwyg_tinymce_settings($editor, $config, $theme) { $settings['extensions'][_wysiwyg_tinymce_plugin_name('add', $button)] = 1; } // Add external plugins to the list of extensions. - else if ($type == 'buttons' && empty($plugins[$plugin]['internal'])) { + elseif ($type == 'buttons' && empty($plugins[$plugin]['internal'])) { $settings['extensions'][_wysiwyg_tinymce_plugin_name('add', $plugin)] = 1; } // Add internal buttons that also need to be loaded as extension. - else if ($type == 'buttons' && !empty($plugins[$plugin]['load'])) { + elseif ($type == 'buttons' && !empty($plugins[$plugin]['load'])) { $settings['extensions'][$plugin] = 1; } // Add plain extensions. - else if ($type == 'extensions' && !empty($plugins[$plugin]['load'])) { + elseif ($type == 'extensions' && !empty($plugins[$plugin]['load'])) { $settings['extensions'][$plugin] = 1; } // Allow plugins to add valid HTML elements. @@ -265,7 +301,7 @@ function wysiwyg_tinymce_settings($editor, $config, $theme) { $settings += array( 'theme_advanced_resize_horizontal' => FALSE, 'theme_advanced_resizing_use_cookie' => FALSE, - 'theme_advanced_path_location' => isset($config['path_loc']) ? $config['path_loc'] : 'bottom', + 'theme_advanced_statusbar_location' => isset($config['path_loc']) ? $config['path_loc'] : 'bottom', 'theme_advanced_resizing' => isset($config['resizing']) ? $config['resizing'] : 1, 'theme_advanced_toolbar_location' => isset($config['toolbar_loc']) ? $config['toolbar_loc'] : 'top', 'theme_advanced_toolbar_align' => isset($config['toolbar_align']) ? $config['toolbar_align'] : 'left', @@ -358,7 +394,7 @@ function _wysiwyg_tinymce_plugin_name($op, $name) { } return $name; } - else if ($op == 'remove') { + elseif ($op == 'remove') { if (strpos($name, '-') === 0) { return substr($name, 1); } @@ -383,6 +419,8 @@ function wysiwyg_tinymce_plugins($editor) { 'link' => t('Link'), 'unlink' => t('Unlink'), 'anchor' => t('Anchor'), 'image' => t('Image'), 'cleanup' => t('Clean-up'), + 'formatselect' => t('Block format'), 'styleselect' => t('Styles'), + 'fontselect' => t('Font'), 'fontsizeselect' => t('Font size'), 'forecolor' => t('Forecolor'), 'backcolor' => t('Backcolor'), 'sup' => t('Superscript'), 'sub' => t('Subscript'), 'blockquote' => t('Blockquote'), 'code' => t('Source code'), @@ -399,15 +437,15 @@ function wysiwyg_tinymce_plugins($editor) { 'path' => $editor['library path'] . '/plugins/advhr', 'buttons' => array('advhr' => t('Advanced horizontal rule')), 'extended_valid_elements' => array('hr[class|width|size|noshade]'), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:advhr', 'internal' => TRUE, 'load' => TRUE, ), 'advimage' => array( 'path' => $editor['library path'] . '/plugins/advimage', 'extensions' => array('advimage' => t('Advanced image')), - 'extended_valid_elements' => array('img[src|alt|title|align|width|height|usemap|hspace|vspace|border|style|class|onmouseover|onmouseout|id|name]'), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage', + 'extended_valid_elements' => array('img[src|alt|title|align|width|height|usemap|hspace|vspace|border|style|class|onmouseover|onmouseout|id|name|longdesc]'), + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:advimage', 'internal' => TRUE, 'load' => TRUE, ), @@ -415,49 +453,42 @@ function wysiwyg_tinymce_plugins($editor) { 'path' => $editor['library path'] . '/plugins/advlink', 'extensions' => array('advlink' => t('Advanced link')), 'extended_valid_elements' => array('a[name|href|target|title|class|onfocus|onblur|onclick|ondlbclick|onmousedown|onmouseup|onmouseover|onmouseout|onkeypress|onkeydown|onkeyup|id|style|rel]'), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:advlink', 'internal' => TRUE, 'load' => TRUE, ), 'autosave' => array( 'path' => $editor['library path'] . '/plugins/autosave', 'extensions' => array('autosave' => t('Auto save')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:autosave', 'internal' => TRUE, 'load' => TRUE, ), 'contextmenu' => array( 'path' => $editor['library path'] . '/plugins/contextmenu', 'extensions' => array('contextmenu' => t('Context menu')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:contextmenu', 'internal' => TRUE, 'load' => TRUE, ), 'directionality' => array( 'path' => $editor['library path'] . '/plugins/directionality', 'buttons' => array('ltr' => t('Left-to-right'), 'rtl' => t('Right-to-left')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:directionality', 'internal' => TRUE, 'load' => TRUE, ), 'emotions' => array( 'path' => $editor['library path'] . '/plugins/emotions', 'buttons' => array('emotions' => t('Emotions')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:emotions', 'internal' => TRUE, 'load' => TRUE, ), - 'font' => array( - 'path' => $editor['library path'] . '/plugins/font', - 'buttons' => array('formatselect' => t('HTML block format'), 'fontselect' => t('Font'), 'fontsizeselect' => t('Font size'), 'styleselect' => t('Font style')), - 'extended_valid_elements' => array('font[face|size|color|style],span[class|align|style]'), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/font', - 'internal' => TRUE, - ), 'fullscreen' => array( 'path' => $editor['library path'] . '/plugins/fullscreen', 'buttons' => array('fullscreen' => t('Fullscreen')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:fullscreen', 'internal' => TRUE, 'load' => TRUE, ), @@ -467,7 +498,7 @@ function wysiwyg_tinymce_plugins($editor) { 'options' => array( 'dialog_type' => array('modal'), ), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:inlinepopups', 'internal' => TRUE, 'load' => TRUE, ), @@ -478,56 +509,56 @@ function wysiwyg_tinymce_plugins($editor) { 'plugin_insertdate_dateFormat' => '%Y-%m-%d', 'plugin_insertdate_timeFormat' => '%H:%M:%S', ), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:insertdatetime', 'internal' => TRUE, 'load' => TRUE, ), 'layer' => array( 'path' => $editor['library path'] . '/plugins/layer', 'buttons' => array('insertlayer' => t('Insert layer'), 'moveforward' => t('Move forward'), 'movebackward' => t('Move backward'), 'absolute' => t('Absolute')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:layer', 'internal' => TRUE, 'load' => TRUE, ), 'paste' => array( 'path' => $editor['library path'] . '/plugins/paste', 'buttons' => array('pastetext' => t('Paste text'), 'pasteword' => t('Paste from Word'), 'selectall' => t('Select all')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:paste', 'internal' => TRUE, 'load' => TRUE, ), 'preview' => array( 'path' => $editor['library path'] . '/plugins/preview', 'buttons' => array('preview' => t('Preview')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:preview', 'internal' => TRUE, 'load' => TRUE, ), 'print' => array( 'path' => $editor['library path'] . '/plugins/print', 'buttons' => array('print' => t('Print')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:print', 'internal' => TRUE, 'load' => TRUE, ), 'searchreplace' => array( 'path' => $editor['library path'] . '/plugins/searchreplace', 'buttons' => array('search' => t('Search'), 'replace' => t('Replace')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:searchreplace', 'internal' => TRUE, 'load' => TRUE, ), 'style' => array( 'path' => $editor['library path'] . '/plugins/style', - 'buttons' => array('styleprops' => t('Style properties')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style', + 'buttons' => array('styleprops' => t('Advanced CSS styles')), + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:style', 'internal' => TRUE, 'load' => TRUE, ), 'table' => array( 'path' => $editor['library path'] . '/plugins/table', 'buttons' => array('tablecontrols' => t('Table')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/table', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:table', 'internal' => TRUE, 'load' => TRUE, ), @@ -537,7 +568,6 @@ function wysiwyg_tinymce_plugins($editor) { 'path' => $editor['library path'] . '/plugins/flash', 'buttons' => array('flash' => t('Flash')), 'extended_valid_elements' => array('img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]'), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/flash', 'internal' => TRUE, 'load' => TRUE, ); @@ -546,14 +576,14 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['media'] = array( 'path' => $editor['library path'] . '/plugins/media', 'buttons' => array('media' => t('Media')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:media', 'internal' => TRUE, 'load' => TRUE, ); $plugins['xhtmlxtras'] = array( 'path' => $editor['library path'] . '/plugins/xhtmlxtras', 'buttons' => array('cite' => t('Citation'), 'del' => t('Deleted'), 'abbr' => t('Abbreviation'), 'acronym' => t('Acronym'), 'ins' => t('Inserted'), 'attribs' => t('HTML attributes')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:xhtmlxtras', 'internal' => TRUE, 'load' => TRUE, ); @@ -562,7 +592,7 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['bbcode'] = array( 'path' => $editor['library path'] . '/plugins/bbcode', 'extensions' => array('bbcode' => t('BBCode')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:bbcode', 'internal' => TRUE, 'load' => TRUE, ); @@ -570,7 +600,6 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['safari'] = array( 'path' => $editor['library path'] . '/plugins/safari', 'extensions' => array('safari' => t('Safari compatibility')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/safari', 'internal' => TRUE, 'load' => TRUE, ); @@ -580,7 +609,7 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['autoresize'] = array( 'path' => $editor['library path'] . '/plugins/autoresize', 'extensions' => array('autoresize' => t('Auto resize')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:autoresize', 'internal' => TRUE, 'load' => TRUE, ); @@ -589,7 +618,7 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['advlist'] = array( 'path' => $editor['library path'] . '/plugins/advlist', 'extensions' => array('advlist' => t('Advanced list')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlist', + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:advlist', 'internal' => TRUE, 'load' => TRUE, ); @@ -598,11 +627,24 @@ function wysiwyg_tinymce_plugins($editor) { $plugins['wordcount'] = array( 'path' => $editor['library path'] . '/plugins/wordcount', 'extensions' => array('wordcount' => t('Word count')), - 'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount', 'internal' => TRUE, 'load' => TRUE, ); } + if (version_compare($editor['installed version'], '3.4.1', '>=')) { + $plugins['lists'] = array( + 'path' => $editor['library path'] . 'plugins/lists', + 'extensions' => array('lists' => t('List normalizer')), + 'url' => 'http://www.tinymce.com/wiki.php/Plugin:lists', + 'internal' => TRUE, + 'load' => TRUE, + 'extended_valid_elements' => array( + 'li[class|dir|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title|type|value]', + 'ol[class|compact|dir|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|start|style|title|type]', + 'ul[class|compact|dir|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title|type]', + ), + ); + } return $plugins; } diff --git a/sites/all/modules/wysiwyg/editors/whizzywig.inc b/sites/all/modules/wysiwyg/editors/whizzywig.inc index d82cc0fee17876695e785f16cdd552bc8cd52ef0..acfc7de327ed1e5d7828623f8a03cc21d8b198fb 100644 --- a/sites/all/modules/wysiwyg/editors/whizzywig.inc +++ b/sites/all/modules/wysiwyg/editors/whizzywig.inc @@ -104,13 +104,13 @@ function wysiwyg_whizzywig_settings($editor, $config, $theme) { // Add editor content stylesheet. if (isset($config['css_setting'])) { if ($config['css_setting'] == 'theme') { - $css = path_to_theme() . '/style.css'; + $css = drupal_get_path('theme', variable_get('theme_default', NULL)) . '/style.css'; if (file_exists($css)) { $settings['externalCSS'] = base_path() . $css; } } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['externalCSS'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } diff --git a/sites/all/modules/wysiwyg/editors/wymeditor.inc b/sites/all/modules/wysiwyg/editors/wymeditor.inc index 3e8ffd24e698f53bb524424103663af981b792d2..5f44d641599c7053b930c64d56b3026f1ca99976 100644 --- a/sites/all/modules/wysiwyg/editors/wymeditor.inc +++ b/sites/all/modules/wysiwyg/editors/wymeditor.inc @@ -172,10 +172,11 @@ function wysiwyg_wymeditor_settings($editor, $config, $theme) { if (isset($config['css_setting'])) { if ($config['css_setting'] == 'theme') { // WYMeditor only supports one CSS file currently. - $settings['stylesheet'] = reset(wysiwyg_get_css()); + $css = wysiwyg_get_css(); + $settings['stylesheet'] = reset($css); } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['stylesheet'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['stylesheet'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } @@ -190,7 +191,7 @@ function wysiwyg_wymeditor_plugins($editor) { 'default' => array( 'buttons' => array( 'Bold' => t('Bold'), 'Italic' => t('Italic'), - 'InsertOrderedList' => t('Bullet list'), 'InsertUnorderedList' => t('Numbered list'), + 'InsertOrderedList' => t('Numbered list'), 'InsertUnorderedList' => t('Bullet list'), 'Outdent' => t('Outdent'), 'Indent' => t('Indent'), 'Undo' => t('Undo'), 'Redo' => t('Redo'), 'CreateLink' => t('Link'), 'Unlink' => t('Unlink'), @@ -212,22 +213,22 @@ function wysiwyg_wymeditor_plugins($editor) { */ function _wysiwyg_wymeditor_button_info() { return array( - 'Bold' => array('title'=> 'Strong', 'css'=> 'wym_tools_strong'), - 'Italic' => array('title'=> 'Emphasis', 'css'=> 'wym_tools_emphasis'), - 'Superscript' => array('title'=> 'Superscript', 'css'=> 'wym_tools_superscript'), - 'Subscript' => array('title'=> 'Subscript', 'css'=> 'wym_tools_subscript'), - 'InsertOrderedList' => array('title'=> 'Ordered_List', 'css'=> 'wym_tools_ordered_list'), - 'InsertUnorderedList' => array('title'=> 'Unordered_List', 'css'=> 'wym_tools_unordered_list'), - 'Indent' => array('title'=> 'Indent', 'css'=> 'wym_tools_indent'), - 'Outdent' => array('title'=> 'Outdent', 'css'=> 'wym_tools_outdent'), - 'Undo' => array('title'=> 'Undo', 'css'=> 'wym_tools_undo'), - 'Redo' => array('title'=> 'Redo', 'css'=> 'wym_tools_redo'), - 'CreateLink' => array('title'=> 'Link', 'css'=> 'wym_tools_link'), - 'Unlink' => array('title'=> 'Unlink', 'css'=> 'wym_tools_unlink'), - 'InsertImage' => array('title'=> 'Image', 'css'=> 'wym_tools_image'), - 'InsertTable' => array('title'=> 'Table', 'css'=> 'wym_tools_table'), - 'Paste' => array('title'=> 'Paste_From_Word', 'css'=> 'wym_tools_paste'), - 'ToggleHtml' => array('title'=> 'HTML', 'css'=> 'wym_tools_html'), - 'Preview' => array('title'=> 'Preview', 'css'=> 'wym_tools_preview'), + 'Bold' => array('title' => 'Strong', 'css' => 'wym_tools_strong'), + 'Italic' => array('title' => 'Emphasis', 'css' => 'wym_tools_emphasis'), + 'Superscript' => array('title' => 'Superscript', 'css' => 'wym_tools_superscript'), + 'Subscript' => array('title' => 'Subscript', 'css' => 'wym_tools_subscript'), + 'InsertOrderedList' => array('title' => 'Ordered_List', 'css' => 'wym_tools_ordered_list'), + 'InsertUnorderedList' => array('title' => 'Unordered_List', 'css' => 'wym_tools_unordered_list'), + 'Indent' => array('title' => 'Indent', 'css' => 'wym_tools_indent'), + 'Outdent' => array('title' => 'Outdent', 'css' => 'wym_tools_outdent'), + 'Undo' => array('title' => 'Undo', 'css' => 'wym_tools_undo'), + 'Redo' => array('title' => 'Redo', 'css' => 'wym_tools_redo'), + 'CreateLink' => array('title' => 'Link', 'css' => 'wym_tools_link'), + 'Unlink' => array('title' => 'Unlink', 'css' => 'wym_tools_unlink'), + 'InsertImage' => array('title' => 'Image', 'css' => 'wym_tools_image'), + 'InsertTable' => array('title' => 'Table', 'css' => 'wym_tools_table'), + 'Paste' => array('title' => 'Paste_From_Word', 'css' => 'wym_tools_paste'), + 'ToggleHtml' => array('title' => 'HTML', 'css' => 'wym_tools_html'), + 'Preview' => array('title' => 'Preview', 'css' => 'wym_tools_preview'), ); } diff --git a/sites/all/modules/wysiwyg/editors/yui.inc b/sites/all/modules/wysiwyg/editors/yui.inc index 7e3c697c110e2fa2bef1c1803a8eed03a22dc744..36d0a5968650e866231c53b79056b8e4fc97f247 100644 --- a/sites/all/modules/wysiwyg/editors/yui.inc +++ b/sites/all/modules/wysiwyg/editors/yui.inc @@ -45,6 +45,14 @@ function wysiwyg_yui_editor() { 'load callback' => 'wysiwyg_yui_load', 'settings callback' => 'wysiwyg_yui_settings', 'plugin callback' => 'wysiwyg_yui_plugins', + 'plugin settings callback' => 'wysiwyg_yui_plugin_settings', + 'proxy plugin' => array( + 'drupal' => array( + 'load' => TRUE, + 'proxy' => TRUE, + ), + ), + 'proxy plugin settings callback' => 'wysiwyg_yui_proxy_plugin_settings', 'versions' => array( '2.7.0' => array( 'js files' => array('yui.js'), @@ -177,7 +185,7 @@ function wysiwyg_yui_settings($editor, $config, $theme) { } } } - else if ($button == 'fontname') { + elseif ($button == 'fontname') { $extra = array('menu' => array( array('text' => 'Arial', 'checked' => TRUE), array('text' => 'Arial Black'), @@ -202,8 +210,8 @@ function wysiwyg_yui_settings($editor, $config, $theme) { if ($config['css_setting'] == 'theme') { $settings['extracss'] = wysiwyg_get_css(); } - else if ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['extracss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { + $settings['extracss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => drupal_get_path('theme', variable_get('theme_default', NULL)))); $settings['extracss'] = explode(',', $settings['extracss']); } // YUI only supports inline CSS, so we need to use @import directives. @@ -233,8 +241,7 @@ function wysiwyg_yui_button_setting($editor, $plugin, $button, $extra = array()) static $plugins; if (!isset($plugins)) { - // @todo Invoke all enabled plugins, not just internals. - $plugins = wysiwyg_yui_plugins($editor); + $plugins = wysiwyg_get_plugins($editor['name']); } // Return a simple separator. @@ -269,6 +276,41 @@ function wysiwyg_yui_button_setting($editor, $plugin, $button, $extra = array()) return $button; } +/** + * Build a JS settings array of native external plugins that need to be loaded separately. + */ +function wysiwyg_yui_plugin_settings($editor, $profile, $plugins) { + $settings = array(); + foreach ($plugins as $name => $plugin) { + if (!empty($plugin['load'])) { + // Add path for native external plugins; internal ones are loaded + // automatically. + if (empty($plugin['internal']) && isset($plugin['path'])) { + $settings[$name] = base_path() . $plugin['path']; + } + } + } + return $settings; +} + +/** + * Build a JS settings array for Drupal plugins loaded via the proxy plugin. + */ +function wysiwyg_yui_proxy_plugin_settings($editor, $profile, $plugins) { + $settings = array(); + foreach ($plugins as $name => $plugin) { + // Populate required plugin settings. + $settings[$name] = $plugin['dialog settings'] + array( + 'title' => $plugin['title'], + 'icon' => base_path() . $plugin['icon path'] . '/' . $plugin['icon file'], + 'iconTitle' => $plugin['icon title'], + // @todo These should only be set if the plugin defined them. + 'css' => base_path() . $plugin['css path'] . '/' . $plugin['css file'], + ); + } + return $settings; +} + /** * Return internal plugins for this editor; semi-implementation of hook_wysiwyg_plugin(). */ diff --git a/sites/all/modules/wysiwyg/tests/wysiwyg_test.info b/sites/all/modules/wysiwyg/tests/wysiwyg_test.info index 1314897d1c9b89ad8f828f6590996330445506db..feee124436332e8a3786b30ad54a289ee373f140 100644 --- a/sites/all/modules/wysiwyg/tests/wysiwyg_test.info +++ b/sites/all/modules/wysiwyg/tests/wysiwyg_test.info @@ -6,9 +6,9 @@ hidden = TRUE dependencies[] = wysiwyg files[] = wysiwyg_test.module -; Information added by drupal.org packaging script on 2011-06-19 -version = "7.x-2.1" +; Information added by drupal.org packaging script on 2012-10-02 +version = "7.x-2.2" core = "7.x" project = "wysiwyg" -datestamp = "1308450722" +datestamp = "1349213776" diff --git a/sites/all/modules/wysiwyg/tests/wysiwyg_test.module b/sites/all/modules/wysiwyg/tests/wysiwyg_test.module index c908e29cf4fcf4016dba53d6e09918cc365f9e76..c2dd9a917af3a43bf7830c5872d91d8bfc9adaa3 100644 --- a/sites/all/modules/wysiwyg/tests/wysiwyg_test.module +++ b/sites/all/modules/wysiwyg/tests/wysiwyg_test.module @@ -5,3 +5,46 @@ * Testing functionality for Wysiwyg module. */ +/** + * Implements hook_menu(). + */ +function wysiwyg_test_menu() { + $items['wysiwyg-test/ajax'] = array( + 'title' => 'Ajaxified form', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('wysiwyg_test_ajax_form'), + 'access callback' => TRUE, + ); + return $items; +} + +/** + * Form constructor for an ajaxified form lazy-loading a textarea. + */ +function wysiwyg_test_ajax_form($form, &$form_state) { + $form['enable'] = array( + '#type' => 'checkbox', + '#title' => 'Load textarea', + '#ajax' => array( + 'callback' => 'wysiwyg_test_ajax_form_callback', + 'wrapper' => 'ajax-wrapper', + ), + ); + $form['wrapper'] = array( + '#type' => 'container', + '#id' => 'ajax-wrapper', + ); + return $form; +} + +/** + * #ajax callback for wysiwyg_test_ajax_form(). + */ +function wysiwyg_test_ajax_form_callback($form, &$form_state) { + $form['body'] = array( + '#type' => 'text_format', + '#default_value' => '', + ); + form_builder($form['form_id']['#value'], $form, $form_state); + return $form['body']; +} diff --git a/sites/all/modules/wysiwyg/translations/da.po b/sites/all/modules/wysiwyg/translations/da.po deleted file mode 100644 index 49838bcab4adec173f0569e6ff39f54dd496b0df..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/da.po +++ /dev/null @@ -1,436 +0,0 @@ -# Danish translation of Drupal (wysiwyg_editor.module) -# Copyright 2006 netbjarne <netbjarne@gmail.com> -# Copyright 2007 Morten Wulff <wulff@ratatosk.net> -msgid "" -msgstr "" -"Project-Id-Version: Danish translation of Drupal (wysiwyg_editor.module) $Id: da.po,v 1.2 2008/05/30 02:19:15 sun Exp $\n" -"POT-Creation-Date: \n" -"PO-Revision-Date: 2007-12-16 19:47+0100\n" -"Last-Translator: Morten Wulff <wulff@ratatosk.net>\n" -"Language-Team: Danish <l10n@drupaldanmark.dk>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-Language: Danish\n" -"X-Poedit-Country: DENMARK\n" - -#: wysiwyg_editor.module:17 -#: wysiwyg_editor.info:0 -msgid "TinyMCE" -msgstr "TinyMCE" - -#: wysiwyg_editor.module:19 -msgid "Configure the rich editor." -msgstr "Konfigurer editoren." - -#: wysiwyg_editor.module:116 -msgid "enable rich-text" -msgstr "aktiver avanceret redigering" - -#: wysiwyg_editor.module:117 -msgid "disable rich-text" -msgstr "deaktiver avanceret redigering" - -#: wysiwyg_editor.module:169 -msgid "Your current web browser does not support WYSIWYG editing." -msgstr "Din browser understøtter ikke WYSIWYG redigering." - -#: wysiwyg_editor.module:250 -msgid "TinyMCE rich-text settings" -msgstr "TinyMCE " - -#: wysiwyg_editor.module:258 -#: ;701 -msgid "Default state" -msgstr "Standardtilstand" - -#: wysiwyg_editor.module:260 -#: ;703 -msgid "disabled" -msgstr "deaktiveret" - -#: wysiwyg_editor.module:260 -#: ;703 -msgid "enabled" -msgstr "aktiveret" - -#: wysiwyg_editor.module:261 -msgid "Should rich-text editing be enabled or disabled by default in textarea fields?" -msgstr "Skal avanceret redigering være aktiveret for tekstfelter?" - -#: wysiwyg_editor.module:443 -msgid "administer" -msgstr "administrer" - -#: wysiwyg_editor.module:444 -#: ;47;0 -msgid "wysiwyg_editor" -msgstr "TinyMCE" - -#: wysiwyg_editor.module:445 -msgid "Add new TinyMCE profile" -msgstr "Tilføj TinyMCE profil" - -#: wysiwyg_editor.module:451 -msgid "Edit wysiwyg_editor profile" -msgstr "Rediger TinyMCE profil" - -#: wysiwyg_editor.module:457 -msgid "Deleted profile" -msgstr "Profil slettet" - -#: wysiwyg_editor.module:461 -#: ;666 -msgid "Create profile" -msgstr "Opret Profil" - -#: wysiwyg_editor.module:462 -#: ;670 -msgid "Update profile" -msgstr "Opdater profil" - -#: wysiwyg_editor.module:465 -msgid "Your TinyMCE profile has been updated." -msgstr "TinyMCE profil opdateret." - -#: wysiwyg_editor.module:465 -msgid "Your TinyMCE profile has been created." -msgstr "TinyMCE profil oprettet." - -#: wysiwyg_editor.module:474 -msgid "TinyMCE settings" -msgstr "TinyMCE indstillinger" - -#: wysiwyg_editor.module:478 -msgid "Could not find the TinyMCE engine installed at <strong>!wysiwyg_editor-directory</strong>. Please <a href=\"http://wysiwyg_editor.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !wysiwyg_editor-path." -msgstr "Kan ikke finde TinyMCE i kataloget <strong>!wysiwyg_editor-directory</strong>. <a href=\"http://wysiwyg_editor.moxiecode.com/\">Hent TinyMCE</a>, udpak den og kopier kataloget til !wysiwyg_editor-path." - -#: wysiwyg_editor.module:658 -msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access wysiwyg_editor' permission before creating a profile." -msgstr "Du skal <a href=\"!access-control-url\">give</a> mindst én rolle tilladelsen 'brug TinyMCE' før du kan oprette en profil." - -#: wysiwyg_editor.module:661 -msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing wysiwyg_editor profile from at least one role or assign another role the 'access wysiwyg_editor' permission." -msgstr "Du kan ikke oprette en ny profil, da alle roller allerede har fået tildelt profiler. Fjern en eksisterende TinyMCE profil fra en rolle, eller giv endnu en rolle tilladelsen 'brug TinyMCE'." - -#: wysiwyg_editor.module:664 -msgid "Not all user roles are shown since they already have wysiwyg_editor profiles. You must first unassign profiles in order to add them to a new one." -msgstr "Ikke alle roller vises, da de allerede er tildelt TinyMCE profiler. Fratag en rolles profil, for at tildele en anden rolle profilen." - -#: wysiwyg_editor.module:675 -msgid "Basic setup" -msgstr "Grundlæggende indstillinger" - -#: wysiwyg_editor.module:682 -msgid "Profile name" -msgstr "Profilnavn" - -#: wysiwyg_editor.module:686 -msgid "Enter a name for this profile. This name is only visible within the wysiwyg_editor administration page." -msgstr "Indtast et profilnavn. Navnet er kun synligt på TinyMCE administrationssiden." - -#: wysiwyg_editor.module:692 -msgid "Roles allowed to use this profile" -msgstr "Roller der kan benytte denne profil" - -#: wysiwyg_editor.module:695 -msgid "Check at least one role. Only roles with 'access wysiwyg_editor' permission will be shown here." -msgstr "Vælg mindst én rolle. Kun roller med tilladelsen 'brug TinyMCE' vises her." - -#: wysiwyg_editor.module:704 -msgid "Default editor state for users in this profile. Users will be able to override this state if the next option is enabled." -msgstr "Standard TinyMCE tilstand for brugere med denne profil. Brugere har mulighed for at ændre denne tilstand, hvis næste valgmulighed er slået til." - -#: wysiwyg_editor.module:709 -msgid "Allow users to choose default" -msgstr "Tillad bruger at vælge standardtilstand" - -#: wysiwyg_editor.module:711 -#: ;719;743;877;901;909;917 -msgid "false" -msgstr "falsk" - -#: wysiwyg_editor.module:711 -#: ;719;743;877;901;909;917 -msgid "true" -msgstr "sand" - -#: wysiwyg_editor.module:712 -msgid "If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page." -msgstr "Hvis tilladt, kan brugere selv vælge TinyMCE's standardtilstand på deres profilside." - -#: wysiwyg_editor.module:717 -msgid "Show disable/enable rich text editor toggle" -msgstr "Vis omskifter for avanceret redigering" - -#: wysiwyg_editor.module:720 -msgid "Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above)." -msgstr "Hvorvidt omskifteren for avanceret redigering skal vises under tekstfelter. Hvis slået fra, vil TinyMCE benytte sig af global eller brugervalgt indstilling (se ovenfor)." - -#: wysiwyg_editor.module:733 -msgid "Language" -msgstr "Sprog" - -#: wysiwyg_editor.module:736 -msgid "The language for the TinyMCE interface. Language codes based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "Sproget der anvendes i TinyMCE's brugerflade. Sprogkoder er baseret på <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." - -#: wysiwyg_editor.module:741 -msgid "Safari browser warning" -msgstr "Safari browser advarsel." - -#: wysiwyg_editor.module:744 -msgid "TinyMCE support for the Safari web browser is experimental and a warning message is displayed when that browser is detected. You can disable this message here." -msgstr "TinyMCE's understøttelse af Safari browseren er eksperimentel, og der vises en advarsel hvis Safari browseren benyttes. Du kan deaktivere denne advarsel her." - -#: wysiwyg_editor.module:749 -msgid "Visibility" -msgstr "Synlighed" - -#: wysiwyg_editor.module:769 -msgid "Show on every page except the listed pages." -msgstr "Vis på alle sider undtaget de angivne." - -#: wysiwyg_editor.module:769 -msgid "Show on only the listed pages." -msgstr "Vis kun på de angivne sider." - -#: wysiwyg_editor.module:770 -msgid "Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '!blog' for the blog page and !blog-wildcard for every personal blog. !front is the front page." -msgstr "Indtast én side pr. linje som Drupal-stier. Brug '*'-tegnet som joker. Indtast f.eks. '!blog' for blogsiden og !blog-wildcard for alle personlige blogs. !front er forsiden." - -#: wysiwyg_editor.module:773 -msgid "Show if the following PHP code returns <code>TRUE</code> (PHP-mode, experts only)." -msgstr "Vis hvis følgende PHP kode returnerer <code>SAND</code> (PHP tilstand, kun for eksperter)." - -#: wysiwyg_editor.module:774 -msgid "If the PHP-mode is chosen, enter PHP code between !php. Note that executing incorrect PHP-code can break your Drupal site." -msgstr "Hvis PHP tilstanden er valgt, kan du indtaste PHP kode mellem !php. Bemærk at ugyldig PHP kode kan få dit Drupal-netsted til at holde op med at virke." - -#: wysiwyg_editor.module:778 -msgid "Show wysiwyg_editor on specific pages" -msgstr "Vis TinyMCE på specifikke sider" - -#: wysiwyg_editor.module:784 -msgid "Pages" -msgstr "Sider" - -#: wysiwyg_editor.module:792 -msgid "Buttons and plugins" -msgstr "Knapper og udvidelsesmoduler" - -#: wysiwyg_editor.module:844 -msgid "Editor appearance" -msgstr "TinyMCE's fremtoning" - -#: wysiwyg_editor.module:851 -msgid "Toolbar location" -msgstr "Værktøjslinjens placering" - -#: wysiwyg_editor.module:853 -#: ;869 -msgid "bottom" -msgstr "bund" - -#: wysiwyg_editor.module:853 -#: ;869 -msgid "top" -msgstr "top" - -#: wysiwyg_editor.module:854 -msgid "Show toolbar at the top or bottom of the editor area?" -msgstr "Vis værktøjslinjen over eller under tekstområdet?" - -#: wysiwyg_editor.module:859 -msgid "Toolbar alignment" -msgstr "Værktøjslinjens justering" - -#: wysiwyg_editor.module:861 -msgid "center" -msgstr "centreret" - -#: wysiwyg_editor.module:861 -msgid "left" -msgstr "venstre" - -#: wysiwyg_editor.module:861 -msgid "right" -msgstr "højre" - -#: wysiwyg_editor.module:862 -msgid "Align tool icons left, center, or right within the toolbar." -msgstr "Placer knapper til venstre, i midten eller til højre i værktøjslinjen." - -#: wysiwyg_editor.module:867 -msgid "Path location" -msgstr "Placering af sti" - -#: wysiwyg_editor.module:869 -msgid "none" -msgstr "ingen" - -#: wysiwyg_editor.module:870 -msgid "Path to html elements (i.e. \"body>table>tr>td\"). Show at top, bottom, or not at all." -msgstr "Sti til HTML elementer (f.eks. \"body>table>tr>td\"). Vis for oven, for neden, eller slet ikke." - -#: wysiwyg_editor.module:875 -msgid "Enable resizing button" -msgstr "Aktiver knap til ændring af størrelse" - -#: wysiwyg_editor.module:878 -msgid " This option gives you the ability to enable/disable the resizing button. If enabled the <strong>Path location toolbar</strong> must be set to \"top\" or \"bottom\" in order to display the resize icon." -msgstr "Mulighed for at aktivere knap til ændring af størrelse. Hvis aktiveret, skal <strong>Placering af sti</strong> være \"for oven\" eller \"for neden\"." - -#: wysiwyg_editor.module:883 -msgid "Block formats" -msgstr "Blokformater" - -#: wysiwyg_editor.module:887 -msgid "Comma separated list of HTML block formats. You can only remove elements, not add." -msgstr "Komma separeret liste af HTML blokformater. Du kan kun fjerne elementer, ikke tilføje." - -#: wysiwyg_editor.module:892 -msgid "Cleanup and output" -msgstr "Oprydning og uddata" - -#: wysiwyg_editor.module:899 -msgid "Verify HTML" -msgstr "Kontroller HTML" - -#: wysiwyg_editor.module:902 -msgid "Should the HTML contents be verified or not? Verifying will strip <head> tags, so choose false if you will be editing full page HTML." -msgstr "Kontrol af HTML fjerner <head> mærker, så deaktiver HTML kontrol, hvis du redigerer hele HTML sider." - -#: wysiwyg_editor.module:907 -msgid "Preformatted" -msgstr "Preformatteret" - -#: wysiwyg_editor.module:910 -msgid "If this option is set to true, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE HTML element does." -msgstr "Hvis aktiveret, vil TinyMCE indsætte tabulator tegn og bevare andre mellemrum, som PRE HTML element gør det." - -#: wysiwyg_editor.module:915 -msgid "Convert <font> tags to styles" -msgstr "Konverter <font> mærker til typografier" - -#: wysiwyg_editor.module:918 -msgid "If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles." -msgstr "Hvis aktiveret, vil font size, font family, font color og font background color blive erstattet med indlejrede typografier." - -#: wysiwyg_editor.module:923 -msgid "Remove linebreaks" -msgstr "Fjern linjeskift" - -#: wysiwyg_editor.module:926 -msgid "Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters." -msgstr "Sæt denne til falsk for at forhindre TinyMCE i at fjerne linjeskift fra eksisterende indholdselementer. Vælges sand undgås konflikt med visse filtre." - -#: wysiwyg_editor.module:931 -msgid "Apply source formatting" -msgstr "Anvend kilde-formattering" - -#: wysiwyg_editor.module:934 -msgid "This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters." -msgstr "Anvend kilde-formatering. Vælg sand for at få renere HTML. Vælg falsk for at undgå konflikt med visse filtre." - -#: wysiwyg_editor.module:939 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg_editor.module:946 -msgid "Editor CSS" -msgstr "TinyMCE CSS" - -#: wysiwyg_editor.module:948 -msgid "use theme css" -msgstr "brug tema CSS" - -#: wysiwyg_editor.module:948 -msgid "define css" -msgstr "definer CSS" - -#: wysiwyg_editor.module:948 -msgid "tinyMCE default" -msgstr "TinyMCE standard" - -#: wysiwyg_editor.module:949 -msgid "Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor." -msgstr "Afgør hvilken CSS der benyttes i TinyMCE.<br />Brug tema CSS - hent style.css fra det nuværende tema.<br/>Definer CSS - indtast stien til css filen herunder.<br />TinyMCE standard - bruger standard CSS fra editoren." - -#: wysiwyg_editor.module:954 -msgid "CSS path" -msgstr "CSS sti" - -#: wysiwyg_editor.module:958 -msgid "Enter path to CSS file (<em>example: \"css/editor.css\"</em>) or a list of css files seperated by a comma (<em>example: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Macros: %h (host name: http://www.example.com/), %t (path to theme: theme/yourtheme/)<br />Be sure to select \"define css\" above." -msgstr "Indtast stien til CSS filen (f.eks. \"css/editor.css\") eller en liste af css filer adskilt af komma (f.eks. \"/themes/garland/style.css,http://domain.com/customMCE.css\").<br />Makroer: %h (værtsnavn: http://www.example.com/), %t (sti til tema: theme/yourtheme/)<br />Husk at vælge \"definer css\" herover." - -#: wysiwyg_editor.module:963 -msgid "CSS classes" -msgstr "CSS klasser" - -#: wysiwyg_editor.module:967 -msgid "Adds CSS classes to the \"styles\" droplist. Format is: <title>=<class>;<br/> Example: Header 1=header1;Header 2=header2;Header 3=header3 (note: no trailing ';')<br />Leave blank to automatically import list of CSS classes from style sheet." -msgstr "Tilføj CSS klasser til \"typografi\" rullelisten. Formatet er: <navn>=<klasse>;<br/>F.eks. Overskrift 1=overskrift1;Overskrift 2=overskrift2;Overskrift 3=overskrift3 (bemærk: intet afsluttende ';')<br />Lad feltet være tomt for automatisk at importerer CSS klasserne fra stilarket." - -#: wysiwyg_editor.module:1049 -msgid "Profile" -msgstr "Profil" - -#: wysiwyg_editor.module:1049 -msgid "Roles" -msgstr "Roller" - -#: wysiwyg_editor.module:1049 -msgid "Operations" -msgstr "Handlinger" - -#: wysiwyg_editor.module:1051 -msgid "edit" -msgstr "rediger" - -#: wysiwyg_editor.module:1051 -msgid "delete" -msgstr "slet" - -#: wysiwyg_editor.module:1054 -msgid "<p><a href=\"!create-profile-url\">Create new profile</a></p>" -msgstr "<p><a href=\"!create-profile-url\">Opret profil</a></p>" - -#: wysiwyg_editor.module:1057 -msgid "No profiles found. Click here to <a href=\"!create-profile-url\">create a new profile</a>." -msgstr "Ingen profiler fundet. <a href=\"!create-profile-url\">Opret profil</a>." - -#: wysiwyg_editor.module:1088 -msgid "You must give a profile name." -msgstr "Du skal angive et profilnavn." - -#: wysiwyg_editor.module:1092 -msgid "You must select at least one role." -msgstr "Du skal vælge mindst én rolle." - -#: wysiwyg_editor.module:46 -msgid "administer wysiwyg_editor" -msgstr "administrer TinyMCE" - -#: wysiwyg_editor.module:46 -msgid "access wysiwyg_editor" -msgstr "tilgå TinyMCE" - -#: wysiwyg_editor.module:47 -msgid "module" -msgstr "modul" - -#: wysiwyg_editor.module:49 -msgid "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/" -msgstr "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/" - -#: wysiwyg_editor.module:50 -msgid "access wysiwyg_editor imagemanager" -msgstr "tilgå wysiwyg_editor billedhåndtering" - -#: wysiwyg_editor.info:0 -msgid "The most popular WYSIWYG editor for advanced content editing." -msgstr "Den mest populære WYSIWYG-editor til avanceret redigering af indhold." - diff --git a/sites/all/modules/wysiwyg/translations/de.po b/sites/all/modules/wysiwyg/translations/de.po deleted file mode 100644 index 478c100f1c8baf0728fc1c8df0b8990400beb84b..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/de.po +++ /dev/null @@ -1,938 +0,0 @@ -# $Id: de.po,v 1.8 2009/06/17 21:22:23 hass Exp $ -# -# LANGUAGE translation of Drupal (general) -# Copyright YEAR NAME <EMAIL@ADDRESS> -# Generated from file: wysiwyg_editor.module,v 1.90.4.23 2007/05/06 01:41:35 m3avrck -# -msgid "" -msgstr "" -"Project-Id-Version: German translation of WYSIWYG editor\n" -"POT-Creation-Date: 2009-06-17 21:00+0200\n" -"PO-Revision-Date: 2009-06-17 23:21+0100\n" -"Last-Translator: Alexander Haß\n" -"Language-Team: Alexander Hass\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n!=1);\n" -"X-Poedit-Language: German\n" -"X-Poedit-Country: GERMANY\n" - -#: wysiwyg.api.php:51;52 -msgid "My plugin title" -msgstr "Mein Plugin-Titel" - -#: wysiwyg.api.php:61 -msgid "Button title (optional)" -msgstr "Schaltknopftitel (optional)" - -#: wysiwyg.admin.inc:51 -msgid "%editor profile for %format" -msgstr "%editor-Profil für %format" - -#: wysiwyg.admin.inc:60 -msgid "Basic setup" -msgstr "Basis-Setup" - -#: wysiwyg.admin.inc:67 -msgid "Enabled by default" -msgstr "Standardmäßig aktiviert" - -#: wysiwyg.admin.inc:70 -msgid "The default editor state for users having access to this profile. Users are able to override this state if the next option is enabled." -msgstr "Der standardmäßige Status des Editors für Benutzer mit Zugriff auf dieses Profil. Benutzer können diese Einstellung übersteuern, wenn die nachfolgende Option aktiviert ist." - -#: wysiwyg.admin.inc:75 -msgid "Allow users to choose default" -msgstr "Benutzer können Standardeinstellung auswählen" - -#: wysiwyg.admin.inc:78 -msgid "If allowed, users will be able to choose their own editor default state in their user account settings." -msgstr "Sobald aktiviert, können Benutzer auf ihrer Profilseite ihren eigenen standardmäßigen Status des Editors auswählen." - -#: wysiwyg.admin.inc:83 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "<em>Ein-/Auschalter</em> für Rich-Text anzeigen" - -#: wysiwyg.admin.inc:86 -msgid "Whether or not to show the <em>enable/disable rich text</em> toggle link below a textarea. If disabled, the user setting or global default is used (see above)." -msgstr "Ob der <em>Rich-Text aktivieren/deaktivieren</em>-Link unterhalb eines Textfeldes angezeigt werden soll oder nicht. Sollte diese Einstellung deaktiviert sein, werden die Benutzereinstellungen oder globalen Standardwerte verwendet (siehe oberhalb)." - -#: wysiwyg.admin.inc:96 -msgid "Language" -msgstr "Sprache" - -#: wysiwyg.admin.inc:99 -msgid "The language to use for the editor interface. Language codes are based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "Die für die Eingabeoberfläche der Editors zu verwendende Sprache. Die Sprachcodes basieren auf dem <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a>-Format." - -#: wysiwyg.admin.inc:104 -msgid "Buttons and plugins" -msgstr "Schaltflächen und Plugins" - -#: wysiwyg.admin.inc:149 -msgid "Editor appearance" -msgstr "Erscheinungsbild des Editors" - -#: wysiwyg.admin.inc:156 -msgid "Toolbar location" -msgstr "Position der Werkzeugleiste" - -#: wysiwyg.admin.inc:158;174 -msgid "Bottom" -msgstr "Unten" - -#: wysiwyg.admin.inc:158;174 -msgid "Top" -msgstr "Oben" - -#: wysiwyg.admin.inc:159 -msgid "This option controls whether the editor toolbar is displayed above or below the editing area." -msgstr "Diese Option kontrolliert, ob die Editor-Werkzeugleiste über oder unter dem Bearbeitungsfeld angezeigt wird." - -#: wysiwyg.admin.inc:164 -msgid "Button alignment" -msgstr "Ausrichtung der Schaltknöpfe" - -# context senstive issues -#: wysiwyg.admin.inc:166 -#, fuzzy -msgid "Center" -msgstr "Mitte" - -#: wysiwyg.admin.inc:166 -msgid "Left" -msgstr "Links" - -#: wysiwyg.admin.inc:166 -msgid "Right" -msgstr "Rechts" - -#: wysiwyg.admin.inc:167 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "Diese Option kontrolliert die Anordnung der Symbole in der Editor-Werkzeugleiste." - -#: wysiwyg.admin.inc:172 -msgid "Path location" -msgstr "Position der Pfad-Leiste" - -#: wysiwyg.admin.inc:174 -msgid "Hide" -msgstr "Ausblenden" - -#: wysiwyg.admin.inc:175 -msgid "Where to display the path to HTML elements (i.e. <code>body > table > tr > td</code>)." -msgstr "Wo der Pfad zu den HTML-Elementen angezeigt werden soll (d.h. <code>body > table > tr > td</code>)." - -#: wysiwyg.admin.inc:180 -msgid "Enable resizing button" -msgstr "Schaltfläche zur Größenanpassung aktivieren" - -# "Path location toolbar" not literally -#: wysiwyg.admin.inc:183 -msgid "This option gives you the ability to enable/disable the resizing button. If enabled, the Path location toolbar must be set to \"Top\" or \"Bottom\" in order to display the resize icon." -msgstr "Diese Option ermöglicht die Schaltfläche zur Größenanpassung zu aktivieren/deaktivieren. Sobald aktiviert, muss die Pfad-Leiste auf „Oben“ oder „Unten“ eingestellt werden, damit das Symbol zur Größenanpassung angezeigt wird." - -#: wysiwyg.admin.inc:188 -msgid "Cleanup and output" -msgstr "Bereinigung und Ausgabe" - -#: wysiwyg.admin.inc:195 -msgid "Verify HTML" -msgstr "HTML prüfen" - -#: wysiwyg.admin.inc:198 -msgid "If enabled, potentially malicious code like <code><HEAD></code> tags will be removed from HTML contents." -msgstr "Sobald aktiviert, wird potentiell bösartiger Code wie <code><HEAD></code>-Tags aus den HTML-Inhalten entfernt." - -#: wysiwyg.admin.inc:203 -msgid "Preformatted" -msgstr "Vorformattiert" - -#: wysiwyg.admin.inc:206 -msgid "If enabled, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE element in HTML does." -msgstr "Sobald aktiviert, wird der Editor für Tabulatoren ein „TAB“-Zeichen einfügen und andere Leerzeichen beibehalten, wie dies mit einem „PRE“-HTML-Element der Fall wäre." - -#: wysiwyg.admin.inc:211 -msgid "Convert <font> tags to styles" -msgstr "<font>-Tags zu Styles konvertieren" - -#: wysiwyg.admin.inc:214 -msgid "If enabled, HTML tags declaring the font size, font family, font color and font background color will be replaced by inline CSS styles." -msgstr "Sobald aktiviert, werden HTML-Tags mit Schriftgröße, Schriftfamilie, Schriftfarbe und Schrifthintergrundfarbe durch Inline-Styles ersetzt." - -#: wysiwyg.admin.inc:219 -msgid "Remove linebreaks" -msgstr "Zeilenumbrüche entfernen" - -#: wysiwyg.admin.inc:222 -msgid "If enabled, the editor will remove most linebreaks from contents. Disabling this option could avoid conflicts with other input filters." -msgstr "Sobald aktiviert, wird der Editor die meisten Zeilenumbrüche aus dem Inhalt entfernen. Die Deaktivierung dieser Option kann Konflikte mit anderen Eingabefiltern verhindern." - -#: wysiwyg.admin.inc:227 -msgid "Apply source formatting" -msgstr "Quellcodeformatierung anwenden" - -#: wysiwyg.admin.inc:230 -msgid "If enabled, the editor will re-format the HTML source code. Disabling this option could avoid conflicts with other input filters." -msgstr "Sobald aktiviert, wird der Editor den HTML-Quelltext neu formatieren. Die Deaktivierung dieser Option kann Konflikte mit anderen Eingabefiltern verhindern." - -#: wysiwyg.admin.inc:235 -msgid "Force cleanup on standard paste" -msgstr "Bereinigung beim standardmäßigen Einfügen erzwingen" - -#: wysiwyg.admin.inc:238 -msgid "If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the \"paste from word\" plugin function." -msgstr "Sobald aktiviert, verhält sich die standardmäßige Einfügen-Funktion (STRG+V oder STRG-Einf) wie die „aus MS-Word einfügen“-Funktion." - -#: wysiwyg.admin.inc:243 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg.admin.inc:250 -msgid "Block formats" -msgstr "Blockformate" - -#: wysiwyg.admin.inc:254 -msgid "Comma separated list of HTML block formats. Possible values: <code>@format-list</code>." -msgstr "Eine kommagetrennte Liste von HTML-Blockformaten. Mögliche Werte: <code>@format-list</code>." - -#: wysiwyg.admin.inc:259 -msgid "Editor CSS" -msgstr "Editor-CSS" - -#: wysiwyg.admin.inc:261 -msgid "Use theme CSS" -msgstr "CSS-Anweisungen des Themes verwenden" - -#: wysiwyg.admin.inc:261 -msgid "Define CSS" -msgstr "CSS festlegen" - -#: wysiwyg.admin.inc:261 -msgid "Editor default CSS" -msgstr "Standardmäßiges Editor-CSS" - -#: wysiwyg.admin.inc:262 -msgid "Defines the CSS to be used in the editor area.<br />Use theme CSS - loads stylesheets from current site theme.<br/>Define CSS - enter path for stylesheet files below.<br />Editor default CSS - uses default stylesheets from editor." -msgstr "Legt das im Textfeld des Editors zu verwendende CSS fest.<br />CSS des Themes verwenden - läd Stylesheets aus dem aktuellen Website-Theme.<br/>CSS festlegen - Nachfolgend einen Pfad zu den Stylesheet-Dateien eingeben.<br />Standardmäßiges CSS des Editors - verwendet das standardmäßige CSS des Editors." - -#: wysiwyg.admin.inc:267 -msgid "CSS path" -msgstr "CSS-Verzeichnis" - -#: wysiwyg.admin.inc:271 -msgid "If \"Define CSS\" was selected above, enter path to a CSS file or a list of CSS files separated by a comma." -msgstr "" - -#: wysiwyg.admin.inc:271 -msgid "Available tokens: <code>%b</code> (base path, eg: <code>/</code>), <code>%t</code> (path to theme, eg: <code>themes/garland</code>)" -msgstr "Verfügbare Platzhalter: <code>%b</code> (Basispfad, z.B.: <code>/</code>), <code>%t</code> (Pfad zum Theme, z.B.: <code>themes/garland</code>)" - -#: wysiwyg.admin.inc:271 -msgid "Example:" -msgstr "Beispiel:" - -#: wysiwyg.admin.inc:276 -msgid "CSS classes" -msgstr "CSS-Klassen" - -#: wysiwyg.admin.inc:278 -msgid "Optionally define CSS classes for the \"Font style\" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from all loaded stylesheet(s)." -msgstr "" - -#: wysiwyg.admin.inc:283;438 -msgid "Save" -msgstr "Speichern" - -#: wysiwyg.admin.inc:317 -msgid "Wysiwyg profile for %format has been saved." -msgstr "Das Wysiwyg-Profil für %format wurde gespeichert." - -#: wysiwyg.admin.inc:366 -msgid "No editor" -msgstr "Kein Editor" - -#: wysiwyg.admin.inc:371 -msgid "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Download</a>)" -msgstr "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Herunterladen</a>)" - -#: wysiwyg.admin.inc:372 -msgid "Not installed." -msgstr "Nicht installiert." - -#: wysiwyg.admin.inc:386 -msgid "Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>" -msgstr "Das Archiv extrahieren und dessen Inhalt in ein neues Verzeichnis an der folgenden Stelle kopieren:<br /><code>@editor-path</code>" - -# not literally -#: wysiwyg.admin.inc:387 -msgid "So the actual library can be found at:<br /><code>@library-filepath</code>" -msgstr "Damit lässt sich die aktuelle Bibliothek hier finden:<br /><code>@library-filepath</code>" - -#: wysiwyg.admin.inc:402 -msgid "Installation instructions" -msgstr "Installationsanweisungen" - -#: wysiwyg.admin.inc:405 -msgid "There are no editor libraries installed currently. The following list contains a list of currently supported editors:" -msgstr "Derzeit sind keine Editor-Bibliotheken installiert. Die folgende Liste enthält eine Liste der derzeit unterstützten Editoren:" - -#: wysiwyg.admin.inc:430 -#: wysiwyg.module:26 -msgid "Edit" -msgstr "Bearbeiten" - -#: wysiwyg.admin.inc:433;489 -#: wysiwyg.module:36 -msgid "Remove" -msgstr "Entfernen" - -#: wysiwyg.admin.inc:450 -msgid "Input format" -msgstr "Eingabeformat" - -#: wysiwyg.admin.inc:450 -msgid "Editor" -msgstr "Editor" - -#: wysiwyg.admin.inc:450 -msgid "Operations" -msgstr "Operationen" - -#: wysiwyg.admin.inc:487 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "Soll das Profil für %name wirklich gelöscht werden?" - -#: wysiwyg.admin.inc:489 -msgid "This action cannot be undone." -msgstr "Diese Aktion kann nicht rückgängig gemacht werden." - -#: wysiwyg.admin.inc:489 -msgid "Cancel" -msgstr "Abbrechen" - -#: wysiwyg.admin.inc:501 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "Das Wysiwyg-Profil für %name wurde gelöscht." - -#: wysiwyg.module:80 -msgid "A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines which client-side editor is loaded, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions." -msgstr "" - -#: wysiwyg.module:306 -msgid "Disable rich-text" -msgstr "Rich-Text deaktivieren" - -#: wysiwyg.module:307 -msgid "Enable rich-text" -msgstr "Rich-Text aktivieren" - -#: wysiwyg.module:608 -msgid "Wysiwyg Editor settings" -msgstr "Einstellungen für Wysiwyg-Editor" - -#: wysiwyg.module:615 -msgid "Enable editor by default" -msgstr "Editor standardmäßig aktivieren" - -#: wysiwyg.module:618 -msgid "If enabled, rich-text editing is enabled by default in textarea fields." -msgstr "Sobald aktiviert, wird die Rich-Text-Bearbeitung in Textfeldern standardmässig aktiviert." - -#: wysiwyg.module:702 -msgid "The version of %editor could not be detected." -msgstr "Die Version von %editor konnte nicht erkannt werden." - -#: wysiwyg.module:715 -msgid "The installed version %version of %editor is not supported." -msgstr "Die installierte Version %version von %editor ist nicht unterstützt." - -#: wysiwyg.module:14 -#: wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "Wysiwyg" - -#: wysiwyg.module:17 -msgid "Configure client-side editors." -msgstr "Client-seitige Editor-Profile konfigurieren." - -#: wysiwyg.module:22 -msgid "Profiles" -msgstr "Profile" - -#: wysiwyg.module:0 -msgid "wysiwyg" -msgstr "wysiwyg" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "" - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "Ermöglicht Benutzern die Bearbeitung von Inhalten mit clientseitigen Editoren." - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "Benutzeroberfläche" - -#: editors/fckeditor.inc:217 -#: editors/markitup.inc:105;170 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:140 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Bold" -msgstr "Fett" - -#: editors/fckeditor.inc:217 -#: editors/markitup.inc:112;170 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:140 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Italic" -msgstr "Kursiv" - -#: editors/fckeditor.inc:217 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:140 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Underline" -msgstr "Unterstrichen" - -#: editors/fckeditor.inc:218 -#: editors/markitup.inc:119;171 -#: editors/nicedit.inc:104 -#: editors/openwysiwyg.inc:141 -#: editors/tinymce.inc:378 -#: editors/yui.inc:277 -msgid "Strike-through" -msgstr "Durchgestrichen" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:142 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align left" -msgstr "Linksbündig" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:142 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align center" -msgstr "Zentriert" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:142 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align right" -msgstr "Rechtsbündig" - -#: editors/fckeditor.inc:219 -#: editors/openwysiwyg.inc:142 -#: editors/tinymce.inc:379 -#: editors/yui.inc:278 -msgid "Justify" -msgstr "Blocksatz" - -#: editors/fckeditor.inc:220 -#: editors/nicedit.inc:106 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:380 -#: editors/whizzywig.inc:115 -#: editors/yui.inc:279 -msgid "Bullet list" -msgstr "Aufzählungszeichen" - -#: editors/fckeditor.inc:220 -#: editors/nicedit.inc:106 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:380 -#: editors/whizzywig.inc:115 -#: editors/yui.inc:279 -msgid "Numbered list" -msgstr "Nummerierte Liste" - -#: editors/fckeditor.inc:221 -#: editors/nicedit.inc:107 -#: editors/openwysiwyg.inc:144 -#: editors/tinymce.inc:381 -#: editors/whizzywig.inc:116 -#: editors/yui.inc:280 -msgid "Outdent" -msgstr "Einzug verkleinern" - -#: editors/fckeditor.inc:221 -#: editors/nicedit.inc:107 -#: editors/openwysiwyg.inc:144 -#: editors/tinymce.inc:381 -#: editors/whizzywig.inc:116 -#: editors/yui.inc:280 -msgid "Indent" -msgstr "Einzug vergrößern" - -#: editors/fckeditor.inc:222 -#: editors/openwysiwyg.inc:145 -#: editors/tinymce.inc:382 -#: editors/whizzywig.inc:117 -#: editors/yui.inc:281 -msgid "Undo" -msgstr "Rückgängig" - -#: editors/fckeditor.inc:222 -#: editors/openwysiwyg.inc:145 -#: editors/tinymce.inc:382 -#: editors/whizzywig.inc:117 -#: editors/yui.inc:281 -msgid "Redo" -msgstr "Wiederholen" - -# not literally and not context senstive issue, should be "Link einfügen/bearbeiten" -#: editors/fckeditor.inc:223 -#: editors/markitup.inc:132;173 -#: editors/nicedit.inc:114 -#: editors/openwysiwyg.inc:146 -#: editors/tinymce.inc:383 -#: editors/whizzywig.inc:121 -#: editors/yui.inc:282 -#, fuzzy -msgid "Link" -msgstr "Link" - -#: editors/fckeditor.inc:223 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:383 -msgid "Unlink" -msgstr "Link entfernen" - -#: editors/fckeditor.inc:223 -#: editors/tinymce.inc:383 -msgid "Anchor" -msgstr "Anker" - -#: editors/fckeditor.inc:224 -#: editors/markitup.inc:126;172 -#: editors/nicedit.inc:108 -#: editors/openwysiwyg.inc:147 -#: editors/tinymce.inc:384 -#: editors/whizzywig.inc:118;122 -#: editors/yui.inc:283 -msgid "Image" -msgstr "Bild" - -#: editors/fckeditor.inc:225 -#: editors/nicedit.inc:109 -#: editors/openwysiwyg.inc:149 -#: editors/tinymce.inc:386 -#: editors/whizzywig.inc:119 -msgid "Forecolor" -msgstr "Vordergrundfarbe" - -#: editors/fckeditor.inc:225 -#: editors/nicedit.inc:109 -#: editors/openwysiwyg.inc:149 -#: editors/tinymce.inc:386 -#: editors/whizzywig.inc:119 -msgid "Backcolor" -msgstr "Hintergrundfarbe" - -#: editors/fckeditor.inc:226 -msgid "Superscript" -msgstr "Hochgestellt" - -#: editors/fckeditor.inc:226 -msgid "Subscript" -msgstr "Tiefgestellt" - -#: editors/fckeditor.inc:227 -#: editors/openwysiwyg.inc:151 -#: editors/tinymce.inc:388 -msgid "Blockquote" -msgstr "Zitatblock" - -#: editors/fckeditor.inc:227 -#: editors/nicedit.inc:116 -#: editors/openwysiwyg.inc:151 -#: editors/tinymce.inc:388 -#: editors/whizzywig.inc:125 -msgid "Source code" -msgstr "Quellcode" - -#: editors/fckeditor.inc:228 -#: editors/nicedit.inc:111 -#: editors/openwysiwyg.inc:152 -#: editors/tinymce.inc:389 -#: editors/whizzywig.inc:120 -msgid "Horizontal rule" -msgstr "Horizontale Linie" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:153 -#: editors/tinymce.inc:390 -msgid "Cut" -msgstr "Ausschneiden" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:153 -#: editors/tinymce.inc:390 -msgid "Copy" -msgstr "Kopieren" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:153 -#: editors/tinymce.inc:390 -msgid "Paste" -msgstr "Einfügen" - -#: editors/fckeditor.inc:230 -msgid "Paste Text" -msgstr "Text einfügen" - -#: editors/fckeditor.inc:230 -#: editors/tinymce.inc:494 -msgid "Paste from Word" -msgstr "Aus MS-Word einfügen" - -#: editors/fckeditor.inc:231 -msgid "Show blocks" -msgstr "Blöcke anzeigen" - -#: editors/fckeditor.inc:232 -#: editors/openwysiwyg.inc:155 -#: editors/tinymce.inc:392 -#: editors/yui.inc:287 -msgid "Remove format" -msgstr "Formatierungen entfernen" - -#: editors/fckeditor.inc:233 -#: editors/openwysiwyg.inc:156 -#: editors/tinymce.inc:393 -msgid "Character map" -msgstr "Sonderzeichen" - -#: editors/fckeditor.inc:234 -msgid "About" -msgstr "Über" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:157 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "HTML block format" -msgstr "HTML-Blockformat" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:157 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "Font" -msgstr "Schriftart" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:157 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "Font size" -msgstr "Schriftgröße" - -# ??? -#: editors/fckeditor.inc:235 -#: editors/tinymce.inc:452 -#, fuzzy -msgid "Font style" -msgstr "Formatstil" - -#: editors/fckeditor.inc:236 -#: editors/openwysiwyg.inc:161 -#: editors/tinymce.inc:529 -#: editors/whizzywig.inc:123 -msgid "Table" -msgstr "Tabelle" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:515 -msgid "Search" -msgstr "Suchen" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:515 -msgid "Replace" -msgstr "Ersetzen" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:494 -msgid "Select all" -msgstr "Alles markieren" - -#: editors/fckeditor.inc:238 -msgid "Create DIV container" -msgstr "DIV-Block erstellen" - -#: editors/fckeditor.inc:239 -#: editors/tinymce.inc:538 -msgid "Flash" -msgstr "Flash" - -#: editors/fckeditor.inc:239 -msgid "Smiley" -msgstr "Smiley" - -#: editors/fckeditor.inc:240 -#, fuzzy -msgid "FitWindow" -msgstr "Fenster anpassen" - -#: editors/fckeditor.inc:241 -msgid "Check spelling" -msgstr "Rechtschreibung überprüfen" - -#: editors/fckeditor.inc:248 -#, fuzzy -msgid "Autogrow" -msgstr "Automatische Größenanpassung" - -#: editors/fckeditor.inc:259 -#: editors/tinymce.inc:564 -msgid "BBCode" -msgstr "BBCode" - -#: editors/fckeditor.inc:267 -#, fuzzy -msgid "Table drag/resize" -msgstr "Tabelle verschieben/skalieren" - -#: editors/fckeditor.inc:275 -msgid "Table: Cell properties" -msgstr "Tabelle: Zellen-Eigenschaften" - -#: editors/fckeditor.inc:276 -msgid "Table: Insert row after" -msgstr "Tabelle: Zeile unterhalb einfügen" - -#: editors/fckeditor.inc:277 -msgid "Table: Insert column after" -msgstr "Tabelle: Spalte rechts danach einfügen" - -#: editors/fckeditor.inc:278 -msgid "Table: Insert cell after" -msgstr "Tabelle: Zelle danach einfügen" - -#: editors/fckeditor.inc:279 -msgid "Table: Delete rows" -msgstr "Tabelle: Zeilen entfernen" - -#: editors/fckeditor.inc:280 -msgid "Table: Delete columns" -msgstr "Tabelle: Spalten löschen" - -#: editors/fckeditor.inc:281 -msgid "Table: Delete cells" -msgstr "Tabelle: Zellen löschen" - -#: editors/fckeditor.inc:282 -msgid "Table: Merge cells" -msgstr "Tabelle: Zellen verbinden" - -#: editors/fckeditor.inc:283 -msgid "Table: Horizontal split cell" -msgstr "Tabelle: Zelle horizontal teilen" - -#: editors/markitup.inc:142;175 -#: editors/openwysiwyg.inc:159 -#: editors/tinymce.inc:501 -msgid "Preview" -msgstr "Vorschau" - -#: editors/nicedit.inc:110 -#: editors/openwysiwyg.inc:150 -#: editors/tinymce.inc:387 -#: editors/yui.inc:285 -#, fuzzy -msgid "Sup" -msgstr "Hochgestellt" - -#: editors/nicedit.inc:110 -#: editors/openwysiwyg.inc:150 -#: editors/tinymce.inc:387 -#: editors/yui.inc:285 -#, fuzzy -msgid "Sub" -msgstr "Tiefgestellt" - -#: editors/openwysiwyg.inc:148 -#: editors/tinymce.inc:385 -#: editors/whizzywig.inc:124 -msgid "Clean-up" -msgstr "Bereinigen" - -#: editors/openwysiwyg.inc:154 -#: editors/tinymce.inc:391 -msgid "Visual aid" -msgstr "Optische Hilfe" - -#: editors/openwysiwyg.inc:158 -#: editors/tinymce.inc:459 -msgid "Fullscreen" -msgstr "Vollbild" - -#: editors/openwysiwyg.inc:160 -#: editors/tinymce.inc:508 -msgid "Print" -msgstr "Drucken" - -#: editors/openwysiwyg.inc:162 -#: editors/tinymce.inc:394 -msgid "Help" -msgstr "Hilfe" - -#: editors/tinymce.inc:400 -msgid "Advanced horizontal rule" -msgstr "Erweiterte horizontale Linie" - -#: editors/tinymce.inc:408 -#, fuzzy -msgid "Advanced image" -msgstr "Erweitertes Bild" - -#: editors/tinymce.inc:416 -#, fuzzy -msgid "Advanced link" -msgstr "Erweiterter Link" - -#: editors/tinymce.inc:424 -msgid "Auto save" -msgstr "Hintergrundspeicherung" - -#: editors/tinymce.inc:431 -msgid "Context menu" -msgstr "Kontextmenü" - -#: editors/tinymce.inc:438 -msgid "Left-to-right" -msgstr "Links nach rechts" - -#: editors/tinymce.inc:438 -msgid "Right-to-left" -msgstr "Rechts nach links" - -#: editors/tinymce.inc:445 -msgid "Emotions" -msgstr "Emotionen" - -#: editors/tinymce.inc:466 -#, fuzzy -msgid "Inline popups" -msgstr "Inline-Popups" - -#: editors/tinymce.inc:476 -msgid "Insert date" -msgstr "Datum einfügen" - -#: editors/tinymce.inc:476 -msgid "Insert time" -msgstr "Zeit einfügen" - -#: editors/tinymce.inc:487 -msgid "Insert layer" -msgstr "Ebene einfügen" - -# oder "In den Vordergrund"? -#: editors/tinymce.inc:487 -#, fuzzy -msgid "Move forward" -msgstr "Eine Ebene nach vorne" - -# oder "In den Hintergrund"? -#: editors/tinymce.inc:487 -#, fuzzy -msgid "Move backward" -msgstr "Eine Ebene nach hinten" - -#: editors/tinymce.inc:487 -msgid "Absolute" -msgstr "Absolut" - -#: editors/tinymce.inc:494 -msgid "Paste text" -msgstr "Text einfügen" - -#: editors/tinymce.inc:522 -msgid "Style properties" -msgstr "Design-Einstellungen" - -#: editors/tinymce.inc:548 -#, fuzzy -msgid "Media" -msgstr "Medien" - -#: editors/tinymce.inc:555 -msgid "Citation" -msgstr "Zitat" - -#: editors/tinymce.inc:555 -msgid "Deleted" -msgstr "Gelöscht" - -#: editors/tinymce.inc:555 -msgid "Abbreviation" -msgstr "Abkürzung" - -#: editors/tinymce.inc:555 -msgid "Acronym" -msgstr "Akronym" - -# NICHT Eingefügt -#: editors/tinymce.inc:555 -#, fuzzy -msgid "Inserted" -msgstr "Eingefügt" - -#: editors/tinymce.inc:571 -msgid "Safari compatibility" -msgstr "Safari-Kompatibilität" - -#: editors/whizzywig.inc:126 -msgid "Spell check" -msgstr "Rechtschreibprüfung" - -#: editors/yui.inc:284 -msgid "Font Color" -msgstr "Schriftfarbe" - -#: editors/yui.inc:284 -msgid "Background Color" -msgstr "Hintergrundfarbe" - -#: editors/yui.inc:286 -msgid "Show/hide hidden elements" -msgstr "Ein-/Ausblenden versteckter Elemente" - -#: plugins/break.inc:14 -#, fuzzy -msgid "Teaser break" -msgstr "Anrisstext trennen" - -#: plugins/break.inc:17 -msgid "Separate the teaser and body of this content" -msgstr "Separiert den Anrisstext und Textkörper des Inhalts an dieser Stelle" - diff --git a/sites/all/modules/wysiwyg/translations/el.po b/sites/all/modules/wysiwyg/translations/el.po deleted file mode 100644 index 0741d81cfc5a34ed3523c91fac78c566ba794674..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/el.po +++ /dev/null @@ -1,434 +0,0 @@ -# translation of el.po to Greek -# Greek translation of Drupal (wysiwyg_editor.module) -# $Id: el.po,v 1.2 2008/05/30 02:19:15 sun Exp $ -# LANGUAGE translation of Drupal (general) -# Copyright YEAR NAME <EMAIL@ADDRESS> -# Generated from file: wysiwyg_editor.module,v 1.91 2007/02/22 22:41:06 nedjo -# -# Vasileios Lourdas <lourdas_v@yahoo.gr>, 2007. -# Vasileios Lourdas <vasilis@lourdas.name>, 2008. -msgid "" -msgstr "" -"Project-Id-Version: el\n" -"POT-Creation-Date: 2008-04-13 16:27+0300\n" -"PO-Revision-Date: 2008-04-13 16:40+0300\n" -"Last-Translator: Vasileios Lourdas <vasilis@lourdas.name>\n" -"Language-Team: Greek <el@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: KBabel 1.11.4\n" - -#: wysiwyg_editor.module:17 wysiwyg_editor.info:0 -msgid "TinyMCE" -msgstr "TinyMCE" - -#: wysiwyg_editor.module:19 -msgid "Configure the rich editor." -msgstr "Παραμετροποίηση του πλήρους συντάκτη κειμένου." - -#: wysiwyg_editor.module:34 -msgid "<p style=\"font-size:x-small\">$Revision: 1.2 $ $Date: 2008/05/30 02:19:15 $</p><p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p><p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p><p>Lastly, only users with the <code>access wysiwyg_editor</code> <a href=\"!url\">permission</a> will be able to use TinyMCE.</p>" -msgstr "<p style=\"font-size:x-small\">$Revision: 1.2 $ $Date: 2008/05/30 02:19:15 $</p><p>Το TinyMCE προσθέτει δυνατότητα επεξεργασίας HTML τύπου what-you-see-is-what-you-get (WYSIWYG) στις περιοχές κειμένου. Ο επεξεργαστής μπορεί να ενεργοποιηθεί/απενεργοποιηθεί χωρίς την επαναφόρτωση της σελίδας κάνοντας κλικ σε ένα σύνδεσμο κάτω από κάθε περιοχή κειμένου.</p><p>Τα προφίλ ορίζονται βάσει των ρόλων των χρηστών. Ένα προφίλ TinyMCE μπορεί να ορίσει σε ποιες σελίδες θα υπάρχει η δυνατότητα TinyMCE, ποια κουμπιά ή θεματικές παραλλαγές θα είναι ενεργοποιημένες στον επεξεργαστή, πως θα εμφανίζεται ο επεξεργαστής και ορισμένες άλλες λειτουργίες.</p><p>Τέλος, μόνο χρήστες με την <a href=\"!url\">άδεια</a> <code>πρόσβαση στο wysiwyg_editor</code> θα μπορούν να χρησιμοποιούν το TinyMCE.</p>" - -#: wysiwyg_editor.module:113 -msgid "enable rich-text" -msgstr "ενεργοποίηση του πλήρους κειμένου" - -#: wysiwyg_editor.module:114 -msgid "disable rich-text" -msgstr "απενεργοποίηση του πλήρους κειμένου" - -#: wysiwyg_editor.module:166 -msgid "Your current web browser does not support WYSIWYG editing." -msgstr "Ο φυλλομετρητής σας δεν υποστηρίζει επεξεργασία WYSIWYG." - -#: wysiwyg_editor.module:247 -msgid "TinyMCE rich-text settings" -msgstr "Ρυθμίσεις πλήρους-κειμένου TinyMCE" - -#: wysiwyg_editor.module:255;698 -msgid "Default state" -msgstr "Εξ' ορισμού κατάσταση" - -#: wysiwyg_editor.module:257;700 -msgid "disabled" -msgstr "απενεργοποιημένο" - -#: wysiwyg_editor.module:257;700 -msgid "enabled" -msgstr "ενεργοποιημένο" - -#: wysiwyg_editor.module:258 -msgid "Should rich-text editing be enabled or disabled by default in textarea fields?" -msgstr "Το πλήρες κείμενο στα πεδία περιοχής κειμένου θα πρέπει να είναι ενεργοποιημένο ή απενεργοποιημένο εξ' ορισμού;" - -#: wysiwyg_editor.module:440 -msgid "administer" -msgstr "διαχείριση" - -#: wysiwyg_editor.module:441;44;0 -msgid "wysiwyg_editor" -msgstr "wysiwyg_editor" - -#: wysiwyg_editor.module:442 -msgid "Add new TinyMCE profile" -msgstr "Προσθήκη νέου προφίλ TinyMCE" - -#: wysiwyg_editor.module:448 -msgid "Edit wysiwyg_editor profile" -msgstr "Επεξεργασία προφίλ wysiwyg_editor" - -#: wysiwyg_editor.module:454 -msgid "Deleted profile" -msgstr "Το προφίλ διαγράφηκε" - -#: wysiwyg_editor.module:458;663 -msgid "Create profile" -msgstr "Δημιουργία προφίλ" - -#: wysiwyg_editor.module:459;667 -msgid "Update profile" -msgstr "Ενημέρωση προφίλ" - -#: wysiwyg_editor.module:462 -msgid "Your TinyMCE profile has been updated." -msgstr "Το TinyMCE προφίλ σας έχει ενημερωθεί" - -#: wysiwyg_editor.module:462 -msgid "Your TinyMCE profile has been created." -msgstr "Το TinyMCE προφίλ σας έχει δημιουργηθεί." - -#: wysiwyg_editor.module:471 -msgid "TinyMCE settings" -msgstr "Ρυθμίσεις TinyMCE" - -#: wysiwyg_editor.module:475 -msgid "Could not find the TinyMCE engine installed at <strong>!wysiwyg_editor-directory</strong>. Please <a href=\"http://wysiwyg_editor.moxiecode.com/\">download TinyMCE</a>, uncompress it and copy the folder into !wysiwyg_editor-path." -msgstr "Δε βρέθηκε εγκατεστημένη η μηχανή TinyMCE στον κατάλογο <strong>!wysiwyg_editor-directory</strong>. Παρακαλώ <a href=\"http://wysiwyg_editor.moxiecode.com/\">κατεβάστε το TinyMCE</a>, αποσυμπιέστε το και αντιγράψτε τον κατάλογό του στο !wysiwyg_editor-path." - -#: wysiwyg_editor.module:655 -msgid "You must <a href=\"!access-control-url\">assign</a> at least one role with the 'access wysiwyg_editor' permission before creating a profile." -msgstr "Θα πρέπει να <a href=\"!access-control-url\">αποδώσετε</a> τουλάχιστον ένα ρόλο με το δικαίωμα 'πρόσβαση στο wysiwyg_editor' προτού δημιουργήσετε προφίλ." - -#: wysiwyg_editor.module:658 -msgid "You will not be allowed to create a new profile since all user roles have already been assigned profiles. Either remove an existing wysiwyg_editor profile from at least one role or assign another role the 'access wysiwyg_editor' permission." -msgstr "Δεν μπορείτε να δημιουργήσετε νέο προφίλ, εφόσον σε όλους τους ρόλους χρηστών έχουν αποδωθεί προφίλ. Αφαιρέστε ένα υπάρχον προφίλ wysiwyg_editor από ένα τουλάχιστον ρόλο ή αποδώστε το δικαίωμα 'πρόσβαση στο wysiwyg_editor' σε άλλο ρόλο." - -#: wysiwyg_editor.module:661 -msgid "Not all user roles are shown since they already have wysiwyg_editor profiles. You must first unassign profiles in order to add them to a new one." -msgstr "Δεν εμφανίζονται όλοι οι ρόλοι χρηστών εφόσον τους έχει αποδοθεί ήδη προφίλ wysiwyg_editor. Θα πρέπει πρώτα να αφαιρέσετε προφίλ προκειμένου να τους προσθέσετε ένα ακόμη." - -#: wysiwyg_editor.module:672 -msgid "Basic setup" -msgstr "Βασική διαμόρφωση" - -#: wysiwyg_editor.module:679 -msgid "Profile name" -msgstr "Όνομα προφίλ" - -#: wysiwyg_editor.module:683 -msgid "Enter a name for this profile. This name is only visible within the wysiwyg_editor administration page." -msgstr "Εισάγετε ένα όνομα για το προφίλ αυτό. Το όνομα αυτό θα εμφανίζεται μόνο στις σελίδες διαχείρισης του wysiwyg_editor." - -#: wysiwyg_editor.module:689 -msgid "Roles allowed to use this profile" -msgstr "Ρόλοι που τους επιτρέπεται να χρησιμοποιούν αυτό το προφίλ" - -#: wysiwyg_editor.module:692 -msgid "Check at least one role. Only roles with 'access wysiwyg_editor' permission will be shown here." -msgstr "Επιλέξτε τουλάχιστον ένα ρόλο. Εδώ εμφανίζονται μόνο οι ρόλοι με το δικαίωμα 'πρόσβαση στο wysiwyg_editor'." - -#: wysiwyg_editor.module:701 -msgid "Default editor state for users in this profile. Users will be able to override this state if the next option is enabled." -msgstr "Εξ' ορισμού κατάσταση του συντάκτη για τους χρήστες σε αυτό το προφίλ. Οι χρήστες θα μπορούν να αλλάξουν την κατάσταση αυτή αν η επόμενη επιλογή είναι ενεργοποιημένη." - -#: wysiwyg_editor.module:706 -msgid "Allow users to choose default" -msgstr "Να επιτρέπεται στους χρήστες να επιλέγουν το εξ' ορισμού" - -#: wysiwyg_editor.module:708;716;740;874;898;906;914 -msgid "false" -msgstr "ψευδές" - -#: wysiwyg_editor.module:708;716;740;874;898;906;914 -msgid "true" -msgstr "αληθές" - -#: wysiwyg_editor.module:709 -msgid "If allowed, users will be able to choose their own TinyMCE default state by visiting their profile page." -msgstr "Αν επιτρέπεται, οι χρήστες θα μπορούν να επιλέξουν την εξ' ορισμού κατάσταση για το TinyMCE τους επισκεπτόμενοι τη σελίδα του προφίλ τους." - -#: wysiwyg_editor.module:714 -msgid "Show disable/enable rich text editor toggle" -msgstr "Εμφάνιση του διακόπτη απενεργοποίηση/ενεργοποίηση του συντάκτη πλήρους κειμένου" - -#: wysiwyg_editor.module:717 -msgid "Whether or not to show the disable/enable rich text editor toggle below the textarea. If false, editor defaults to the global default or user default (see above)." -msgstr "Εμφάνιση ή όχι του διακόπτη για την απενεργοποίηση/ενεργοποίηση του συντάκτη πλήρους κειμένου κάτω από την περιοχή κειμένου. Αν όχι, ο συντάκτης θα είναι με βάση την εξ' ορισμού καθολική ή από το χρήστη κατάσταση (δείτε παραπάνω)" - -#: wysiwyg_editor.module:730 -msgid "Language" -msgstr "Γλώσσα" - -#: wysiwyg_editor.module:733 -msgid "The language for the TinyMCE interface. Language codes based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "Η γλώσσα για τη διεπαφή του TinyMCE. Οι κωδικοί των γλωσσών βασίζονται στη μορφή <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a>." - -#: wysiwyg_editor.module:738 -msgid "Safari browser warning" -msgstr "Προειδοποίηση για το φυλλομετρητή Safari" - -#: wysiwyg_editor.module:741 -msgid "TinyMCE support for the Safari web browser is experimental and a warning message is displayed when that browser is detected. You can disable this message here." -msgstr "Η υποστήριξη του φυλλομετρητή Safari από το TinyMCE είναι σε πειραματικό στάδιο και όταν εντοπίζεται ο φυλλομετρητής αυτός θα εμφανίζεται μια προειδοποίηση. Μπορείτε εδώ να απενεργοποιήσετε το μήνυμα αυτό." - -#: wysiwyg_editor.module:746 -msgid "Visibility" -msgstr "Ορατότητα" - -#: wysiwyg_editor.module:766 -msgid "Show on every page except the listed pages." -msgstr "Εμφάνιση σε όλες τις σελίδες εκτός από τις παρακάτω." - -#: wysiwyg_editor.module:766 -msgid "Show on only the listed pages." -msgstr "Εμφάνιση μόνο στις παρακάτω σελίδες." - -#: wysiwyg_editor.module:767 -msgid "Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '!blog' for the blog page and !blog-wildcard for every personal blog. !front is the front page." -msgstr "Εισάγετε μια σελίδα ανά γραμμή ως διαδρομές του Drupal. Ο χαρακτήρας '*' είναι χαρακτήρας μπαλαντέρ. Παραδείγματα διαδρομών είναι το '!blog' για τις σελίδες ιστολογίου και το !blog-wildcard για κάθε προσωπικό ιστολόγιο. Το !front είναι για την κεντρική σελίδα." - -#: wysiwyg_editor.module:770 -msgid "Show if the following PHP code returns <code>TRUE</code> (PHP-mode, experts only)." -msgstr "Εμφάνιση ανάλογα με το αν ο παρακάτω κώδικας PHP επιστρέψει <code>TRUE</code> (κατάσταση PHP, για τους ειδικούς μόνο)." - -#: wysiwyg_editor.module:771 -msgid "If the PHP-mode is chosen, enter PHP code between !php. Note that executing incorrect PHP-code can break your Drupal site." -msgstr "Αν επιλεχθεί η κατάσταση PHP, εισάγετε τον κώδικα PHP ανάμεσα στα !php. Σημειώστε ότι η εκτέλεση λάθους κώδικα μπορεί να προκαλέσει ζημιά στο Drupal ιστοχώρο σας." - -#: wysiwyg_editor.module:775 -msgid "Show wysiwyg_editor on specific pages" -msgstr "Εμφάνιση του wysiwyg_editor σε συγκεκριμένες σελίδες" - -#: wysiwyg_editor.module:781 -msgid "Pages" -msgstr "Σελίδες" - -#: wysiwyg_editor.module:789 -msgid "Buttons and plugins" -msgstr "Κουμπιά και επιπλέον αρθρώματα" - -#: wysiwyg_editor.module:841 -msgid "Editor appearance" -msgstr "Εμφάνιση συντάκτη κειμένου" - -#: wysiwyg_editor.module:848 -msgid "Toolbar location" -msgstr "Τοποθεσία γραμμής εργαλείων" - -#: wysiwyg_editor.module:850;866 -msgid "bottom" -msgstr "κάτω μέρος" - -#: wysiwyg_editor.module:850;866 -msgid "top" -msgstr "πάνω μέρος" - -#: wysiwyg_editor.module:851 -msgid "Show toolbar at the top or bottom of the editor area?" -msgstr "Να εμφανίζεται η γραμμή εργαλείων στο πάνω ή κάτω μέρος της περιοχής του συντάκτη;" - -#: wysiwyg_editor.module:856 -msgid "Toolbar alignment" -msgstr "Στοίχιση γραμμής εργαλείων" - -#: wysiwyg_editor.module:858 -msgid "center" -msgstr "κέντρο" - -#: wysiwyg_editor.module:858 -msgid "left" -msgstr "αριστερά" - -#: wysiwyg_editor.module:858 -msgid "right" -msgstr "δεξιά" - -#: wysiwyg_editor.module:859 -msgid "Align tool icons left, center, or right within the toolbar." -msgstr "Στοίχιση των εικονιδίων των εργαλείων αριστερά, στο κέντρο ή δεξιά μέσα στη γραμμή εργαλείων." - -#: wysiwyg_editor.module:864 -msgid "Path location" -msgstr "Τοποθεσία διαδρομής" - -#: wysiwyg_editor.module:866 -msgid "none" -msgstr "κανένα" - -#: wysiwyg_editor.module:867 -msgid "Path to html elements (i.e. \"body>table>tr>td\"). Show at top, bottom, or not at all." -msgstr "Η διαδρομή των στοιχείων html (πχ. \"body>table>tr>td\"). Να εμφανίζεται πάνω, κάτω ή καθόλου." - -#: wysiwyg_editor.module:872 -msgid "Enable resizing button" -msgstr "Ενεργοποίηση πλήκτρου αλλαγής μεγέθους" - -#: wysiwyg_editor.module:875 -msgid " This option gives you the ability to enable/disable the resizing button. If enabled the <strong>Path location toolbar</strong> must be set to \"top\" or \"bottom\" in order to display the resize icon." -msgstr "Η επιλογή αυτή δίνει τη δυνατότητα να ενεργοποιείτε/απενεργοποιείτε το πλήκτρο αλλαγής μεγέθους. Αν είναι ενεργοποιημένη, η <strong>γραμμή εργαλείων τοποθεσίας διαδρομής</strong> θα πρέπει να είναι \"πάνω\" ή \"κάτω\" για να εμφανίζεται το εικονίδιο αλλαγής μεγέθους." - -#: wysiwyg_editor.module:880 -msgid "Block formats" -msgstr "Μορφές μπλοκ" - -#: wysiwyg_editor.module:884 -msgid "Comma separated list of HTML block formats. You can only remove elements, not add." -msgstr "Λίστα μπλοκ μορφών HTML χωρισμένη με το κόμμα. Μπορείτε να αφαιρέσετε μόνο στοιχεία, όχι να προσθέσετε." - -#: wysiwyg_editor.module:889 -msgid "Cleanup and output" -msgstr "Εκκαθάριση και έξοδος" - -#: wysiwyg_editor.module:896 -msgid "Verify HTML" -msgstr "Επαλήθευση της HTML" - -#: wysiwyg_editor.module:899 -msgid "Should the HTML contents be verified or not? Verifying will strip <head> tags, so choose false if you will be editing full page HTML." -msgstr "Επαλήθευση ή όχι των στοιχείων της HTML; Η επαλήθευση θα αφαιρέσει τις σημάνσεις <head>, οπότε επιλέξτε ψευδές αν θέλετε να επεξεργαστείτε πλήρεις σελίδες HTML." - -#: wysiwyg_editor.module:904 -msgid "Preformatted" -msgstr "Προμορφοποιημένο" - -#: wysiwyg_editor.module:907 -msgid "If this option is set to true, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE HTML element does." -msgstr "Αν η επιλογή αυτή έχει ως τιμή αληθές, ο συντάκτης κειμένου θα εισάγει χαρακτήρες TAB και θα διατηρεί τους υπόλοιπους λευκούς χαρακτήρες (whitespaces), ακριβώς όπως κάνει και το στοιχείο PRE της HTML." - -#: wysiwyg_editor.module:912 -msgid "Convert <font> tags to styles" -msgstr "Μετατροπή των σημάνσεων <font> σε στυλ" - -#: wysiwyg_editor.module:915 -msgid "If you set this option to true, font size, font family, font color and font background color will be replaced by inline styles." -msgstr "Αν η επιλογή αυτή έχει ως τιμή αληθές, το μέγεθος, η οικογένεια, το χρώμα των γραμματοσειρών και το χρώμα του υπόβαθρου θα αντικαθίστανται από στυλ μέσα στο κείμενο (inline)." - -#: wysiwyg_editor.module:920 -msgid "Remove linebreaks" -msgstr "Αφαίρεση των αλλαγών γραμμών" - -#: wysiwyg_editor.module:923 -msgid "Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters." -msgstr "Θέστε την επιλογή αυτή σε ψευδές για να αποτρέψετε το TinyMCE να αφαιρεί τις αλλαγές γραμμών από τους υπάρχοντες κόμβους. Το αληθές αποφεύγει προβλήματα με ορισμένα φίλτρα." - -#: wysiwyg_editor.module:928 -msgid "Apply source formatting" -msgstr "Εφαρμογή μορφοποίησης κώδικα" - -#: wysiwyg_editor.module:931 -msgid "This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters." -msgstr "Η επιλογή αυτή ορίζει στο TinyMCE να εφαρμόζει μορφοποίηση κώδικα. Θέστε την επιλογή σε αληθές για ένα πιο ευανάγνωστο κώδικα HTML. Θέστε σε ψευδές για την αποφυγή προβλημάτων με ορισμένα φίλτρα." - -#: wysiwyg_editor.module:936 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg_editor.module:943 -msgid "Editor CSS" -msgstr "Συντάκτης CSS" - -#: wysiwyg_editor.module:945 -msgid "use theme css" -msgstr "χρησιμοποίηση css θεματικής παραλλαγής" - -#: wysiwyg_editor.module:945 -msgid "define css" -msgstr "ορισμός css" - -#: wysiwyg_editor.module:945 -msgid "tinyMCE default" -msgstr "προεπιλογή TinyMCE" - -#: wysiwyg_editor.module:946 -msgid "Defines the CSS to be used in the editor area.<br />use theme css - load style.css from current site theme.<br/>define css - enter path for css file below.<br />tinyMCE default - uses default CSS from editor." -msgstr "Καθορίζει το CSS που θα χρησιμοποιηθεί στην περιοχή κειμένου του συντάκτη. <br />χρησιμοποίηση του θέματος css - χρησιμοποιεί το style.css από το τρέχων θέμα του ιστοχώρου. <br/>ορισμός του css - εισάγετε παρακάτω τη διαδρομή για το αρχείο του css<br />εξ' ορισμού του tinyMCE - χρησιμοποιεί το εξ' ορισμού CSS του συντάκτη κειμένου." - -#: wysiwyg_editor.module:951 -msgid "CSS path" -msgstr "Διαδρομή CSS" - -#: wysiwyg_editor.module:955 -msgid "Enter path to CSS file (<em>example: \"css/editor.css\"</em>) or a list of css files seperated by a comma (<em>example: /themes/garland/style.css,http://domain.com/customMCE.css</em>).<br />Macros: %h (host name: http://www.example.com/), %t (path to theme: theme/yourtheme/)<br />Be sure to select \"define css\" above." -msgstr "Εισάγετε τη διαδρομή για το αρχείο CSS (<em>παράδειγμα: \"css/editor.css\"</em>) ή μια λίστα αρχείων css χωρισμένα με το κόμμα (<em>παράδειγμα: /themes/garland/style.css,http://domain.com/customMCE.css</em>). <br />Μακροεντολές: %h (όνομα υπολογιστή: http://www.example.com/), %t (διαδρομή στο θέμα: theme/yourtheme/)<br />Σιγουρευτείτε να επιλέξετε το \"ορισμός του css\" παραπάνω." - -#: wysiwyg_editor.module:960 -msgid "CSS classes" -msgstr "Κλάσεις CSS" - -#: wysiwyg_editor.module:964 -msgid "Adds CSS classes to the \"styles\" droplist. Format is: <title>=<class>;<br/> Example: Header 1=header1;Header 2=header2;Header 3=header3 (note: no trailing ';')<br />Leave blank to automatically import list of CSS classes from style sheet." -msgstr "Προσθέτει κλάσεις css στη λίστα \"στυλ\". Η μορφοποίηση είναι <τίτλος>=<κλάση>;<br/> Παράδειγμα: Επικεφαλίδα 1=header1;Επικεφαλίδα 2=header2;Επικεφαλίδα 3=header3 (σημείωση: χωρίς το ';' στο τέλος)<br />Αφήστε το κενό για να εισαχθεί αυτόματα η λίστα των κλάσεων CSS από το αρχείο των στυλ." - -#: wysiwyg_editor.module:1046 -msgid "Profile" -msgstr "Προφίλ" - -#: wysiwyg_editor.module:1046 -msgid "Roles" -msgstr "Ρόλοι" - -#: wysiwyg_editor.module:1046 -msgid "Operations" -msgstr "Λειτουργίες" - -#: wysiwyg_editor.module:1048 -msgid "edit" -msgstr "επεξεργασία" - -#: wysiwyg_editor.module:1048 -msgid "delete" -msgstr "διαγραφή" - -#: wysiwyg_editor.module:1051 -msgid "<p><a href=\"!create-profile-url\">Create new profile</a></p>" -msgstr "<p><a href=\"!create-profile-url\">Δημιουργία νέου προφίλ</a></p>" - -#: wysiwyg_editor.module:1054 -msgid "No profiles found. Click here to <a href=\"!create-profile-url\">create a new profile</a>." -msgstr "Δε βρέθηκαν προφίλ. Κάντε κλικ εδώ για να <a href=\"!create-profile-url\">δημιουργήσετε ένα νέο προφίλ</a>." - -#: wysiwyg_editor.module:1085 -msgid "You must give a profile name." -msgstr "Πρέπει να εισάγετε ένα όνομα προφίλ." - -#: wysiwyg_editor.module:1089 -msgid "You must select at least one role." -msgstr "Πρέπει να επιλέξετε τουλάχιστον ένα ρόλο." - -#: wysiwyg_editor.module:43 -msgid "administer wysiwyg_editor" -msgstr "διαχείριση του wysiwyg_editor" - -#: wysiwyg_editor.module:43 -msgid "access wysiwyg_editor" -msgstr "πρόσβαση στο wysiwyg_editor" - -#: wysiwyg_editor.module:44 -msgid "module" -msgstr "άρθρωμα" - -#: wysiwyg_editor.module:46 -msgid "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/" -msgstr "/wysiwyg_editor/jscripts/tiny_mce/plugins/imagemanager/" - -#: wysiwyg_editor.module:47 -msgid "access wysiwyg_editor imagemanager" -msgstr "πρόσβαση στο διαχειριστή εικόνων wysiwyg_editor" - -#: wysiwyg_editor.info:0 -msgid "The most popular WYSIWYG editor for advanced content editing." -msgstr "Ο δημοφιλέστερος WYSIWYG συντάκτης κειμένου για προχωρημένη επεξεργασία περιεχομένου." - diff --git a/sites/all/modules/wysiwyg/translations/fi.po b/sites/all/modules/wysiwyg/translations/fi.po deleted file mode 100644 index 7eece8cdcde16aba02f419799a9fd68dd1393197..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/fi.po +++ /dev/null @@ -1,920 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: wysiwyg-6.x-2.0\n" -"POT-Creation-Date: 2009-08-22 09:55+0300\n" -"PO-Revision-Date: 2009-08-23 11:01+0200\n" -"Last-Translator: Juhani Pirinen <juhani.pirinen@ontieto.com>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Poedit-Language: Finnish\n" -"X-Poedit-Country: FINLAND\n" -"X-Poedit-SourceCharset: utf-8\n" -"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,54,-1,-1,-1\n" - -#: wysiwyg.api.php:51;52 -msgid "My plugin title" -msgstr "Oman laajennusosan otsikko" - -#: wysiwyg.api.php:61 -msgid "Button title (optional)" -msgstr "Painikkeen otsikko (vaihtoehtoinen)" - -#: wysiwyg.admin.inc:51 -msgid "%editor profile for %format" -msgstr "%editor profiilili formaatille %format" - -#: wysiwyg.admin.inc:60 -msgid "Basic setup" -msgstr "Perusasetukset" - -#: wysiwyg.admin.inc:67 -msgid "Enabled by default" -msgstr "Käytössä oletusarvoisesti" - -#: wysiwyg.admin.inc:70 -msgid "The default editor state for users having access to this profile. Users are able to override this state if the next option is enabled." -msgstr "Oletuseditoritila käyttäjille, joilla on pääsy tähän profiiliin. Käyttäjät pystyvät ohittamaan tämän tilan, jos seuraava valinta on käytössä." - -#: wysiwyg.admin.inc:75 -msgid "Allow users to choose default" -msgstr "Salli käyttäjien valita oletus" - -#: wysiwyg.admin.inc:78 -msgid "If allowed, users will be able to choose their own editor default state in their user account settings." -msgstr "Jos sallittu, käyttäjät pystyvät valitsemaan oman editorinsa oletustilan käyttäjätilinsä asetuksista." - -#: wysiwyg.admin.inc:83 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "Näytä <em>ota editori käyttöön / poista editori käytöstä</em> kytkinlinkki" - -#: wysiwyg.admin.inc:86 -msgid "Whether or not to show the <em>enable/disable rich text</em> toggle link below a textarea. If disabled, the user setting or global default is used (see above)." -msgstr "Joko näytetään tai ei näytetä <em>ota editori käyttöön / poista editori käytöstä</em> kytkinlinkki tekstialueen alla. Jos ei näytetä, käyttäjän asetus tai yleinen oletus on käytössä (katso yllä)." - -#: wysiwyg.admin.inc:96 -msgid "Language" -msgstr "Kieli" - -#: wysiwyg.admin.inc:99 -msgid "The language to use for the editor interface. Language codes are based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "Kieli, jota käytetään editorin käyttöliittymässä. Kielikoodit perustuvat <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> formaattiin." - -#: wysiwyg.admin.inc:104 -msgid "Buttons and plugins" -msgstr "Painikkeet ja laajennusosat" - -#: wysiwyg.admin.inc:149 -msgid "Editor appearance" -msgstr "Editorin ulkoasu" - -#: wysiwyg.admin.inc:156 -msgid "Toolbar location" -msgstr "Työkalupalkin sijainti" - -#: wysiwyg.admin.inc:158;174 -msgid "Bottom" -msgstr "Alhaalla" - -#: wysiwyg.admin.inc:158;174 -msgid "Top" -msgstr "Ylhäällä" - -#: wysiwyg.admin.inc:159 -msgid "This option controls whether the editor toolbar is displayed above or below the editing area." -msgstr "Tämä valinta määrittelee näkyykö editorin työkalupalkki muokkausalueen ylä- vai alapuolella." - -#: wysiwyg.admin.inc:164 -msgid "Button alignment" -msgstr "Painikkeiden tasaus" - -#: wysiwyg.admin.inc:166 -msgid "Center" -msgstr "Keskellä" - -#: wysiwyg.admin.inc:166 -msgid "Left" -msgstr "Vasemmalla" - -#: wysiwyg.admin.inc:166 -msgid "Right" -msgstr "Oikealla" - -#: wysiwyg.admin.inc:167 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "Tämä valinta määrittelee kuvakkeiden tasauksen editorin työkalupalkissa." - -#: wysiwyg.admin.inc:172 -msgid "Path location" -msgstr "Polun sijainti" - -#: wysiwyg.admin.inc:174 -msgid "Hide" -msgstr "Piilossa" - -#: wysiwyg.admin.inc:175 -msgid "Where to display the path to HTML elements (i.e. <code>body > table > tr > td</code>)." -msgstr "Missä näytetään polku HTML elementteihin (esim. <code>body > table > tr > td</code>)." - -#: wysiwyg.admin.inc:180 -msgid "Enable resizing button" -msgstr "Ota käyttöön koonmuunnospainike" - -#: wysiwyg.admin.inc:183 -msgid "This option gives you the ability to enable/disable the resizing button. If enabled, the Path location toolbar must be set to \"Top\" or \"Bottom\" in order to display the resize icon." -msgstr "Tämä valinta antaa mahdollisuuden ottaa käyttöön / poistaa käytöstä koonmuunnospainikkeen. Jos käytössä, Polun sijainti -työkalupalkki täytyy asettaa joko \"Ylös\" tai \"Alas\" jotta koonmuunnoskuvake näkyy." - -#: wysiwyg.admin.inc:188 -msgid "Cleanup and output" -msgstr "Siistintä ja ulostulo" - -#: wysiwyg.admin.inc:195 -msgid "Verify HTML" -msgstr "Tarkista HTML" - -#: wysiwyg.admin.inc:198 -msgid "If enabled, potentially malicious code like <code><HEAD></code> tags will be removed from HTML contents." -msgstr "Jos käytössä, mahdolliset haitalliset koodit kuten <code><HEAD></code> merkkaukset poistetaan HTML sisällöstä." - -#: wysiwyg.admin.inc:203 -msgid "Preformatted" -msgstr "Esimuotoiltu" - -#: wysiwyg.admin.inc:206 -msgid "If enabled, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE element in HTML does." -msgstr "Jos käytössä, editori lisää TAB merkkejä tab näppäimestä ja säilyttää muut whitespace merkit aivan kuten PRE elementti tekee HTML koodissa." - -#: wysiwyg.admin.inc:211 -msgid "Convert <font> tags to styles" -msgstr "Muuntaa <font> merkkaukset tyyleiksi" - -#: wysiwyg.admin.inc:214 -msgid "If enabled, HTML tags declaring the font size, font family, font color and font background color will be replaced by inline CSS styles." -msgstr "Jos käytössä, fonttikoon, fonttiperheen, fontin värin ja fontin taustavärin HTML merkkaukset korvataan rivinsisäisillä CSS tyyleillä." - -#: wysiwyg.admin.inc:219 -msgid "Remove linebreaks" -msgstr "Poista rivinvaihdot" - -#: wysiwyg.admin.inc:222 -msgid "If enabled, the editor will remove most linebreaks from contents. Disabling this option could avoid conflicts with other input filters." -msgstr "Jos käytössä, editori poistaa useimmat rivinvaihdot sisällöstä. Poistamalla käytöstä tämä valinta, voidaan välttää ristiriidat toisten syöttömuotojen kanssa." - -#: wysiwyg.admin.inc:227 -msgid "Apply source formatting" -msgstr "Käytä lähdekoodin muotoilua" - -#: wysiwyg.admin.inc:230 -msgid "If enabled, the editor will re-format the HTML source code. Disabling this option could avoid conflicts with other input filters." -msgstr "Jos käytössä, editori muotoilee uudelleen HTML lähdekoodin. Poistamalla käytöstä tämä valinta, voidaan välttää ristiriidat toisten syöttömuotojen kanssa." - -#: wysiwyg.admin.inc:235 -msgid "Force cleanup on standard paste" -msgstr "Pakota siistintä normaalille liitä-toiminnolle" - -#: wysiwyg.admin.inc:238 -msgid "If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the \"paste from word\" plugin function." -msgstr "Jos käytössä, oletus liitä-toiminto (CTRL-V tai SHIFT-INS) käyttäytyy kuten \"liitä wordistä\" laajennusosan toiminto." - -#: wysiwyg.admin.inc:243 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg.admin.inc:250 -msgid "Block formats" -msgstr "Kappalemerkkaukset" - -#: wysiwyg.admin.inc:254 -msgid "Comma separated list of HTML block formats. Possible values: <code>@format-list</code>." -msgstr "Pilkulla eroteltu lista HTML kappaleiden merkkauksista. Mahdolliset arvot: <code>@format-list</code>." - -#: wysiwyg.admin.inc:259 -msgid "Editor CSS" -msgstr "Editorin CSS" - -#: wysiwyg.admin.inc:261 -msgid "Use theme CSS" -msgstr "Käytä teeman CSS:ää" - -#: wysiwyg.admin.inc:261 -msgid "Define CSS" -msgstr "Määrittele CSS" - -#: wysiwyg.admin.inc:261 -msgid "Editor default CSS" -msgstr "Editorin oletus CSS" - -#: wysiwyg.admin.inc:262 -msgid "Defines the CSS to be used in the editor area.<br />Use theme CSS - loads stylesheets from current site theme.<br/>Define CSS - enter path for stylesheet files below.<br />Editor default CSS - uses default stylesheets from editor." -msgstr "Määrittelee CSS:n, jota käytetään editorin alueella.<br>Käytä teeman CSS:ää - lataa tyylipohjat sivuston nykyisestä teemasta.<br>Määrittele CSS - anna polku tyylipohjatiedostoihin alla.<br>Editorin oletus CSS - käyttää editorin oletustyylipohjia." - -#: wysiwyg.admin.inc:267 -msgid "CSS path" -msgstr "CSS polku" - -#: wysiwyg.admin.inc:271 -#, fuzzy -msgid "If \"Define CSS\" was selected above, enter path to a CSS file or a list of CSS files separated by a comma." -msgstr "Jos \"Määrittele CSS\"on valittu ylhäältä, anna polku CSS-tiedostoon tai CSS tiedostojen listaan, jotka on eroteltu pilkulla." - -#: wysiwyg.admin.inc:271 -msgid "Available tokens: <code>%b</code> (base path, eg: <code>/</code>), <code>%t</code> (path to theme, eg: <code>themes/garland</code>)" -msgstr "Käytettävissä olevat merkit: <code>%b</code> (juuripolku, esim: <code>/</code>), <code>%t</code> (polku teemaan, esim: <code>themes/garland</code>)" - -#: wysiwyg.admin.inc:271 -msgid "Example:" -msgstr "Esimerkki:" - -#: wysiwyg.admin.inc:276 -msgid "CSS classes" -msgstr "CSS luokat" - -#: wysiwyg.admin.inc:278 -msgid "Optionally define CSS classes for the \"Font style\" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from all loaded stylesheet(s)." -msgstr "Vaihtoehtoisesti määrittele CSS luokat \"Fonttityyli\" pudotuslistalle.<br />Anna yksi luokka joka rivillä muodossa: !format. Esimerkki: !example<br />Jos jätetty tyhjäksi, CSS luokat tuodaan automaattisesti kaikista ladatuista tyylipohjista." - -#: wysiwyg.admin.inc:283;438 -msgid "Save" -msgstr "Tallenna" - -#: wysiwyg.admin.inc:317 -msgid "Wysiwyg profile for %format has been saved." -msgstr "Wysiwyg profiili %format on tallennettu." - -#: wysiwyg.admin.inc:366 -msgid "No editor" -msgstr "Ei editoria" - -#: wysiwyg.admin.inc:371 -msgid "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Download</a>)" -msgstr "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Lataa</a>)" - -#: wysiwyg.admin.inc:372 -msgid "Not installed." -msgstr "Ei ole asennettu." - -#: wysiwyg.admin.inc:386 -msgid "Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>" -msgstr "Pura paketti ja kopioi sen sisältö uuteen kansioon seuraavaan sijaintiin: <br /><code>@editor-path</code>" - -#: wysiwyg.admin.inc:387 -msgid "So the actual library can be found at:<br /><code>@library-filepath</code>" -msgstr "Jotta varsinainen kirjasto voidaan löytää sijainnista:<br /><code>@library-filepath</code>" - -#: wysiwyg.admin.inc:402 -msgid "Installation instructions" -msgstr "Asennusohjeet" - -#: wysiwyg.admin.inc:405 -msgid "There are no editor libraries installed currently. The following list contains a list of currently supported editors:" -msgstr "Editorin kirjastoja ei ole asennettu. Seuraava listaus sisältää tällä hetkellä tuetut editorit:" - -#: wysiwyg.admin.inc:430 -#: wysiwyg.module:26 -msgid "Edit" -msgstr "Muokkaa" - -#: wysiwyg.admin.inc:433;489 -#: wysiwyg.module:36 -msgid "Remove" -msgstr "Poista" - -#: wysiwyg.admin.inc:450 -msgid "Input format" -msgstr "Syöttömuoto" - -#: wysiwyg.admin.inc:450 -msgid "Editor" -msgstr "Editori" - -#: wysiwyg.admin.inc:450 -msgid "Operations" -msgstr "Toimenpiteet" - -#: wysiwyg.admin.inc:487 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "Haluatko varmasti poistaa profiilin %name?" - -#: wysiwyg.admin.inc:489 -msgid "This action cannot be undone." -msgstr "Tätä toimintoa ei voi perua." - -#: wysiwyg.admin.inc:489 -msgid "Cancel" -msgstr "Peruuta" - -#: wysiwyg.admin.inc:501 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "Wysiwyg profiili %name on poistettu." - -#: wysiwyg.module:80 -msgid "A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines which client-side editor is loaded, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions." -msgstr "Wysiwyg profiili voidaan liittää syöttömuotoon. Wysiwyg profiili määrittelee mikä asiakaspuolen editori ladataan, mitkä painikkeet tai teemat ovat käytössä editorissa, kuinka editori näytetään ja muutamia editorin omia toimintoja." - -#: wysiwyg.module:306 -msgid "Disable rich-text" -msgstr "Poista editori käytöstä" - -#: wysiwyg.module:307 -msgid "Enable rich-text" -msgstr "Ota editori käyttöön" - -#: wysiwyg.module:608 -msgid "Wysiwyg Editor settings" -msgstr "Wysiwyg editorin asetukset" - -#: wysiwyg.module:615 -msgid "Enable editor by default" -msgstr "Ota editori käyttöön oletuksena" - -#: wysiwyg.module:618 -msgid "If enabled, rich-text editing is enabled by default in textarea fields." -msgstr "Jos käytössä, wysiwyg-editori on oletuksena käytössä tekstialuekentissä." - -#: wysiwyg.module:702 -msgid "The version of %editor could not be detected." -msgstr "Editorin %editor versiota ei voitu havaita." - -#: wysiwyg.module:715 -msgid "The installed version %version of %editor is not supported." -msgstr "Asennettu versio %version editorista %editor ei ole tuettu." - -#: wysiwyg.module:14 -#: wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "Wysiwyg" - -#: wysiwyg.module:17 -msgid "Configure client-side editors." -msgstr "Määrittele asiakaspuolen editoriprofiilit" - -#: wysiwyg.module:22 -msgid "Profiles" -msgstr "Profiilit" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "Säilyttää Wysiwyg profiilit." - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "Sallii käyttäjän muokata sisältöä asiakaspuolen editoreilla." - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "Käyttöliittymä" - -#: editors/fckeditor.inc:217 -#: editors/markitup.inc:105;171 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:141 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Bold" -msgstr "Lihavoitu" - -#: editors/fckeditor.inc:217 -#: editors/markitup.inc:112;171 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:141 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Italic" -msgstr "Kursivoitu" - -#: editors/fckeditor.inc:217 -#: editors/nicedit.inc:103 -#: editors/openwysiwyg.inc:141 -#: editors/tinymce.inc:377 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:276 -msgid "Underline" -msgstr "Alleviivattu" - -#: editors/fckeditor.inc:218 -#: editors/markitup.inc:119;172 -#: editors/nicedit.inc:104 -#: editors/openwysiwyg.inc:142 -#: editors/tinymce.inc:378 -#: editors/yui.inc:277 -msgid "Strike-through" -msgstr "Yliviivattu" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align left" -msgstr "Tasaa vasemmat reunat" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align center" -msgstr "Keskitä" - -#: editors/fckeditor.inc:219 -#: editors/nicedit.inc:105 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:379 -#: editors/whizzywig.inc:114 -#: editors/yui.inc:278 -msgid "Align right" -msgstr "Tasaa oikeat reunat" - -#: editors/fckeditor.inc:219 -#: editors/openwysiwyg.inc:143 -#: editors/tinymce.inc:379 -#: editors/yui.inc:278 -msgid "Justify" -msgstr "Tasaa molemmat reunat" - -#: editors/fckeditor.inc:220 -#: editors/nicedit.inc:106 -#: editors/openwysiwyg.inc:144 -#: editors/tinymce.inc:380 -#: editors/whizzywig.inc:115 -#: editors/yui.inc:279 -msgid "Bullet list" -msgstr "Luettelomerkkilista" - -#: editors/fckeditor.inc:220 -#: editors/nicedit.inc:106 -#: editors/openwysiwyg.inc:144 -#: editors/tinymce.inc:380 -#: editors/whizzywig.inc:115 -#: editors/yui.inc:279 -msgid "Numbered list" -msgstr "Numeroitu lista" - -#: editors/fckeditor.inc:221 -#: editors/nicedit.inc:107 -#: editors/openwysiwyg.inc:145 -#: editors/tinymce.inc:381 -#: editors/whizzywig.inc:116 -#: editors/yui.inc:280 -msgid "Outdent" -msgstr "Pienennä sisennystä" - -#: editors/fckeditor.inc:221 -#: editors/nicedit.inc:107 -#: editors/openwysiwyg.inc:145 -#: editors/tinymce.inc:381 -#: editors/whizzywig.inc:116 -#: editors/yui.inc:280 -msgid "Indent" -msgstr "Suurenna sisennystä" - -#: editors/fckeditor.inc:222 -#: editors/openwysiwyg.inc:146 -#: editors/tinymce.inc:382 -#: editors/whizzywig.inc:117 -#: editors/yui.inc:281 -msgid "Undo" -msgstr "Kumoa" - -#: editors/fckeditor.inc:222 -#: editors/openwysiwyg.inc:146 -#: editors/tinymce.inc:382 -#: editors/whizzywig.inc:117 -#: editors/yui.inc:281 -msgid "Redo" -msgstr "Toista" - -#: editors/fckeditor.inc:223 -#: editors/markitup.inc:132;174 -#: editors/nicedit.inc:114 -#: editors/openwysiwyg.inc:147 -#: editors/tinymce.inc:383 -#: editors/whizzywig.inc:121 -#: editors/yui.inc:282 -msgid "Link" -msgstr "Linkki" - -#: editors/fckeditor.inc:223 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:383 -msgid "Unlink" -msgstr "Poista linkki" - -#: editors/fckeditor.inc:223 -#: editors/tinymce.inc:383 -msgid "Anchor" -msgstr "Ankkuri" - -#: editors/fckeditor.inc:224 -#: editors/markitup.inc:126;173 -#: editors/nicedit.inc:108 -#: editors/openwysiwyg.inc:148 -#: editors/tinymce.inc:384 -#: editors/whizzywig.inc:118;122 -#: editors/yui.inc:283 -msgid "Image" -msgstr "Kuva" - -#: editors/fckeditor.inc:225 -#: editors/nicedit.inc:109 -#: editors/openwysiwyg.inc:150 -#: editors/tinymce.inc:386 -#: editors/whizzywig.inc:119 -msgid "Forecolor" -msgstr "Tekstiväri" - -#: editors/fckeditor.inc:225 -#: editors/nicedit.inc:109 -#: editors/openwysiwyg.inc:150 -#: editors/tinymce.inc:386 -#: editors/whizzywig.inc:119 -msgid "Backcolor" -msgstr "Taustaväri" - -#: editors/fckeditor.inc:226 -msgid "Superscript" -msgstr "Yläindeksi" - -#: editors/fckeditor.inc:226 -msgid "Subscript" -msgstr "Alaindeksi" - -#: editors/fckeditor.inc:227 -#: editors/openwysiwyg.inc:152 -#: editors/tinymce.inc:388 -msgid "Blockquote" -msgstr "Kappalelainaus" - -#: editors/fckeditor.inc:227 -#: editors/nicedit.inc:116 -#: editors/openwysiwyg.inc:152 -#: editors/tinymce.inc:388 -#: editors/whizzywig.inc:125 -msgid "Source code" -msgstr "Lähdekoodi" - -#: editors/fckeditor.inc:228 -#: editors/nicedit.inc:111 -#: editors/openwysiwyg.inc:153 -#: editors/tinymce.inc:389 -#: editors/whizzywig.inc:120 -msgid "Horizontal rule" -msgstr "Vaakaviiva" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:154 -#: editors/tinymce.inc:390 -msgid "Cut" -msgstr "Leikkaa" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:154 -#: editors/tinymce.inc:390 -msgid "Copy" -msgstr "Kopioi" - -#: editors/fckeditor.inc:229 -#: editors/openwysiwyg.inc:154 -#: editors/tinymce.inc:390 -msgid "Paste" -msgstr "Liitä" - -#: editors/fckeditor.inc:230 -msgid "Paste Text" -msgstr "Liitä teksti" - -#: editors/fckeditor.inc:230 -#: editors/tinymce.inc:494 -msgid "Paste from Word" -msgstr "Liitä Wordista" - -#: editors/fckeditor.inc:231 -msgid "Show blocks" -msgstr "Näytä elementit" - -#: editors/fckeditor.inc:232 -#: editors/openwysiwyg.inc:156 -#: editors/tinymce.inc:392 -#: editors/yui.inc:287 -msgid "Remove format" -msgstr "Poista muotoilu" - -#: editors/fckeditor.inc:233 -#: editors/openwysiwyg.inc:157 -#: editors/tinymce.inc:393 -msgid "Character map" -msgstr "Merkkikartta" - -#: editors/fckeditor.inc:234 -msgid "About" -msgstr "Tietoja" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:158 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "HTML block format" -msgstr "HTML kappaleen merkkaus" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:158 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "Font" -msgstr "Fontti" - -#: editors/fckeditor.inc:235 -#: editors/nicedit.inc:115 -#: editors/openwysiwyg.inc:158 -#: editors/tinymce.inc:452 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:288 -msgid "Font size" -msgstr "Fonttikoko" - -#: editors/fckeditor.inc:235 -#: editors/tinymce.inc:452 -msgid "Font style" -msgstr "Fonttityyli" - -#: editors/fckeditor.inc:236 -#: editors/openwysiwyg.inc:162 -#: editors/tinymce.inc:529 -#: editors/whizzywig.inc:123 -msgid "Table" -msgstr "Taulukko" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:515 -msgid "Search" -msgstr "Etsi" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:515 -msgid "Replace" -msgstr "Korvaa" - -#: editors/fckeditor.inc:237 -#: editors/tinymce.inc:494 -msgid "Select all" -msgstr "Valitse kaikki" - -#: editors/fckeditor.inc:238 -msgid "Create DIV container" -msgstr "Luo DIV alue" - -#: editors/fckeditor.inc:239 -#: editors/tinymce.inc:538 -msgid "Flash" -msgstr "Flash" - -#: editors/fckeditor.inc:239 -msgid "Smiley" -msgstr "Hymiö" - -#: editors/fckeditor.inc:240 -msgid "FitWindow" -msgstr "Sovita ikkunaan" - -#: editors/fckeditor.inc:241 -msgid "Check spelling" -msgstr "Tarkista oikeinkirjoitus" - -#: editors/fckeditor.inc:248 -msgid "Autogrow" -msgstr "Kasva automaattisesti" - -#: editors/fckeditor.inc:259 -#: editors/tinymce.inc:564 -msgid "BBCode" -msgstr "BBCode" - -#: editors/fckeditor.inc:267 -msgid "Table drag/resize" -msgstr "Taulukon vetäminen / koon muuttaminen" - -#: editors/fckeditor.inc:275 -msgid "Table: Cell properties" -msgstr "Taulukko: Solun ominaisuudet" - -#: editors/fckeditor.inc:276 -msgid "Table: Insert row after" -msgstr "Taulukko: Lisää rivi perään" - -#: editors/fckeditor.inc:277 -msgid "Table: Insert column after" -msgstr "Taulukko: Lisää sarake perään" - -#: editors/fckeditor.inc:278 -msgid "Table: Insert cell after" -msgstr "Taulukko: Lisää solu perään" - -#: editors/fckeditor.inc:279 -msgid "Table: Delete rows" -msgstr "Taulukko: Poista rivit" - -#: editors/fckeditor.inc:280 -msgid "Table: Delete columns" -msgstr "Taulukko: Poista sarakkeet" - -#: editors/fckeditor.inc:281 -msgid "Table: Delete cells" -msgstr "Taulukko: Poista solut" - -#: editors/fckeditor.inc:282 -msgid "Table: Merge cells" -msgstr "Taulukko: Yhdistä solut" - -#: editors/fckeditor.inc:283 -msgid "Table: Horizontal split cell" -msgstr "Taulukko: Jaa solu vaakasuunnassa" - -#: editors/markitup.inc:142;176 -#: editors/openwysiwyg.inc:160 -#: editors/tinymce.inc:501 -msgid "Preview" -msgstr "Esikatselu" - -#: editors/nicedit.inc:110 -#: editors/openwysiwyg.inc:151 -#: editors/tinymce.inc:387 -#: editors/yui.inc:285 -msgid "Sup" -msgstr "Yläindeksi" - -#: editors/nicedit.inc:110 -#: editors/openwysiwyg.inc:151 -#: editors/tinymce.inc:387 -#: editors/yui.inc:285 -msgid "Sub" -msgstr "Alaindeksi" - -#: editors/openwysiwyg.inc:149 -#: editors/tinymce.inc:385 -#: editors/whizzywig.inc:124 -msgid "Clean-up" -msgstr "Poista muotoilu" - -#: editors/openwysiwyg.inc:155 -#: editors/tinymce.inc:391 -msgid "Visual aid" -msgstr "Visuaalinen apu" - -#: editors/openwysiwyg.inc:159 -#: editors/tinymce.inc:459 -msgid "Fullscreen" -msgstr "Kokoruututila" - -#: editors/openwysiwyg.inc:161 -#: editors/tinymce.inc:508 -msgid "Print" -msgstr "Tulosta" - -#: editors/openwysiwyg.inc:163 -#: editors/tinymce.inc:394 -msgid "Help" -msgstr "Ohje" - -#: editors/tinymce.inc:400 -msgid "Advanced horizontal rule" -msgstr "Edistynyt vaakaviiva" - -#: editors/tinymce.inc:408 -msgid "Advanced image" -msgstr "Edistynyt kuva" - -#: editors/tinymce.inc:416 -msgid "Advanced link" -msgstr "Edistynyt linkki" - -#: editors/tinymce.inc:424 -msgid "Auto save" -msgstr "Automaattinen tallennus" - -#: editors/tinymce.inc:431 -msgid "Context menu" -msgstr "Kohdevalikko" - -#: editors/tinymce.inc:438 -msgid "Left-to-right" -msgstr "Vasemmalta oikealle" - -#: editors/tinymce.inc:438 -msgid "Right-to-left" -msgstr "Oikealta vasemmalle" - -#: editors/tinymce.inc:445 -msgid "Emotions" -msgstr "Hymiöt" - -#: editors/tinymce.inc:466 -msgid "Inline popups" -msgstr "Tekstinsisäiset ponnahdusikkunat" - -#: editors/tinymce.inc:476 -msgid "Insert date" -msgstr "Lisää päiväys" - -#: editors/tinymce.inc:476 -msgid "Insert time" -msgstr "Lisää aika" - -#: editors/tinymce.inc:487 -msgid "Insert layer" -msgstr "Lisää taso" - -#: editors/tinymce.inc:487 -msgid "Move forward" -msgstr "Siirrä eteenpäin" - -#: editors/tinymce.inc:487 -msgid "Move backward" -msgstr "Siirrä taaksepäin" - -#: editors/tinymce.inc:487 -msgid "Absolute" -msgstr "Absoluuttinen" - -#: editors/tinymce.inc:494 -msgid "Paste text" -msgstr "Liitä teksti" - -#: editors/tinymce.inc:522 -msgid "Style properties" -msgstr "Tyyliominaisuudet" - -#: editors/tinymce.inc:548 -msgid "Media" -msgstr "Media" - -#: editors/tinymce.inc:555 -msgid "Citation" -msgstr "Sitaatti" - -#: editors/tinymce.inc:555 -msgid "Deleted" -msgstr "Poistettu" - -#: editors/tinymce.inc:555 -msgid "Abbreviation" -msgstr "Lyhennetty muoto" - -#: editors/tinymce.inc:555 -msgid "Acronym" -msgstr "Lyhenne" - -#: editors/tinymce.inc:555 -msgid "Inserted" -msgstr "Lisätty" - -#: editors/tinymce.inc:571 -msgid "Safari compatibility" -msgstr "Safari yhteensopivuus" - -#: editors/whizzywig.inc:126 -msgid "Spell check" -msgstr "Oikoluku" - -#: editors/yui.inc:284 -msgid "Font Color" -msgstr "Fontin väri" - -#: editors/yui.inc:284 -msgid "Background Color" -msgstr "Taustaväri" - -#: editors/yui.inc:286 -msgid "Show/hide hidden elements" -msgstr "Näytä/piilota piilotetut elementit" - -#: plugins/break.inc:14 -msgid "Teaser break" -msgstr "Tiivistelmän katkaisu" - -#: plugins/break.inc:17 -msgid "Separate the teaser and body of this content" -msgstr "Erota tämän sisällön tiivistelmä ja vartalo" - -#~ msgid "Home" -#~ msgstr "Koti" -#~ msgid "Administer" -#~ msgstr "Ylläpitäjä" -#~ msgid "Site configuration" -#~ msgstr "Sivustoasetukset" -#~ msgid "Wysiwyg profiles" -#~ msgstr "Wysiwyg profiilit" -#~ msgid "%format Wysiwyg profile" -#~ msgstr "%format Wysiwyg profiili" -#~ msgid "wysiwyg" -#~ msgstr "wysiwyg" - diff --git a/sites/all/modules/wysiwyg/translations/fr.po b/sites/all/modules/wysiwyg/translations/fr.po deleted file mode 100644 index 5e658f9511687961f071c363068c75a9794bfac7..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/fr.po +++ /dev/null @@ -1,836 +0,0 @@ -# $Id: fr.po,v 1.2 2009/04/01 16:07:06 slybud Exp $ -# -# French translation of Drupal (general) -# Copyright YEAR NAME <EMAIL@ADDRESS> -# Generated from files: -# wysiwyg.api.php,v 1.2 2008/10/29 12:20:20 sun -# wysiwyg.admin.inc,v 1.6.2.2 2009/02/12 09:29:42 sun -# wysiwyg.plugins.inc,v 1.1 2008/10/14 21:45:07 sun -# wysiwyg.module,v 1.17.2.5 2009/02/01 10:05:20 sun -# wysiwyg.info,v 1.1 2008/10/14 21:45:07 sun -# wysiwyg.install,v 1.3 2008/11/03 23:57:40 sun -# fckeditor.inc,v 1.6.2.5 2009/02/13 02:22:29 sun -# markitup.inc,v 1.1.2.2 2009/01/06 01:40:37 sun -# nicedit.inc,v 1.4 2008/12/05 15:35:23 sun -# tinymce.inc,v 1.17.2.10 2009/02/13 03:31:49 sun -# whizzywig.inc,v 1.1 2008/11/17 00:06:33 sun -# yui.inc,v 1.1 2008/12/08 18:58:10 sun -# -msgid "" -msgstr "" -"Project-Id-Version: french translation for wysiwyg drupal6 module\n" -"POT-Creation-Date: 2009-04-01 17:46+0200\n" -"PO-Revision-Date: 2009-04-01 18:03+0100\n" -"Last-Translator: Sylvain Moreau <sylvain.moreau@ows.fr>\n" -"Language-Team: Stéphane Bordage, BREEK/reviewed by Sylvain Moreau, OWS <sbordage@breek.fr>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n!=1);\n" -"X-Poedit-Language: French\n" -"X-Poedit-Country: FRANCE\n" - -#: wysiwyg.api.php:50;51 -msgid "My plugin title" -msgstr "Titre de mon plugin" - -#: wysiwyg.api.php:60 -msgid "Button title (optional)" -msgstr "Titre du bouton (optionnel)" - -#: wysiwyg.admin.inc:19 -msgid "Home" -msgstr "Accueil" - -#: wysiwyg.admin.inc:20 -msgid "Administer" -msgstr "Administrer" - -#: wysiwyg.admin.inc:21 -msgid "Site configuration" -msgstr "Configuration du site" - -#: wysiwyg.admin.inc:22 -msgid "Wysiwyg profiles" -msgstr "Profils wysiwyg " - -#: wysiwyg.admin.inc:78 -msgid "%format Wysiwyg profile" -msgstr "Profil wysiwyg %format" - -#: wysiwyg.admin.inc:87 -msgid "Basic setup" -msgstr "Paramétrage de base" - -#: wysiwyg.admin.inc:94 -msgid "Enabled by default" -msgstr "Activé par défaut" - -#: wysiwyg.admin.inc:97 -msgid "The default editor state for users having access to this profile. Users are able to override this state if the next option is enabled." -msgstr "L'état par défaut de l'éditeur pour les utilisateurs ayant accès à ce profil. Les utilisateurs peuvent surcharger cet état si la prochaine option (ci-dessous) est activée." - -#: wysiwyg.admin.inc:102 -msgid "Allow users to choose default" -msgstr "Autoriser les utilisateurs à choisir un éditeur par défaut" - -#: wysiwyg.admin.inc:105 -msgid "If allowed, users will be able to choose their own editor default state in their user account settings." -msgstr "Si autorisé, les utilisateurs pourront choisir leur éditeur par défaut dans les paramètres de leur compte utilisateur." - -#: wysiwyg.admin.inc:110 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "Montrer un lien de basculement <em>activer / désactiver l'éditeur de texte riche</em>" - -#: wysiwyg.admin.inc:113 -msgid "Whether or not to show the <em>enable/disable rich text</em> toggle link below a textarea. If disabled, the user setting or global default is used (see above)." -msgstr "Choisir de montrer ou non le lien <em>activer / désactiver l'éditeur de texte riche</em> sous une zone de texte. Si désactivé, le paramétrage de l'utilisateur ou le paramétrage global par défaut est utilisé (voir ci-dessus)." - -#: wysiwyg.admin.inc:123 -msgid "Language" -msgstr "Langue" - -#: wysiwyg.admin.inc:126 -msgid "The language to use for the editor interface. Language codes are based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "La langue à utiliser pour l'interface de l'éditeur. Les codes de langue sont basés sur le format <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a>." - -#: wysiwyg.admin.inc:131 -msgid "Buttons and plugins" -msgstr "Boutons et plugins" - -#: wysiwyg.admin.inc:176 -msgid "Editor appearance" -msgstr "Apparence de l'éditeur" - -#: wysiwyg.admin.inc:183 -msgid "Toolbar location" -msgstr "Place de la barre d'outils" - -#: wysiwyg.admin.inc:185;201 -msgid "Bottom" -msgstr "En bas" - -#: wysiwyg.admin.inc:185;201 -msgid "Top" -msgstr "En haut" - -#: wysiwyg.admin.inc:186 -msgid "This option controls whether the editor toolbar is displayed above or below the editing area." -msgstr "Cette option contrôle si la barre d'outils est affichée au-dessus ou en-dessous des zones d'édition." - -#: wysiwyg.admin.inc:191 -msgid "Button alignment" -msgstr "Alignement des boutons" - -#: wysiwyg.admin.inc:193 -msgid "Center" -msgstr "Centrer" - -#: wysiwyg.admin.inc:193 -msgid "Left" -msgstr "Gauche" - -#: wysiwyg.admin.inc:193 -msgid "Right" -msgstr "Droite" - -#: wysiwyg.admin.inc:194 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "Cette option contrôle l'alignement des icônes dans la barre d'outils de l'éditeur." - -#: wysiwyg.admin.inc:199 -msgid "Path location" -msgstr "Chemin" - -#: wysiwyg.admin.inc:201 -msgid "Hide" -msgstr "Cacher" - -#: wysiwyg.admin.inc:202 -msgid "Where to display the path to HTML elements (i.e. <code>body > table > tr > td</code>)." -msgstr "Où afficher le chemin des éléments HTML (par exemple <code>body > table > tr > td</code>)." - -#: wysiwyg.admin.inc:207 -msgid "Enable resizing button" -msgstr "Activer le bouton de redimensionnement" - -#: wysiwyg.admin.inc:210 -msgid "This option gives you the ability to enable/disable the resizing button. If enabled, the Path location toolbar must be set to \"Top\" or \"Bottom\" in order to display the resize icon." -msgstr "Cette option vous donne la possibilité d'activer/désactiver le bouton de redimensionnement. Si activé, le chemin de la barre d'outils doit être \"haut\" ou \"bas\" de manière à pouvoir afficher l'icône." - -#: wysiwyg.admin.inc:215 -msgid "Cleanup and output" -msgstr "Nettoyage et sortie" - -#: wysiwyg.admin.inc:222 -msgid "Verify HTML" -msgstr "Vérifier le HTML" - -#: wysiwyg.admin.inc:225 -msgid "If enabled, potentially malicious code like <code><HEAD></code> tags will be removed from HTML contents." -msgstr "Si activé, du code potentiellement dangereux (<code><HEAD></code> par exemple) sera supprimer du contenu HTML." - -#: wysiwyg.admin.inc:230 -msgid "Preformatted" -msgstr "Texte préformaté" - -#: wysiwyg.admin.inc:233 -msgid "If enabled, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE element in HTML does." -msgstr "Si activé, l'éditeur insérera des carractères TAB et préservera les autres carractères d'espace comme l'élément PRE en HTML." - -#: wysiwyg.admin.inc:238 -msgid "Convert <font> tags to styles" -msgstr "Convertir les balises <font> en styles" - -#: wysiwyg.admin.inc:241 -msgid "If enabled, HTML tags declaring the font size, font family, font color and font background color will be replaced by inline CSS styles." -msgstr "Si activé, les balises HTML déclarant la taille, la famille, la couleur de la police et la couleur du fond seront remplacées par des styles CSS inline." - -#: wysiwyg.admin.inc:246 -msgid "Remove linebreaks" -msgstr "Supprimer les sauts en fin de ligne" - -#: wysiwyg.admin.inc:249 -msgid "If enabled, the editor will remove most linebreaks from contents. Disabling this option could avoid conflicts with other input filters." -msgstr "Si activé, l'éditeur supprimera la plupart des sauts en fin de ligne du contenu. Désactiver cette option peut permettre d'éviter des conflits avec d'autres filtres d'entrée." - -#: wysiwyg.admin.inc:254 -msgid "Apply source formatting" -msgstr "Reformater le code" - -#: wysiwyg.admin.inc:257 -msgid "If enabled, the editor will re-format the HTML source code. Disabling this option could avoid conflicts with other input filters." -msgstr "Si activé, l'éditeur reformatera le code source HTML. Désactiver cette option peut permettre d'éviter des conflits avec d'autres filtres d'entrée." - -#: wysiwyg.admin.inc:262 -msgid "Force cleanup on standard paste" -msgstr "Forcer le nettoyage lors des collages standards" - -#: wysiwyg.admin.inc:265 -msgid "If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the \"paste from word\" plugin function." -msgstr "Si activé, la fonction par défaut de collage (CTRL-V ou SHIFT-INS) se comporte comme la fonction \"Copier depuis Word\"." - -#: wysiwyg.admin.inc:270 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg.admin.inc:277 -msgid "Block formats" -msgstr "Formats de bloc" - -#: wysiwyg.admin.inc:281 -msgid "Comma separated list of HTML block formats. Possible values: <code>@format-list</code>." -msgstr "Liste séparée par des virgules de formats de bloc HTML. Valeurs possibles : <code>@format-list</code>." - -#: wysiwyg.admin.inc:286 -msgid "Editor CSS" -msgstr "Editeur CSS" - -#: wysiwyg.admin.inc:288 -msgid "Use theme CSS" -msgstr "Utiliser la CSS du thème" - -#: wysiwyg.admin.inc:288 -msgid "Define CSS" -msgstr "Définir une CSS" - -#: wysiwyg.admin.inc:288 -msgid "Editor default CSS" -msgstr "CSS par défaut de l'Editeur" - -#: wysiwyg.admin.inc:289 -msgid "Defines the CSS to be used in the editor area.<br />Use theme CSS - loads stylesheets from current site theme.<br/>Define CSS - enter path for stylesheet files below.<br />Editor default CSS - uses default stylesheets from editor." -msgstr "Définit la CSS à utiliser dans la zone de l'éditeur.<br />Utiliser la CSS du thème - charge les feuilles de style depuis le thème courant<br/>Définir la CSS - saisissez le chemin des fichiers des feuilles de style ci-desous<br />CSS par défaut de l'éditeur - utilise les feuilles de style par défaut de l'éditeur." - -#: wysiwyg.admin.inc:294 -msgid "CSS path" -msgstr "Chemin de la CSS" - -#: wysiwyg.admin.inc:298 -msgid "If \"Define CSS\" has been selected above, enter path to a CSS file or a list of CSS files seperated by a comma." -msgstr "Si \"Définir une CSS\" a été sélectionné ci-dessus, saisissez le chemin vers la CSS ou une liste de CSS, séparées par des vigules." - -#: wysiwyg.admin.inc:298 -msgid "Available tokens: %b (base path, f.e.: /), %t (path to theme, f.e.: themes/garland)" -msgstr "Jetons (tokens) disponibles : %b (chemin de base, / par exemple), %t (chemin du thème, themes/garland par exemple)" - -#: wysiwyg.admin.inc:298 -msgid "Examples:" -msgstr "Exemples:" - -#: wysiwyg.admin.inc:303 -msgid "CSS classes" -msgstr "Classes CSS" - -#: wysiwyg.admin.inc:305 -msgid "Optionally define CSS classes for the \"Font style\" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from all loaded stylesheet(s)." -msgstr "Vous pouvez définir des classes CSS pour la liste déroulante \"Style de police\". Saisissez une classe par ligne dans le format : !example<br />Si vide, les classes CSS sont automatiquement importées depuis toutes les CSS chargées." - -#: wysiwyg.admin.inc:310;444 -msgid "Save" -msgstr "Enregistrer" - -#: wysiwyg.admin.inc:343 -msgid "Wysiwyg profile for %format has been saved." -msgstr "Le profil wysiwyg pour %format a été enregistré." - -#: wysiwyg.admin.inc:392 -msgid "No editor" -msgstr "Aucun éditeur" - -#: wysiwyg.admin.inc:396 -msgid "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Download</a>)" -msgstr "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Télécharger</a>)" - -#: wysiwyg.admin.inc:397 -msgid "Not installed." -msgstr "Non installé." - -#: wysiwyg.admin.inc:398 -msgid "Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>" -msgstr "Extraire l'archive et la copier dans un nouveau répertoire ici : <br /><code>@editor-path</code>" - -#: wysiwyg.admin.inc:409 -msgid "Installation instructions" -msgstr "Instructions d'installation" - -#: wysiwyg.admin.inc:412 -msgid "There are no editor libraries installed currently. The following list contains a list of currently supported editors:" -msgstr "Il n'y a pas de librairie d'éditeur installée pour le moment. La liste suivante contient la liste des éditeurs supportés pour l'instant :" - -#: wysiwyg.admin.inc:436 -msgid "Edit" -msgstr "Éditer" - -#: wysiwyg.admin.inc:439;496 -msgid "Remove" -msgstr "Supprimer" - -#: wysiwyg.admin.inc:456 -msgid "Input format" -msgstr "Format d'entrée" - -#: wysiwyg.admin.inc:456 -msgid "Editor" -msgstr "Editeur" - -#: wysiwyg.admin.inc:456 -msgid "Operations" -msgstr "Opérations" - -#: wysiwyg.admin.inc:494 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "Êtes-vous sur de vouloir supprimer le profil pour %name ?" - -#: wysiwyg.admin.inc:496 -msgid "This action cannot be undone." -msgstr "Cette action est irréversible." - -#: wysiwyg.admin.inc:496 -msgid "Cancel" -msgstr "Annuler" - -#: wysiwyg.admin.inc:507 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "Le profil wysiwyg pour %name a été supprimé." - -#: wysiwyg.plugins.inc:15 -msgid "Teaser break" -msgstr "Séparation du résumé" - -#: wysiwyg.module:41 -msgid "A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines, which client-side editor is loaded, can define what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions." -msgstr "Un profil wysiwyg peut être associé à un format d'entrée. Un profil wysiwyg définit quel éditeur est chargé côté client, et peut définir quels boutons ou thèmes sont activés pour l'éditeur, la manière dont l'éditeur est affiché, et quelques autres fonctions spécifiques à l'éditeur." - -#: wysiwyg.module:273 -msgid "Disable rich-text" -msgstr "Désactiver le texte riche" - -#: wysiwyg.module:274 -msgid "Enable rich-text" -msgstr "Activer le texte riche" - -#: wysiwyg.module:485 -msgid "Wysiwyg Editor settings" -msgstr "Paramètres de l'éditeur wysiwyg" - -#: wysiwyg.module:492 -msgid "Enable editor by default" -msgstr "Activer l'éditeur par défaut" - -#: wysiwyg.module:495 -msgid "If enabled, rich-text editing is enabled by default in textarea fields." -msgstr "si activé, l'édition de texte riche est activé par défaut dans les textearea." - -#: wysiwyg.module:579 -msgid "The version of %editor could not be detected." -msgstr "La version de %editor ne peut pas être détectée." - -#: wysiwyg.module:592 -msgid "The installed version %version of %editor is not supported." -msgstr "La version instalée (%version) de %editor n'est pas supportée." - -#: wysiwyg.module:15 -#: wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "Wysiwyg" - -#: wysiwyg.module:17 -msgid "Configure client-side editor profiles." -msgstr "Configurer les profiles d'éditeur côté client." - -#: wysiwyg.module:0 -msgid "wysiwyg" -msgstr "wysiwyg" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "Sauvegarde les profile Wysiwyg." - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "Autorise les utilisateurs à éditer des contenus avec des éditeurs de texte riche." - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "Interface utilisateur" - -#: editors/fckeditor.inc:166 -#: editors/markitup.inc:91;140 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:344 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Bold" -msgstr "Gras" - -#: editors/fckeditor.inc:166 -#: editors/markitup.inc:92;140 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:344 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Italic" -msgstr "Italique" - -#: editors/fckeditor.inc:166 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:344 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Underline" -msgstr "Souligné" - -#: editors/fckeditor.inc:167 -#: editors/markitup.inc:93;141 -#: editors/nicedit.inc:103 -#: editors/tinymce.inc:345 -#: editors/yui.inc:228 -msgid "Strike-through" -msgstr "Barré" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:346 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align left" -msgstr "Aligné à gauche" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:346 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align center" -msgstr "Centré" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:346 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align right" -msgstr "Aligné à droite" - -#: editors/fckeditor.inc:168 -#: editors/tinymce.inc:346 -msgid "Justify" -msgstr "Justifier" - -#: editors/fckeditor.inc:169 -#: editors/nicedit.inc:105 -#: editors/tinymce.inc:347 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:230 -msgid "Bullet list" -msgstr "Liste à puces" - -#: editors/fckeditor.inc:169 -#: editors/nicedit.inc:105 -#: editors/tinymce.inc:347 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:230 -msgid "Numbered list" -msgstr "Liste ordonnée" - -#: editors/fckeditor.inc:170 -#: editors/nicedit.inc:106 -#: editors/tinymce.inc:348 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:231 -msgid "Outdent" -msgstr "Retrait positif" - -#: editors/fckeditor.inc:170 -#: editors/nicedit.inc:106 -#: editors/tinymce.inc:348 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:231 -msgid "Indent" -msgstr "Retrait négatif" - -#: editors/fckeditor.inc:171 -#: editors/tinymce.inc:349 -#: editors/whizzywig.inc:114 -msgid "Undo" -msgstr "Annuler" - -#: editors/fckeditor.inc:171 -#: editors/tinymce.inc:349 -#: editors/whizzywig.inc:114 -msgid "Redo" -msgstr "Refaire" - -#: editors/fckeditor.inc:172 -#: editors/markitup.inc:95;143 -#: editors/nicedit.inc:113 -#: editors/tinymce.inc:350 -#: editors/whizzywig.inc:118 -#: editors/yui.inc:232 -msgid "Link" -msgstr "Lien" - -#: editors/fckeditor.inc:172 -#: editors/nicedit.inc:113 -#: editors/tinymce.inc:350 -msgid "Unlink" -msgstr "Supprimer le lien" - -#: editors/fckeditor.inc:172 -#: editors/tinymce.inc:350 -msgid "Anchor" -msgstr "Ancre" - -#: editors/fckeditor.inc:173 -#: editors/markitup.inc:94;142 -#: editors/nicedit.inc:107 -#: editors/tinymce.inc:351 -#: editors/whizzywig.inc:115;119 -#: editors/yui.inc:233 -msgid "Image" -msgstr "Image" - -#: editors/fckeditor.inc:174 -#: editors/nicedit.inc:108 -#: editors/tinymce.inc:353 -#: editors/whizzywig.inc:116 -msgid "Forecolor" -msgstr "Couleur de premier plan" - -#: editors/fckeditor.inc:174 -#: editors/nicedit.inc:108 -#: editors/tinymce.inc:353 -#: editors/whizzywig.inc:116 -msgid "Backcolor" -msgstr "Couleur du fond" - -#: editors/fckeditor.inc:175 -msgid "Superscript" -msgstr "Superscript" - -#: editors/fckeditor.inc:175 -msgid "Subscript" -msgstr "Sous-script" - -#: editors/fckeditor.inc:176 -#: editors/tinymce.inc:355 -msgid "Blockquote" -msgstr "Citation" - -#: editors/fckeditor.inc:176 -#: editors/nicedit.inc:115 -#: editors/tinymce.inc:355 -#: editors/whizzywig.inc:122 -msgid "Source code" -msgstr "Code source" - -#: editors/fckeditor.inc:177 -#: editors/nicedit.inc:110 -#: editors/tinymce.inc:356 -#: editors/whizzywig.inc:117 -msgid "Horizontal rule" -msgstr "Règle horizontale" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:357 -msgid "Cut" -msgstr "Couper" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:357 -msgid "Copy" -msgstr "Copier" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:357 -msgid "Paste" -msgstr "Coller" - -#: editors/fckeditor.inc:179 -msgid "Paste Text" -msgstr "Coller le Texte" - -#: editors/fckeditor.inc:179 -#: editors/tinymce.inc:468 -msgid "Paste from Word" -msgstr "Coller à partir de Word" - -#: editors/fckeditor.inc:180 -msgid "Show blocks" -msgstr "Afficher les blocs" - -#: editors/fckeditor.inc:181 -#: editors/tinymce.inc:359 -#: editors/yui.inc:236 -msgid "Remove format" -msgstr "Supprimer le formatage" - -#: editors/fckeditor.inc:182 -#: editors/tinymce.inc:360 -msgid "Character map" -msgstr "Carte des carractères" - -#: editors/fckeditor.inc:183 -msgid "About" -msgstr "A propos" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:426 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "HTML block format" -msgstr "Format de bloc HTML" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:426 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "Font" -msgstr "Police" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:426 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "Font size" -msgstr "Taille de la police" - -#: editors/fckeditor.inc:185 -#: editors/tinymce.inc:426 -#: editors/yui.inc:238 -msgid "Font style" -msgstr "Style de police" - -#: editors/fckeditor.inc:186 -#: editors/tinymce.inc:503 -#: editors/whizzywig.inc:120 -msgid "Table" -msgstr "Tableau" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:489 -msgid "Search" -msgstr "Recherche" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:489 -msgid "Replace" -msgstr "Remplacer" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:468 -msgid "Select all" -msgstr "Tout sélectionner" - -#: editors/fckeditor.inc:188 -msgid "Create DIV container" -msgstr "Créer un conteneur DIV" - -#: editors/fckeditor.inc:189 -#: editors/tinymce.inc:418 -msgid "Flash" -msgstr "Flash" - -#: editors/fckeditor.inc:189 -msgid "Smiley" -msgstr "Emoticone (Smiley)" - -#: editors/fckeditor.inc:190 -#, fuzzy -msgid "FitWindow" -msgstr "FitWindow" - -#: editors/fckeditor.inc:191 -msgid "Check spelling" -msgstr "Vérification d'orthographe" - -#: editors/markitup.inc:98;145 -#: editors/tinymce.inc:475 -msgid "Preview" -msgstr "Aperçu" - -#: editors/nicedit.inc:109 -#: editors/tinymce.inc:354 -#: editors/yui.inc:235 -msgid "Sup" -msgstr "Exposant" - -#: editors/nicedit.inc:109 -#: editors/tinymce.inc:354 -#: editors/yui.inc:235 -msgid "Sub" -msgstr "Indice" - -#: editors/tinymce.inc:352 -#: editors/whizzywig.inc:121 -msgid "Clean-up" -msgstr "Nettoyage" - -#: editors/tinymce.inc:358 -msgid "Visual aid" -msgstr "Aide visuelle" - -#: editors/tinymce.inc:361 -msgid "Help" -msgstr "Aide" - -#: editors/tinymce.inc:366 -msgid "Advanced horizontal rule" -msgstr "Règle horizontale avancée" - -#: editors/tinymce.inc:374 -msgid "Advanced image" -msgstr "Image avancée" - -#: editors/tinymce.inc:382 -msgid "Advanced link" -msgstr "Lien avancé" - -#: editors/tinymce.inc:390 -msgid "Auto save" -msgstr "Enregistrement automatique" - -#: editors/tinymce.inc:397 -msgid "Context menu" -msgstr "Menu contextuel" - -#: editors/tinymce.inc:404 -msgid "Left-to-right" -msgstr "De gauche à droite" - -#: editors/tinymce.inc:404 -msgid "Right-to-left" -msgstr "De droite à gauche" - -#: editors/tinymce.inc:411 -msgid "Emotions" -msgstr "Emotions" - -#: editors/tinymce.inc:433 -msgid "Fullscreen" -msgstr "Plein écran" - -#: editors/tinymce.inc:440 -msgid "Inline popups" -msgstr "Popup incluses" - -#: editors/tinymce.inc:450 -msgid "Insert date" -msgstr "Insérer la date" - -#: editors/tinymce.inc:450 -msgid "Insert time" -msgstr "Insérer l'heure" - -#: editors/tinymce.inc:461 -msgid "Insert layer" -msgstr "Insérer un calque" - -#: editors/tinymce.inc:461 -msgid "Move forward" -msgstr "Déplacer en avant" - -#: editors/tinymce.inc:461 -msgid "Move backward" -msgstr "Déplacer en arrière" - -#: editors/tinymce.inc:461 -msgid "Absolute" -msgstr "Absolu" - -#: editors/tinymce.inc:468 -msgid "Paste text" -msgstr "Coller le texte" - -#: editors/tinymce.inc:482 -msgid "Print" -msgstr "Imprimer" - -#: editors/tinymce.inc:496 -msgid "Style properties" -msgstr "Propriétés du style" - -#: editors/tinymce.inc:512 -msgid "Citation" -msgstr "Citation" - -#: editors/tinymce.inc:512 -msgid "Deleted" -msgstr "Supprimé" - -#: editors/tinymce.inc:512 -msgid "Abbreviation" -msgstr "Abrévation" - -#: editors/tinymce.inc:512 -msgid "Acronym" -msgstr "Acronyme" - -#: editors/tinymce.inc:512 -msgid "Inserted" -msgstr "Inséré" - -#: editors/tinymce.inc:519 -msgid "Safari compatibility" -msgstr "Compatibilité avec Safari" - -#: editors/whizzywig.inc:123 -msgid "Spell check" -msgstr "Vérification d'orthographe" - -#: editors/yui.inc:234 -msgid "Font Color" -msgstr "Couleur de Police" - -#: editors/yui.inc:234 -msgid "Background Color" -msgstr "Couleur de Fong" - -#: editors/yui.inc:237 -msgid "Show/hide hidden elements" -msgstr "Afficher/Cacher les élemets cachés" - diff --git a/sites/all/modules/wysiwyg/translations/hu.po b/sites/all/modules/wysiwyg/translations/hu.po deleted file mode 100644 index b4b5398e3511733100e7907619f2d9de4b8f706c..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/hu.po +++ /dev/null @@ -1,908 +0,0 @@ -# Hungarian translation of wysiwyg (6.x-2.0) -# Copyright (c) 2009 by the Hungarian translation team -# Generated from files: -# wysiwyg.admin.inc,v 1.15 2009/06/09 00:18:11 sun -# fckeditor.inc,v 1.17 2009/06/09 00:18:11 sun -# tinymce.inc,v 1.35 2009/06/09 00:18:12 sun -# wysiwyg.module,v 1.33 2009/06/09 00:18:11 sun -# markitup.inc,v 1.5 2009/06/09 00:18:12 sun -# openwysiwyg.inc,v 1.2 2009/06/09 00:18:12 sun -# whizzywig.inc,v 1.3 2009/06/09 00:18:12 sun -# yui.inc,v 1.5 2009/06/09 00:18:12 sun -# wysiwyg.info,v 1.1 2008/10/14 21:45:07 sun -# nicedit.inc,v 1.6 2009/06/09 00:18:12 sun -# wysiwyg.api.php,v 1.3 2009/06/09 00:18:11 sun -# break.inc,v 1.4 2009/06/09 00:18:12 sun -# wysiwyg.install,v 1.4 2009/06/08 21:57:10 sun -# -msgid "" -msgstr "" -"Project-Id-Version: wysiwyg (6.x-2.0)\n" -"POT-Creation-Date: 2009-06-12 19:14+0200\n" -"PO-Revision-Date: 2009-05-21 20:16+0200\n" -"Last-Translator: Balogh Zoltán\n" -"Language-Team: Hungarian http://forditas.mindworks.hu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n!=1);\n" - -#: wysiwyg.admin.inc:450 -msgid "Operations" -msgstr "Műveletek" - -#: wysiwyg.admin.inc:489 -msgid "Cancel" -msgstr "Mégsem" - -#: wysiwyg.admin.inc:96 -msgid "Language" -msgstr "Nyelv" - -#: editors/fckeditor.inc:237; editors/tinymce.inc:515 -msgid "Search" -msgstr "Keresés" - -#: wysiwyg.admin.inc:283,438 -msgid "Save" -msgstr "Mentés" - -#: wysiwyg.admin.inc:489 -msgid "This action cannot be undone." -msgstr "A művelet nem visszavonható." - -#: wysiwyg.admin.inc:433,489; wysiwyg.module:36 -msgid "Remove" -msgstr "Eltávolítás" - -#: editors/markitup.inc:142,176; editors/openwysiwyg.inc:160; editors/tinymce.inc:501 -msgid "Preview" -msgstr "Előnézet" - -#: wysiwyg.admin.inc:203 -msgid "Preformatted" -msgstr "Előre formázott" - -#: editors/tinymce.inc:555 -msgid "Abbreviation" -msgstr "Rövidítés" - -#: editors/tinymce.inc:555 -msgid "Acronym" -msgstr "Betűszó" - -#: editors/fckeditor.inc:236; editors/openwysiwyg.inc:162; editors/tinymce.inc:529; editors/whizzywig.inc:123 -msgid "Table" -msgstr "Táblázat" - -#: editors/tinymce.inc:555 -msgid "Deleted" -msgstr "Törölt" - -#: editors/tinymce.inc:555 -msgid "Inserted" -msgstr "Beillesztett" - -#: wysiwyg.admin.inc:450 -msgid "Input format" -msgstr "Beviteli forma" - -#: wysiwyg.admin.inc:430; wysiwyg.module:26 -msgid "Edit" -msgstr "Szerkesztés" - -#: editors/openwysiwyg.inc:163; editors/tinymce.inc:394 -msgid "Help" -msgstr "Súgó" - -#: editors/fckeditor.inc:222; editors/openwysiwyg.inc:146; editors/tinymce.inc:382; editors/whizzywig.inc:117; editors/yui.inc:281 -msgid "Undo" -msgstr "Visszavonás" - -#: wysiwyg.module:22 -msgid "Profiles" -msgstr "Profilok" - -#: editors/fckeditor.inc:231 -msgid "Show blocks" -msgstr "Blokkok mutatása" - -#: editors/tinymce.inc:548 -msgid "Media" -msgstr "Média" - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "Felhasználói felület" - -#: wysiwyg.admin.inc:174 -msgid "Hide" -msgstr "Elrejt" - -#: editors/fckeditor.inc:223; editors/markitup.inc:132,174; editors/nicedit.inc:114; editors/openwysiwyg.inc:147; editors/tinymce.inc:383; editors/whizzywig.inc:121; editors/yui.inc:282 -msgid "Link" -msgstr "Hivatkozás" - -#: editors/fckeditor.inc:224; editors/markitup.inc:126,173; editors/nicedit.inc:108; editors/openwysiwyg.inc:148; editors/tinymce.inc:384; editors/whizzywig.inc:118,122; editors/yui.inc:283 -msgid "Image" -msgstr "Kép" - -#: editors/fckeditor.inc:237; editors/tinymce.inc:515 -msgid "Replace" -msgstr "Helyettesít" - -#: wysiwyg.admin.inc:60 -msgid "Basic setup" -msgstr "Alap beállítás" - -#: wysiwyg.admin.inc:149 -msgid "Editor appearance" -msgstr "Szerkesztő megjelenése" - -#: wysiwyg.admin.inc:188 -msgid "Cleanup and output" -msgstr "Tisztítás és kimenet" - -#: wysiwyg.admin.inc:227 -msgid "Apply source formatting" -msgstr "Forrás formázás alkalmazása" - -#: wysiwyg.admin.inc:243 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg.admin.inc:259 -msgid "Editor CSS" -msgstr "Szerkesztő CSS" - -#: wysiwyg.admin.inc:267 -msgid "CSS path" -msgstr "CSS útvonal" - -#: wysiwyg.admin.inc:75 -msgid "Allow users to choose default" -msgstr "Alapértelmezés megváltoztatásának engedélyezése" - -#: wysiwyg.admin.inc:104 -msgid "Buttons and plugins" -msgstr "Nyomógombok és bővítmények" - -#: wysiwyg.admin.inc:156 -msgid "Toolbar location" -msgstr "Eszköztár elhelyezése" - -#: wysiwyg.admin.inc:172 -msgid "Path location" -msgstr "Elérési út" - -#: wysiwyg.admin.inc:180 -msgid "Enable resizing button" -msgstr "Átméretezés gomb engedélyezése" - -#: wysiwyg.admin.inc:250 -msgid "Block formats" -msgstr "Blokk formátumok" - -#: wysiwyg.admin.inc:195 -msgid "Verify HTML" -msgstr "HTML ellenőrzése" - -#: wysiwyg.admin.inc:211 -msgid "Convert <font> tags to styles" -msgstr "<font> tagek átalakítása a stílushoz" - -#: wysiwyg.admin.inc:219 -msgid "Remove linebreaks" -msgstr "Sortörések eltávolítása" - -#: wysiwyg.admin.inc:276 -msgid "CSS classes" -msgstr "CSS osztályok" - -#: editors/fckeditor.inc:235; editors/nicedit.inc:115; editors/openwysiwyg.inc:158; editors/tinymce.inc:452; editors/whizzywig.inc:112; editors/yui.inc:288 -msgid "Font" -msgstr "Betűtípus" - -#: editors/fckeditor.inc:235; editors/nicedit.inc:115; editors/openwysiwyg.inc:158; editors/tinymce.inc:452; editors/whizzywig.inc:112; editors/yui.inc:288 -msgid "Font size" -msgstr "Betűméret" - -#: editors/openwysiwyg.inc:161; editors/tinymce.inc:508 -msgid "Print" -msgstr "Nyomtatás" - -#: editors/yui.inc:284 -msgid "Background Color" -msgstr "Háttérszín" - -#: editors/fckeditor.inc:227; editors/openwysiwyg.inc:152; editors/tinymce.inc:388 -msgid "Blockquote" -msgstr "Idézet" - -#: wysiwyg.admin.inc:166 -msgid "Left" -msgstr "Bal" - -#: wysiwyg.admin.inc:164 -msgid "Button alignment" -msgstr "Nyomógombok igazítása" - -#: wysiwyg.admin.inc:166 -msgid "Right" -msgstr "Jobb" - -#: editors/fckeditor.inc:229; editors/openwysiwyg.inc:154; editors/tinymce.inc:390 -msgid "Copy" -msgstr "Másolás" - -#: editors/fckeditor.inc:217; editors/markitup.inc:105,171; editors/nicedit.inc:103; editors/openwysiwyg.inc:141; editors/tinymce.inc:377; editors/whizzywig.inc:113; editors/yui.inc:276 -msgid "Bold" -msgstr "Vastag" - -#: editors/fckeditor.inc:234 -msgid "About" -msgstr "Névjegy" - -#: editors/tinymce.inc:487 -msgid "Absolute" -msgstr "Abszolút" - -#: wysiwyg.api.php:51,52 -msgid "My plugin title" -msgstr "Bővítmény címe" - -#: wysiwyg.api.php:61 -msgid "Button title (optional)" -msgstr "Nyomógomb neve (választható)" - -#: wysiwyg.admin.inc:67 -msgid "Enabled by default" -msgstr "Alapértelmezés szerint engedélyezett" - -#: wysiwyg.admin.inc:70 -msgid "" -"The default editor state for users having access to this profile. " -"Users are able to override this state if the next option is enabled." -msgstr "" -"Az alapértelmezett szerkesztő állapot lehetővé teszi a " -"felhasználók hozzáférését ehhez a profilhoz. A felhasználók " -"felülírhatják ezt az állapotot, ha a következő lehetőség " -"engedélyezve van." - -#: wysiwyg.admin.inc:78 -msgid "" -"If allowed, users will be able to choose their own editor default " -"state in their user account settings." -msgstr "" -"Ha ez engedélyezett, akkor a felhasználók megváltoztathatják " -"szerkesztőjük alapértelmezett állapotát a felhasználói " -"profiljukban." - -#: wysiwyg.admin.inc:83 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "" -"Mutassa a <em>szövegszerkesztő engedélyezése / tiltása</em> " -"kapcsoló hivatkozást." - -#: wysiwyg.admin.inc:86 -msgid "" -"Whether or not to show the <em>enable/disable rich text</em> toggle " -"link below a textarea. If disabled, the user setting or global default " -"is used (see above)." -msgstr "" -"Megjelenjen a <em>szövegszerkesztő engedélyezése / tiltása</em> " -"hivatkozás a szövegmező alatt, avagy sem. Ha nem engedélyezett, " -"akkor a felhasználói beállítás vagy a globális alapértelmezés " -"lesz alkalmazva (lásd fent)." - -#: wysiwyg.admin.inc:99 -msgid "" -"The language to use for the editor interface. Language codes are based " -"on the <a " -"href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> " -"format." -msgstr "" -"A szerkesztő felületén használandó nyelv. A nyelvkódok alapja az " -"<a " -"href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> " -"formátum." - -#: wysiwyg.admin.inc:158,174 -msgid "Bottom" -msgstr "Lenn" - -#: wysiwyg.admin.inc:158,174 -msgid "Top" -msgstr "Fenn" - -#: wysiwyg.admin.inc:159 -msgid "" -"This option controls whether the editor toolbar is displayed above or " -"below the editing area." -msgstr "" -"Ez a beállítás határozza meg, hogy az eszköztár a szövegmező " -"alatt vagy felett jelenjen meg." - -#: wysiwyg.admin.inc:166 -msgid "Center" -msgstr "Középen" - -#: wysiwyg.admin.inc:167 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "" -"Ez a beállítás az ikonok elhelyezkedését szabályozza a " -"szerkesztő eszköztárán." - -#: wysiwyg.admin.inc:175 -msgid "" -"Where to display the path to HTML elements (i.e. <code>body > table > " -"tr > td</code>)." -msgstr "" -"Hol jelenjen meg a HTML elemek elérési útvonala (pl. <code>body > " -"table > tr > td</code>)." - -#: wysiwyg.admin.inc:183 -msgid "" -"This option gives you the ability to enable/disable the resizing " -"button. If enabled, the Path location toolbar must be set to \"Top\" " -"or \"Bottom\" in order to display the resize icon." -msgstr "" -"Ez a beállítás lehetővé teszi az átméretező gomb " -"engedélyezését / tiltását. Ha engedélyezett, akkor az elérési " -"út eszköztárat „Fenn”, vagy „Lenn” értékre kell " -"állítani, hogy az átmérezető ikon megjelenhessen." - -#: wysiwyg.admin.inc:198 -msgid "" -"If enabled, potentially malicious code like <code><HEAD></code> " -"tags will be removed from HTML contents." -msgstr "" -"Ha ez engedélyezett, akkor lehetséges a hibás kódok, mint " -"például a <code><HEAD></code> tag eltávolítása a HTML " -"elemekből." - -#: wysiwyg.admin.inc:206 -msgid "" -"If enabled, the editor will insert TAB characters on tab and preserve " -"other whitespace characters just like a PRE element in HTML does." -msgstr "" -"Ha ez engedélyezett, akkor a szerkesztő TAB karaktereket fog " -"beszúrni, és megőriz más helyörző karaktereket, mint ahogy a PRE " -"elem teszi a HTML-ben." - -#: wysiwyg.admin.inc:214 -msgid "" -"If enabled, HTML tags declaring the font size, font family, font color " -"and font background color will be replaced by inline CSS styles." -msgstr "" -"Ha ez engedélyezett, akkor a HTML jelölők határozzák meg a " -"betűméretet, a betűtipust, a betű-, és háttérszínt a " -"beágyazott CSS stílus helyett." - -#: wysiwyg.admin.inc:222 -msgid "" -"If enabled, the editor will remove most linebreaks from contents. " -"Disabling this option could avoid conflicts with other input filters." -msgstr "" -"Ha ez engedélyezett, akkor a szerkesztő eltávolítja a felesleges " -"sortöréseket a szövegből. Letiltásával elkerülhető az " -"ütközés más beviteli szűrőkkel." - -#: wysiwyg.admin.inc:230 -msgid "" -"If enabled, the editor will re-format the HTML source code. Disabling " -"this option could avoid conflicts with other input filters." -msgstr "" -"Ha ez engedélyezett, akkor a szerkesztő újra fogja formázni a HTML " -"forráskódot. Letiltásával elkerülhető az ütközés más " -"beviteli szűrőkkel." - -#: wysiwyg.admin.inc:235 -msgid "Force cleanup on standard paste" -msgstr "Kényszerített tisztítás beszúráskor" - -#: wysiwyg.admin.inc:238 -msgid "" -"If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves " -"like the \"paste from word\" plugin function." -msgstr "" -"Ha ez engedélyezett, akkor az alapértelmezett beszúrás művelet " -"(CTRL-V vagy SHIFT-INS) viselkedése hasonló lesz a „beszúrás " -"Wordből” művelethez." - -#: wysiwyg.admin.inc:254 -msgid "" -"Comma separated list of HTML block formats. Possible values: " -"<code>@format-list</code>." -msgstr "" -"HTML blokk formátumok vesszővel elválasztott listája. Lehetséges " -"értékei: <code>@format-list</code>." - -#: wysiwyg.admin.inc:261 -msgid "Use theme CSS" -msgstr "Smink CSS használata" - -#: wysiwyg.admin.inc:261 -msgid "Define CSS" -msgstr "CSS megadása" - -#: wysiwyg.admin.inc:261 -msgid "Editor default CSS" -msgstr "Szerkesztő alapértelmezett CSS" - -#: wysiwyg.admin.inc:262 -msgid "" -"Defines the CSS to be used in the editor area.<br />Use theme CSS - " -"loads stylesheets from current site theme.<br/>Define CSS - enter path " -"for stylesheet files below.<br />Editor default CSS - uses default " -"stylesheets from editor." -msgstr "" -"A szerkesztőben használandó CSS stíluslap meghatározása.<br " -"/>Smink CSS használata - az oldal jelenlegi stíluslapjának " -"betöltése.<br />CSS megadása - a kivánt stíluslap elérési " -"útjának megadása lejjebb.<br />Szerkesztő alapértelmezett CSS - a " -"szerkesztő alapértelmezett stíluslapjának használata." - -#: wysiwyg.admin.inc:271 -msgid "" -"Available tokens: <code>%b</code> (base path, eg: <code>/</code>), " -"<code>%t</code> (path to theme, eg: <code>themes/garland</code>)" -msgstr "" -"Elérhető vezérjelek: <code>%b</code> (bázis útvonal, pl: " -"<code>/</code>), <code>%t</code> (útvonal a sminkhez, pl: " -"<code>themes/garland</code>)" - -#: wysiwyg.admin.inc:271 -msgid "Example:" -msgstr "Példa:" - -#: wysiwyg.admin.inc:278 -msgid "" -"Optionally define CSS classes for the \"Font style\" dropdown list.<br " -"/>Enter one class on each line in the format: !format. Example: " -"!example<br />If left blank, CSS classes are automatically imported " -"from all loaded stylesheet(s)." -msgstr "" -"Lehetséges CSS osztályok megadása is a „Betű stílus” " -"legördülő listához.<br />Soronként egy osztály adható meg ebben " -"a formátumban: !format. Például: !example<br />Üresen hagyva a CSS " -"osztályok automatikusan betöltésre kerülnek minden betöltött " -"stíluslapról." - -#: wysiwyg.admin.inc:317 -msgid "Wysiwyg profile for %format has been saved." -msgstr "%format <em>Wysiwyg</em> profil mentve." - -#: wysiwyg.admin.inc:366 -msgid "No editor" -msgstr "Nincs szerkesztő" - -#: wysiwyg.admin.inc:371 -msgid "" -"<a href=\"!vendor-url\">@editor</a> (<a " -"href=\"!download-url\">Download</a>)" -msgstr "" -"<a href=\"!vendor-url\">@editor</a> (<a " -"href=\"!download-url\">Letöltés</a>)" - -#: wysiwyg.admin.inc:372 -msgid "Not installed." -msgstr "Nincs telepítve." - -#: wysiwyg.admin.inc:386 -msgid "" -"Extract the archive and copy its contents into a new folder in the " -"following location:<br /><code>@editor-path</code>" -msgstr "" -"Az archívumból kicsomagolt összes fájlt egy új könyvtárba kell " -"másolni az alábbi helyre:<br /><code>@editor-path</code>" - -#: wysiwyg.admin.inc:402 -msgid "Installation instructions" -msgstr "Telepítési útmutató" - -#: wysiwyg.admin.inc:405 -msgid "" -"There are no editor libraries installed currently. The following list " -"contains a list of currently supported editors:" -msgstr "" -"Jelenleg nincs egy szerkesztő program sem telepítve. A következő " -"lista tartalmazza a jelenleg támogatott szerkesztőket:" - -#: wysiwyg.admin.inc:450 -msgid "Editor" -msgstr "Szerkesztő" - -#: wysiwyg.admin.inc:487 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "%name profil valóban eltávolítható?" - -#: wysiwyg.admin.inc:501 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "%name <em>Wysiwyg</em> profil törölve." - -#: plugins/break.inc:14 -msgid "Teaser break" -msgstr "Bevezető töréspont" - -#: wysiwyg.module:80 -msgid "" -"A Wysiwyg profile can be associated to an input format. A Wysiwyg " -"profile defines which client-side editor is loaded, what buttons or " -"themes are enabled for the editor, how the editor is displayed, and a " -"few other editor-specific functions." -msgstr "" -"Az egyes <em>Wysiwyg</em> profilokat különböző beviteli " -"formátumokhoz lehet társítani. A <em>Wysiwig</em> profil " -"meghatározza, hogy milyen ügyfél-oldali szerkesztő legyen " -"betöltve, milyen nyomógombok és sminkek legyenek elérhetők a " -"szerkesztőben, hogy jelenjen meg a szerkesztő és néhány egyéb, " -"szerkesztő-specifikus funkciókat." - -#: wysiwyg.module:306 -msgid "Disable rich-text" -msgstr "Szövegszerkesztő tiltása" - -#: wysiwyg.module:307 -msgid "Enable rich-text" -msgstr "Szövegszerkesztő engedélyezése" - -#: wysiwyg.module:608 -msgid "Wysiwyg Editor settings" -msgstr "<em>Wysiwyg</em> szerkesztő beállítások" - -#: wysiwyg.module:615 -msgid "Enable editor by default" -msgstr "A szerkesztő engedélyezése alapértelmezésben" - -#: wysiwyg.module:618 -msgid "" -"If enabled, rich-text editing is enabled by default in textarea " -"fields." -msgstr "" -"Ha ez engedélyezett, akkor a szövegszerkesztés alapértelmezett " -"lesz a szövegmezőkben." - -#: wysiwyg.module:702 -msgid "The version of %editor could not be detected." -msgstr "%editor verziószáma nem érzékelhető." - -#: wysiwyg.module:715 -msgid "The installed version %version of %editor is not supported." -msgstr "A telepített %editor %version nem támogatott." - -#: wysiwyg.module:14; wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "Wysiwyg" - -#: wysiwyg.module:0 -msgid "wysiwyg" -msgstr "wysiwyg" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "Wysiwyg profilok tárolása." - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "" -"Lehetővé teszi a felhasználók számára, hogy ügyfél-oldali " -"szerkesztővel módosítsák tartalmakat." - -#: editors/fckeditor.inc:217; editors/markitup.inc:112,171; editors/nicedit.inc:103; editors/openwysiwyg.inc:141; editors/tinymce.inc:377; editors/whizzywig.inc:113; editors/yui.inc:276 -msgid "Italic" -msgstr "Dőlt" - -#: editors/fckeditor.inc:217; editors/nicedit.inc:103; editors/openwysiwyg.inc:141; editors/tinymce.inc:377; editors/whizzywig.inc:113; editors/yui.inc:276 -msgid "Underline" -msgstr "Aláhúzott" - -#: editors/fckeditor.inc:218; editors/markitup.inc:119,172; editors/nicedit.inc:104; editors/openwysiwyg.inc:142; editors/tinymce.inc:378; editors/yui.inc:277 -msgid "Strike-through" -msgstr "Áthúzott" - -#: editors/fckeditor.inc:219; editors/nicedit.inc:105; editors/openwysiwyg.inc:143; editors/tinymce.inc:379; editors/whizzywig.inc:114; editors/yui.inc:278 -msgid "Align left" -msgstr "Balra zárt" - -#: editors/fckeditor.inc:219; editors/nicedit.inc:105; editors/openwysiwyg.inc:143; editors/tinymce.inc:379; editors/whizzywig.inc:114; editors/yui.inc:278 -msgid "Align center" -msgstr "Középre zárt" - -#: editors/fckeditor.inc:219; editors/nicedit.inc:105; editors/openwysiwyg.inc:143; editors/tinymce.inc:379; editors/whizzywig.inc:114; editors/yui.inc:278 -msgid "Align right" -msgstr "Jobbra zárt" - -#: editors/fckeditor.inc:219; editors/openwysiwyg.inc:143; editors/tinymce.inc:379; editors/yui.inc:278 -msgid "Justify" -msgstr "Sorkizárt" - -#: editors/fckeditor.inc:220; editors/nicedit.inc:106; editors/openwysiwyg.inc:144; editors/tinymce.inc:380; editors/whizzywig.inc:115; editors/yui.inc:279 -msgid "Bullet list" -msgstr "Felsorolás" - -#: editors/fckeditor.inc:220; editors/nicedit.inc:106; editors/openwysiwyg.inc:144; editors/tinymce.inc:380; editors/whizzywig.inc:115; editors/yui.inc:279 -msgid "Numbered list" -msgstr "Számozott lista" - -#: editors/fckeditor.inc:221; editors/nicedit.inc:107; editors/openwysiwyg.inc:145; editors/tinymce.inc:381; editors/whizzywig.inc:116; editors/yui.inc:280 -msgid "Outdent" -msgstr "Kihúzás" - -#: editors/fckeditor.inc:221; editors/nicedit.inc:107; editors/openwysiwyg.inc:145; editors/tinymce.inc:381; editors/whizzywig.inc:116; editors/yui.inc:280 -msgid "Indent" -msgstr "Behúzás" - -#: editors/fckeditor.inc:222; editors/openwysiwyg.inc:146; editors/tinymce.inc:382; editors/whizzywig.inc:117; editors/yui.inc:281 -msgid "Redo" -msgstr "Ismét" - -#: editors/fckeditor.inc:223; editors/nicedit.inc:114; editors/tinymce.inc:383 -msgid "Unlink" -msgstr "Hivatkozás eltávolítása" - -#: editors/fckeditor.inc:223; editors/tinymce.inc:383 -msgid "Anchor" -msgstr "Horgony" - -#: editors/fckeditor.inc:225; editors/nicedit.inc:109; editors/openwysiwyg.inc:150; editors/tinymce.inc:386; editors/whizzywig.inc:119 -msgid "Forecolor" -msgstr "Szövegszín" - -#: editors/fckeditor.inc:225; editors/nicedit.inc:109; editors/openwysiwyg.inc:150; editors/tinymce.inc:386; editors/whizzywig.inc:119 -msgid "Backcolor" -msgstr "Háttérszín" - -#: editors/fckeditor.inc:226 -msgid "Superscript" -msgstr "Felső index" - -#: editors/fckeditor.inc:226 -msgid "Subscript" -msgstr "Alsó index" - -#: editors/fckeditor.inc:227; editors/nicedit.inc:116; editors/openwysiwyg.inc:152; editors/tinymce.inc:388; editors/whizzywig.inc:125 -msgid "Source code" -msgstr "Forráskód" - -#: editors/fckeditor.inc:228; editors/nicedit.inc:111; editors/openwysiwyg.inc:153; editors/tinymce.inc:389; editors/whizzywig.inc:120 -msgid "Horizontal rule" -msgstr "Vízszintes vonal" - -#: editors/fckeditor.inc:229; editors/openwysiwyg.inc:154; editors/tinymce.inc:390 -msgid "Cut" -msgstr "Kivágás" - -#: editors/fckeditor.inc:229; editors/openwysiwyg.inc:154; editors/tinymce.inc:390 -msgid "Paste" -msgstr "Beillesztés" - -#: editors/fckeditor.inc:230 -msgid "Paste Text" -msgstr "Szöveg beillesztés" - -#: editors/fckeditor.inc:230; editors/tinymce.inc:494 -msgid "Paste from Word" -msgstr "Beillesztés Wordből" - -#: editors/fckeditor.inc:232; editors/openwysiwyg.inc:156; editors/tinymce.inc:392; editors/yui.inc:287 -msgid "Remove format" -msgstr "Formázás eltávolítása" - -#: editors/fckeditor.inc:233; editors/openwysiwyg.inc:157; editors/tinymce.inc:393 -msgid "Character map" -msgstr "Karaktertábla" - -#: editors/fckeditor.inc:235; editors/nicedit.inc:115; editors/openwysiwyg.inc:158; editors/tinymce.inc:452; editors/whizzywig.inc:112; editors/yui.inc:288 -msgid "HTML block format" -msgstr "HTML blokk formázása" - -#: editors/fckeditor.inc:235; editors/tinymce.inc:452 -msgid "Font style" -msgstr "Betű stílus" - -#: editors/fckeditor.inc:237; editors/tinymce.inc:494 -msgid "Select all" -msgstr "Mindent kijelöl" - -#: editors/fckeditor.inc:238 -msgid "Create DIV container" -msgstr "DIV konténer létrehozása" - -#: editors/fckeditor.inc:239; editors/tinymce.inc:538 -msgid "Flash" -msgstr "Flash" - -#: editors/fckeditor.inc:239 -msgid "Smiley" -msgstr "Szmájli" - -#: editors/fckeditor.inc:240 -msgid "FitWindow" -msgstr "Ablakhoz igazítás" - -#: editors/fckeditor.inc:241 -msgid "Check spelling" -msgstr "Helyesírás-ellenőrzés" - -#: editors/nicedit.inc:110; editors/openwysiwyg.inc:151; editors/tinymce.inc:387; editors/yui.inc:285 -msgid "Sup" -msgstr "Felső index" - -#: editors/nicedit.inc:110; editors/openwysiwyg.inc:151; editors/tinymce.inc:387; editors/yui.inc:285 -msgid "Sub" -msgstr "Alsó index" - -#: editors/openwysiwyg.inc:149; editors/tinymce.inc:385; editors/whizzywig.inc:124 -msgid "Clean-up" -msgstr "Tisztítás" - -#: editors/openwysiwyg.inc:155; editors/tinymce.inc:391 -msgid "Visual aid" -msgstr "Látható segítség" - -#: editors/tinymce.inc:400 -msgid "Advanced horizontal rule" -msgstr "Haladó vízszintes vonal" - -#: editors/tinymce.inc:408 -msgid "Advanced image" -msgstr "Haladó kép" - -#: editors/tinymce.inc:416 -msgid "Advanced link" -msgstr "Haladó hivatkozás" - -#: editors/tinymce.inc:424 -msgid "Auto save" -msgstr "Automatikus mentés" - -#: editors/tinymce.inc:431 -msgid "Context menu" -msgstr "Helyi menü" - -#: editors/tinymce.inc:438 -msgid "Left-to-right" -msgstr "Balról jobbra" - -#: editors/tinymce.inc:438 -msgid "Right-to-left" -msgstr "Jobbról balra" - -#: editors/tinymce.inc:445 -msgid "Emotions" -msgstr "Érzések" - -#: editors/openwysiwyg.inc:159; editors/tinymce.inc:459 -msgid "Fullscreen" -msgstr "Teljes képernyő" - -#: editors/tinymce.inc:466 -msgid "Inline popups" -msgstr "Beágyazott felugró ablakok" - -#: editors/tinymce.inc:476 -msgid "Insert date" -msgstr "Dátum beszúrás" - -#: editors/tinymce.inc:476 -msgid "Insert time" -msgstr "Idő beszúrás" - -#: editors/tinymce.inc:487 -msgid "Insert layer" -msgstr "Réteg beszúrás" - -#: editors/tinymce.inc:487 -msgid "Move forward" -msgstr "Előre mozgatás" - -#: editors/tinymce.inc:487 -msgid "Move backward" -msgstr "Hátra mozgatás" - -#: editors/tinymce.inc:494 -msgid "Paste text" -msgstr "Szöveg beillesztés" - -#: editors/tinymce.inc:522 -msgid "Style properties" -msgstr "Stílus tulajdonságok" - -#: editors/tinymce.inc:555 -msgid "Citation" -msgstr "Idézet" - -#: editors/tinymce.inc:571 -msgid "Safari compatibility" -msgstr "Safari kompatibilitás" - -#: editors/whizzywig.inc:126 -msgid "Spell check" -msgstr "Helyesírás ellenőrzés" - -#: editors/yui.inc:284 -msgid "Font Color" -msgstr "Betűszín" - -#: editors/yui.inc:286 -msgid "Show/hide hidden elements" -msgstr "Rejtett elemek mutatása/elrejtése" - -#: plugins/break.inc:17 -msgid "Separate the teaser and body of this content" -msgstr "A bevezető és a törzs elválasztása ennél a tartalomnál" - -#: wysiwyg.admin.inc:51 -msgid "%editor profile for %format" -msgstr "%editor profil %format formátumnak" - -#: wysiwyg.admin.inc:271 -msgid "" -"If \"Define CSS\" was selected above, enter path to a CSS file or a " -"list of CSS files separated by a comma." -msgstr "" -"Ha fent a „CSS megadása” van kiválasztva, akkor itt a CSS fájl " -"elérési útját kell megadni, vagy a CSS fájlok vesszővel " -"elválasztott felsorolását." - -#: wysiwyg.admin.inc:387 -msgid "" -"So the actual library can be found at:<br " -"/><code>@library-filepath</code>" -msgstr "" -"Tehát az aktuális könyvtár itt található:<br " -"/><code>@library-filepath</code>" - -#: wysiwyg.module:17 -msgid "Configure client-side editors." -msgstr "Ügyfél-oldali szerkesztők beállítása." - -#: editors/fckeditor.inc:248 -msgid "Autogrow" -msgstr "Automatikus növekedés" - -#: editors/fckeditor.inc:259; editors/tinymce.inc:564 -msgid "BBCode" -msgstr "BBCode" - -#: editors/fckeditor.inc:267 -msgid "Table drag/resize" -msgstr "Táblázat vontatás/átméretezés" - -#: editors/fckeditor.inc:275 -msgid "Table: Cell properties" -msgstr "Táblázat: Cella tulajdonságok" - -#: editors/fckeditor.inc:276 -msgid "Table: Insert row after" -msgstr "Táblázat: Sor beszúrása utána" - -#: editors/fckeditor.inc:277 -msgid "Table: Insert column after" -msgstr "Táblázat: Oszlop beszúrása utána" - -#: editors/fckeditor.inc:278 -msgid "Table: Insert cell after" -msgstr "Táblázat: Cella beszúrása utána" - -#: editors/fckeditor.inc:279 -msgid "Table: Delete rows" -msgstr "Táblázat: Sorok törlése" - -#: editors/fckeditor.inc:280 -msgid "Table: Delete columns" -msgstr "Táblázat: Oszlopok törlése" - -#: editors/fckeditor.inc:281 -msgid "Table: Delete cells" -msgstr "Táblázat: Cellák törlése" - -#: editors/fckeditor.inc:282 -msgid "Table: Merge cells" -msgstr "Táblázat: Cellák összevonása" - -#: editors/fckeditor.inc:283 -msgid "Table: Horizontal split cell" -msgstr "Táblázat: Cellák vízszintes szétválasztása" - diff --git a/sites/all/modules/wysiwyg/translations/tr.po b/sites/all/modules/wysiwyg/translations/tr.po deleted file mode 100644 index 83d9000291e0b2532f59d2d7f41fd30215e53ce7..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/tr.po +++ /dev/null @@ -1,101 +0,0 @@ -# $Id: tr.po,v 1.2 2008/05/30 02:19:15 sun Exp $ -# -# LANGUAGE translation of Drupal (wysiwyg_editor.module) -# Copyright YEAR NAME <EMAIL@ADDRESS> -# Generated from files: -# wysiwyg_editor.module,v 1.90.4.12 2007/01/30 06:58:37 thenicespider -# wysiwyg_editor.info,v 1.0 2006/12/24 17:51:48 Wendy -# -msgid "" -msgstr "" -"Project-Id-Version: Drupal TinyMCE Module\n" -"POT-Creation-Date: 2007-01-31 21:42+0200\n" -"PO-Revision-Date: 2007-01-31 21:49+0200\n" -"Last-Translator: Erdem Köse <erdemkose@erdemkose.com>\n" -"Language-Team: Drupal Turkish <ceviri@drupaltr.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Poedit-Language: Turkish\n" -"X-Poedit-Country: Turkey\n" -"X-Poedit-SourceCharset: utf-8\n" - -#: wysiwyg_editor.module:7 wysiwyg_editor.info:0 -msgid "The most popular WYSIWYG editor for advance content." -msgstr "Gelişmiş içerikler için en gözde görsel düzenleyici." - -#: wysiwyg_editor.module:8 -msgid "<p><ul><li>Editor mode: full, compact and simple.</li></ul></p>" -msgstr "<p><ul><li>Düzenleyici kipi: Tam, sade ve basit.</li></ul></p>" - -#: wysiwyg_editor.module:11 -msgid "Enable WYSIWYG Editor to your site." -msgstr "Sitenizde görsel düzenleyiciyi etkinleştirin." - -#: wysiwyg_editor.module:28 -#: wysiwyg_editor.info:0 -msgid "TinyMCE" -msgstr "TinyMCE" - -#: wysiwyg_editor.module:29 -msgid "Tinymce settings." -msgstr "Tinymce ayarları" - -#: wysiwyg_editor.module:45 -msgid "Basic settings" -msgstr "Temel ayarlar" - -#: wysiwyg_editor.module:52 -msgid "Editor Mode" -msgstr "Düzenleyici kipi" - -#: wysiwyg_editor.module:54 -msgid "Full" -msgstr "Tam" - -#: wysiwyg_editor.module:54 -msgid "Compact" -msgstr "Sade" - -#: wysiwyg_editor.module:54 -msgid "Simple" -msgstr "Basit" - -#: wysiwyg_editor.module:55 -msgid "FULL: enable all TinyMCE features. COMPACT: enable most used features. SIMPLE: just enable simple editor.<hr>" -msgstr "TAM: tüm TinyMCE özellekleri etkinleştirilir. SADE: en çok kullanılan özellikler etkinleştirilir. BASİT: sadece temel özellikler etkinleştirilir.<hr>" - -#: wysiwyg_editor.module:60 -msgid "Enable TinyMCE for" -msgstr "TinyMCE etkin olsun" - -#: wysiwyg_editor.module:62 -msgid "Edit-body only" -msgstr "Sadece gövde için (Edit-body)" - -#: wysiwyg_editor.module:62 -msgid "Edit-comment only" -msgstr "Sadece yorum için (Edit-comment)" - -#: wysiwyg_editor.module:62 -msgid "Both" -msgstr "Her ikisi için" - -#: wysiwyg_editor.module:63 -msgid "If you want TinyMCE available for textarea of edit-body and comment then you should select <b>Both</b> option." -msgstr "Eğer TinyMCE'nin hem içerik gövdesinde hem de yorumlarda etkin olmasını istiyorsanız <b>Her ikisi için</b> seçeneğini seçin." - -#: wysiwyg_editor.module:68 -msgid "Enable TinyMCE for this node types" -msgstr "TinyMCE eklentisini bu düğüm çeşitleri için etkinleştir" - -#: wysiwyg_editor.module:70 -msgid "Node type in case-sensitive name, i.e: page,story,data_product,blog" -msgstr "İçerik türü, küçük büyük harf duyarlı. ör: page, story, data_product, blog" - -#: wysiwyg_editor.module:0 -#: wysiwyg_editor.info:0 -msgid "wysiwyg_editor" -msgstr "wysiwyg_editor" - diff --git a/sites/all/modules/wysiwyg/translations/uk.po b/sites/all/modules/wysiwyg/translations/uk.po deleted file mode 100755 index 6a25be8aeab1598043a5da91dfda8f5a8af23de5..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/uk.po +++ /dev/null @@ -1,818 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: wysiwig Uk\n" -"POT-Creation-Date: 2009-03-02 01:23+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: podarok <podarok@ua.fm>\n" -"Language-Team: Pavonine.com.ua <drupalua@googlegroups.com>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Ukrainian\n" -"X-Poedit-Country: UKRAINE\n" -"X-Poedit-SourceCharset: utf-8\n" -"Plural-Forms: nplurals=3; plural=((((n%10)==1)&&((n%100)!=11))?(0):(((((n%10)>=2)&&((n%10)<=4))&&(((n%100)<10)||((n%100)>=20)))?(1):2));\n" - -#: wysiwyg.api.php:50;51 -msgid "My plugin title" -msgstr "Мій заголовок плаґіну" - -#: wysiwyg.api.php:60 -msgid "Button title (optional)" -msgstr "Назва кнопки (необов’язково)" - -#: wysiwyg.admin.inc:19 -msgid "Home" -msgstr "Додому" - -#: wysiwyg.admin.inc:20 -msgid "Administer" -msgstr "Адміністрування" - -#: wysiwyg.admin.inc:21 -msgid "Site configuration" -msgstr "Конфіґурація сайту" - -#: wysiwyg.admin.inc:22 -msgid "Wysiwyg profiles" -msgstr "Профілі візуального редактора" - -#: wysiwyg.admin.inc:78 -msgid "%format Wysiwyg profile" -msgstr "%format профілю візуального редактора" - -#: wysiwyg.admin.inc:87 -msgid "Basic setup" -msgstr "Базове встановлення" - -#: wysiwyg.admin.inc:94 -msgid "Enabled by default" -msgstr "Дозволити стандартно" - -#: wysiwyg.admin.inc:97 -msgid "The default editor state for users having access to this profile. Users are able to override this state if the next option is enabled." -msgstr "Стандартний редактор за замовчуванням для користувачів, що мають доступ до цього профілю. Користувачі мають можливість змінити цей стан, якщо включена наступна опція." - -#: wysiwyg.admin.inc:102 -msgid "Allow users to choose default" -msgstr "Дозволити користувачам обирати стандартно" - -#: wysiwyg.admin.inc:105 -msgid "If allowed, users will be able to choose their own editor default state in their user account settings." -msgstr "Якщо дозволено, користувачі зможуть вибирати свій власний стандартний редактор за замовчуванням у налаштуваннях облікового запису користувача." - -#: wysiwyg.admin.inc:110 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "" - -#: wysiwyg.admin.inc:113 -msgid "Whether or not to show the <em>enable/disable rich text</em> toggle link below a textarea. If disabled, the user setting or global default is used (see above)." -msgstr "" - -#: wysiwyg.admin.inc:123 -msgid "Language" -msgstr "Мова" - -#: wysiwyg.admin.inc:126 -msgid "The language to use for the editor interface. Language codes are based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "Мова, яка використовується в редакторі кодується у форматі <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a>." - -#: wysiwyg.admin.inc:131 -msgid "Buttons and plugins" -msgstr "Кнопки та плаґіни" - -#: wysiwyg.admin.inc:176 -msgid "Editor appearance" -msgstr "Дизайн редактора" - -#: wysiwyg.admin.inc:183 -msgid "Toolbar location" -msgstr "Розміщення панеоі" - -#: wysiwyg.admin.inc:185;201 -msgid "Bottom" -msgstr "Знизу" - -#: wysiwyg.admin.inc:185;201 -msgid "Top" -msgstr "Вгорі" - -#: wysiwyg.admin.inc:186 -msgid "This option controls whether the editor toolbar is displayed above or below the editing area." -msgstr "Ця опція контролює чи панель інструментів редактора відображається вище або нижче вікна редагування." - -#: wysiwyg.admin.inc:191 -msgid "Button alignment" -msgstr "Вирівнювання кнопок" - -#: wysiwyg.admin.inc:193 -msgid "Center" -msgstr "По центру" - -#: wysiwyg.admin.inc:193 -msgid "Left" -msgstr "Зліва" - -#: wysiwyg.admin.inc:193 -msgid "Right" -msgstr "Справа" - -#: wysiwyg.admin.inc:194 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "Ця опція контролює розстановку іконок в панелі інструментів редактора." - -#: wysiwyg.admin.inc:199 -msgid "Path location" -msgstr "Шлях розміщення" - -#: wysiwyg.admin.inc:201 -msgid "Hide" -msgstr "Сховати" - -#: wysiwyg.admin.inc:202 -msgid "Where to display the path to HTML elements (i.e. <code>body > table > tr > td</code>)." -msgstr "" - -#: wysiwyg.admin.inc:207 -msgid "Enable resizing button" -msgstr "Дозволити кнопку зміни розміру" - -#: wysiwyg.admin.inc:210 -msgid "This option gives you the ability to enable/disable the resizing button. If enabled, the Path location toolbar must be set to \"Top\" or \"Bottom\" in order to display the resize icon." -msgstr "" - -#: wysiwyg.admin.inc:215 -msgid "Cleanup and output" -msgstr "" - -#: wysiwyg.admin.inc:222 -msgid "Verify HTML" -msgstr "перевірити HTML" - -#: wysiwyg.admin.inc:225 -msgid "If enabled, potentially malicious code like <code><HEAD></code> tags will be removed from HTML contents." -msgstr "" - -#: wysiwyg.admin.inc:230 -msgid "Preformatted" -msgstr "Преформатований" - -#: wysiwyg.admin.inc:233 -msgid "If enabled, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE element in HTML does." -msgstr "" - -#: wysiwyg.admin.inc:238 -msgid "Convert <font> tags to styles" -msgstr "" - -#: wysiwyg.admin.inc:241 -msgid "If enabled, HTML tags declaring the font size, font family, font color and font background color will be replaced by inline CSS styles." -msgstr "" - -#: wysiwyg.admin.inc:246 -msgid "Remove linebreaks" -msgstr "Видалити порожні рядки" - -#: wysiwyg.admin.inc:249 -msgid "If enabled, the editor will remove most linebreaks from contents. Disabling this option could avoid conflicts with other input filters." -msgstr "Якщо включено, редактор буде видаляти сам розриви рядків з тексту. Ця опція може уникнути конфліктів з іншими фільтрами введення." - -#: wysiwyg.admin.inc:254 -msgid "Apply source formatting" -msgstr "Застосувати форматування вихідного тексту" - -#: wysiwyg.admin.inc:257 -msgid "If enabled, the editor will re-format the HTML source code. Disabling this option could avoid conflicts with other input filters." -msgstr "Якщо включений, редактор буде переформатувати вихідний код. Ця опція може уникнути конфліктів з іншими фільтрами введення." - -#: wysiwyg.admin.inc:262 -msgid "Force cleanup on standard paste" -msgstr "" - -#: wysiwyg.admin.inc:265 -msgid "If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the \"paste from word\" plugin function." -msgstr "Якщо включена функція «Вставити» за замовчуванням (CTRL-V або SHIFT-INS) поводить себе як функція плаґіну \"paste from word\"." - -#: wysiwyg.admin.inc:270 -msgid "CSS" -msgstr "CSS" - -#: wysiwyg.admin.inc:277 -msgid "Block formats" -msgstr "Блочні формати" - -#: wysiwyg.admin.inc:281 -msgid "Comma separated list of HTML block formats. Possible values: <code>@format-list</code>." -msgstr "Розділяйте комою список HTML блочних форматів. Можливі значення: <code>@format-list</code>." - -#: wysiwyg.admin.inc:286 -msgid "Editor CSS" -msgstr "Редактор CSS" - -#: wysiwyg.admin.inc:288 -msgid "Use theme CSS" -msgstr "Використовувати CSS шаблону" - -#: wysiwyg.admin.inc:288 -msgid "Define CSS" -msgstr "Визначити CSS" - -#: wysiwyg.admin.inc:288 -msgid "Editor default CSS" -msgstr "Редактор стандартного CSS" - -#: wysiwyg.admin.inc:289 -msgid "Defines the CSS to be used in the editor area.<br />Use theme CSS - loads stylesheets from current site theme.<br/>Define CSS - enter path for stylesheet files below.<br />Editor default CSS - uses default stylesheets from editor." -msgstr "Визначає CSS, які будуть використовуватися в редакторі.<br /> Використовуйте CSS-стилі від поточної шаблону сайту. <br /> Визначити CSS - Введіть шлях до файлів стилів нижче. <br/> Редактор стандартного CSS редактор за замовчуванням — використовує стандартний стиль з редактора." - -#: wysiwyg.admin.inc:294 -msgid "CSS path" -msgstr "Шлях до CSS" - -#: wysiwyg.admin.inc:298 -msgid "If \"Define CSS\" has been selected above, enter path to a CSS file or a list of CSS files seperated by a comma." -msgstr "Якщо \"Визначити CSS\" був обраний вище, введіть шлях до файлу CSS або список доданих типів файлів, розділених комами." - -#: wysiwyg.admin.inc:298 -msgid "Available tokens: %b (base path, f.e.: /), %t (path to theme, f.e.: themes/garland)" -msgstr "Доступні лексеми: %b (базовий шлях, для прикладу.: /), %t (шлях до шаблону, f.e.: themes/garland)" - -#: wysiwyg.admin.inc:298 -msgid "Examples:" -msgstr "Приклади: " - -#: wysiwyg.admin.inc:303 -msgid "CSS classes" -msgstr "Класи CSS" - -#: wysiwyg.admin.inc:305 -msgid "Optionally define CSS classes for the \"Font style\" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from all loaded stylesheet(s)." -msgstr "Можливе визначення CSS-класів для \"стилю тексту\" як випадаючий список.<br />Введіть один клас в одному рядку: !format. Приклад: !example<br />Якщо залишити порожнім,CSS класи будуть автоматично імпортовані з всіх завантажених стилів." - -#: wysiwyg.admin.inc:310;444 -msgid "Save" -msgstr "Зберегти" - -#: wysiwyg.admin.inc:343 -msgid "Wysiwyg profile for %format has been saved." -msgstr "Профіль візуального редактора %format збережено." - -#: wysiwyg.admin.inc:392 -msgid "No editor" -msgstr "Без редактора" - -#: wysiwyg.admin.inc:396 -msgid "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Download</a>)" -msgstr "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Завантажити</a>)" - -#: wysiwyg.admin.inc:397 -msgid "Not installed." -msgstr "Не встановлено" - -#: wysiwyg.admin.inc:398 -msgid "Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>" -msgstr "Розпакуйте архів і скопіюйте його вміст в нову папку в наступному місці:<br /><code>@editor-path</code>" - -#: wysiwyg.admin.inc:409 -msgid "Installation instructions" -msgstr "Інструкції з встановлення" - -#: wysiwyg.admin.inc:412 -msgid "There are no editor libraries installed currently. The following list contains a list of currently supported editors:" -msgstr "Тут немає бібліотеки редакторів, що встановлені в даний час. Наступний список містить список підтримуваних в даний час редакторів:" - -#: wysiwyg.admin.inc:436 -msgid "Edit" -msgstr "Редагувати" - -#: wysiwyg.admin.inc:439;496 -msgid "Remove" -msgstr "Прибрати" - -#: wysiwyg.admin.inc:456 -msgid "Input format" -msgstr "Формат ввлду" - -#: wysiwyg.admin.inc:456 -msgid "Editor" -msgstr "Редактор" - -#: wysiwyg.admin.inc:456 -msgid "Operations" -msgstr "Операції" - -#: wysiwyg.admin.inc:494 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "Ви впевнені, що бажаєте видалити профіль для %name?" - -#: wysiwyg.admin.inc:496 -msgid "This action cannot be undone." -msgstr "Ця дія не може бути скасованою." - -#: wysiwyg.admin.inc:496 -msgid "Cancel" -msgstr "Скасувати" - -#: wysiwyg.admin.inc:507 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "Профіль візуального редактора для %name збережено." - -#: wysiwyg.plugins.inc:15 -msgid "Teaser break" -msgstr "" - -#: wysiwyg.module:41 -msgid "A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines which client-side editor is loaded, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions." -msgstr "Профіль візуального редактора може бути пов'язано з вхідний форматом. Профіль візуального редактора визначає, які клієнтські редактори завантажуються, які кнопки або теми включені в редакторі, як це відображено в редакторі, і кілька інших специфічних функцій редактора." - -#: wysiwyg.module:273 -msgid "Disable rich-text" -msgstr "Вимкнути rich-text" - -#: wysiwyg.module:274 -msgid "Enable rich-text" -msgstr "Дозволити rich-text" - -#: wysiwyg.module:485 -msgid "Wysiwyg Editor settings" -msgstr "налаштування візуального редактора" - -#: wysiwyg.module:492 -msgid "Enable editor by default" -msgstr "Дозволити редактор за замовчуванням" - -#: wysiwyg.module:495 -msgid "If enabled, rich-text editing is enabled by default in textarea fields." -msgstr "Якщо увімкнено, rich-text є вбудованим за замовчуванням у текстові поля" - -#: wysiwyg.module:579 -msgid "The version of %editor could not be detected." -msgstr "Версія редактора %editor неможливо визначити." - -#: wysiwyg.module:592 -msgid "The installed version %version of %editor is not supported." -msgstr "Встановлена версія %version %editor не підтримується." - -#: wysiwyg.module:15 -#: wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "Wysiwyg" - -#: wysiwyg.module:17 -msgid "Configure client-side editor profiles." -msgstr "Налаштування клієнтських профілів боку редактора." - -#: wysiwyg.module:0 -msgid "wysiwyg" -msgstr "wysiwyg" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "Магазини профілів візуальних редакторів." - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "Дозволяє користувачам редагувати вміст на стороні клієнтського редактора." - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "Користувацький інтерфейс" - -#: editors/fckeditor.inc:166 -#: editors/markitup.inc:91;140 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:348 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Bold" -msgstr "Напівжирний" - -#: editors/fckeditor.inc:166 -#: editors/markitup.inc:92;140 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:348 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Italic" -msgstr "Курсив" - -#: editors/fckeditor.inc:166 -#: editors/nicedit.inc:102 -#: editors/tinymce.inc:348 -#: editors/whizzywig.inc:110 -#: editors/yui.inc:227 -msgid "Underline" -msgstr "Підкреслений" - -#: editors/fckeditor.inc:167 -#: editors/markitup.inc:93;141 -#: editors/nicedit.inc:103 -#: editors/tinymce.inc:349 -#: editors/yui.inc:228 -msgid "Strike-through" -msgstr "Перекреслени" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:350 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align left" -msgstr "Зліва" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:350 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align center" -msgstr "По центру" - -#: editors/fckeditor.inc:168 -#: editors/nicedit.inc:104 -#: editors/tinymce.inc:350 -#: editors/whizzywig.inc:111 -#: editors/yui.inc:229 -msgid "Align right" -msgstr "Справа" - -#: editors/fckeditor.inc:168 -#: editors/tinymce.inc:350 -msgid "Justify" -msgstr "По ширині" - -#: editors/fckeditor.inc:169 -#: editors/nicedit.inc:105 -#: editors/tinymce.inc:351 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:230 -msgid "Bullet list" -msgstr "Звичайний список" - -#: editors/fckeditor.inc:169 -#: editors/nicedit.inc:105 -#: editors/tinymce.inc:351 -#: editors/whizzywig.inc:112 -#: editors/yui.inc:230 -msgid "Numbered list" -msgstr "Нумерований список" - -#: editors/fckeditor.inc:170 -#: editors/nicedit.inc:106 -#: editors/tinymce.inc:352 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:231 -msgid "Outdent" -msgstr "" - -#: editors/fckeditor.inc:170 -#: editors/nicedit.inc:106 -#: editors/tinymce.inc:352 -#: editors/whizzywig.inc:113 -#: editors/yui.inc:231 -msgid "Indent" -msgstr "" - -#: editors/fckeditor.inc:171 -#: editors/tinymce.inc:353 -#: editors/whizzywig.inc:114 -msgid "Undo" -msgstr "Скасувати" - -#: editors/fckeditor.inc:171 -#: editors/tinymce.inc:353 -#: editors/whizzywig.inc:114 -msgid "Redo" -msgstr "Відмінити" - -#: editors/fckeditor.inc:172 -#: editors/markitup.inc:95;143 -#: editors/nicedit.inc:113 -#: editors/tinymce.inc:354 -#: editors/whizzywig.inc:118 -#: editors/yui.inc:232 -msgid "Link" -msgstr "Посилання" - -#: editors/fckeditor.inc:172 -#: editors/nicedit.inc:113 -#: editors/tinymce.inc:354 -msgid "Unlink" -msgstr "Прибрати посилання" - -#: editors/fckeditor.inc:172 -#: editors/tinymce.inc:354 -msgid "Anchor" -msgstr "Анкор" - -#: editors/fckeditor.inc:173 -#: editors/markitup.inc:94;142 -#: editors/nicedit.inc:107 -#: editors/tinymce.inc:355 -#: editors/whizzywig.inc:115;119 -#: editors/yui.inc:233 -msgid "Image" -msgstr "Зображення" - -#: editors/fckeditor.inc:174 -#: editors/nicedit.inc:108 -#: editors/tinymce.inc:357 -#: editors/whizzywig.inc:116 -msgid "Forecolor" -msgstr "Колір переднього плану" - -#: editors/fckeditor.inc:174 -#: editors/nicedit.inc:108 -#: editors/tinymce.inc:357 -#: editors/whizzywig.inc:116 -msgid "Backcolor" -msgstr "Фон" - -#: editors/fckeditor.inc:175 -msgid "Superscript" -msgstr "Надрядковий індекс" - -#: editors/fckeditor.inc:175 -msgid "Subscript" -msgstr "Підрядковий індекс" - -#: editors/fckeditor.inc:176 -#: editors/tinymce.inc:359 -msgid "Blockquote" -msgstr "Цитата" - -#: editors/fckeditor.inc:176 -#: editors/nicedit.inc:115 -#: editors/tinymce.inc:359 -#: editors/whizzywig.inc:122 -msgid "Source code" -msgstr "Вихідний код" - -#: editors/fckeditor.inc:177 -#: editors/nicedit.inc:110 -#: editors/tinymce.inc:360 -#: editors/whizzywig.inc:117 -msgid "Horizontal rule" -msgstr "Горизонтальне правило" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:361 -msgid "Cut" -msgstr "Вирізати" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:361 -msgid "Copy" -msgstr "Копіювати" - -#: editors/fckeditor.inc:178 -#: editors/tinymce.inc:361 -msgid "Paste" -msgstr "Вставитив" - -#: editors/fckeditor.inc:179 -msgid "Paste Text" -msgstr "Вставити текст" - -#: editors/fckeditor.inc:179 -#: editors/tinymce.inc:472 -msgid "Paste from Word" -msgstr "Вставити з «Word»" - -#: editors/fckeditor.inc:180 -msgid "Show blocks" -msgstr "Показати блоки" - -#: editors/fckeditor.inc:181 -#: editors/tinymce.inc:363 -#: editors/yui.inc:236 -msgid "Remove format" -msgstr "Прибрати формат" - -#: editors/fckeditor.inc:182 -#: editors/tinymce.inc:364 -msgid "Character map" -msgstr "Таблиця символів" - -#: editors/fckeditor.inc:183 -msgid "About" -msgstr "Про" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:430 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "HTML block format" -msgstr "HTML формат блоку" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:430 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "Font" -msgstr "Шрифт" - -#: editors/fckeditor.inc:185 -#: editors/nicedit.inc:114 -#: editors/tinymce.inc:430 -#: editors/whizzywig.inc:109 -#: editors/yui.inc:238 -msgid "Font size" -msgstr "Розмір шрифту" - -#: editors/fckeditor.inc:185 -#: editors/tinymce.inc:430 -#: editors/yui.inc:238 -msgid "Font style" -msgstr "Стиль шрифту" - -#: editors/fckeditor.inc:186 -#: editors/tinymce.inc:507 -#: editors/whizzywig.inc:120 -msgid "Table" -msgstr "Таблиця" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:493 -msgid "Search" -msgstr "Пошук" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:493 -msgid "Replace" -msgstr "Заміна" - -#: editors/fckeditor.inc:187 -#: editors/tinymce.inc:472 -msgid "Select all" -msgstr "Виділити все" - -#: editors/fckeditor.inc:188 -msgid "Create DIV container" -msgstr "Створити контейнер DIV" - -#: editors/fckeditor.inc:189 -#: editors/tinymce.inc:422 -msgid "Flash" -msgstr "Флеш" - -#: editors/fckeditor.inc:189 -msgid "Smiley" -msgstr "Смайлики" - -#: editors/fckeditor.inc:190 -msgid "FitWindow" -msgstr "Ввікно" - -#: editors/fckeditor.inc:191 -msgid "Check spelling" -msgstr "Перевірка правопису" - -#: editors/markitup.inc:98;145 -#: editors/tinymce.inc:479 -msgid "Preview" -msgstr "Попередній перегляд" - -#: editors/nicedit.inc:109 -#: editors/tinymce.inc:358 -#: editors/yui.inc:235 -msgid "Sup" -msgstr "Верхній індекс" - -#: editors/nicedit.inc:109 -#: editors/tinymce.inc:358 -#: editors/yui.inc:235 -msgid "Sub" -msgstr "Нижній індекс" - -#: editors/tinymce.inc:356 -#: editors/whizzywig.inc:121 -msgid "Clean-up" -msgstr "Очистити" - -#: editors/tinymce.inc:362 -msgid "Visual aid" -msgstr "Наочні посібники" - -#: editors/tinymce.inc:365 -msgid "Help" -msgstr "Допомога" - -#: editors/tinymce.inc:370 -msgid "Advanced horizontal rule" -msgstr "Розширений горизонтальні правила" - -#: editors/tinymce.inc:378 -msgid "Advanced image" -msgstr "Розширене зображення" - -#: editors/tinymce.inc:386 -msgid "Advanced link" -msgstr "Розширене посилання" - -#: editors/tinymce.inc:394 -msgid "Auto save" -msgstr "Автозбереження" - -#: editors/tinymce.inc:401 -msgid "Context menu" -msgstr "Контекстне меню" - -#: editors/tinymce.inc:408 -msgid "Left-to-right" -msgstr "Зліва направо" - -#: editors/tinymce.inc:408 -msgid "Right-to-left" -msgstr "Справа наліво" - -#: editors/tinymce.inc:415 -msgid "Emotions" -msgstr "Емоції" - -#: editors/tinymce.inc:437 -msgid "Fullscreen" -msgstr "Повноекренний режим перегляду" - -#: editors/tinymce.inc:444 -msgid "Inline popups" -msgstr "Рядкові спливаючі вікна" - -#: editors/tinymce.inc:454 -msgid "Insert date" -msgstr "Вставити дата" - -#: editors/tinymce.inc:454 -msgid "Insert time" -msgstr "Вставити час" - -#: editors/tinymce.inc:465 -msgid "Insert layer" -msgstr "Вставити шар" - -#: editors/tinymce.inc:465 -msgid "Move forward" -msgstr "Переміщення вперед" - -#: editors/tinymce.inc:465 -msgid "Move backward" -msgstr "Переміщення назад" - -#: editors/tinymce.inc:465 -msgid "Absolute" -msgstr "Абсолютно" - -#: editors/tinymce.inc:472 -msgid "Paste text" -msgstr "Вставити текст" - -#: editors/tinymce.inc:486 -msgid "Print" -msgstr "Роздрукувати" - -#: editors/tinymce.inc:500 -msgid "Style properties" -msgstr "Опції стилю" - -#: editors/tinymce.inc:516 -msgid "Citation" -msgstr "Цитування" - -#: editors/tinymce.inc:516 -msgid "Deleted" -msgstr "Видалено" - -#: editors/tinymce.inc:516 -msgid "Abbreviation" -msgstr "Абревіатура" - -#: editors/tinymce.inc:516 -msgid "Acronym" -msgstr "Акронім" - -#: editors/tinymce.inc:516 -msgid "Inserted" -msgstr "Вставлено" - -#: editors/tinymce.inc:523 -msgid "Safari compatibility" -msgstr "Сумісність із Safari" - -#: editors/whizzywig.inc:123 -msgid "Spell check" -msgstr "Перевірка орфографії" - -#: editors/yui.inc:234 -msgid "Font Color" -msgstr "Колір шрифту" - -#: editors/yui.inc:234 -msgid "Background Color" -msgstr "Колір тла" - -#: editors/yui.inc:237 -msgid "Show/hide hidden elements" -msgstr "Показати/сховати приховані елементи" - diff --git a/sites/all/modules/wysiwyg/translations/wysiwyg.pot b/sites/all/modules/wysiwyg/translations/wysiwyg.pot deleted file mode 100644 index 3d1f6dd9ed9ba4b69b69dfd0cc59c1defde11ce2..0000000000000000000000000000000000000000 --- a/sites/all/modules/wysiwyg/translations/wysiwyg.pot +++ /dev/null @@ -1,772 +0,0 @@ -# $Id: wysiwyg.pot,v 1.3 2009/06/17 21:06:26 hass Exp $ -# -# LANGUAGE translation of Drupal (general) -# Copyright YEAR NAME <EMAIL@ADDRESS> -# Generated from files: -# wysiwyg.api.php,v 1.3 2009/06/09 00:18:11 sun -# wysiwyg.admin.inc,v 1.15 2009/06/09 00:18:11 sun -# wysiwyg.module,v 1.33 2009/06/09 00:18:11 sun -# wysiwyg.info,v 1.1 2008/10/14 21:45:07 sun -# wysiwyg.install,v 1.4 2009/06/08 21:57:10 sun -# fckeditor.inc,v 1.17 2009/06/09 00:18:11 sun -# markitup.inc,v 1.7 2009/06/13 02:10:32 sun -# nicedit.inc,v 1.6 2009/06/09 00:18:12 sun -# openwysiwyg.inc,v 1.4 2009/06/13 02:17:10 sun -# tinymce.inc,v 1.35 2009/06/09 00:18:12 sun -# whizzywig.inc,v 1.3 2009/06/09 00:18:12 sun -# yui.inc,v 1.6 2009/06/13 02:10:32 sun -# break.inc,v 1.4 2009/06/09 00:18:12 sun -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2009-06-17 21:00+0200\n" -"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" -"Last-Translator: NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" - -#: wysiwyg.api.php:51;52 -msgid "My plugin title" -msgstr "" - -#: wysiwyg.api.php:61 -msgid "Button title (optional)" -msgstr "" - -#: wysiwyg.admin.inc:51 -msgid "%editor profile for %format" -msgstr "" - -#: wysiwyg.admin.inc:60 -msgid "Basic setup" -msgstr "" - -#: wysiwyg.admin.inc:67 -msgid "Enabled by default" -msgstr "" - -#: wysiwyg.admin.inc:70 -msgid "The default editor state for users having access to this profile. Users are able to override this state if the next option is enabled." -msgstr "" - -#: wysiwyg.admin.inc:75 -msgid "Allow users to choose default" -msgstr "" - -#: wysiwyg.admin.inc:78 -msgid "If allowed, users will be able to choose their own editor default state in their user account settings." -msgstr "" - -#: wysiwyg.admin.inc:83 -msgid "Show <em>enable/disable rich text</em> toggle link" -msgstr "" - -#: wysiwyg.admin.inc:86 -msgid "Whether or not to show the <em>enable/disable rich text</em> toggle link below a textarea. If disabled, the user setting or global default is used (see above)." -msgstr "" - -#: wysiwyg.admin.inc:96 -msgid "Language" -msgstr "" - -#: wysiwyg.admin.inc:99 -msgid "The language to use for the editor interface. Language codes are based on the <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\">ISO-639-2</a> format." -msgstr "" - -#: wysiwyg.admin.inc:104 -msgid "Buttons and plugins" -msgstr "" - -#: wysiwyg.admin.inc:149 -msgid "Editor appearance" -msgstr "" - -#: wysiwyg.admin.inc:156 -msgid "Toolbar location" -msgstr "" - -#: wysiwyg.admin.inc:158;174 -msgid "Bottom" -msgstr "" - -#: wysiwyg.admin.inc:158;174 -msgid "Top" -msgstr "" - -#: wysiwyg.admin.inc:159 -msgid "This option controls whether the editor toolbar is displayed above or below the editing area." -msgstr "" - -#: wysiwyg.admin.inc:164 -msgid "Button alignment" -msgstr "" - -#: wysiwyg.admin.inc:166 -msgid "Center" -msgstr "" - -#: wysiwyg.admin.inc:166 -msgid "Left" -msgstr "" - -#: wysiwyg.admin.inc:166 -msgid "Right" -msgstr "" - -#: wysiwyg.admin.inc:167 -msgid "This option controls the alignment of icons in the editor toolbar." -msgstr "" - -#: wysiwyg.admin.inc:172 -msgid "Path location" -msgstr "" - -#: wysiwyg.admin.inc:174 -msgid "Hide" -msgstr "" - -#: wysiwyg.admin.inc:175 -msgid "Where to display the path to HTML elements (i.e. <code>body > table > tr > td</code>)." -msgstr "" - -#: wysiwyg.admin.inc:180 -msgid "Enable resizing button" -msgstr "" - -#: wysiwyg.admin.inc:183 -msgid "This option gives you the ability to enable/disable the resizing button. If enabled, the Path location toolbar must be set to \"Top\" or \"Bottom\" in order to display the resize icon." -msgstr "" - -#: wysiwyg.admin.inc:188 -msgid "Cleanup and output" -msgstr "" - -#: wysiwyg.admin.inc:195 -msgid "Verify HTML" -msgstr "" - -#: wysiwyg.admin.inc:198 -msgid "If enabled, potentially malicious code like <code><HEAD></code> tags will be removed from HTML contents." -msgstr "" - -#: wysiwyg.admin.inc:203 -msgid "Preformatted" -msgstr "" - -#: wysiwyg.admin.inc:206 -msgid "If enabled, the editor will insert TAB characters on tab and preserve other whitespace characters just like a PRE element in HTML does." -msgstr "" - -#: wysiwyg.admin.inc:211 -msgid "Convert <font> tags to styles" -msgstr "" - -#: wysiwyg.admin.inc:214 -msgid "If enabled, HTML tags declaring the font size, font family, font color and font background color will be replaced by inline CSS styles." -msgstr "" - -#: wysiwyg.admin.inc:219 -msgid "Remove linebreaks" -msgstr "" - -#: wysiwyg.admin.inc:222 -msgid "If enabled, the editor will remove most linebreaks from contents. Disabling this option could avoid conflicts with other input filters." -msgstr "" - -#: wysiwyg.admin.inc:227 -msgid "Apply source formatting" -msgstr "" - -#: wysiwyg.admin.inc:230 -msgid "If enabled, the editor will re-format the HTML source code. Disabling this option could avoid conflicts with other input filters." -msgstr "" - -#: wysiwyg.admin.inc:235 -msgid "Force cleanup on standard paste" -msgstr "" - -#: wysiwyg.admin.inc:238 -msgid "If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the \"paste from word\" plugin function." -msgstr "" - -#: wysiwyg.admin.inc:243 -msgid "CSS" -msgstr "" - -#: wysiwyg.admin.inc:250 -msgid "Block formats" -msgstr "" - -#: wysiwyg.admin.inc:254 -msgid "Comma separated list of HTML block formats. Possible values: <code>@format-list</code>." -msgstr "" - -#: wysiwyg.admin.inc:259 -msgid "Editor CSS" -msgstr "" - -#: wysiwyg.admin.inc:261 -msgid "Use theme CSS" -msgstr "" - -#: wysiwyg.admin.inc:261 -msgid "Define CSS" -msgstr "" - -#: wysiwyg.admin.inc:261 -msgid "Editor default CSS" -msgstr "" - -#: wysiwyg.admin.inc:262 -msgid "Defines the CSS to be used in the editor area.<br />Use theme CSS - loads stylesheets from current site theme.<br/>Define CSS - enter path for stylesheet files below.<br />Editor default CSS - uses default stylesheets from editor." -msgstr "" - -#: wysiwyg.admin.inc:267 -msgid "CSS path" -msgstr "" - -#: wysiwyg.admin.inc:271 -msgid "If \"Define CSS\" was selected above, enter path to a CSS file or a list of CSS files separated by a comma." -msgstr "" - -#: wysiwyg.admin.inc:271 -msgid "Available tokens: <code>%b</code> (base path, eg: <code>/</code>), <code>%t</code> (path to theme, eg: <code>themes/garland</code>)" -msgstr "" - -#: wysiwyg.admin.inc:271 -msgid "Example:" -msgstr "" - -#: wysiwyg.admin.inc:276 -msgid "CSS classes" -msgstr "" - -#: wysiwyg.admin.inc:278 -msgid "Optionally define CSS classes for the \"Font style\" dropdown list.<br />Enter one class on each line in the format: !format. Example: !example<br />If left blank, CSS classes are automatically imported from all loaded stylesheet(s)." -msgstr "" - -#: wysiwyg.admin.inc:283;438 -msgid "Save" -msgstr "" - -#: wysiwyg.admin.inc:317 -msgid "Wysiwyg profile for %format has been saved." -msgstr "" - -#: wysiwyg.admin.inc:366 -msgid "No editor" -msgstr "" - -#: wysiwyg.admin.inc:371 -msgid "<a href=\"!vendor-url\">@editor</a> (<a href=\"!download-url\">Download</a>)" -msgstr "" - -#: wysiwyg.admin.inc:372 -msgid "Not installed." -msgstr "" - -#: wysiwyg.admin.inc:386 -msgid "Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>" -msgstr "" - -#: wysiwyg.admin.inc:387 -msgid "So the actual library can be found at:<br /><code>@library-filepath</code>" -msgstr "" - -#: wysiwyg.admin.inc:402 -msgid "Installation instructions" -msgstr "" - -#: wysiwyg.admin.inc:405 -msgid "There are no editor libraries installed currently. The following list contains a list of currently supported editors:" -msgstr "" - -#: wysiwyg.admin.inc:430 wysiwyg.module:26 -msgid "Edit" -msgstr "" - -#: wysiwyg.admin.inc:433;489 wysiwyg.module:36 -msgid "Remove" -msgstr "" - -#: wysiwyg.admin.inc:450 -msgid "Input format" -msgstr "" - -#: wysiwyg.admin.inc:450 -msgid "Editor" -msgstr "" - -#: wysiwyg.admin.inc:450 -msgid "Operations" -msgstr "" - -#: wysiwyg.admin.inc:487 -msgid "Are you sure you want to remove the profile for %name?" -msgstr "" - -#: wysiwyg.admin.inc:489 -msgid "This action cannot be undone." -msgstr "" - -#: wysiwyg.admin.inc:489 -msgid "Cancel" -msgstr "" - -#: wysiwyg.admin.inc:501 -msgid "Wysiwyg profile for %name has been deleted." -msgstr "" - -#: wysiwyg.module:80 -msgid "A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines which client-side editor is loaded, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions." -msgstr "" - -#: wysiwyg.module:306 -msgid "Disable rich-text" -msgstr "" - -#: wysiwyg.module:307 -msgid "Enable rich-text" -msgstr "" - -#: wysiwyg.module:608 -msgid "Wysiwyg Editor settings" -msgstr "" - -#: wysiwyg.module:615 -msgid "Enable editor by default" -msgstr "" - -#: wysiwyg.module:618 -msgid "If enabled, rich-text editing is enabled by default in textarea fields." -msgstr "" - -#: wysiwyg.module:702 -msgid "The version of %editor could not be detected." -msgstr "" - -#: wysiwyg.module:715 -msgid "The installed version %version of %editor is not supported." -msgstr "" - -#: wysiwyg.module:14 wysiwyg.info:0 -msgid "Wysiwyg" -msgstr "" - -#: wysiwyg.module:17 -msgid "Configure client-side editors." -msgstr "" - -#: wysiwyg.module:22 -msgid "Profiles" -msgstr "" - -#: wysiwyg.module:0 -msgid "wysiwyg" -msgstr "" - -#: wysiwyg.install:10 -msgid "Stores Wysiwyg profiles." -msgstr "" - -#: wysiwyg.info:0 -msgid "Allows users to edit contents with client-side editors." -msgstr "" - -#: wysiwyg.info:0 -msgid "User interface" -msgstr "" - -#: editors/fckeditor.inc:217 editors/markitup.inc:105;170 editors/nicedit.inc:103 editors/openwysiwyg.inc:140 editors/tinymce.inc:377 editors/whizzywig.inc:113 editors/yui.inc:276 -msgid "Bold" -msgstr "" - -#: editors/fckeditor.inc:217 editors/markitup.inc:112;170 editors/nicedit.inc:103 editors/openwysiwyg.inc:140 editors/tinymce.inc:377 editors/whizzywig.inc:113 editors/yui.inc:276 -msgid "Italic" -msgstr "" - -#: editors/fckeditor.inc:217 editors/nicedit.inc:103 editors/openwysiwyg.inc:140 editors/tinymce.inc:377 editors/whizzywig.inc:113 editors/yui.inc:276 -msgid "Underline" -msgstr "" - -#: editors/fckeditor.inc:218 editors/markitup.inc:119;171 editors/nicedit.inc:104 editors/openwysiwyg.inc:141 editors/tinymce.inc:378 editors/yui.inc:277 -msgid "Strike-through" -msgstr "" - -#: editors/fckeditor.inc:219 editors/nicedit.inc:105 editors/openwysiwyg.inc:142 editors/tinymce.inc:379 editors/whizzywig.inc:114 editors/yui.inc:278 -msgid "Align left" -msgstr "" - -#: editors/fckeditor.inc:219 editors/nicedit.inc:105 editors/openwysiwyg.inc:142 editors/tinymce.inc:379 editors/whizzywig.inc:114 editors/yui.inc:278 -msgid "Align center" -msgstr "" - -#: editors/fckeditor.inc:219 editors/nicedit.inc:105 editors/openwysiwyg.inc:142 editors/tinymce.inc:379 editors/whizzywig.inc:114 editors/yui.inc:278 -msgid "Align right" -msgstr "" - -#: editors/fckeditor.inc:219 editors/openwysiwyg.inc:142 editors/tinymce.inc:379 editors/yui.inc:278 -msgid "Justify" -msgstr "" - -#: editors/fckeditor.inc:220 editors/nicedit.inc:106 editors/openwysiwyg.inc:143 editors/tinymce.inc:380 editors/whizzywig.inc:115 editors/yui.inc:279 -msgid "Bullet list" -msgstr "" - -#: editors/fckeditor.inc:220 editors/nicedit.inc:106 editors/openwysiwyg.inc:143 editors/tinymce.inc:380 editors/whizzywig.inc:115 editors/yui.inc:279 -msgid "Numbered list" -msgstr "" - -#: editors/fckeditor.inc:221 editors/nicedit.inc:107 editors/openwysiwyg.inc:144 editors/tinymce.inc:381 editors/whizzywig.inc:116 editors/yui.inc:280 -msgid "Outdent" -msgstr "" - -#: editors/fckeditor.inc:221 editors/nicedit.inc:107 editors/openwysiwyg.inc:144 editors/tinymce.inc:381 editors/whizzywig.inc:116 editors/yui.inc:280 -msgid "Indent" -msgstr "" - -#: editors/fckeditor.inc:222 editors/openwysiwyg.inc:145 editors/tinymce.inc:382 editors/whizzywig.inc:117 editors/yui.inc:281 -msgid "Undo" -msgstr "" - -#: editors/fckeditor.inc:222 editors/openwysiwyg.inc:145 editors/tinymce.inc:382 editors/whizzywig.inc:117 editors/yui.inc:281 -msgid "Redo" -msgstr "" - -#: editors/fckeditor.inc:223 editors/markitup.inc:132;173 editors/nicedit.inc:114 editors/openwysiwyg.inc:146 editors/tinymce.inc:383 editors/whizzywig.inc:121 editors/yui.inc:282 -msgid "Link" -msgstr "" - -#: editors/fckeditor.inc:223 editors/nicedit.inc:114 editors/tinymce.inc:383 -msgid "Unlink" -msgstr "" - -#: editors/fckeditor.inc:223 editors/tinymce.inc:383 -msgid "Anchor" -msgstr "" - -#: editors/fckeditor.inc:224 editors/markitup.inc:126;172 editors/nicedit.inc:108 editors/openwysiwyg.inc:147 editors/tinymce.inc:384 editors/whizzywig.inc:118;122 editors/yui.inc:283 -msgid "Image" -msgstr "" - -#: editors/fckeditor.inc:225 editors/nicedit.inc:109 editors/openwysiwyg.inc:149 editors/tinymce.inc:386 editors/whizzywig.inc:119 -msgid "Forecolor" -msgstr "" - -#: editors/fckeditor.inc:225 editors/nicedit.inc:109 editors/openwysiwyg.inc:149 editors/tinymce.inc:386 editors/whizzywig.inc:119 -msgid "Backcolor" -msgstr "" - -#: editors/fckeditor.inc:226 -msgid "Superscript" -msgstr "" - -#: editors/fckeditor.inc:226 -msgid "Subscript" -msgstr "" - -#: editors/fckeditor.inc:227 editors/openwysiwyg.inc:151 editors/tinymce.inc:388 -msgid "Blockquote" -msgstr "" - -#: editors/fckeditor.inc:227 editors/nicedit.inc:116 editors/openwysiwyg.inc:151 editors/tinymce.inc:388 editors/whizzywig.inc:125 -msgid "Source code" -msgstr "" - -#: editors/fckeditor.inc:228 editors/nicedit.inc:111 editors/openwysiwyg.inc:152 editors/tinymce.inc:389 editors/whizzywig.inc:120 -msgid "Horizontal rule" -msgstr "" - -#: editors/fckeditor.inc:229 editors/openwysiwyg.inc:153 editors/tinymce.inc:390 -msgid "Cut" -msgstr "" - -#: editors/fckeditor.inc:229 editors/openwysiwyg.inc:153 editors/tinymce.inc:390 -msgid "Copy" -msgstr "" - -#: editors/fckeditor.inc:229 editors/openwysiwyg.inc:153 editors/tinymce.inc:390 -msgid "Paste" -msgstr "" - -#: editors/fckeditor.inc:230 -msgid "Paste Text" -msgstr "" - -#: editors/fckeditor.inc:230 editors/tinymce.inc:494 -msgid "Paste from Word" -msgstr "" - -#: editors/fckeditor.inc:231 -msgid "Show blocks" -msgstr "" - -#: editors/fckeditor.inc:232 editors/openwysiwyg.inc:155 editors/tinymce.inc:392 editors/yui.inc:287 -msgid "Remove format" -msgstr "" - -#: editors/fckeditor.inc:233 editors/openwysiwyg.inc:156 editors/tinymce.inc:393 -msgid "Character map" -msgstr "" - -#: editors/fckeditor.inc:234 -msgid "About" -msgstr "" - -#: editors/fckeditor.inc:235 editors/nicedit.inc:115 editors/openwysiwyg.inc:157 editors/tinymce.inc:452 editors/whizzywig.inc:112 editors/yui.inc:288 -msgid "HTML block format" -msgstr "" - -#: editors/fckeditor.inc:235 editors/nicedit.inc:115 editors/openwysiwyg.inc:157 editors/tinymce.inc:452 editors/whizzywig.inc:112 editors/yui.inc:288 -msgid "Font" -msgstr "" - -#: editors/fckeditor.inc:235 editors/nicedit.inc:115 editors/openwysiwyg.inc:157 editors/tinymce.inc:452 editors/whizzywig.inc:112 editors/yui.inc:288 -msgid "Font size" -msgstr "" - -#: editors/fckeditor.inc:235 editors/tinymce.inc:452 -msgid "Font style" -msgstr "" - -#: editors/fckeditor.inc:236 editors/openwysiwyg.inc:161 editors/tinymce.inc:529 editors/whizzywig.inc:123 -msgid "Table" -msgstr "" - -#: editors/fckeditor.inc:237 editors/tinymce.inc:515 -msgid "Search" -msgstr "" - -#: editors/fckeditor.inc:237 editors/tinymce.inc:515 -msgid "Replace" -msgstr "" - -#: editors/fckeditor.inc:237 editors/tinymce.inc:494 -msgid "Select all" -msgstr "" - -#: editors/fckeditor.inc:238 -msgid "Create DIV container" -msgstr "" - -#: editors/fckeditor.inc:239 editors/tinymce.inc:538 -msgid "Flash" -msgstr "" - -#: editors/fckeditor.inc:239 -msgid "Smiley" -msgstr "" - -#: editors/fckeditor.inc:240 -msgid "FitWindow" -msgstr "" - -#: editors/fckeditor.inc:241 -msgid "Check spelling" -msgstr "" - -#: editors/fckeditor.inc:248 -msgid "Autogrow" -msgstr "" - -#: editors/fckeditor.inc:259 editors/tinymce.inc:564 -msgid "BBCode" -msgstr "" - -#: editors/fckeditor.inc:267 -msgid "Table drag/resize" -msgstr "" - -#: editors/fckeditor.inc:275 -msgid "Table: Cell properties" -msgstr "" - -#: editors/fckeditor.inc:276 -msgid "Table: Insert row after" -msgstr "" - -#: editors/fckeditor.inc:277 -msgid "Table: Insert column after" -msgstr "" - -#: editors/fckeditor.inc:278 -msgid "Table: Insert cell after" -msgstr "" - -#: editors/fckeditor.inc:279 -msgid "Table: Delete rows" -msgstr "" - -#: editors/fckeditor.inc:280 -msgid "Table: Delete columns" -msgstr "" - -#: editors/fckeditor.inc:281 -msgid "Table: Delete cells" -msgstr "" - -#: editors/fckeditor.inc:282 -msgid "Table: Merge cells" -msgstr "" - -#: editors/fckeditor.inc:283 -msgid "Table: Horizontal split cell" -msgstr "" - -#: editors/markitup.inc:142;175 editors/openwysiwyg.inc:159 editors/tinymce.inc:501 -msgid "Preview" -msgstr "" - -#: editors/nicedit.inc:110 editors/openwysiwyg.inc:150 editors/tinymce.inc:387 editors/yui.inc:285 -msgid "Sup" -msgstr "" - -#: editors/nicedit.inc:110 editors/openwysiwyg.inc:150 editors/tinymce.inc:387 editors/yui.inc:285 -msgid "Sub" -msgstr "" - -#: editors/openwysiwyg.inc:148 editors/tinymce.inc:385 editors/whizzywig.inc:124 -msgid "Clean-up" -msgstr "" - -#: editors/openwysiwyg.inc:154 editors/tinymce.inc:391 -msgid "Visual aid" -msgstr "" - -#: editors/openwysiwyg.inc:158 editors/tinymce.inc:459 -msgid "Fullscreen" -msgstr "" - -#: editors/openwysiwyg.inc:160 editors/tinymce.inc:508 -msgid "Print" -msgstr "" - -#: editors/openwysiwyg.inc:162 editors/tinymce.inc:394 -msgid "Help" -msgstr "" - -#: editors/tinymce.inc:400 -msgid "Advanced horizontal rule" -msgstr "" - -#: editors/tinymce.inc:408 -msgid "Advanced image" -msgstr "" - -#: editors/tinymce.inc:416 -msgid "Advanced link" -msgstr "" - -#: editors/tinymce.inc:424 -msgid "Auto save" -msgstr "" - -#: editors/tinymce.inc:431 -msgid "Context menu" -msgstr "" - -#: editors/tinymce.inc:438 -msgid "Left-to-right" -msgstr "" - -#: editors/tinymce.inc:438 -msgid "Right-to-left" -msgstr "" - -#: editors/tinymce.inc:445 -msgid "Emotions" -msgstr "" - -#: editors/tinymce.inc:466 -msgid "Inline popups" -msgstr "" - -#: editors/tinymce.inc:476 -msgid "Insert date" -msgstr "" - -#: editors/tinymce.inc:476 -msgid "Insert time" -msgstr "" - -#: editors/tinymce.inc:487 -msgid "Insert layer" -msgstr "" - -#: editors/tinymce.inc:487 -msgid "Move forward" -msgstr "" - -#: editors/tinymce.inc:487 -msgid "Move backward" -msgstr "" - -#: editors/tinymce.inc:487 -msgid "Absolute" -msgstr "" - -#: editors/tinymce.inc:494 -msgid "Paste text" -msgstr "" - -#: editors/tinymce.inc:522 -msgid "Style properties" -msgstr "" - -#: editors/tinymce.inc:548 -msgid "Media" -msgstr "" - -#: editors/tinymce.inc:555 -msgid "Citation" -msgstr "" - -#: editors/tinymce.inc:555 -msgid "Deleted" -msgstr "" - -#: editors/tinymce.inc:555 -msgid "Abbreviation" -msgstr "" - -#: editors/tinymce.inc:555 -msgid "Acronym" -msgstr "" - -#: editors/tinymce.inc:555 -msgid "Inserted" -msgstr "" - -#: editors/tinymce.inc:571 -msgid "Safari compatibility" -msgstr "" - -#: editors/whizzywig.inc:126 -msgid "Spell check" -msgstr "" - -#: editors/yui.inc:284 -msgid "Font Color" -msgstr "" - -#: editors/yui.inc:284 -msgid "Background Color" -msgstr "" - -#: editors/yui.inc:286 -msgid "Show/hide hidden elements" -msgstr "" - -#: plugins/break.inc:14 -msgid "Teaser break" -msgstr "" - -#: plugins/break.inc:17 -msgid "Separate the teaser and body of this content" -msgstr "" - diff --git a/sites/all/modules/wysiwyg/wysiwyg-dialog-page.tpl.php b/sites/all/modules/wysiwyg/wysiwyg-dialog-page.tpl.php index 0811ae788cc44b2b4c4ff9b7bd4dd1475fb309ef..3e77d79b4f252b4876090fc8fa3cad30a6b5a059 100644 --- a/sites/all/modules/wysiwyg/wysiwyg-dialog-page.tpl.php +++ b/sites/all/modules/wysiwyg/wysiwyg-dialog-page.tpl.php @@ -2,83 +2,27 @@ /** * @file - * Theme template to display a single Wysiwyg (plugin) dialog page. - * - * Available variables: - * - * General utility variables: - * - $base_path: The base URL path of the Drupal installation. At the very - * least, this will always default to /. - * - $css: An array of CSS files for the current page. - * - $directory: The directory the theme is located in, e.g. themes/garland or - * themes/garland/minelli. - * - $logged_in: TRUE if the user is registered and signed in. - * - $is_admin: TRUE if the user has permission to access administration pages. - * - * Page metadata: - * - $language: (object) The language the site is being displayed in. - * $language->language contains its textual representation. - * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. - * - $head_title: A modified version of the page title, for use in the TITLE tag. - * - $head: Markup for the HEAD section (including meta tags, keyword tags, and - * so on). - * - $styles: Style tags necessary to import all CSS files for the page. - * - $scripts: Script tags necessary to load the JavaScript files and settings - * for the page. - * - * Site identity: - * - $site_name: The name of the site, empty when display has been disabled - * in theme settings. - * - * Page content (in order of occurrance in the default page.tpl.php): - * - $breadcrumb: The breadcrumb trail for the current page. - * - $title: The page title, for use in the actual HTML content. - * - $help: Dynamic help text, mostly for admin pages. - * - $messages: HTML for status and error messages. Should be displayed prominently. - * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view - * and edit tabs when displaying a node). - * - * - $content: The main content of the current Drupal page. - * - * Footer/closing data: - * - $footer : The footer region. - * - $closure: Final closing markup from any modules that have altered the page. - * This variable should always be output last, after all other dynamic content. - * - * @see template_preprocess() - * @see template_preprocess_wysiwyg_dialog_page() + * Theme implementation to display a single Wysiwyg (plugin) dialog page. */ ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> -<head> - <title><?php print $head_title; ?></title> - <?php print $head; ?> - <?php print $styles; ?> - <?php print $scripts; ?> - <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script> -</head> -<body> <div id="page"> - <div id="container" class="clear-block"> - <div id="main" class="column"> - <?php if (!empty($breadcrumb)): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?> - <div id="content"> - <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?> - <?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?> - <?php if (!empty($messages)): print $messages; endif; ?> - <?php if (!empty($help)): print $help; endif; ?> - <div id="content-content" class="clear-block"> - <?php print $content; ?> - </div> - </div> + <?php print $messages; ?> - </div> - </div> - </div> -<?php print $closure; ?> -</body> -</html> + <div id="main-wrapper"><div id="main" class="clearfix"> + + <div id="content" class="column"><div class="section"> + <a id="main-content"></a> + <?php print render($title_prefix); ?> + <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?> + <?php print render($title_suffix); ?> + <?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?> + <?php print render($page['help']); ?> + <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?> + <?php print render($page['content']); ?> + </div></div> <!-- /.section, /#content --> + + </div></div> <!-- /#main, /#main-wrapper --> + + </div> <!-- /#page --> diff --git a/sites/all/modules/wysiwyg/wysiwyg.admin.inc b/sites/all/modules/wysiwyg/wysiwyg.admin.inc index 510e1e3187479b22fc569840595b71d8d7d4fbad..497e5d4cf24b56025cb6bf67c4fdeb6994c00e68 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.admin.inc +++ b/sites/all/modules/wysiwyg/wysiwyg.admin.inc @@ -135,21 +135,22 @@ function wysiwyg_profile_form($form, &$form_state, $profile) { } $icon = file_exists($img_src) ? '<img src="' . base_path() . $img_src . '" title="' . $button . '" style="border: 1px solid grey; vertical-align: middle;" />' : ''; } - $title = (isset($meta['url']) ? l($title, $meta['url'], array('target' => '_blank')) : $title); - $title = (!empty($icon) ? $icon . ' ' . $title : $title); + $title = (!empty($icon) ? $icon . ' ' . check_plain($title) : check_plain($title)); $form['buttons'][$name][$button] = array( '#type' => 'checkbox', '#title' => $title, '#default_value' => !empty($profile->settings['buttons'][$name][$button]) ? $profile->settings['buttons'][$name][$button] : FALSE, + '#description' => isset($meta['url']) ? l($meta['url'], $meta['url']) : NULL, ); } } - else if (isset($meta['extensions']) && is_array($meta['extensions'])) { + elseif (isset($meta['extensions']) && is_array($meta['extensions'])) { foreach ($meta['extensions'] as $extension => $title) { $form['buttons'][$name][$extension] = array( '#type' => 'checkbox', - '#title' => isset($meta['url']) ? l($title, $meta['url'], array('target' => '_blank')) : $title, + '#title' => check_plain($title), '#default_value' => !empty($profile->settings['buttons'][$name][$extension]) ? $profile->settings['buttons'][$name][$extension] : FALSE, + '#description' => isset($meta['url']) ? l($meta['url'], $meta['url']) : NULL, ); } } @@ -299,6 +300,19 @@ function wysiwyg_profile_form($form, &$form_state, $profile) { '#weight' => 110, ); + // Supply contextual information for other callbacks and handlers. + // @todo Modernize this form for D7+ and declare these earlier. + // $profile is the primary object of this form, and as an entity, usually + // expected to live in $form_state[$entity_type]. + $form_state['wysiwyg_profile'] = $profile; + $form_state['wysiwyg']['editor'] = $editor; + $form_state['wysiwyg']['plugins'] = $plugins; + + // Allow editor library specific changes to be made to the form. + if (isset($editor['settings form callback'])) { + $editor['settings form callback']($form, $form_state); + } + return $form; } @@ -363,14 +377,11 @@ function theme_wysiwyg_admin_button_table($variables) { // Split checkboxes into rows with 3 columns. $total = count($buttons); $rows = array(); - for ($i = 0; $i < $total; $i++) { + for ($i = 0; $i < $total; $i += 3) { $row = array(); - $row[] = array('data' => $buttons[$i]); - if (isset($buttons[++$i])) { - $row[] = array('data' => $buttons[$i]); - } - if (isset($buttons[++$i])) { - $row[] = array('data' => $buttons[$i]); + $row_buttons = array_slice($buttons, $i, 3) + array_fill(0, 3, array()); + foreach ($row_buttons as $row_button) { + $row[] = array('data' => $row_button); } $rows[] = $row; } @@ -416,6 +427,11 @@ function wysiwyg_profile_overview($form, &$form_state) { $instructions = '<p>' . t('Extract the archive and copy its contents into a new folder in the following location:<br /><code>@editor-path</code>', $targs) . '</p>'; $instructions .= '<p>' . t('So the actual library can be found at:<br /><code>@library-filepath</code>', $targs) . '</p>'; + // Add any install notes. + if (!empty($editor['install note callback']) && function_exists($editor['install note callback'])) { + $instructions .= '<div class="editor-install-note">' . $editor['install note callback']() . '</div>'; + } + $status[$name]['description'] .= $instructions; $count--; } @@ -457,9 +473,20 @@ function wysiwyg_profile_overview($form, &$form_state) { // Only display editor selection for associated input formats to avoid // confusion about disabled selection. if (isset($profiles[$id]) && !empty($profiles[$id]->editor)) { + $editor_name = $profiles[$id]->editor; + $installed = !empty($editors[$editor_name]['installed']); $form['formats'][$id]['editor'] = array( - '#markup' => $options[$profiles[$id]->editor], + '#wysiwyg-editor-name' => $editor_name, ); + if ($installed) { + $form['formats'][$id]['editor']['#markup'] = $options[$editor_name]; + } + else { + drupal_set_message(t('Missing %editor library for %format format. Re-install the %editor library or delete the editor profile.', array( + '%editor' => $editors[$editor_name]['title'], + '%format' => $format->name, + )), 'warning'); + } } else { $form['formats'][$id]['editor'] = array( @@ -494,17 +521,28 @@ function theme_wysiwyg_profile_overview($variables) { if (!isset($form['formats'])) { return; } + $editors = wysiwyg_get_all_editors(); $output = ''; - $header = array(t('Input format'), t('Editor'), array('data' => t('Operations'), 'colspan' => 2)); + $header = array(t('Text format'), t('Editor'), array('data' => t('Operations'), 'colspan' => 2)); $rows = array(); foreach (element_children($form['formats']) as $item) { $format = &$form['formats'][$item]; - $rows[] = array( - drupal_render($format['name']), - drupal_render($format['editor']), - isset($format['edit']) ? drupal_render($format['edit']) : '', - isset($format['delete']) ? drupal_render($format['delete']) : '', + $row = array( + 'data' => array( + drupal_render($format['name']), + drupal_render($format['editor']), + isset($format['edit']) ? drupal_render($format['edit']) : '', + isset($format['delete']) ? drupal_render($format['delete']) : '', + ), ); + if (empty($row['data'][1])) { + $row['data'][1] = array( + 'data' => t('Missing library: @library', array('@library' => $editors[$format['editor']['#wysiwyg-editor-name']]['title'])), + 'class' => 'error', + ); + $row['class'] = array('error'); + } + $rows[] = $row; } $form['formats']['table']['#markup'] = theme('table', array('header' => $header, 'rows' => $rows)); $output .= drupal_render_children($form); @@ -554,4 +592,3 @@ function wysiwyg_profile_delete_confirm_submit($form, &$form_state) { drupal_set_message(t('Wysiwyg profile for %name has been deleted.', array('%name' => $format->name))); $form_state['redirect'] = 'admin/config/content/wysiwyg'; } - diff --git a/sites/all/modules/wysiwyg/wysiwyg.api.php b/sites/all/modules/wysiwyg/wysiwyg.api.php index 5f5b8390e2d031fb37094a885c76de044b51fe63..c4d885798d63725393fec896bce365288383826d 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.api.php +++ b/sites/all/modules/wysiwyg/wysiwyg.api.php @@ -172,6 +172,83 @@ function hook_INCLUDE_plugin() { return $plugins; } +/** + * Define a Wysiwyg editor library. + * + * @todo Complete this documentation. + */ +function hook_INCLUDE_editor() { + $editor['ckeditor'] = array( + // The official, human-readable label of the editor library. + 'title' => 'CKEditor', + // The URL to the library's homepage. + 'vendor url' => 'http://ckeditor.com', + // The URL to the library's download page. + 'download url' => 'http://ckeditor.com/download', + // A definition of available variants for the editor library. + // The first defined is used by default. + 'libraries' => array( + '' => array( + 'title' => 'Default', + 'files' => array( + 'ckeditor.js' => array('preprocess' => FALSE), + ), + ), + 'src' => array( + 'title' => 'Source', + 'files' => array( + 'ckeditor_source.js' => array('preprocess' => FALSE), + ), + ), + ), + // (optional) A callback to invoke to return additional notes for installing + // the editor library in the administrative list/overview. + 'install note callback' => 'wysiwyg_ckeditor_install_note', + // A callback to determine the library's version. + 'version callback' => 'wysiwyg_ckeditor_version', + // A callback to return available themes/skins for the editor library. + 'themes callback' => 'wysiwyg_ckeditor_themes', + // (optional) A callback to perform editor-specific adjustments or + // enhancements for the administrative editor profile settings form. + 'settings form callback' => 'wysiwyg_ckeditor_settings_form', + // (optional) A callback to return an initialization JavaScript snippet for + // this editor library, loaded before the actual library files. The returned + // JavaScript is executed as inline script in a primitive environment, + // before the DOM is loaded; typically used to prime a base path and other + // global window variables for the editor library before it is loaded. + // All implementations should verbosely document what they are doing and + // why that is required. + 'init callback' => 'wysiwyg_ckeditor_init', + // A callback to convert administrative profile/editor settings into + // JavaScript settings. + 'settings callback' => 'wysiwyg_ckeditor_settings', + // A callback to supply definitions of available editor plugins. + 'plugin callback' => 'wysiwyg_ckeditor_plugins', + // A callback to convert administrative plugin settings for a editor profile + // into JavaScript settings. + 'plugin settings callback' => 'wysiwyg_ckeditor_plugin_settings', + // (optional) Defines the proxy plugin that handles plugins provided by + // Drupal modules, which work in all editors that support proxy plugins. + 'proxy plugin' => array( + 'drupal' => array( + 'load' => TRUE, + 'proxy' => TRUE, + ), + ), + // (optional) A callback to convert proxy plugin settings into JavaScript + // settings. + 'proxy plugin settings callback' => 'wysiwyg_ckeditor_proxy_plugin_settings', + // Defines the list of supported (minimum) versions of the editor library, + // and the respective Drupal integration files to load. + 'versions' => array( + '3.0.0.3665' => array( + 'js files' => array('ckeditor-3.0.js'), + ), + ), + ); + return $editor; +} + /** * Act on editor profile settings. * diff --git a/sites/all/modules/wysiwyg/wysiwyg.dialog.inc b/sites/all/modules/wysiwyg/wysiwyg.dialog.inc index 500f78d70347cbde5800c587a083ccffa316c2d6..c296d2e030cf8d88d6356a6ccbb0101d6dfd2fe9 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.dialog.inc +++ b/sites/all/modules/wysiwyg/wysiwyg.dialog.inc @@ -6,7 +6,68 @@ */ /** - * Menu callback; Output a wysiwyg plugin dialog page. + * Page callback; Outputs a dialog page for a wysiwyg plugin. + * + * A Wysiwyg dialog is a bare minimum, simple HTML page; presented in a + * modal/popup window, triggered via JavaScript. + * + * However, Drupal core does not support such a concept, at all. + * Insanity happens on two separate layers: + * - All HTML pages go through the default delivery callback of + * drupal_deliver_html_page(), which calls into drupal_render_page(), which + * in turn *unconditionally* invokes hook_page_build() implementations. Thus, + * block_page_build() and similar implementations add the entirety of their + * page regions and blocks to our simple dialog page. + * Obviously, we don't want that. + * - There is a nice default 'page' theme template implementation, which + * performs all the heavy-lifting that is required for outputting a sane HTML + * page through preprocess and process functions. The theme system does not + * support to "inherit" preprocess and process hooks to alternative + * implementations. Even a very basic HTML page requires almost all of that. + * However, the default page template (normally overridden by a theme) + * contains too many regions and usually also huge a header and footer. + * Obviously, we don't want that. + * + * The poor workaround would be to follow the Overlay module's implementation in + * core: override the theme, build everything, and after doing all of that, + * strip away what isn't needed. Obviously, we don't want that. + * + * Instead, we bend Drupal to sane rules: + * - This page callback returns the actual main content. + * - wysiwyg_menu() defines a custom delivery callback that replaces + * drupal_deliver_html_page(), just because we need to replace + * drupal_render_page(). + * - Our replacement for drupal_render_page() builds a $page that does not use + * #type 'page' but #type 'wysiwyg_dialog_page' instead. + * - #type 'wysiwyg_dialog_page' is defined like #type 'page' in + * system_element_info(), but is required, because there's no way to inherit + * a theme definition but override the page template file to be used. + * - As a consequence, #type 'wysiwyg_dialog_page' uses + * #theme 'wysiwyg_dialog_page', for which we have to implement stub + * preprocess and process callbacks in order to call into the ones for + * #theme 'page'. + * + * As a result we get: + * - A HTML response. + * - A HTML page wrapped into html.tpl.php. + * - A page title, title prefix/suffix, messages, help, etc.pp. + * - A simple page without regions and blocks (neither built nor rendered). + * + * @see wysiwyg_menu() + * @see wysiwyg_deliver_dialog_page + * @see wysiwyg_render_dialog_page() + * @see wysiwyg_element_info() + * @see wysiwyg_theme() + * @see template_preprocess_wysiwyg_dialog_page() + * @see template_process_wysiwyg_dialog_page() + * + * @see drupal_deliver_page() + * @see drupal_deliver_html_page() + * @see drupal_render_page() + * @see system_element_info() + * @see drupal_common_theme() + * @see template_preprocess_page() + * @see template_process_page() */ function wysiwyg_dialog($plugin, $instance) { $plugins = wysiwyg_get_all_plugins(); @@ -27,7 +88,74 @@ function wysiwyg_dialog($plugin, $instance) { ); drupal_add_js(array('wysiwyg' => $settings), 'setting'); - echo theme('wysiwyg_dialog_page', $callback($instance)); + $build = $callback($instance); + if (!is_array($build)) { + $build = array('#markup' => $build); + } + $build += array( + '#instance' => $instance, + '#plugin' => $plugin, + ); + return $build; +} + +/** + * @see drupal_deliver_html_page() + */ +function wysiwyg_deliver_dialog_page($page_callback_result) { + // Menu status constants are integers; page content is a string or array. + if (is_int($page_callback_result)) { + return drupal_deliver_html_page($page_callback_result); + } + + // Emit the correct charset HTTP header, but not if the page callback + // result is NULL, since that likely indicates that it printed something + // in which case, no further headers may be sent, and not if code running + // for this page request has already set the content type header. + if (isset($page_callback_result) && is_null(drupal_get_http_header('Content-Type'))) { + drupal_add_http_header('Content-Type', 'text/html; charset=utf-8'); + } + + // Send appropriate HTTP-Header for browsers and search engines. + global $language; + drupal_add_http_header('Content-Language', $language->language); + + if (isset($page_callback_result)) { + // Print anything besides a menu constant, assuming it's not NULL or + // undefined. + print wysiwyg_render_dialog_page($page_callback_result); + } + + // Perform end-of-request tasks. + drupal_page_footer(); +} + +/** + * @see drupal_render_page() + */ +function wysiwyg_render_dialog_page($page) { + $main_content_display = &drupal_static('system_main_content_added', FALSE); + + // Allow menu callbacks to return strings or arbitrary arrays to render. + // If the array returned is not of #type page directly, we need to fill + // in the page with defaults. + if (is_string($page) || (is_array($page) && (!isset($page['#type']) || ($page['#type'] != 'page')))) { + drupal_set_page_content($page); + $page = element_info('wysiwyg_dialog_page'); + } + + // Modules alter the $page as needed. Blocks are populated into regions like + // 'sidebar_first', 'footer', etc. + drupal_alter(array('wysiwyg_dialog_page', 'page'), $page); + + // If no module has taken care of the main content, add it to the page now. + // This allows the site to still be usable even if no modules that + // control page regions (for example, the Block module) are enabled. + if (!$main_content_display) { + $page['content']['system_main'] = drupal_set_page_content(); + } + + return drupal_render($page); } /** @@ -35,29 +163,21 @@ function wysiwyg_dialog($plugin, $instance) { * * @see wysiwyg_dialog() * @see wysiwyg-dialog-page.tpl.php - * @see template_preprocess() + * @see template_preprocess_page() */ function template_preprocess_wysiwyg_dialog_page(&$variables) { - // Construct page title - $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal')); - - $variables['head_title'] = implode(' | ', $head_title); - $variables['base_path'] = base_path(); - $variables['front_page'] = url(); - // @todo Would a breadcrumb make sense / possible at all? - // $variables['breadcrumb'] = theme('breadcrumb', drupal_get_breadcrumb()); - $variables['head'] = drupal_get_html_head(); - $variables['help'] = theme('help'); - $variables['language'] = $GLOBALS['language']; - $variables['language']->dir = $GLOBALS['language']->direction ? 'rtl' : 'ltr'; - $variables['messages'] = $variables['show_messages'] ? theme('status_messages') : ''; - $variables['site_name'] = (theme_get_setting('toggle_name') ? variable_get('site_name', 'Drupal') : ''); - $variables['css'] = drupal_add_css(); - $variables['styles'] = drupal_get_css(); - $variables['scripts'] = drupal_get_js(); - $variables['tabs'] = theme('menu_local_tasks'); - $variables['title'] = drupal_get_title(); - // Closure should be filled last. - $variables['closure'] = theme('closure'); + template_preprocess_page($variables); +} + + +/** + * Template process function for theme_wysiwyg_dialog_page(). + * + * @see wysiwyg_dialog() + * @see wysiwyg-dialog-page.tpl.php + * @see template_process_page() + */ +function template_process_wysiwyg_dialog_page(&$variables) { + template_process_page($variables); } diff --git a/sites/all/modules/wysiwyg/wysiwyg.features.inc b/sites/all/modules/wysiwyg/wysiwyg.features.inc new file mode 100644 index 0000000000000000000000000000000000000000..5edd6421b85f7e0435ecf3147bd415470b188e23 --- /dev/null +++ b/sites/all/modules/wysiwyg/wysiwyg.features.inc @@ -0,0 +1,92 @@ +<?php + +/** + * Implements hook_features_export_options(). + */ +function wysiwyg_features_export_options() { + $profiles = array(); + + // Get human-readable name from filter module. + $formats = filter_formats(); + + foreach (array_keys(wysiwyg_profile_load_all()) as $format) { + // Text format may vanish without deleting the wysiwyg profile. + if (isset($formats[$format])) { + $profiles[$format] = $formats[$format]->name; + } + } + return $profiles; +} + +/** + * Implements hook_features_export(). + */ +function wysiwyg_features_export($data, &$export, $module_name = '') { + $pipe = array(); + + // The wysiwyg_default_formats() hook integration is provided by the + // features module so we need to add it as a dependency. + $export['dependencies']['features'] = 'features'; + $export['dependencies']['wysiwyg'] = 'wysiwyg'; + + foreach ($data as $name) { + if ($profile = wysiwyg_get_profile($name)) { + // Add profile to exports. + $export['features']['wysiwyg'][$profile->format] = $profile->format; + + // Chain filter format for export. + $pipe['filter'][] = $profile->format; + } + } + + return $pipe; +} + +/** + * Implements hook_features_export_render(). + */ +function wysiwyg_features_export_render($module, $data, $export = NULL) { + $code = array(); + $code[] = ' $profiles = array();'; + $code[] = ''; + + foreach ($data as $name) { + if ($profile = wysiwyg_get_profile($name)) { + $profile_export = features_var_export($profile, ' '); + $profile_identifier = features_var_export($profile->format); + $code[] = " // Exported profile: {$profile->format}"; + $code[] = " \$profiles[{$profile_identifier}] = {$profile_export};"; + $code[] = ""; + } + } + + $code[] = ' return $profiles;'; + $code = implode("\n", $code); + return array('wysiwyg_default_profiles' => $code); +} + +/** + * Implements hook_features_revert(). + */ +function wysiwyg_features_revert($module) { + return wysiwyg_features_rebuild($module); +} + +/** + * Implements hook_features_rebuild(). + */ +function wysiwyg_features_rebuild($module) { + if ($defaults = features_get_default('wysiwyg', $module)) { + foreach ($defaults as $profile) { + db_merge('wysiwyg') + ->key(array('format' => $profile['format'])) + ->fields(array( + 'editor' => $profile['editor'], + 'settings' => serialize($profile['settings']), + )) + ->execute(); + } + wysiwyg_profile_cache_clear(); + } +} + diff --git a/sites/all/modules/wysiwyg/wysiwyg.info b/sites/all/modules/wysiwyg/wysiwyg.info index 840817ae61b31bc7e8f5bb1cc288ca12429c58be..5f70c0cbb7d4b5d7dc69a41f9780d954dfba2a9e 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.info +++ b/sites/all/modules/wysiwyg/wysiwyg.info @@ -9,9 +9,9 @@ configure = admin/config/content/wysiwyg files[] = wysiwyg.module files[] = tests/wysiwyg.test -; Information added by drupal.org packaging script on 2011-06-19 -version = "7.x-2.1" +; Information added by drupal.org packaging script on 2012-10-02 +version = "7.x-2.2" core = "7.x" project = "wysiwyg" -datestamp = "1308450722" +datestamp = "1349213776" diff --git a/sites/all/modules/wysiwyg/wysiwyg.install b/sites/all/modules/wysiwyg/wysiwyg.install index 038ba46be781a7545f5e02a399217aed6c092b88..e5dd046d90a186d3922dd51ba2e9c71cd62ae52d 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.install +++ b/sites/all/modules/wysiwyg/wysiwyg.install @@ -30,6 +30,7 @@ function wysiwyg_schema() { 'description' => 'Configuration settings for the editor.', 'type' => 'text', 'size' => 'normal', + 'serialize' => TRUE, ), ), 'primary key' => array('format'), diff --git a/sites/all/modules/wysiwyg/wysiwyg.js b/sites/all/modules/wysiwyg/wysiwyg.js index 72ca15697fc1feeb07c056905a6f9db26d37f17e..29e2c54b8c35dfdaba8d2455c7fe5bf08c955b11 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.js +++ b/sites/all/modules/wysiwyg/wysiwyg.js @@ -11,7 +11,6 @@ Drupal.wysiwygInit = function() { if (/KDE/.test(navigator.vendor)) { return; } - jQuery.each(Drupal.wysiwyg.editor.init, function(editor) { // Clone, so original settings are not overwritten. this(jQuery.extend(true, {}, Drupal.settings.wysiwyg.configs[editor])); @@ -38,13 +37,13 @@ Drupal.wysiwygInit = function() { * A DOM element, supplied by Drupal.attachBehaviors(). */ Drupal.behaviors.attachWysiwyg = { - attach: function(context, settings) { + attach: function (context, settings) { // This breaks in Konqueror. Prevent it from running. if (/KDE/.test(navigator.vendor)) { return; } - $('.wysiwyg', context).once('wysiwyg', function() { + $('.wysiwyg', context).once('wysiwyg', function () { if (!this.id || typeof Drupal.settings.wysiwyg.triggers[this.id] === 'undefined') { return; } @@ -76,9 +75,27 @@ Drupal.behaviors.attachWysiwyg = { if (event.isDefaultPrevented()) { return; } - Drupal.wysiwygDetach(context, params[format]); + Drupal.wysiwygDetach(context, params[format], 'serialize'); }); }); + }, + + detach: function (context, settings, trigger) { + var wysiwygs; + // The 'serialize' trigger indicates that we should simply update the + // underlying element with the new text, without destroying the editor. + if (trigger == 'serialize') { + // Removing the wysiwyg-processed class guarantees that the editor will + // be reattached. Only do this if we're planning to destroy the editor. + wysiwygs = $('.wysiwyg-processed', context); + } + else { + wysiwygs = $('.wysiwyg', context).removeOnce('wysiwyg'); + } + wysiwygs.each(function () { + var params = Drupal.settings.wysiwyg.triggers[this.id]; + Drupal.wysiwygDetach(context, params, trigger); + }); } }; @@ -136,11 +153,20 @@ Drupal.wysiwygAttach = function(context, params) { * A DOM element, supplied by Drupal.attachBehaviors(). * @param params * An object containing input format parameters. + * @param trigger + * A string describing what is causing the editor to be detached. + * + * @see Drupal.detachBehaviors */ -Drupal.wysiwygDetach = function(context, params) { +Drupal.wysiwygDetach = function (context, params, trigger) { + // Do not attempt to detach an unknown editor instance (Ajax). + if (typeof Drupal.wysiwyg.instances[params.field] == 'undefined') { + return; + } + trigger = trigger || 'unload'; var editor = Drupal.wysiwyg.instances[params.field].editor; if (jQuery.isFunction(Drupal.wysiwyg.editor.detach[editor])) { - Drupal.wysiwyg.editor.detach[editor](context, params); + Drupal.wysiwyg.editor.detach[editor](context, params, trigger); } }; @@ -187,6 +213,7 @@ Drupal.wysiwyg.toggleWysiwyg = function (event) { Drupal.wysiwyg.editor.attach.none(context, params); Drupal.wysiwyg.instances[params.field] = Drupal.wysiwyg.editor.instance.none; Drupal.wysiwyg.instances[params.field].editor = 'none'; + Drupal.wysiwyg.instances[params.field].field = params.field; $(this).html(Drupal.settings.wysiwyg.enable).blur(); } else { @@ -234,4 +261,9 @@ Drupal.wysiwyg.getParams = function(element, params) { */ Drupal.wysiwygInit(); +// Respond to CTools detach behaviors event. +$(document).bind('CToolsDetachBehaviors', function(event, context) { + Drupal.behaviors.attachWysiwyg.detach(context, {}, 'unload'); +}); + })(jQuery); diff --git a/sites/all/modules/wysiwyg/wysiwyg.module b/sites/all/modules/wysiwyg/wysiwyg.module index 771cbd79a8597e0a87c259d9d93d09db7cf07c13..22130eab9485ff876f029519a7e2f929aecf4b73 100644 --- a/sites/all/modules/wysiwyg/wysiwyg.module +++ b/sites/all/modules/wysiwyg/wysiwyg.module @@ -79,9 +79,11 @@ function wysiwyg_menu() { 'type' => MENU_LOCAL_TASK, 'weight' => 10, ); + // @see wysiwyg_dialog() $items['wysiwyg/%'] = array( 'page callback' => 'wysiwyg_dialog', 'page arguments' => array(1), + 'delivery callback' => 'wysiwyg_deliver_dialog_page', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, 'file' => 'wysiwyg.dialog.inc', @@ -89,6 +91,19 @@ function wysiwyg_menu() { return $items; } +/** + * Implements hook_element_info(). + */ +function wysiwyg_element_info() { + // @see wysiwyg_dialog() + $types['wysiwyg_dialog_page'] = array( + '#theme' => 'wysiwyg_dialog_page', + '#theme_wrappers' => array('html'), + '#show_messages' => TRUE, + ); + return $types; +} + /** * Implementation of hook_theme(). * @@ -103,8 +118,9 @@ function wysiwyg_theme() { 'wysiwyg_admin_button_table' => array( 'render element' => 'form', ), + // @see wysiwyg_dialog() 'wysiwyg_dialog_page' => array( - 'variables' => array('content' => NULL, 'show_messages' => TRUE), + 'render element' => 'page', 'file' => 'wysiwyg.dialog.inc', 'template' => 'wysiwyg-dialog-page', ), @@ -117,7 +133,7 @@ function wysiwyg_theme() { function wysiwyg_help($path, $arg) { switch ($path) { case 'admin/config/content/wysiwyg': - $output = '<p>' . t('A Wysiwyg profile is associated with an input format. A Wysiwyg profile defines which client-side editor is loaded with a particular input format, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions.') . '</p>'; + $output = '<p>' . t('A Wysiwyg profile is associated with a text format. A Wysiwyg profile defines which client-side editor is loaded with a particular text format, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions.') . '</p>'; return $output; } } @@ -286,6 +302,7 @@ function wysiwyg_get_profile($format) { function wysiwyg_load_editor($profile) { static $settings_added; static $loaded = array(); + $path = drupal_get_path('module', 'wysiwyg'); $name = $profile->editor; // Library files must be loaded only once. @@ -293,6 +310,13 @@ function wysiwyg_load_editor($profile) { // Load editor. $editor = wysiwyg_get_editor($name); if ($editor) { + $default_library_options = array( + 'type' => 'file', + 'scope' => 'header', + 'defer' => FALSE, + 'cache' => TRUE, + 'preprocess' => TRUE, + ); // Determine library files to load. // @todo Allow to configure the library/execMode to use. if (isset($profile->settings['library']) && isset($editor['libraries'][$profile->settings['library']])) { @@ -305,9 +329,33 @@ function wysiwyg_load_editor($profile) { $files = array_shift($editor['libraries']); $files = $files['files']; } + + // Check whether the editor requires an initialization script. + if (!empty($editor['init callback'])) { + $init = $editor['init callback']($editor, $library, $profile); + if (!empty($init)) { + // Build a file for each of the editors to hold the init scripts. + // @todo Aggregate all initialization scripts into one file. + $uri = 'public://js/wysiwyg/wysiwyg_' . $name . '_' . drupal_hash_base64($init) . '.js'; + $init_exists = file_exists($uri); + if (!$init_exists) { + $js_path = dirname($uri); + file_prepare_directory($js_path, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS); + } + // Attempt to create the file, or fall back to an inline script (which + // will not work in Ajax calls). + if (!$init_exists && !file_unmanaged_save_data($init, $uri, FILE_EXISTS_REPLACE)) { + drupal_add_js($init, array('type' => 'inline') + $default_library_options); + } + else { + drupal_add_js(file_create_url($uri), $default_library_options); + } + } + } + foreach ($files as $file => $options) { if (is_array($options)) { - $options += array('type' => 'file', 'scope' => 'header', 'defer' => FALSE, 'cache' => TRUE, 'preprocess' => TRUE); + $options += $default_library_options; drupal_add_js($editor['library path'] . '/' . $file, $options); } else { @@ -335,17 +383,6 @@ function wysiwyg_load_editor($profile) { foreach ($files as $file) { drupal_add_css($editor['css path'] . '/' . $file); } - - drupal_add_js(array('wysiwyg' => array( - 'configs' => array($editor['name'] => array('global' => array( - // @todo Move into (global) editor settings. - // If JS compression is enabled, at least TinyMCE is unable to determine - // its own base path and exec mode since it can't find the script name. - 'editorBasePath' => base_path() . $editor['library path'], - 'execMode' => $library, - ))), - )), 'setting'); - $loaded[$name] = TRUE; } else { @@ -362,7 +399,6 @@ function wysiwyg_load_editor($profile) { 'enable' => t('Enable rich-text'), )), 'setting'); - $path = drupal_get_path('module', 'wysiwyg'); // Initialize our namespaces in the *header* to do not force editor // integration scripts to check and define Drupal.wysiwyg on its own. drupal_add_js($path . '/wysiwyg.init.js', array('group' => JS_LIBRARY)); @@ -619,7 +655,10 @@ function wysiwyg_get_css() { $files = array(); foreach (drupal_add_css() as $filepath => $info) { if ($info['group'] >= CSS_THEME && $info['media'] != 'print') { - if (file_exists($filepath)) { + if ($info['type'] == 'external') { + $files[] = $filepath; + } + elseif (file_exists($filepath)) { $files[] = base_path() . $filepath; } } @@ -809,6 +848,7 @@ function wysiwyg_get_all_editors() { 'libraries' => array(), 'version callback' => NULL, 'themes callback' => NULL, + 'settings form callback' => NULL, 'settings callback' => NULL, 'plugin callback' => NULL, 'plugin settings callback' => NULL, @@ -1077,3 +1117,19 @@ function _wysiwyg_process_include($module, $identifier, $path, $hook) { /** * @} End of "defgroup wysiwyg_api". */ + +/** + * Implements hook_features_api(). + */ +function wysiwyg_features_api() { + return array( + 'wysiwyg' => array( + 'name' => t('Wysiwyg profiles'), + 'default_hook' => 'wysiwyg_default_profiles', + 'default_file' => FEATURES_DEFAULTS_INCLUDED, + 'feature_source' => TRUE, + 'file' => drupal_get_path('module', 'wysiwyg') . '/wysiwyg.features.inc', + ), + ); +} +