├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── app └── assets │ ├── javascripts │ ├── froala_editor.min.js │ ├── languages │ │ ├── ar.js │ │ ├── bs.js │ │ ├── cs.js │ │ ├── da.js │ │ ├── de.js │ │ ├── en_ca.js │ │ ├── en_gb.js │ │ ├── es.js │ │ ├── et.js │ │ ├── fa.js │ │ ├── fi.js │ │ ├── fr.js │ │ ├── he.js │ │ ├── hr.js │ │ ├── hu.js │ │ ├── id.js │ │ ├── it.js │ │ ├── ja.js │ │ ├── ko.js │ │ ├── me.js │ │ ├── nb.js │ │ ├── nl.js │ │ ├── pl.js │ │ ├── pt_br.js │ │ ├── pt_pt.js │ │ ├── ro.js │ │ ├── ru.js │ │ ├── sr.js │ │ ├── sv.js │ │ ├── th.js │ │ ├── tr.js │ │ ├── ua.js │ │ ├── uk.js │ │ ├── zh_cn.js │ │ └── zh_tw.js │ └── plugins │ │ ├── align.min.js │ │ ├── char_counter.min.js │ │ ├── code_beautifier.min.js │ │ ├── code_view.min.js │ │ ├── colors.min.js │ │ ├── emoticons.min.js │ │ ├── entities.min.js │ │ ├── file.min.js │ │ ├── font_family.min.js │ │ ├── font_size.min.js │ │ ├── fullscreen.min.js │ │ ├── image.min.js │ │ ├── image_manager.min.js │ │ ├── inline_style.min.js │ │ ├── line_breaker.min.js │ │ ├── link.min.js │ │ ├── lists.min.js │ │ ├── paragraph_format.min.js │ │ ├── paragraph_style.min.js │ │ ├── quick_insert.min.js │ │ ├── quote.min.js │ │ ├── save.min.js │ │ ├── support_qiniu.min.js │ │ ├── table.min.js │ │ ├── url.min.js │ │ └── video.min.js │ └── stylesheets │ ├── froala_editor.min.css │ ├── froala_style.min.css │ ├── plugins │ ├── char_counter.min.css │ ├── code_view.min.css │ ├── colors.min.css │ ├── emoticons.min.css │ ├── file.min.css │ ├── fullscreen.min.css │ ├── image.min.css │ ├── image_manager.min.css │ ├── line_breaker.min.css │ ├── quick_insert.min.css │ ├── table.min.css │ └── video.min.css │ └── themes │ ├── dark.min.css │ ├── gray.min.css │ ├── red.min.css │ └── royal.min.css ├── lib ├── wysiwyg-rails-qiniu.rb └── wysiwyg-rails-qiniu │ ├── engine.rb │ └── version.rb └── wysiwyg-rails-qiniu.gemspec /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | Gemfile.lock 4 | gemfiles/*.lock 5 | pkg/* 6 | bin 7 | vendor/ruby 8 | gemfiles/vendor/ruby 9 | .rbenv-version 10 | .sass-cache 11 | .idea 12 | *~ 13 | .DS_Store 14 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | cache: bundler 3 | rvm: 4 | - 1.9.3 5 | - 2.0.0 6 | - 2.1.0 7 | gemfile: 8 | - Gemfile 9 | before_install: 10 | - gem update bundler -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Froala 2 | 3 | MIT License 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wysiwyg-rails-qiniu 2 | 3 | wysiwyg-rails-qiniu 是基于 [wysiwyg-rails](https://rubygems.org/gems/wysiwyg-rails)制作, 上传的资源直接支持七牛云存储 4 | 在使用该gem包前,你得会使用七牛云存储 5 | 6 | ## 安装 7 | 8 | 添加下面代码到你的 Gemfile: 9 | 10 | ```ruby 11 | gem "wysiwyg-rails-qiniu" 12 | ``` 13 | 14 | 然后运行 `bundle install`. 15 | 16 | ## 将资源文件加入到你的 `assets`目录 17 | 18 | 在你的 `application.css` 文件中, 引入下列文件: 19 | 20 | ```css 21 | /* 22 | *= require froala_editor.min.css 23 | *= require froala_style.min.css 24 | *= require font-awesome 25 | */ 26 | ``` 27 | 28 | 如果你想使用黑色主题, 你可以加入 `themes/dark.min.css` 到`application.css`文件中. 29 | 30 | 在你的 `application.js`, 引入以下文件: 31 | 32 | ```javascript 33 | // 34 | //= require froala_editor.min.js 35 | // 36 | ``` 37 | 38 | 如果你想使用更多功能插件 [Available Plugins](https://froala.com/wysiwyg-editor/docs/plugins), 你应该将下面的这些文件加入的 `application.js` 和 `application.css`. 39 | 其中`support_qiniu.min.js`是必须要引入的,否则无法使用七牛云存储 40 | ```javascript 41 | // Include other plugins. 42 | //= require plugins/support_qiniu.min.js 43 | //= require plugins/align.min.js 44 | //= require plugins/char_counter.min.js 45 | //= require plugins/code_beautifier.min.js 46 | //= require plugins/code_view.min.js 47 | //= require plugins/colors.min.js 48 | //= require plugins/emoticons.min.js 49 | //= require plugins/entities.min.js 50 | //= require plugins/file.min.js 51 | //= require plugins/font_family.min.js 52 | //= require plugins/font_size.min.js 53 | //= require plugins/fullscreen.min.js 54 | //= require plugins/image.min.js 55 | //= require plugins/image_manager.min.js 56 | //= require plugins/inline_style.min.js 57 | //= require plugins/line_breaker.min.js 58 | //= require plugins/link.min.js 59 | //= require plugins/lists.min.js 60 | //= require plugins/paragraph_format.min.js 61 | //= require plugins/paragraph_style.min.js 62 | //= require plugins/quick_insert.min.js 63 | //= require plugins/quote.min.js 64 | //= require plugins/save.min.js 65 | //= require plugins/table.min.js 66 | //= require plugins/url.min.js 67 | //= require plugins/video.min.js 68 | ``` 69 | 70 | ```css 71 | /* 72 | *= require plugins/char_counter.min.css 73 | *= require plugins/code_view.min.css 74 | *= require plugins/colors.min.css 75 | *= require plugins/emoticons.min.css 76 | *= require plugins/file.min.css 77 | *= require plugins/fullscreen.min.css 78 | *= require plugins/image_manager.min.css 79 | *= require plugins/image.min.css 80 | *= require plugins/line_breaker.min.css 81 | *= require plugins/quick_insert.min.css 82 | *= require plugins/table.min.css 83 | *= require plugins/video.min.css 84 | */ 85 | ``` 86 | 87 | 同样的,如果你要使用中文语言包,请加入响应的js 88 | 89 | ```javascript 90 | // Include Language if needed 91 | //= require languages/zh_cn.js 92 | ``` 93 | 94 | 到目前位置你已经配置好编辑的基本资源,你需要重启rails服务器 95 | ## 初始化编辑器 96 | 97 | 详细文档请参见作者官网,提供了初始化代码 [Froala WYSIWYG Editor official documentation](https://www.froala.com/wysiwyg-editor/docs). 98 | 99 | 这里提供部分示例代码, 在使用下面代码之前你应该需要知道如何生成七牛上传凭证 100 | ```javascript 101 | $(function() { 102 | $('#edit').froalaEditor({ 103 | language: "zh_cn", 104 | width: 900, 105 | heightMin: 300, 106 | heightMax: 500, 107 | requestWithCORS: false, 108 | 109 | //图片上传配置(必须) 110 | imageUploadDomain: "<%= Rails.application.config.qiniu_domain %>", //七牛云存储空间域名地址 111 | imageUploadParam: 'file', 112 | imageUploadURL: 'http://upload.qiniu.com', //七牛上传服务器, 如果是海外服务器为 http://up.qiniu.com 113 | imageUploadParams: { token: '<%= @uptoken %>'}, //上传凭证, 详细规则查看七牛官方文档 114 | imageUploadMethod: 'POST', 115 | imageMaxSize: 5 * 1024 * 1024, 116 | imageAllowedTypes: ['jpeg', 'jpg', 'png'], 117 | 118 | //文件上传配置(必须) 119 | fileUploadDomain: "<%= Rails.application.config.qiniu_domain %>", //七牛云存储空间域名地址 120 | fileUploadParam: 'file', 121 | fileUploadURL: 'http://upload.qiniu.com', //同上 122 | fileUploadParams: { token: '<%= @uptoken %>'}, //同上 123 | fileUploadMethod: 'POST', 124 | fileMaxSize: 20 * 1024 * 1024, 125 | fileAllowedTypes: ['*'] 126 | }); 127 | }); 128 | ``` 129 | 130 | ## 配置代码视图 131 | 使用代码视图加高亮效果,可加入以下代码,也可以使用[codemirror-rails](https://rubygems.org/gems/codemirror-rails)这个gem包 132 | 133 | ```html 134 | 135 | 136 | 137 | ``` 138 | 139 | ## 许可 140 | 141 | wyg-rails项目是在麻省理工学院的许可。然而,为了使用Froala WYSIWYG HTML编辑器插件你应该购买一个许可证。 142 | 下面是许可链接,请支持源作者 143 | Froala Editor has [3 different licenses](https://froala.com/wysiwyg-editor/pricing). 144 | For details please see [License Agreement](https://froala.com/wysiwyg-editor/terms). 145 | 146 | ## 致谢 147 | 感谢Froala项目作者的贡献, 我在项目的原基础上增加了对七牛云存储的支持. 148 | 如果你需要使用其它的云存储平台,请使用[wysiwyg-rails](https://rubygems.org/gems/wysiwyg-rails)进行自定义配置 149 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rake/testtask" 3 | 4 | Rake::TestTask.new(:test) 5 | 6 | task :default => :test -------------------------------------------------------------------------------- /app/assets/javascripts/languages/bs.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Bosnian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['bs'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Ukucajte ne\u0161tp", 15 | 16 | // Basic formatting 17 | "Bold": "Bold", 18 | "Italic": "Italic", 19 | "Underline": "Podvu\u010deno", 20 | "Strikethrough": "Precrtano", 21 | 22 | // Main buttons 23 | "Insert": "Umetni", 24 | "Delete": "Obri\u0161i", 25 | "Cancel": "Otka\u017ei", 26 | "OK": "U redu", 27 | "Back": "Natrag", 28 | "Remove": "Ukloni", 29 | "More": "Vi\u0161e", 30 | "Update": "A\u017euriranje", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Odaberi font", 35 | "Font Size": "Veli\u010dina fonta", 36 | 37 | // Colors 38 | "Colors": "Boje", 39 | "Background": "Pozadine", 40 | "Text": "Teksta", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Paragraf formatu", 44 | "Normal": "Normalno", 45 | "Code": "Izvorni kod", 46 | "Heading 1": "Naslov 1", 47 | "Heading 2": "Naslov 2", 48 | "Heading 3": "Naslov 3", 49 | "Heading 4": "Naslov 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraf stil", 53 | "Inline Style": "Inline stil", 54 | 55 | // Alignment 56 | "Alignment": "Poravnanje", 57 | "Align Left": "Poravnaj lijevo", 58 | "Align Center": "Poravnaj po sredini", 59 | "Align Right": "Poravnaj desno", 60 | "Align Justify": "Obostrano poravnanje", 61 | "None": "Nijedan", 62 | 63 | // Lists 64 | "Ordered List": "Ure\u0111ena lista", 65 | "Unordered List": "Nesre\u0111ene lista", 66 | 67 | // Indent 68 | "Decrease Indent": "Smanjenje alineja", 69 | "Increase Indent": "Pove\u0107anje alineja", 70 | 71 | // Links 72 | "Insert Link": "Umetni link", 73 | "Open in new tab": "Otvori u novom prozoru", 74 | "Open Link": "Otvori link", 75 | "Edit Link": "Uredi link", 76 | "Unlink": "Ukloni link", 77 | "Choose Link": "Izabrati link", 78 | 79 | // Images 80 | "Insert Image": "Umetni sliku", 81 | "Upload Image": "Upload sliku", 82 | "By URL": "Preko URL", 83 | "Browse": "Pregledaj", 84 | "Drop image": "Izbaci sliku", 85 | "or click": "ili odaberi", 86 | "Manage Images": "Upravljanje ilustracijama", 87 | "Loading": "Koji tovari", 88 | "Deleting": "Brisanje", 89 | "Tags": "Oznake", 90 | "Are you sure? Image will be deleted.": "Da li ste sigurni da \u017eelite da obri\u0161ete ovu ilustraciju?", 91 | "Replace": "Zamijenite", 92 | "Uploading": "Uploading", 93 | "Loading image": "Koji tovari sliku", 94 | "Display": "Prikaz", 95 | "Inline": "Inline", 96 | "Break Text": "Break tekst", 97 | "Alternate Text": "Alternativna tekst", 98 | "Change Size": "Promijeni veli\u010dinu", 99 | "Width": "\u0161irina", 100 | "Height": "Visina", 101 | "Something went wrong. Please try again.": "Ne\u0161to je po\u0161lo po zlu. Molimo vas da poku\u0161ate ponovo.", 102 | 103 | // Video 104 | "Insert Video": "Umetni video", 105 | "Embedded Code": "Embedded kod", 106 | 107 | // Tables 108 | "Insert Table": "Umetni tabelu", 109 | "Header": "Zaglavlje", 110 | "Row": "Red", 111 | "Insert row above": "Umetni red iznad", 112 | "Insert row below": "Umetni red ispod", 113 | "Delete row": "Obri\u0161i red", 114 | "Column": "Kolona", 115 | "Insert column before": "Umetni kolonu prije", 116 | "Insert column after": "Umetni kolonu poslije", 117 | "Delete column": "Obri\u0161i kolonu", 118 | "Cell": "\u0106elija", 119 | "Merge cells": "Spoji \u0107elija", 120 | "Horizontal split": "Horizontalno razdvajanje polja", 121 | "Vertical split": "Vertikalno razdvajanje polja", 122 | "Cell Background": "\u0106elija pozadini", 123 | "Vertical Align": "Vertikalni poravnaj", 124 | "Top": "Vrh", 125 | "Middle": "Srednji", 126 | "Bottom": "Dno", 127 | "Align Top": "Poravnaj vrh", 128 | "Align Middle": "Poravnaj srednji", 129 | "Align Bottom": "Poravnaj dno", 130 | "Cell Style": "\u0106elija stil", 131 | 132 | // Files 133 | "Upload File": "Upload datoteke", 134 | "Drop file": "Drop datoteke", 135 | 136 | // Emoticons 137 | "Emoticons": "Emotikona", 138 | "Grinning face": "Cere\u0107i lice", 139 | "Grinning face with smiling eyes": "Cere\u0107i lice nasmijana o\u010dima", 140 | "Face with tears of joy": "Lice sa suze radosnice", 141 | "Smiling face with open mouth": "Nasmijana lica s otvorenih usta", 142 | "Smiling face with open mouth and smiling eyes": "Nasmijana lica s otvorenih usta i nasmijana o\u010di", 143 | "Smiling face with open mouth and cold sweat": "Nasmijana lica s otvorenih usta i hladan znoj", 144 | "Smiling face with open mouth and tightly-closed eyes": "Nasmijana lica s otvorenih usta i \u010dvrsto-zatvorenih o\u010diju", 145 | "Smiling face with halo": "Nasmijana lica sa halo", 146 | "Smiling face with horns": "Nasmijana lica s rogovima", 147 | "Winking face": "Namigivanje lice", 148 | "Smiling face with smiling eyes": "Nasmijana lica sa nasmijana o\u010dima", 149 | "Face savoring delicious food": "Suo\u010davaju u\u017eivaju\u0107i ukusna hrana", 150 | "Relieved face": "Laknulo lice", 151 | "Smiling face with heart-shaped eyes": "Nasmijana lica sa obliku srca o\u010di", 152 | "Smiling face with sunglasses": "Nasmijana lica sa sun\u010dane nao\u010dare", 153 | "Smirking face": "Namr\u0161tena lica", 154 | "Neutral face": "Neutral lice", 155 | "Expressionless face": "Bezizra\u017eajno lice", 156 | "Unamused face": "Nije zabavno lice", 157 | "Face with cold sweat": "Lice s hladnim znojem", 158 | "Pensive face": "Zami\u0161ljen lice", 159 | "Confused face": "Zbunjen lice", 160 | "Confounded face": "Uzbu\u0111en lice", 161 | "Kissing face": "Ljubakanje lice", 162 | "Face throwing a kiss": "Suo\u010davaju bacanje poljubac", 163 | "Kissing face with smiling eyes": "Ljubljenje lice nasmijana o\u010dima", 164 | "Kissing face with closed eyes": "Ljubljenje lice sa zatvorenim o\u010dima", 165 | "Face with stuck out tongue": "Lice sa ispru\u017eio jezik", 166 | "Face with stuck out tongue and winking eye": "Lice sa ispru\u017eio jezik i trep\u0107u\u0107e \u0107e oko", 167 | "Face with stuck out tongue and tightly-closed eyes": "Lice sa ispru\u017eio jezik i \u010dvrsto zatvorene o\u010di", 168 | "Disappointed face": "Razo\u010daran lice", 169 | "Worried face": "Zabrinuti lice", 170 | "Angry face": "Ljut lice", 171 | "Pouting face": "Napu\u0107enim lice", 172 | "Crying face": "Plakanje lice", 173 | "Persevering face": "Istrajan lice", 174 | "Face with look of triumph": "Lice s pogledom trijumfa", 175 | "Disappointed but relieved face": "Razo\u010daran, ali olak\u0161anje lice", 176 | "Frowning face with open mouth": "Namr\u0161tiv\u0161i lice s otvorenih usta", 177 | "Anguished face": "Bolnom lice", 178 | "Fearful face": "Pla\u0161ljiv lice", 179 | "Weary face": "Umoran lice", 180 | "Sleepy face": "Pospan lice", 181 | "Tired face": "Umorno lice", 182 | "Grimacing face": "Grimase lice", 183 | "Loudly crying face": "Glasno pla\u010de lice", 184 | "Face with open mouth": "Lice s otvorenih usta", 185 | "Hushed face": "Smiren lice", 186 | "Face with open mouth and cold sweat": "Lice s otvorenih usta i hladan znoj", 187 | "Face screaming in fear": "Suo\u010davaju vri\u0161ti u strahu", 188 | "Astonished face": "Zapanjen lice", 189 | "Flushed face": "Rumeno lice", 190 | "Sleeping face": "Usnulo lice", 191 | "Dizzy face": "O\u0161amu\u0107en lice", 192 | "Face without mouth": "Lice bez usta", 193 | "Face with medical mask": "Lice sa medicinskom maskom", 194 | 195 | // Line breaker 196 | "Break": "Slomiti", 197 | 198 | // Math 199 | "Subscript": "Potpisan", 200 | "Superscript": "Natpis", 201 | 202 | // Full screen 203 | "Fullscreen": "Preko cijelog zaslona", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Umetni vodoravna liniju", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Izbrisati formatiranje", 210 | 211 | // Undo, redo 212 | "Undo": "Korak nazad", 213 | "Redo": "Korak naprijed", 214 | 215 | // Select all 216 | "Select All": "Ozna\u010di sve", 217 | 218 | // Code view 219 | "Code View": "Kod pogled", 220 | 221 | // Quote 222 | "Quote": "Citat", 223 | "Increase": "Pove\u0107ati", 224 | "Decrease": "Smanjenje" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/da.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Danish 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['da'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Skriv noget", 15 | 16 | // Basic formatting 17 | "Bold": "Fed", 18 | "Italic": "Kursiv", 19 | "Underline": "Understreg", 20 | "Strikethrough": "Gennemstreg", 21 | 22 | // Main buttons 23 | "Insert": "Inds\u00e6t", 24 | "Delete": "Slet", 25 | "Cancel": "Fortryd", 26 | "OK": "Ok", 27 | "Back": "Tilbage", 28 | "Remove": "Fjern", 29 | "More": "Mere", 30 | "Update": "Opdatering", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Skrifttype", 35 | "Font Size": "Skriftst\u00f8rrelse", 36 | 37 | // Colors 38 | "Colors": "Farver", 39 | "Background": "Baggrunds", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "S\u00e6tning format", 44 | "Normal": "Normal", 45 | "Code": "Code", 46 | "Heading 1": "Overskrift 1", 47 | "Heading 2": "Overskrift 2", 48 | "Heading 3": "Overskrift 3", 49 | "Heading 4": "Overskrift 4", 50 | 51 | // Style 52 | "Paragraph Style": "S\u00e6tning stil", 53 | "Inline Style": "Inline stil", 54 | 55 | // Alignment 56 | "Align": "Tilpasning", 57 | "Align Left": "Venstrejusteret", 58 | "Align Center": "Centreret", 59 | "Align Right": "H\u00f8jrejusteret", 60 | "Align Justify": "Justering", 61 | "None": "Intet", 62 | 63 | // Lists 64 | "Ordered List": "Ordnet liste", 65 | "Unordered List": "Uordnet liste", 66 | 67 | // Indent 68 | "Decrease Indent": "Mindske indrykning", 69 | "Increase Indent": "For\u00f8ge indrykning", 70 | 71 | // Links 72 | "Insert Link": "Inds\u00e6t link", 73 | "Open in new tab": "\u00c5bn i ny fane", 74 | "Open Link": "\u00c5bn link", 75 | "Edit Link": "Rediger link", 76 | "Unlink": "Fjern link", 77 | "Choose Link": "V\u00e6lg link", 78 | 79 | // Images 80 | "Insert Image": "Inds\u00e6t billede", 81 | "Upload Image": "Upload billede", 82 | "By URL": "Af URL", 83 | "Browse": "Gennemse", 84 | "Drop image": "Tr\u00e6k billedet herind", 85 | "or click": "eller klik", 86 | "Manage Images": "Administrer billeder", 87 | "Loading": "Lastning", 88 | "Deleting": "Sletning", 89 | "Tags": "Tags", 90 | "Are you sure? Image will be deleted.": "Er du sikker? Billede vil blive slettet.", 91 | "Replace": "Udskift", 92 | "Uploading": "Upload", 93 | "Loading image": "Lastning billede", 94 | "Display": "Udstilling", 95 | "Inline": "Inline", 96 | "Break Text": "Afbrydelse tekst", 97 | "Alternate Text": "Suppleant tekst", 98 | "Change Size": "Skift st\u00f8rrelse", 99 | "Width": "Bredde", 100 | "Height": "H\u00f8jde", 101 | "Something went wrong. Please try again.": "Noget gik galt. Pr\u00f8v igen.", 102 | 103 | // Video 104 | "Insert Video": "Inds\u00e6t video", 105 | "Embedded Code": "Embedded kode", 106 | 107 | // Tables 108 | "Insert Table": "Inds\u00e6t tabel", 109 | "Header": "Header", 110 | "Row": "R\u00e6kke", 111 | "Insert row above": "Inds\u00e6t r\u00e6kke over", 112 | "Insert row below": "Inds\u00e6t r\u00e6kke under", 113 | "Delete row": "Slet r\u00e6kke", 114 | "Column": "Kolonne", 115 | "Insert column before": "Inds\u00e6t kolonne f\u00f8r", 116 | "Insert column after": "Inds\u00e6t kolonne efter", 117 | "Delete column": "Slet kolonne", 118 | "Cell": "Celle", 119 | "Merge cells": "Flet celler", 120 | "Horizontal split": "Vandret split", 121 | "Vertical split": "Lodret split", 122 | "Cell Background": "Celle baggrund", 123 | "Vertical Align": "Lodret tilpasning", 124 | "Top": "Top", 125 | "Middle": "Midten", 126 | "Bottom": "Bund", 127 | "Align Top": "Tilpasse top", 128 | "Align Middle": "Tilpasse midten", 129 | "Align Bottom": "Tilpasse bund", 130 | "Cell Style": "Celle stil", 131 | 132 | // Files 133 | "Upload File": "Upload fil", 134 | "Drop file": "Drop fil", 135 | 136 | // Emoticons 137 | "Emoticons": "Hum\u00f8rikoner", 138 | "Grinning face": "Grinende ansigt", 139 | "Grinning face with smiling eyes": "Grinende ansigt med smilende \u00f8jne", 140 | "Face with tears of joy": "Ansigt med gl\u00e6dest\u00e5rer", 141 | "Smiling face with open mouth": "Smilende ansigt med \u00e5ben mund", 142 | "Smiling face with open mouth and smiling eyes": "Smilende ansigt med \u00e5ben mund og smilende \u00f8jne", 143 | "Smiling face with open mouth and cold sweat": "Smilende ansigt med \u00e5ben mund og koldsved", 144 | "Smiling face with open mouth and tightly-closed eyes": "Smilende ansigt med \u00e5ben mund og stramt-lukkede \u00f8jne", 145 | "Smiling face with halo": "Smilende ansigt med halo", 146 | "Smiling face with horns": "Smilende ansigt med horn", 147 | "Winking face": "Blinkede ansigt", 148 | "Smiling face with smiling eyes": "Smilende ansigt med smilende \u00f8jne", 149 | "Face savoring delicious food": "Ansigt savoring l\u00e6kker mad", 150 | "Relieved face": "Lettet ansigt", 151 | "Smiling face with heart-shaped eyes": "Smilende ansigt med hjerteformede \u00f8jne", 152 | "Smiling face with sunglasses": "Smilende ansigt med solbriller", 153 | "Smirking face": "Smilende ansigt", 154 | "Neutral face": "Neutral ansigt", 155 | "Expressionless face": "Udtryksl\u00f8se ansigt", 156 | "Unamused face": "Ikke morede ansigt", 157 | "Face with cold sweat": "Ansigt med koldsved", 158 | "Pensive face": "Eftert\u00e6nksom ansigt", 159 | "Confused face": "Forvirret ansigt", 160 | "Confounded face": "Forvirrede ansigt", 161 | "Kissing face": "Kysse ansigt", 162 | "Face throwing a kiss": "Ansigt smide et kys", 163 | "Kissing face with smiling eyes": "Kysse ansigt med smilende \u00f8jne", 164 | "Kissing face with closed eyes": "Kysse ansigt med lukkede \u00f8jne", 165 | "Face with stuck out tongue": "Ansigt med stak ud tungen", 166 | "Face with stuck out tongue and winking eye": "Ansigt med stak ud tungen og blinkede \u00f8je", 167 | "Face with stuck out tongue and tightly-closed eyes": "Ansigt med stak ud tungen og stramt lukkede \u00f8jne", 168 | "Disappointed face": "Skuffet ansigt", 169 | "Worried face": "Bekymret ansigt", 170 | "Angry face": "Vred ansigt", 171 | "Pouting face": "Sk\u00e6gtorsk ansigt", 172 | "Crying face": "Gr\u00e6der ansigt", 173 | "Persevering face": "Udholdende ansigt", 174 | "Face with look of triumph": "Ansigt med udseendet af triumf", 175 | "Disappointed but relieved face": "Skuffet, men lettet ansigt", 176 | "Frowning face with open mouth": "Rynkede panden ansigt med \u00e5ben mund", 177 | "Anguished face": "Forpinte ansigt", 178 | "Fearful face": "Frygt ansigt", 179 | "Weary face": "Tr\u00e6tte ansigt", 180 | "Sleepy face": "S\u00f8vnig ansigt", 181 | "Tired face": "Tr\u00e6t ansigt", 182 | "Grimacing face": "Grimasser ansigt", 183 | "Loudly crying face": "H\u00f8jlydt grædende ansigt", 184 | "Face with open mouth": "Ansigt med \u00e5ben mund", 185 | "Hushed face": "Tyst ansigt", 186 | "Face with open mouth and cold sweat": "Ansigt med \u00e5ben mund og koldsved", 187 | "Face screaming in fear": "Ansigt skrigende i fryg", 188 | "Astonished face": "Forundret ansigt", 189 | "Flushed face": "Blussende ansigt", 190 | "Sleeping face": "Sovende ansigt", 191 | "Dizzy face": "Svimmel ansigt", 192 | "Face without mouth": "Ansigt uden mund", 193 | "Face with medical mask": "Ansigt med medicinsk maske", 194 | 195 | // Line breaker 196 | "Break": "Afbrydelse", 197 | 198 | // Math 199 | "Subscript": "S\u00e6nket skrift", 200 | "Superscript": "H\u00e6vet skrift", 201 | 202 | // Full screen 203 | "Fullscreen": "Fuld sk\u00e6rm", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Inds\u00e6t vandret linie", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Fjern formatering", 210 | 211 | // Undo, redo 212 | "Undo": "Fortryd", 213 | "Redo": "Genopret", 214 | 215 | // Select all 216 | "Select All": "V\u00e6lg alle", 217 | 218 | // Code view 219 | "Code View": "Kode visning", 220 | 221 | // Quote 222 | "Quote": "Citat", 223 | "Increase": "For\u00f8ge", 224 | "Decrease": "Mindsk" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/en_ca.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * English spoken in Canada 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['en_ca'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Type something", 15 | 16 | // Basic formatting 17 | "Bold": "Bold", 18 | "Italic": "Italic", 19 | "Underline": "Underline", 20 | "Strikethrough": "Strikethrough", 21 | 22 | // Main buttons 23 | "Insert": "Insert", 24 | "Delete": "Delete", 25 | "Cancel": "Cancel", 26 | "OK": "OK", 27 | "Back": "Back", 28 | "Remove": "Remove", 29 | "More": "More", 30 | "Update": "Update", 31 | "Style": "Style", 32 | 33 | // Font 34 | "Font Family": "Font Family", 35 | "Font Size": "Font Size", 36 | 37 | // Colors 38 | "Colors": "Colours", 39 | "Background": "Background", 40 | "Text": "Text", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Paragraph Format", 44 | "Normal": "Normal", 45 | "Code": "Code", 46 | "Heading 1": "Heading 1", 47 | "Heading 2": "Heading 2", 48 | "Heading 3": "Heading 3", 49 | "Heading 4": "Heading 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraph Style", 53 | "Inline Style": "Inline Style", 54 | 55 | // Alignment 56 | "Align": "Align", 57 | "Align Left": "Align Left", 58 | "Align Center": "Align Centre", 59 | "Align Right": "Alight Right", 60 | "Align Justify": "Align Justify", 61 | "None": "None", 62 | 63 | // Lists 64 | "Ordered List": "Ordered List", 65 | "Unordered List": "Unordered List", 66 | 67 | // Indent 68 | "Decrease Indent": "Decrease Indent", 69 | "Increase Indent": "Increase Indent", 70 | 71 | // Links 72 | "Insert Link": "Insert Link", 73 | "Open in new tab": "Open in new tab", 74 | "Open Link": "Open Link", 75 | "Edit Link": "Edit Link", 76 | "Unlink": "Unlink", 77 | "Choose Link": "Choose Link", 78 | 79 | // Images 80 | "Insert Image": "Insert Image", 81 | "Upload Image": "Upload Image", 82 | "By URL": "By URL", 83 | "Browse": "Browse", 84 | "Drop image": "Drop image", 85 | "or click": "or click", 86 | "Manage Images": "Manage Images", 87 | "Loading": "Loading", 88 | "Deleting": "Deleting", 89 | "Tags": "Tags", 90 | "Are you sure? Image will be deleted.": "Are you sure? Image will be deleted.", 91 | "Replace": "Replace", 92 | "Uploading": "Uploading", 93 | "Loading image": "Loading image", 94 | "Display": "Display", 95 | "Inline": "Inline", 96 | "Break Text": "Break Text", 97 | "Alternate Text": "Alternate Text", 98 | "Change Size": "Change Size", 99 | "Width": "Width", 100 | "Height": "Height", 101 | "Something went wrong. Please try again.": "Something went wrong. Please try again.", 102 | 103 | // Video 104 | "Insert Video": "Insert Video", 105 | "Embedded Code": "Embedded Code", 106 | 107 | // Tables 108 | "Insert Table": "Insert Table", 109 | "Header": "Header", 110 | "Row": "Row", 111 | "Insert row above": "Insert row above", 112 | "Insert row below": "Insert row below", 113 | "Delete row": "Delete row", 114 | "Column": "Column", 115 | "Insert column before": "Insert column before", 116 | "Insert column after": "Insert column after", 117 | "Delete column": "Delete column", 118 | "Cell": "Cell", 119 | "Merge cells": "Merge cells", 120 | "Horizontal split": "Horizontal split", 121 | "Vertical split": "Vertical split", 122 | "Cell Background": "Cell Background", 123 | "Vertical Align": "Vertical Align", 124 | "Top": "Top", 125 | "Middle": "Middle", 126 | "Bottom": "Bottom", 127 | "Align Top": "Align Top", 128 | "Align Middle": "Align Middle", 129 | "Align Bottom": "Align Bottom", 130 | "Cell Style": "Cell Style", 131 | 132 | // Files 133 | "Upload File": "Upload File", 134 | "Drop file": "Drop file", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | 139 | // Line breaker 140 | "Break": "Break", 141 | 142 | // Math 143 | "Subscript": "Subscript", 144 | "Superscript": "Superscript", 145 | 146 | // Full screen 147 | "Fullscreen": "Fullscreen", 148 | 149 | // Horizontal line 150 | "Insert Horizontal Line": "Insert Horizontal Line", 151 | 152 | // Clear formatting 153 | "Clear Formatting": "Cell Formatting", 154 | 155 | // Undo, redo 156 | "Undo": "Undo", 157 | "Redo": "Redo", 158 | 159 | // Select all 160 | "Select All": "Select All", 161 | 162 | // Code view 163 | "Code View": "Code View", 164 | 165 | // Quote 166 | "Quote": "Quote", 167 | "Increase": "Increase", 168 | "Decrease": "Decrease" 169 | }, 170 | direction: "ltr" 171 | }; 172 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/en_gb.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * English spoken in Great Britain 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['en_gb'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Type something", 15 | 16 | // Basic formatting 17 | "Bold": "Bold", 18 | "Italic": "Italic", 19 | "Underline": "Underline", 20 | "Strikethrough": "Strikethrough", 21 | 22 | // Main buttons 23 | "Insert": "Insert", 24 | "Delete": "Delete", 25 | "Cancel": "Cancel", 26 | "OK": "OK", 27 | "Back": "Back", 28 | "Remove": "Remove", 29 | "More": "More", 30 | "Update": "Update", 31 | "Style": "Style", 32 | 33 | // Font 34 | "Font Family": "Font Family", 35 | "Font Size": "Font Size", 36 | 37 | // Colors 38 | "Colors": "Colours", 39 | "Background": "Background", 40 | "Text": "Text", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Paragraph Format", 44 | "Normal": "Normal", 45 | "Code": "Code", 46 | "Heading 1": "Heading 1", 47 | "Heading 2": "Heading 2", 48 | "Heading 3": "Heading 3", 49 | "Heading 4": "Heading 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraph Style", 53 | "Inline Style": "Inline Style", 54 | 55 | // Alignment 56 | "Align": "Align", 57 | "Align Left": "Align Left", 58 | "Align Center": "Align Centre", 59 | "Align Right": "Alight Right", 60 | "Align Justify": "Align Justify", 61 | "None": "None", 62 | 63 | // Lists 64 | "Ordered List": "Ordered List", 65 | "Unordered List": "Unordered List", 66 | 67 | // Indent 68 | "Decrease Indent": "Decrease Indent", 69 | "Increase Indent": "Increase Indent", 70 | 71 | // Links 72 | "Insert Link": "Insert Link", 73 | "Open in new tab": "Open in new tab", 74 | "Open Link": "Open Link", 75 | "Edit Link": "Edit Link", 76 | "Unlink": "Unlink", 77 | "Choose Link": "Choose Link", 78 | 79 | // Images 80 | "Insert Image": "Insert Image", 81 | "Upload Image": "Upload Image", 82 | "By URL": "By URL", 83 | "Browse": "Browse", 84 | "Drop image": "Drop image", 85 | "or click": "or click", 86 | "Manage Images": "Manage Images", 87 | "Loading": "Loading", 88 | "Deleting": "Deleting", 89 | "Tags": "Tags", 90 | "Are you sure? Image will be deleted.": "Are you sure? Image will be deleted.", 91 | "Replace": "Replace", 92 | "Uploading": "Uploading", 93 | "Loading image": "Loading image", 94 | "Display": "Display", 95 | "Inline": "Inline", 96 | "Break Text": "Break Text", 97 | "Alternate Text": "Alternate Text", 98 | "Change Size": "Change Size", 99 | "Width": "Width", 100 | "Height": "Height", 101 | "Something went wrong. Please try again.": "Something went wrong. Please try again.", 102 | 103 | // Video 104 | "Insert Video": "Insert Video", 105 | "Embedded Code": "Embedded Code", 106 | 107 | // Tables 108 | "Insert Table": "Insert Table", 109 | "Header": "Header", 110 | "Row": "Row", 111 | "Insert row above": "Insert row above", 112 | "Insert row below": "Insert row below", 113 | "Delete row": "Delete row", 114 | "Column": "Column", 115 | "Insert column before": "Insert column before", 116 | "Insert column after": "Insert column after", 117 | "Delete column": "Delete column", 118 | "Cell": "Cell", 119 | "Merge cells": "Merge cells", 120 | "Horizontal split": "Horizontal split", 121 | "Vertical split": "Vertical split", 122 | "Cell Background": "Cell Background", 123 | "Vertical Align": "Vertical Align", 124 | "Top": "Top", 125 | "Middle": "Middle", 126 | "Bottom": "Bottom", 127 | "Align Top": "Align Top", 128 | "Align Middle": "Align Middle", 129 | "Align Bottom": "Align Bottom", 130 | "Cell Style": "Cell Style", 131 | 132 | // Files 133 | "Upload File": "Upload File", 134 | "Drop file": "Drop file", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | 139 | // Line breaker 140 | "Break": "Break", 141 | 142 | // Math 143 | "Subscript": "Subscript", 144 | "Superscript": "Superscript", 145 | 146 | // Full screen 147 | "Fullscreen": "Fullscreen", 148 | 149 | // Horizontal line 150 | "Insert Horizontal Line": "Insert Horizontal Line", 151 | 152 | // Clear formatting 153 | "Clear Formatting": "Cell Formatting", 154 | 155 | // Undo, redo 156 | "Undo": "Undo", 157 | "Redo": "Redo", 158 | 159 | // Select all 160 | "Select All": "Select All", 161 | 162 | // Code view 163 | "Code View": "Code View", 164 | 165 | // Quote 166 | "Quote": "Quote", 167 | "Increase": "Increase", 168 | "Decrease": "Decrease" 169 | }, 170 | direction: "ltr" 171 | }; 172 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/es.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Spanish 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['es'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Escriba algo", 15 | 16 | // Basic formatting 17 | "Bold": "Negrita", 18 | "Italic": "It\u00e1lica", 19 | "Underline": "Subrayado", 20 | "Strikethrough": "Tachado", 21 | 22 | // Main buttons 23 | "Insert": "Insertar", 24 | "Delete": "Borrar", 25 | "Cancel": "Cancelar", 26 | "OK": "Ok", 27 | "Back": "Atr\u00e1s", 28 | "Remove": "Quitar", 29 | "More": "M\u00e1s", 30 | "Update": "Actualizaci\u00f3n", 31 | "Style": "", 32 | 33 | // Font 34 | "Font Family": "Familia de fuentes", 35 | "Font Size": "Tama\u00f1o de fuente", 36 | 37 | // Colors 38 | "Colors": "Colores", 39 | "Background": "Fondo", 40 | "Text": "Texto", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Formato de p\u00e1rrafo", 44 | "Normal": "Normal", 45 | "Code": "C\u00f3digo", 46 | "Heading 1": "Encabezado 1", 47 | "Heading 2": "Encabezado 2", 48 | "Heading 3": "Encabezado 3", 49 | "Heading 4": "Encabezado 4", 50 | 51 | // Style 52 | "Paragraph Style": "Estilo de p\u00e1rrafo", 53 | "Inline Style": "Estilo en l\u00ednea", 54 | 55 | // Alignment 56 | "Align": "Alinear", 57 | "Align Left": "Alinear a la izquierda", 58 | "Align Center": "Alinear al centro", 59 | "Align Right": "Alinear a la derecha", 60 | "Align Justify": "Justificar", 61 | "None": "Ninguno", 62 | 63 | // Lists 64 | "Ordered List": "Lista ordenada", 65 | "Unordered List": "Lista desordenada", 66 | 67 | // Indent 68 | "Decrease Indent": "Reducir sangr\u00eda", 69 | "Increase Indent": "Aumentar sangr\u00eda", 70 | 71 | // Links 72 | "Insert Link": "Insertar enlace", 73 | "Open in new tab": "Abrir en una nueva pesta\u00F1a", 74 | "Open Link": "Abrir enlace", 75 | "Edit Link": "Editar enlace", 76 | "Unlink": "Quitar enlace", 77 | "Choose Link": "Elegir enlace", 78 | 79 | // Images 80 | "Insert Image": "Insertar imagen", 81 | "Upload Image": "Cargar imagen", 82 | "By URL": "Por URL", 83 | "Browse": "Examinar", 84 | "Drop image": "Soltar la imagen", 85 | "or click": "o haga clic en", 86 | "Manage Images": "Administrar im\u00e1genes", 87 | "Loading": "Cargando", 88 | "Deleting": "Borrado", 89 | "Tags": "Etiquetas", 90 | "Are you sure? Image will be deleted.": "\u00bfEst\u00e1 seguro? Imagen ser\u00e1 borrada.", 91 | "Replace": "Reemplazar", 92 | "Uploading": "Carga", 93 | "Loading image": "Cargando imagen", 94 | "Display": "Mostrar", 95 | "Inline": "En l\u00ednea", 96 | "Break Text": "Romper texto", 97 | "Alternate Text": "Texto alternativo", 98 | "Change Size": "Cambiar tama\u00f1o", 99 | "Width": "Ancho", 100 | "Height": "Altura", 101 | "Something went wrong. Please try again.": "Algo sali\u00f3 mal. Por favor, vuelva a intentarlo.", 102 | 103 | // Video 104 | "Insert Video": "Insertar video", 105 | "Embedded Code": "C\u00f3digo incrustado", 106 | 107 | // Tables 108 | "Insert Table": "Insertar tabla", 109 | "Header": "Encabezamiento", 110 | "Row": "Fila", 111 | "Insert row above": "Insertar fila antes", 112 | "Insert row below": "Insertar fila despu\u00e9s", 113 | "Delete row": "Eliminar fila", 114 | "Column": "Columna", 115 | "Insert column before": "Insertar columna antes", 116 | "Insert column after": "Insertar columna despu\u00e9s", 117 | "Delete column": "Eliminar columna", 118 | "Cell": "Celda", 119 | "Merge cells": "Combinar celdas", 120 | "Horizontal split": "Divisi\u00f3n horizontal", 121 | "Vertical split": "Divisi\u00f3n vertical", 122 | "Cell Background": "Fondo de la celda", 123 | "Vertical Align": "Alinear Vertical", 124 | "Top": "Cima", 125 | "Middle": "Medio", 126 | "Bottom": "Del fondo", 127 | "Align Top": "Alinear a la parte superior", 128 | "Align Middle": "Alinear media", 129 | "Align Bottom": "Alinear abajo", 130 | "Cell Style": "Estilo de celda", 131 | 132 | // Files 133 | "Upload File": "Subir archivo", 134 | "Drop file": "Soltar archivo", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticones", 138 | "Grinning face": "Sonriendo cara", 139 | "Grinning face with smiling eyes": "Sonriendo cara con ojos sonrientes", 140 | "Face with tears of joy": "Cara con l\u00e1grimas de alegr\u00eda", 141 | "Smiling face with open mouth": "Cara sonriente con la boca abierta", 142 | "Smiling face with open mouth and smiling eyes": "Cara sonriente con la boca abierta y los ojos sonrientes", 143 | "Smiling face with open mouth and cold sweat": "Cara sonriente con la boca abierta y el sudor fr\u00edo", 144 | "Smiling face with open mouth and tightly-closed eyes": "Cara sonriente con la boca abierta y los ojos fuertemente cerrados", 145 | "Smiling face with halo": "Cara sonriente con halo", 146 | "Smiling face with horns": "Cara sonriente con cuernos", 147 | "Winking face": "Gui\u00f1o de la cara", 148 | "Smiling face with smiling eyes": "Cara sonriente con ojos sonrientes", 149 | "Face savoring delicious food": "Care saborear una deliciosa comida", 150 | "Relieved face": "Cara Aliviado", 151 | "Smiling face with heart-shaped eyes": "Cara sonriente con los ojos en forma de coraz\u00f3n", 152 | "Smiling face with sunglasses": "Cara sonriente con gafas de sol", 153 | "Smirking face": "Sonriendo cara", 154 | "Neutral face": "Cara neutral", 155 | "Expressionless face": "Rostro inexpresivo", 156 | "Unamused face": "Cara no divertido", 157 | "Face with cold sweat": "Cara con sudor fr\u00edo", 158 | "Pensive face": "Rostro pensativo", 159 | "Confused face": "Cara confusa", 160 | "Confounded face": "Cara Averg\u00fc\u00e9ncense", 161 | "Kissing face": "Besar la cara", 162 | "Face throwing a kiss": "Cara lanzando un beso", 163 | "Kissing face with smiling eyes": "Besar a cara con ojos sonrientes", 164 | "Kissing face with closed eyes": "Besar a cara con los ojos cerrados", 165 | "Face with stuck out tongue": "Cara con la lengua pegada", 166 | "Face with stuck out tongue and winking eye": "Cara con pegado a la lengua y los ojos gui\u00f1o", 167 | "Face with stuck out tongue and tightly-closed eyes": "Cara con la lengua pegada a y los ojos fuertemente cerrados", 168 | "Disappointed face": "Cara decepcionado", 169 | "Worried face": "Cara de preocupaci\u00f3n", 170 | "Angry face": "Cara enojada", 171 | "Pouting face": "Que pone mala cara", 172 | "Crying face": "Cara llorando", 173 | "Persevering face": "Perseverar cara", 174 | "Face with look of triumph": "Cara con expresi\u00f3n de triunfo", 175 | "Disappointed but relieved face": "Decepcionado pero el rostro aliviado", 176 | "Frowning face with open mouth": "Con el ce\u00f1o fruncido la cara con la boca abierta", 177 | "Anguished face": "Rostro angustiado", 178 | "Fearful face": "Cara Temeroso", 179 | "Weary face": "Rostro cansado", 180 | "Sleepy face": "Rostro so\u00f1oliento", 181 | "Tired face": "Rostro cansado", 182 | "Grimacing face": "Haciendo una mueca cara", 183 | "Loudly crying face": "Llorando en voz alta la cara", 184 | "Face with open mouth": "Cara con la boca abierta", 185 | "Hushed face": "Cara callada", 186 | "Face with open mouth and cold sweat": "Cara con la boca abierta y el sudor frío", 187 | "Face screaming in fear": "Cara gritando de miedo", 188 | "Astonished face": "Cara asombrosa", 189 | "Flushed face": "Cara enrojecida", 190 | "Sleeping face": "Rostro dormido", 191 | "Dizzy face": "Cara Mareado", 192 | "Face without mouth": "Cara sin boca", 193 | "Face with medical mask": "Cara con la m\u00e1scara m\u00e9dica", 194 | 195 | // Line breaker 196 | "Break": "Romper", 197 | 198 | // Math 199 | "Subscript": "Sub\u00edndice", 200 | "Superscript": "Super\u00edndice", 201 | 202 | // Full screen 203 | "Fullscreen": "Pantalla completa", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Insertar l\u00ednea horizontal", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Quitar el formato", 210 | 211 | // Undo, redo 212 | "Undo": "Deshacer", 213 | "Redo": "Rehacer", 214 | 215 | // Select all 216 | "Select All": "Seleccionar todo", 217 | 218 | // Code view 219 | "Code View": "Vista de c\u00f3digo", 220 | 221 | // Quote 222 | "Quote": "Cita", 223 | "Increase": "Aumentar", 224 | "Decrease": "Disminuci\u00f3n" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/et.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Estonian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['et'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Kirjuta midagi", 15 | 16 | // Basic formatting 17 | "Bold": "Rasvane", 18 | "Italic": "Kursiiv", 19 | "Underline": "Allajoonitud", 20 | "Strikethrough": "L\u00e4bikriipsutatud", 21 | 22 | // Main buttons 23 | "Insert": "Lisa", 24 | "Delete": "Kustuta", 25 | "Cancel": "T\u00fchista", 26 | "OK": "OK", 27 | "Back": "Tagasi", 28 | "Remove": "Eemaldama", 29 | "More": "Rohkem", 30 | "Update": "Ajakohastama", 31 | "Style": "Stiil", 32 | 33 | // Font 34 | "Font Family": "Fondi perekond", 35 | "Font Size": "Fondi suurus", 36 | 37 | // Colors 38 | "Colors": "V\u00e4rvid", 39 | "Background": "Taust", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Paragrahv formaat", 44 | "Normal": "Normaalne", 45 | "Code": "Kood", 46 | "Heading 1": "P\u00e4is 1", 47 | "Heading 2": "P\u00e4is 2", 48 | "Heading 3": "P\u00e4is 3", 49 | "Heading 4": "P\u00e4is 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragrahv stiil", 53 | "Inline Style": "J\u00e4rjekorras stiil", 54 | 55 | // Alignment 56 | "Align": "Joonda", 57 | "Align Left": "Joonda vasakule", 58 | "Align Center": "Joonda keskele", 59 | "Align Right": "Joonda paremale", 60 | "Align Justify": "R\u00f6\u00f6pjoondus", 61 | "None": "Mitte \u00fckski", 62 | 63 | // Lists 64 | "Ordered List": "Tellitud nimekirja", 65 | "Unordered List": "Tavalise nimekirja", 66 | 67 | // Indent 68 | "Decrease Indent": "V\u00e4henemine taane", 69 | "Increase Indent": "Suurenda taanet", 70 | 71 | // Links 72 | "Insert Link": "Lisa link", 73 | "Open in new tab": "Ava uues sakis", 74 | "Open Link": "Avatud link", 75 | "Edit Link": "Muuda link", 76 | "Unlink": "Eemalda link", 77 | "Choose Link": "Vali link", 78 | 79 | // Images 80 | "Insert Image": "Lisa pilt", 81 | "Upload Image": "Laadige pilt", 82 | "By URL": "Poolt URL", 83 | "Browse": "sirvida", 84 | "Drop image": "Aseta pilt", 85 | "or click": "v\u00f5i kliki", 86 | "Manage Images": "Halda pilte", 87 | "Loading": "Laadimine", 88 | "Deleting": "Kustutamine", 89 | "Tags": "Sildid", 90 | "Are you sure? Image will be deleted.": "Oled sa kindel? Pilt kustutatakse.", 91 | "Replace": "Asendama", 92 | "Uploading": "Laadimise pilti", 93 | "Loading image": "Laadimise pilti", 94 | "Display": "Kuvama", 95 | "Inline": "J\u00e4rjekorras", 96 | "Break Text": "Murdma teksti", 97 | "Alternate Text": "Asendusliikme teksti", 98 | "Change Size": "Muuda suurust", 99 | "Width": "Laius", 100 | "Height": "K\u00f5rgus", 101 | "Something went wrong. Please try again.": "Midagi l\u00e4ks valesti. Palun proovi uuesti.", 102 | 103 | // Video 104 | "Insert Video": "Lisa video", 105 | "Embedded Code": "Varjatud koodi", 106 | 107 | // Tables 108 | "Insert Table": "Sisesta tabel", 109 | "Header": "P\u00e4ise kaudu", 110 | "Row": "Rida", 111 | "Insert row above": "Sisesta rida \u00fcles", 112 | "Insert row below": "Sisesta rida alla", 113 | "Delete row": "Kustuta rida", 114 | "Column": "Veerg", 115 | "Insert column before": "Sisesta veerg ette", 116 | "Insert column after": "Sisesta veerg j\u00e4rele", 117 | "Delete column": "Kustuta veerg", 118 | "Cell": "Lahter", 119 | "Merge cells": "\u00fchenda lahtrid", 120 | "Horizontal split": "Poolita horisontaalselt", 121 | "Vertical split": "Poolita vertikaalselt", 122 | "Cell Background": "Lahter tausta", 123 | "Vertical Align": "Vertikaalne joonda", 124 | "Top": "\u00fclemine", 125 | "Middle": "Keskmine", 126 | "Bottom": "P\u00f5hi", 127 | "Align Top": "Joonda \u00fclemine", 128 | "Align Middle": "Joonda keskmine", 129 | "Align Bottom": "Joonda P\u00f5hi", 130 | "Cell Style": "Lahter stiili", 131 | 132 | // Files 133 | "Upload File": "Lae fail \u00fcles", 134 | "Drop file": "Aseta fail", 135 | 136 | // Emoticons 137 | "Emoticons": "Emotikonid", 138 | "Grinning face": "Irvitas n\u00e4kku", 139 | "Grinning face with smiling eyes": "Irvitas n\u00e4kku naeratavad silmad", 140 | "Face with tears of joy": "N\u00e4gu r\u00f5\u00f5mupisaratega", 141 | "Smiling face with open mouth": "Naeratav n\u00e4gu avatud suuga", 142 | "Smiling face with open mouth and smiling eyes": "Naeratav n\u00e4gu avatud suu ja naeratavad silmad", 143 | "Smiling face with open mouth and cold sweat": "Naeratav n\u00e4gu avatud suu ja k\u00fclm higi", 144 | "Smiling face with open mouth and tightly-closed eyes": "Naeratav n\u00e4gu avatud suu ja tihedalt suletud silmad", 145 | "Smiling face with halo": "Naeratav n\u00e4gu halo", 146 | "Smiling face with horns": "Naeratav n\u00e4gu sarved", 147 | "Winking face": "Pilgutab n\u00e4gu", 148 | "Smiling face with smiling eyes": "Naeratav n\u00e4gu naeratab silmad", 149 | "Face savoring delicious food": "N\u00e4gu nautides maitsvat toitu", 150 | "Relieved face": "P\u00e4\u00e4stetud n\u00e4gu", 151 | "Smiling face with heart-shaped eyes": "Naeratav n\u00e4gu s\u00fcdajas silmad", 152 | "Smiling face with sunglasses": "Naeratav n\u00e4gu p\u00e4ikeseprillid", 153 | "Smirking face": "Muigama n\u00e4gu ", 154 | "Neutral face": "Neutraalne n\u00e4gu", 155 | "Expressionless face": "Ilmetu n\u00e4gu", 156 | "Unamused face": "Morn n\u00e4gu", 157 | "Face with cold sweat": "N\u00e4gu k\u00fclma higiga", 158 | "Pensive face": "M\u00f5tlik n\u00e4gu", 159 | "Confused face": "Segaduses n\u00e4gu", 160 | "Confounded face": "Segas n\u00e4gu", 161 | "Kissing face": "Suudlevad n\u00e4gu", 162 | "Face throwing a kiss": "N\u00e4gu viskamine suudlus", 163 | "Kissing face with smiling eyes": "Suudlevad n\u00e4gu naeratab silmad", 164 | "Kissing face with closed eyes": "Suudlevad n\u00e4gu, silmad kinni", 165 | "Face with stuck out tongue": "N\u00e4gu ummikus v\u00e4lja keele", 166 | "Face with stuck out tongue and winking eye": "N\u00e4gu ummikus v\u00e4lja keele ja silma pilgutav silma", 167 | "Face with stuck out tongue and tightly-closed eyes": "N\u00e4gu ummikus v\u00e4lja keele ja silmad tihedalt suletuna", 168 | "Disappointed face": "Pettunud n\u00e4gu", 169 | "Worried face": "Mures n\u00e4gu", 170 | "Angry face": "Vihane n\u00e4gu", 171 | "Pouting face": "Tursik n\u00e4gu", 172 | "Crying face": "Nutt n\u00e4gu", 173 | "Persevering face": "Püsiv n\u00e4gu", 174 | "Face with look of triumph": "N\u00e4gu ilme triumf", 175 | "Disappointed but relieved face": "Pettunud kuid vabastati n\u00e4gu", 176 | "Frowning face with open mouth": "Kulmukortsutav n\u00e4gu avatud suuga", 177 | "Anguished face": "Ahastavad n\u00e4gu", 178 | "Fearful face": "Hirmunult n\u00e4gu", 179 | "Weary face": "Grimasse", 180 | "Sleepy face": "Unine n\u00e4gu", 181 | "Tired face": "V\u00e4sinud n\u00e4gu", 182 | "Grimacing face": "Grimassitavaks n\u00e4gu", 183 | "Loudly crying face": "Valjusti nutma n\u00e4gu", 184 | "Face with open mouth": "N\u00e4gu avatud suuga", 185 | "Hushed face": "Raskel n\u00e4gu", 186 | "Face with open mouth and cold sweat": "N\u00e4gu avatud suu ja k\u00fclm higi", 187 | "Face screaming in fear": "N\u00e4gu karjuvad hirm", 188 | "Astonished face": "Lummatud n\u00e4gu", 189 | "Flushed face": "Punetav n\u00e4gu", 190 | "Sleeping face": "Uinuv n\u00e4gu", 191 | "Dizzy face": "Uimane n\u00fcgu", 192 | "Face without mouth": "N\u00e4gu ilma suu", 193 | "Face with medical mask": "N\u00e4gu meditsiinilise mask", 194 | 195 | // Line breaker 196 | "Break": "Murdma", 197 | 198 | // Math 199 | "Subscript": "Allindeks", 200 | "Superscript": "\u00dclaindeks", 201 | 202 | // Full screen 203 | "Fullscreen": "T\u00e4isekraanil", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Sisesta horisontaalne joon", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Eemalda formaatimine", 210 | 211 | // Undo, redo 212 | "Undo": "V\u00f5ta tagasi", 213 | "Redo": "Tee uuesti", 214 | 215 | // Select all 216 | "Select All": "Vali k\u00f5ik", 217 | 218 | // Code view 219 | "Code View": "Koodi vaadata", 220 | 221 | // Quote 222 | "Quote": "Tsitaat", 223 | "Increase": "Suurendama", 224 | "Decrease": "V\u00e4henda" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/hr.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Croatian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['hr'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Napi\u0161i ne\u0161to", 15 | 16 | // Basic formatting 17 | "Bold": "Podebljaj", 18 | "Italic": "Kurziv", 19 | "Underline": "Podcrtano", 20 | "Strikethrough": "Precrtano", 21 | 22 | // Main buttons 23 | "Insert": "Umetni", 24 | "Delete": "Obri\u0161i", 25 | "Cancel": "Otka\u017ei", 26 | "OK": "U redu", 27 | "Back": "Natrag", 28 | "Remove": "Ukloni", 29 | "More": "Vi\u0161e", 30 | "Update": "A\u017euriraj", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Odaberi font", 35 | "Font Size": "Veli\u010dina fonta", 36 | 37 | // Colors 38 | "Colors": "Boje", 39 | "Background": "Pozadina", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Format odlomka", 44 | "Normal": "Normalno", 45 | "Code": "Izvorni kod", 46 | "Heading 1": "Naslov 1", 47 | "Heading 2": "Naslov 2", 48 | "Heading 3": "Naslov 3", 49 | "Heading 4": "Naslov 4", 50 | 51 | // Style 52 | "Paragraph Style": "Stil odlomka", 53 | "Inline Style": "Stil u liniji", 54 | 55 | // Alignment 56 | "Align": "Poravnaj", 57 | "Align Left": "Poravnaj lijevo", 58 | "Align Center": "Poravnaj po sredini", 59 | "Align Right": "Poravnaj desno", 60 | "Align Justify": "Obostrano poravnanje", 61 | "None": "Nijedan", 62 | 63 | // Lists 64 | "Ordered List": "Ure\u0111ena lista", 65 | "Unordered List": "Neure\u0111ena lista", 66 | 67 | // Indent 68 | "Decrease Indent": "Uvuci odlomak", 69 | "Increase Indent": "Izvuci odlomak", 70 | 71 | // Links 72 | "Insert Link": "Umetni link", 73 | "Open in new tab": "Otvori u novom prozoru", 74 | "Open Link": "Otvori link", 75 | "Edit Link": "Uredi link", 76 | "Unlink": "Ukloni link", 77 | "Choose Link": "Odaberi link", 78 | 79 | // Images 80 | "Insert Image": "Umetni sliku", 81 | "Upload Image": "Prijenos slike", 82 | "By URL": "Prema URL", 83 | "Browse": "Odabir", 84 | "Drop image": "Ispusti sliku", 85 | "or click": "ili odaberi", 86 | "Manage Images": "Upravljanje slikama", 87 | "Loading": "U\u010ditavanje", 88 | "Deleting": "Brisanje", 89 | "Tags": "Oznake", 90 | "Are you sure? Image will be deleted.": "Da li ste sigurni da \u017eelite obrisati ovu sliku?", 91 | "Replace": "Zamijeni", 92 | "Uploading": "Prijenos", 93 | "Loading image": "Otvaram sliku", 94 | "Display": "Prika\u017ei", 95 | "Inline": "U liniji", 96 | "Break Text": "Odvojeni tekst", 97 | "Alternate Text": "Alternativni tekst", 98 | "Change Size": "Promjena veli\u010dine", 99 | "Width": "\u0160irina", 100 | "Height": "Visina", 101 | "Something went wrong. Please try again.": "Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovno.", 102 | 103 | // Video 104 | "Insert Video": "Umetni video", 105 | "Embedded Code": "Ugra\u0111eni kod", 106 | 107 | // Tables 108 | "Insert Table": "Umetni tablicu", 109 | "Header": "Zaglavlje", 110 | "Row": "Red", 111 | "Insert row above": "Umetni red iznad", 112 | "Insert row below": "Umetni red ispod", 113 | "Delete row": "Obri\u0161i red", 114 | "Column": "Stupac", 115 | "Insert column before": "Umetni stupac prije", 116 | "Insert column after": "Umetni stupac poslije", 117 | "Delete column": "Obri\u0161i stupac", 118 | "Cell": "Polje", 119 | "Merge cells": "Spoji polja", 120 | "Horizontal split": "Horizontalno razdvajanje polja", 121 | "Vertical split": "Vertikalno razdvajanje polja", 122 | "Cell Background": "Polje pozadine", 123 | "Vertical Align": "Vertikalno poravnanje", 124 | "Top": "Vrh", 125 | "Middle": "Sredina", 126 | "Bottom": "Dno", 127 | "Align Top": "Poravnaj na vrh", 128 | "Align Middle": "Poravnaj po sredini", 129 | "Align Bottom": "Poravnaj na dno", 130 | "Cell Style": "Stil polja", 131 | "Table Header": "Zaglavlje tablice", 132 | "Remove Table": "Izbri\u0161i tablicu", 133 | 134 | // Files 135 | "Upload File": "Prijenos datoteke", 136 | "Drop file": "Ispusti datoteku", 137 | 138 | // Emoticons 139 | "Emoticons": "Emotikoni", 140 | "Grinning face": "Nacereno lice", 141 | "Grinning face with smiling eyes": "Nacereno lice s nasmije\u0161enim o\u010dima", 142 | "Face with tears of joy": "Lice sa suzama radosnicama", 143 | "Smiling face with open mouth": "Nasmijano lice s otvorenim ustima", 144 | "Smiling face with open mouth and smiling eyes": "Nasmijano lice s otvorenim ustima i nasmijanim o\u010dima", 145 | "Smiling face with open mouth and cold sweat": "Nasmijano lice s otvorenim ustima i hladnim znojem", 146 | "Smiling face with open mouth and tightly-closed eyes": "Nasmijano lice s otvorenim ustima i \u010dvrsto zatvorenih o\u010diju", 147 | "Smiling face with halo": "Nasmijano lice sa aureolom", 148 | "Smiling face with horns": "Nasmijano lice s rogovima", 149 | "Winking face": "Lice koje namiguje", 150 | "Smiling face with smiling eyes": "Nasmijano lice s nasmiješenim o\u010dima", 151 | "Face savoring delicious food": "Lice koje u\u017eiva ukusnu hranu", 152 | "Relieved face": "Lice s olak\u0161anjem", 153 | "Smiling face with heart-shaped eyes": "Nasmijano lice sa o\u010dima u obliku srca", 154 | "Smiling face with sunglasses": "Nasmijano lice sa sun\u010danim nao\u010dalama", 155 | "Smirking face": "Zlokobno nasmije\u0161eno lice", 156 | "Neutral face": "Neutralno lice", 157 | "Expressionless face": "Bezizra\u017eajno lice", 158 | "Unamused face": "Nezainteresirano lice", 159 | "Face with cold sweat": "Lice s hladnim znojem", 160 | "Pensive face": "Zami\u0161ljeno lice", 161 | "Confused face": "Zbunjeno lice", 162 | "Confounded face": "Zbunjeno lice", 163 | "Kissing face": "Lice s poljupcem", 164 | "Face throwing a kiss": "Lice koje baca poljubac", 165 | "Kissing face with smiling eyes": "Lice s poljupcem s nasmije\u0161enim o\u010dima", 166 | "Kissing face with closed eyes": "Lice s poljupcem zatvorenih o\u010diju", 167 | "Face with stuck out tongue": "Lice s ispru\u017eenim jezikom", 168 | "Face with stuck out tongue and winking eye": "Lice s ispru\u017eenim jezikom koje namiguje", 169 | "Face with stuck out tongue and tightly-closed eyes": "Lice s ispru\u017eenim jezikom i \u010dvrsto zatvorenih o\u010diju", 170 | "Disappointed face": "Razo\u010darano lice", 171 | "Worried face": "Zabrinuto lice", 172 | "Angry face": "Ljutito lice", 173 | "Pouting face": "Nadureno lice", 174 | "Crying face": "Uplakano lice", 175 | "Persevering face": "Lice s negodovanjem", 176 | "Face with look of triumph": "Trijumfalno lice", 177 | "Disappointed but relieved face": "Razo\u010darano ali olakšano lice", 178 | "Frowning face with open mouth": "Namrgo\u0111eno lice s otvorenim ustima", 179 | "Anguished face": "Tjeskobno lice", 180 | "Fearful face": "Prestra\u0161eno lice", 181 | "Weary face": "Umorno lice", 182 | "Sleepy face": "Pospano lice", 183 | "Tired face": "Umorno lice", 184 | "Grimacing face": "Lice sa grimasama", 185 | "Loudly crying face": "Glasno pla\u010du\u0107e lice", 186 | "Face with open mouth": "Lice s otvorenim ustima", 187 | "Hushed face": "Tiho lice", 188 | "Face with open mouth and cold sweat": "Lice s otvorenim ustima i hladnim znojem", 189 | "Face screaming in fear": "Lice koje vri\u0161ti u strahu", 190 | "Astonished face": "Zaprepa\u0161teno lice", 191 | "Flushed face": "Zajapureno lice", 192 | "Sleeping face": "Spava\u0107e lice", 193 | "Dizzy face": "Lice sa vrtoglavicom", 194 | "Face without mouth": "Lice bez usta", 195 | "Face with medical mask": "Lice s medicinskom maskom", 196 | 197 | // Line breaker 198 | "Break": "Odvojeno", 199 | 200 | // Math 201 | "Subscript": "Indeks", 202 | "Superscript": "Eksponent", 203 | 204 | // Full screen 205 | "Fullscreen": "Puni zaslon", 206 | 207 | // Horizontal line 208 | "Insert Horizontal Line": "Umetni liniju", 209 | 210 | // Clear formatting 211 | "Clear Formatting": "Ukloni oblikovanje", 212 | 213 | // Undo, redo 214 | "Undo": "Korak natrag", 215 | "Redo": "Korak naprijed", 216 | 217 | // Select all 218 | "Select All": "Odaberi sve", 219 | 220 | // Code view 221 | "Code View": "Pregled koda", 222 | 223 | // Quote 224 | "Quote": "Citat", 225 | "Increase": "Pove\u0107aj", 226 | "Decrease": "Smanji" 227 | }, 228 | direction: "ltr" 229 | }; 230 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/id.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Indonesian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['id'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Ketik sesuatu", 15 | 16 | // Basic formatting 17 | "Bold": "Tebal", 18 | "Italic": "Miring", 19 | "Underline": "Garis bawah", 20 | "Strikethrough": "Coret", 21 | 22 | // Main buttons 23 | "Insert": "Memasukkan", 24 | "Delete": "Hapus", 25 | "Cancel": "Batal", 26 | "OK": "Ok", 27 | "Back": "Kembali", 28 | "Remove": "Hapus", 29 | "More": "Lebih", 30 | "Update": "Memperbarui", 31 | "Style": "Gaya", 32 | 33 | // Font 34 | "Font Family": "Jenis Huruf", 35 | "Font Size": "Ukuran leter", 36 | 37 | // Colors 38 | "Colors": "Warna", 39 | "Background": "Latar belakang", 40 | "Text": "Teks", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Format", 44 | "Normal": "Normal", 45 | "Code": "Kode", 46 | "Heading 1": "Header 1", 47 | "Heading 2": "Header 2", 48 | "Heading 3": "Header 3", 49 | "Heading 4": "Header 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraf gaya", 53 | "Inline Style": "Di barisan gaya", 54 | 55 | // Alignment 56 | "Align": "Rate", 57 | "Align Left": "Rate kiri", 58 | "Align Center": "Rate tengah", 59 | "Align Right": "Rata kanan", 60 | "Align Justify": "Justifi", 61 | "None": "Tak satupun", 62 | 63 | // Lists 64 | "Ordered List": "List nomor", 65 | "Unordered List": "List simbol", 66 | 67 | // Indent 68 | "Decrease Indent": "Turunkan inden", 69 | "Increase Indent": "Tambah inden", 70 | 71 | // Links 72 | "Insert Link": "Memasukkan link", 73 | "Open in new tab": "Buka di tab baru", 74 | "Open Link": "Buka tautan", 75 | "Edit Link": "Mengedit link", 76 | "Unlink": "Menghapus link", 77 | "Choose Link": "Memilih link", 78 | 79 | // Images 80 | "Insert Image": "Memasukkan gambar", 81 | "Upload Image": "Meng-upload gambar", 82 | "By URL": "Oleh URL", 83 | "Browse": "Melihat-lihat", 84 | "Drop image": "Jatuhkan gambar", 85 | "or click": "atau klik", 86 | "Manage Images": "Mengelola gambar", 87 | "Loading": "Pemuatan", 88 | "Deleting": "Menghapus", 89 | "Tags": "Label", 90 | "Are you sure? Image will be deleted.": "Apakah Anda yakin? Gambar akan dihapus.", 91 | "Replace": "Mengganti", 92 | "Uploading": "Gambar upload", 93 | "Loading image": "Pemuatan gambar", 94 | "Display": "Pameran", 95 | "Inline": "Di barisan", 96 | "Break Text": "Memecah teks", 97 | "Alternate Text": "Teks alternatif", 98 | "Change Size": "Ukuran perubahan", 99 | "Width": "Lebar", 100 | "Height": "Tinggi", 101 | "Something went wrong. Please try again.": "Ada yang salah. Silakan coba lagi.", 102 | 103 | // Video 104 | "Insert Video": "Memasukkan video", 105 | "Embedded Code": "Kode tertanam", 106 | 107 | // Tables 108 | "Insert Table": "Sisipkan tabel", 109 | "Header": "Header", 110 | "Row": "Baris", 111 | "Insert row above": "Sisipkan baris di atas", 112 | "Insert row below": "Sisipkan baris di bawah", 113 | "Delete row": "Hapus baris", 114 | "Column": "Kolom", 115 | "Insert column before": "Sisipkan kolom sebelumSisipkan kolom sebelum", 116 | "Insert column after": "Sisipkan kolom setelah", 117 | "Delete column": "Hapus kolom", 118 | "Cell": "Sel", 119 | "Merge cells": "Menggabungkan sel", 120 | "Horizontal split": "Perpecahan horisontal", 121 | "Vertical split": "Perpecahan vertikal", 122 | "Cell Background": "Latar belakang sel", 123 | "Vertical Align": "Menyelaraskan vertikal", 124 | "Top": "Teratas", 125 | "Middle": "Tengah", 126 | "Bottom": "Bagian bawah", 127 | "Align Top": "Menyelaraskan atas", 128 | "Align Middle": "Menyelaraskan tengah", 129 | "Align Bottom": "Menyelaraskan bawah", 130 | "Cell Style": "Gaya sel", 131 | 132 | // Files 133 | "Upload File": "Meng-upload berkas", 134 | "Drop file": "Jatuhkan berkas", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticon", 138 | "Grinning face": "Sambil tersenyum wajah", 139 | "Grinning face with smiling eyes": "Sambil tersenyum wajah dengan mata tersenyum", 140 | "Face with tears of joy": "Hadapi dengan air mata sukacita", 141 | "Smiling face with open mouth": "Tersenyum wajah dengan mulut terbuka", 142 | "Smiling face with open mouth and smiling eyes": "Tersenyum wajah dengan mulut terbuka dan tersenyum mata", 143 | "Smiling face with open mouth and cold sweat": "Tersenyum wajah dengan mulut terbuka dan keringat dingin", 144 | "Smiling face with open mouth and tightly-closed eyes": "Tersenyum wajah dengan mulut terbuka dan mata tertutup rapat", 145 | "Smiling face with halo": "Tersenyum wajah dengan halo", 146 | "Smiling face with horns": "Tersenyum wajah dengan tanduk", 147 | "Winking face": "Mengedip wajah", 148 | "Smiling face with smiling eyes": "Tersenyum wajah dengan mata tersenyum", 149 | "Face savoring delicious food": "Wajah menikmati makanan lezat", 150 | "Relieved face": "Wajah Lega", 151 | "Smiling face with heart-shaped eyes": "Tersenyum wajah dengan mata berbentuk hati", 152 | "Smiling face with sunglasses": "Tersenyum wajah dengan kacamata hitam", 153 | "Smirking face": "Menyeringai wajah", 154 | "Neutral face": "Wajah Netral", 155 | "Expressionless face": "Wajah tanpa ekspresi", 156 | "Unamused face": "Wajah tidak senang", 157 | "Face with cold sweat": "Muka dengan keringat dingin", 158 | "Pensive face": "Wajah termenung", 159 | "Confused face": "Wajah Bingung", 160 | "Confounded face": "Wajah kesal", 161 | "Kissing face": "wajah mencium", 162 | "Face throwing a kiss": "Wajah melempar ciuman", 163 | "Kissing face with smiling eyes": "Berciuman wajah dengan mata tersenyum", 164 | "Kissing face with closed eyes": "Berciuman wajah dengan mata tertutup", 165 | "Face with stuck out tongue": "Muka dengan menjulurkan lidah", 166 | "Face with stuck out tongue and winking eye": "Muka dengan menjulurkan lidah dan mengedip mata", 167 | "Face with stuck out tongue and tightly-closed eyes": "Wajah dengan lidah terjebak dan mata erat-tertutup", 168 | "Disappointed face": "Wajah kecewa", 169 | "Worried face": "Wajah Khawatir", 170 | "Angry face": "Wajah Marah", 171 | "Pouting face": "Cemberut wajah", 172 | "Crying face": "Menangis wajah", 173 | "Persevering face": "Tekun wajah", 174 | "Face with look of triumph": "Hadapi dengan tampilan kemenangan", 175 | "Disappointed but relieved face": "Kecewa tapi lega wajah", 176 | "Frowning face with open mouth": "Sambil mengerutkan kening wajah dengan mulut terbuka", 177 | "Anguished face": "Wajah sedih", 178 | "Fearful face": "Wajah Takut", 179 | "Weary face": "Wajah lelah", 180 | "Sleepy face": "wajah mengantuk", 181 | "Tired face": "Wajah Lelah", 182 | "Grimacing face": "Sambil meringis wajah", 183 | "Loudly crying face": "Keras menangis wajah", 184 | "Face with open mouth": "Hadapi dengan mulut terbuka", 185 | "Hushed face": "Wajah dipetieskan", 186 | "Face with open mouth and cold sweat": "Hadapi dengan mulut terbuka dan keringat dingin", 187 | "Face screaming in fear": "Hadapi berteriak dalam ketakutan", 188 | "Astonished face": "Wajah Kaget", 189 | "Flushed face": "Wajah memerah", 190 | "Sleeping face": "Tidur face", 191 | "Dizzy face": "Wajah pusing", 192 | "Face without mouth": "Wajah tanpa mulut", 193 | "Face with medical mask": "Hadapi dengan masker medis", 194 | 195 | // Line breaker 196 | "Break": "Memecah", 197 | 198 | // Math 199 | "Subscript": "Subskrip", 200 | "Superscript": "Superskrip", 201 | 202 | // Full screen 203 | "Fullscreen": "Layar penuh", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Sisipkan Garis Horizontal", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Menghapus format", 210 | 211 | // Undo, redo 212 | "Undo": "Batal", 213 | "Redo": "Ulang", 214 | 215 | // Select all 216 | "Select All": "Pilih semua", 217 | 218 | // Code view 219 | "Code View": "Melihat kode", 220 | 221 | // Quote 222 | "Quote": "Kutipan", 223 | "Increase": "Meningkat", 224 | "Decrease": "Penurunan" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/it.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Italian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['it'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Digita qualcosa", 15 | 16 | // Basic formatting 17 | "Bold": "Grassetto", 18 | "Italic": "Corsivo", 19 | "Underline": "Sottolineato", 20 | "Strikethrough": "Barrato", 21 | 22 | // Main buttons 23 | "Insert": "Inserisci", 24 | "Delete": "Cancella", 25 | "Cancel": "Cancella", 26 | "OK": "Ok", 27 | "Back": "Indietro", 28 | "Remove": "Rimuovi", 29 | "More": "Di pi\u00f9", 30 | "Update": "Aggiornare", 31 | "Style": "Stile", 32 | 33 | // Font 34 | "Font Family": "Carattere", 35 | "Font Size": "Dimensione Carattere", 36 | 37 | // Colors 38 | "Colors": "Colori", 39 | "Background": "Sfondo", 40 | "Text": "Testo", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Formattazione", 44 | "Normal": "Normale", 45 | "Code": "Codice", 46 | "Heading 1": "Intestazione 1", 47 | "Heading 2": "Intestazione 2", 48 | "Heading 3": "Intestazione 3", 49 | "Heading 4": "Intestazione 4", 50 | 51 | // Style 52 | "Paragraph Style": "Stile di paragrafo", 53 | "Inline Style": "Stile in fila", 54 | 55 | // Alignment 56 | "Align": "Allinea", 57 | "Align Left": "Allinea a Sinistra", 58 | "Align Center": "Allinea al Cento", 59 | "Align Right": "Allinea a Destra", 60 | "Align Justify": "Giustifica", 61 | "None": "Nessuno", 62 | 63 | // Lists 64 | "Ordered List": "Elenchi ordinato", 65 | "Unordered List": "Elenchi non ordinata", 66 | 67 | // Indent 68 | "Decrease Indent": "Riduci Rientro", 69 | "Increase Indent": "Aumenta Rientro", 70 | 71 | // Links 72 | "Insert Link": "Inserisci Link", 73 | "Open in new tab": "Apri in nuova scheda", 74 | "Open Link": "Link aperto", 75 | "Edit Link": "Modifica link", 76 | "Unlink": "Rimuovi link", 77 | "Choose Link": "Scegli link", 78 | 79 | // Images 80 | "Insert Image": "Inserisci immagine", 81 | "Upload Image": "Carica immagine", 82 | "By URL": "Per URL", 83 | "Browse": "Sfogliare", 84 | "Drop image": "Rilascia Immagine", 85 | "or click": "oppure fai click su", 86 | "Manage Images": "Gestione immagini", 87 | "Loading": "Caricamento", 88 | "Deleting": "Eliminazione", 89 | "Tags": "Etichetta", 90 | "Are you sure? Image will be deleted.": "Sei sicuro? Immagine verr\u00e0 cancellata.", 91 | "Replace": "Sostituisci", 92 | "Uploading": "Caricamento", 93 | "Loading image": "Caricamento immagine", 94 | "Display": "Visualizzazione", 95 | "Inline": "In fila", 96 | "Break Text": "Testo di separazione", 97 | "Alternate Text": "Testo alternativo", 98 | "Change Size": "Cambio formato", 99 | "Width": "Larghezza", 100 | "Height": "Altezza", 101 | "Something went wrong. Please try again.": "Qualcosa \u00e8 andato storto. Riprova, per favore.", 102 | 103 | // Video 104 | "Insert Video": "Inserisci Video", 105 | "Embedded Code": "Codice incorporato", 106 | 107 | // Tables 108 | "Insert Table": "Inserisci Tabella", 109 | "Header": "Intestazione", 110 | "Row": "Riga", 111 | "Insert row above": "Inserisci una Riga Prima", 112 | "Insert row below": "Inserisci una Riga Dopo", 113 | "Delete row": "Cancella Riga", 114 | "Column": "Colonna", 115 | "Insert column before": "Inserisci una Colonna Prima", 116 | "Insert column after": "Inserisci una Colonna Dopo", 117 | "Delete column": "Cancella Colonna", 118 | "Cell": "Cella", 119 | "Merge cells": "Unisci Cella", 120 | "Horizontal split": "Divisione Orizzontale", 121 | "Vertical split": "Divisione Verticale", 122 | "Cell Background": "Sfondo della cella", 123 | "Vertical Align": "allineamento verticale", 124 | "Top": "Alto", 125 | "Middle": "Mezzo", 126 | "Bottom": "Fondo", 127 | "Align Top": "Allinea in alto", 128 | "Align Middle": "Allinea al centro", 129 | "Align Bottom": "Allinea in basso", 130 | "Cell Style": "Stile di cella", 131 | 132 | // Files 133 | "Upload File": "Carica File", 134 | "Drop file": "Rilascia File", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticon", 138 | "Grinning face": "Sorridendo volto", 139 | "Grinning face with smiling eyes": "Sorridendo faccia con gli occhi sorridenti", 140 | "Face with tears of joy": "Faccia con lacrime di gioia", 141 | "Smiling face with open mouth": "Volto sorridente con la bocca aperta", 142 | "Smiling face with open mouth and smiling eyes": "Volto sorridente con la bocca aperta e gli occhi sorridenti", 143 | "Smiling face with open mouth and cold sweat": "Volto sorridente con la bocca aperta e sudore freddo", 144 | "Smiling face with open mouth and tightly-closed eyes": "Volto sorridente con la bocca aperta e gli occhi ben chiusi", 145 | "Smiling face with halo": "Volto sorridente con alone", 146 | "Smiling face with horns": "Volto sorridente con le corna", 147 | "Winking face": "Fare l'occhiolino volto", 148 | "Smiling face with smiling eyes": "Volto sorridente con gli occhi sorridenti", 149 | "Face savoring delicious food": "Volto assaporando cibo delizioso", 150 | "Relieved face": "Volto Sollevata", 151 | "Smiling face with heart-shaped eyes": "Volto sorridente con gli occhi a forma di cuore", 152 | "Smiling face with sunglasses": "Volto sorridente con gli occhiali da sole", 153 | "Smirking face": "Compiaciuto affrontare", 154 | "Neutral face": "Volto Neutral", 155 | "Expressionless face": "Volto inespressivo", 156 | "Unamused face": "Faccia non divertito", 157 | "Face with cold sweat": "Faccia con sudore freddo", 158 | "Pensive face": "Volto pensieroso", 159 | "Confused face": "Volto confuso", 160 | "Confounded face": "Volto confusi", 161 | "Kissing face": "Baciare faccia", 162 | "Face throwing a kiss": "Volto lanciando un bacio", 163 | "Kissing face with smiling eyes": "Baciare faccia con gli occhi sorridenti", 164 | "Kissing face with closed eyes": "Baciare faccia con gli occhi chiusi", 165 | "Face with stuck out tongue": "Faccia con la lingua fuori bloccato", 166 | "Face with stuck out tongue and winking eye": "Faccia con la lingua fuori bloccato e ammiccante occhio", 167 | "Face with stuck out tongue and tightly-closed eyes": "Faccia con la lingua fuori bloccato e gli occhi ben chiusi", 168 | "Disappointed face": "Volto deluso", 169 | "Worried face": "Faccia preoccupata", 170 | "Angry face": "Faccia arrabbiata", 171 | "Pouting face": "Fare il muso volto", 172 | "Crying face": "Piangere volto", 173 | "Persevering face": "Perseverando volto", 174 | "Face with look of triumph": "Affrontare con sguardo di trionfo", 175 | "Disappointed but relieved face": "Siamo rimasti delusi ma sollevato la faccia", 176 | "Frowning face with open mouth": "Accigliandosi volto con la bocca aperta", 177 | "Anguished face": "Volto Angosciato", 178 | "Fearful face": "Volto Temendo", 179 | "Weary face": "Volto stanco", 180 | "Sleepy face": "Faccia assonnata", 181 | "Tired face": "Volto stanco", 182 | "Grimacing face": "Smorfie volto", 183 | "Loudly crying face": "Ad alta voce che grida volto", 184 | "Face with open mouth": "Volto con la bocca aperta", 185 | "Hushed face": "Faccia ovattata", 186 | "Face with open mouth and cold sweat": "Volto con la bocca aperta e sudore freddo", 187 | "Face screaming in fear": "Volto urlando nella paura", 188 | "Astonished face": "Volto Stupito", 189 | "Flushed face": "Viso rosso", 190 | "Sleeping face": "Viso addormentato", 191 | "Dizzy face": "Faccia vertigini", 192 | "Face without mouth": "Volto senza bocca", 193 | "Face with medical mask": "Volto con la mascherina medica", 194 | 195 | // Line breaker 196 | "Break": "Separazione", 197 | 198 | // Math 199 | "Subscript": "Pedice", 200 | "Superscript": "Apice", 201 | 202 | // Full screen 203 | "Fullscreen": "Schermo intero", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Inserisci Divisore Orizzontale", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Cancella formattazione", 210 | 211 | // Undo, redo 212 | "Undo": "Annulla", 213 | "Redo": "Ripeti", 214 | 215 | // Select all 216 | "Select All": "Seleziona Tutto", 217 | 218 | // Code view 219 | "Code View": "Visualizzazione di codice", 220 | 221 | // Quote 222 | "Quote": "Citazione", 223 | "Increase": "Aumentare", 224 | "Decrease": "Diminuzione" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/me.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Montenegrin 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['me'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Ukucajte ne\u0161tp", 15 | 16 | // Basic formatting 17 | "Bold": "Bold", 18 | "Italic": "Italic", 19 | "Underline": "Podvu\u010deno", 20 | "Strikethrough": "Prekri\u017eano", 21 | 22 | // Main buttons 23 | "Insert": "Umetni", 24 | "Delete": "Obri\u0161i", 25 | "Cancel": "Otka\u017ei", 26 | "OK": "U redu", 27 | "Back": "Natrag", 28 | "Remove": "Ukloni", 29 | "More": "Vi\u0161e", 30 | "Update": "A\u017euriranje", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Odaberi font", 35 | "Font Size": "Veli\u010dina fonta", 36 | 37 | // Colors 38 | "Colors": "Boje", 39 | "Background": "Pozadine", 40 | "Text": "Teksta", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Paragraf formatu", 44 | "Normal": "Normalno", 45 | "Code": "Izvorni kod", 46 | "Heading 1": "Naslov 1", 47 | "Heading 2": "Naslov 2", 48 | "Heading 3": "Naslov 3", 49 | "Heading 4": "Naslov 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraf stil", 53 | "Inline Style": "Inline stil", 54 | 55 | // Alignment 56 | "Align": "Poravnaj", 57 | "Align Left": "Poravnaj lijevo", 58 | "Align Center": "Poravnaj po sredini", 59 | "Align Right": "Poravnaj desno", 60 | "Align Justify": "Cjelokupno poravnanje", 61 | "None": "Nijedan", 62 | 63 | // Lists 64 | "Ordered List": "Ure\u0111ena lista", 65 | "Unordered List": "Nesre\u0111ene lista", 66 | 67 | // Indent 68 | "Decrease Indent": "Smanjenje alineja", 69 | "Increase Indent": "Pove\u0107anje alineja", 70 | 71 | // Links 72 | "Insert Link": "Umetni link", 73 | "Open in new tab": "Otvori u novom prozoru", 74 | "Open Link": "Otvori link", 75 | "Edit Link": "Uredi link", 76 | "Unlink": "Ukloni link", 77 | "Choose Link": "Izabrati link", 78 | 79 | // Images 80 | "Insert Image": "Umetni sliku", 81 | "Upload Image": "Upload sliku", 82 | "By URL": "Preko URL", 83 | "Browse": "Pregledaj", 84 | "Drop image": "Izbaci sliku", 85 | "or click": "ili odaberi", 86 | "Manage Images": "Upravljanje ilustracijama", 87 | "Loading": "Koji tovari", 88 | "Deleting": "Brisanje", 89 | "Tags": "Oznake", 90 | "Are you sure? Image will be deleted.": "Da li ste sigurni da \u017eelite da obri\u0161ete ovu ilustraciju?", 91 | "Replace": "Zamijenite", 92 | "Uploading": "Uploading", 93 | "Loading image": "Koji tovari sliku", 94 | "Display": "Prikaz", 95 | "Inline": "Inline", 96 | "Break Text": "Break tekst", 97 | "Alternate Text": "Alternativna tekst", 98 | "Change Size": "Promijeni veli\u010dinu", 99 | "Width": "\u0161irina", 100 | "Height": "Visina", 101 | "Something went wrong. Please try again.": "Ne\u0161to je po\u0161lo po zlu. Molimo vas da poku\u0161ate ponovo.", 102 | 103 | // Video 104 | "Insert Video": "Umetni video", 105 | "Embedded Code": "Embedded kod", 106 | 107 | // Tables 108 | "Insert Table": "Umetni tabelu", 109 | "Header": "Zaglavlje", 110 | "Row": "Red", 111 | "Insert row above": "Umetni red iznad", 112 | "Insert row below": "Umetni red ispod", 113 | "Delete row": "Obri\u0161i red", 114 | "Column": "Kolona", 115 | "Insert column before": "Umetni kolonu prije", 116 | "Insert column after": "Umetni kolonu poslije", 117 | "Delete column": "Obri\u0161i kolonu", 118 | "Cell": "\u0106elija", 119 | "Merge cells": "Spoji \u0107elija", 120 | "Horizontal split": "Horizontalno razdvajanje polja", 121 | "Vertical split": "Vertikalno razdvajanje polja", 122 | "Cell Background": "\u0106elija pozadini", 123 | "Vertical Align": "Vertikalni poravnaj", 124 | "Top": "Vrh", 125 | "Middle": "Srednji", 126 | "Bottom": "Dno", 127 | "Align Top": "Poravnaj vrh", 128 | "Align Middle": "Poravnaj srednji", 129 | "Align Bottom": "Poravnaj dno", 130 | "Cell Style": "\u0106elija stil", 131 | 132 | // Files 133 | "Upload File": "Upload datoteke", 134 | "Drop file": "Drop datoteke", 135 | 136 | // Emoticons 137 | "Emoticons": "Emotikona", 138 | "Grinning face": "Cere\u0107i lice", 139 | "Grinning face with smiling eyes": "Cere\u0107i lice nasmijana o\u010dima", 140 | "Face with tears of joy": "Lice sa suze radosnice", 141 | "Smiling face with open mouth": "Nasmijana lica s otvorenih usta", 142 | "Smiling face with open mouth and smiling eyes": "Nasmijana lica s otvorenih usta i nasmijana o\u010di", 143 | "Smiling face with open mouth and cold sweat": "Nasmijana lica s otvorenih usta i hladan znoj", 144 | "Smiling face with open mouth and tightly-closed eyes": "Nasmijana lica s otvorenih usta i \u010dvrsto-zatvorenih o\u010diju", 145 | "Smiling face with halo": "Nasmijana lica sa halo", 146 | "Smiling face with horns": "Nasmijana lica s rogovima", 147 | "Winking face": "Namigivanje lice", 148 | "Smiling face with smiling eyes": "Nasmijana lica sa nasmijana o\u010dima", 149 | "Face savoring delicious food": "Suo\u010davaju uživaju\u0107i ukusna hrana", 150 | "Relieved face": "Laknulo lice", 151 | "Smiling face with heart-shaped eyes": "Nasmijana lica sa obliku srca o\u010di", 152 | "Smiling face with sunglasses": "Nasmijana lica sa sun\u010dane nao\u010dare", 153 | "Smirking face": "Namr\u0161tena lica", 154 | "Neutral face": "Neutral lice", 155 | "Expressionless face": "Bezizra\u017eajno lice", 156 | "Unamused face": "Nije zabavno lice", 157 | "Face with cold sweat": "Lice s hladnim znojem", 158 | "Pensive face": "Zami\u0161ljen lice", 159 | "Confused face": "Zbunjen lice", 160 | "Confounded face": "Uzbu\u0111en lice", 161 | "Kissing face": "Ljubakanje lice", 162 | "Face throwing a kiss": "Suo\u010davaju bacanje poljubac", 163 | "Kissing face with smiling eyes": "Ljubljenje lice nasmijana o\u010dima", 164 | "Kissing face with closed eyes": "Ljubljenje lice sa zatvorenim o\u010dima", 165 | "Face with stuck out tongue": "Lice sa ispru\u017eio jezik", 166 | "Face with stuck out tongue and winking eye": "Lice sa ispru\u017eio jezik i trep\u0107u\u0107e \u0107e oko", 167 | "Face with stuck out tongue and tightly-closed eyes": "Lice sa ispru\u017eio jezik i \u010dvrsto zatvorene o\u010di", 168 | "Disappointed face": "Razo\u010daran lice", 169 | "Worried face": "Zabrinuti lice", 170 | "Angry face": "Ljut lice", 171 | "Pouting face": "Napu\u0107enim lice", 172 | "Crying face": "Plakanje lice", 173 | "Persevering face": "Istrajan lice", 174 | "Face with look of triumph": "Lice s pogledom trijumfa", 175 | "Disappointed but relieved face": "Razo\u010daran, ali olak\u0161anje lice", 176 | "Frowning face with open mouth": "Namr\u0161tiv\u0161i lice s otvorenih usta", 177 | "Anguished face": "Bolnom lice", 178 | "Fearful face": "Pla\u0161ljiv lice", 179 | "Weary face": "Umoran lice", 180 | "Sleepy face": "Pospan lice", 181 | "Tired face": "Umorno lice", 182 | "Grimacing face": "Grimase lice", 183 | "Loudly crying face": "Glasno pla\u010de lice", 184 | "Face with open mouth": "Lice s otvorenih usta", 185 | "Hushed face": "Smiren lice", 186 | "Face with open mouth and cold sweat": "Lice s otvorenih usta i hladan znoj", 187 | "Face screaming in fear": "Suo\u010davaju vri\u0161ti u strahu", 188 | "Astonished face": "Zapanjen lice", 189 | "Flushed face": "Rumeno lice", 190 | "Sleeping face": "Usnulo lice", 191 | "Dizzy face": "O\u0161amu\u0107en lice", 192 | "Face without mouth": "Lice bez usta", 193 | "Face with medical mask": "Lice sa medicinskom maskom", 194 | 195 | // Line breaker 196 | "Break": "Slomiti", 197 | 198 | // Math 199 | "Subscript": "Potpisan", 200 | "Superscript": "Natpis", 201 | 202 | // Full screen 203 | "Fullscreen": "Preko cijelog zaslona", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Umetni vodoravna liniju", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Izbrisati formatiranje", 210 | 211 | // Undo, redo 212 | "Undo": "Korak nazad", 213 | "Redo": "Korak naprijed", 214 | 215 | // Select all 216 | "Select All": "Ozna\u010di sve", 217 | 218 | // Code view 219 | "Code View": "Kod pogled", 220 | 221 | // Quote 222 | "Quote": "Citat", 223 | "Increase": "Pove\u0107ati", 224 | "Decrease": "Smanjenje" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/nb.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Norwegian 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['nb'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Skriv noe", 15 | 16 | // Basic formatting 17 | "Bold": "Fet", 18 | "Italic": "Kursiv", 19 | "Underline": "Understreket", 20 | "Strikethrough": "Gjennomstreket", 21 | 22 | // Main buttons 23 | "Insert": "Sett", 24 | "Delete": "Slett", 25 | "Cancel": "Avbryt", 26 | "OK": "OK", 27 | "Back": "Tilbake", 28 | "Remove": "Fjern", 29 | "More": "Mer", 30 | "Update": "Oppdatering", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Skriftsnitt", 35 | "Font Size": "St\u00f8rrelse", 36 | 37 | // Colors 38 | "Colors": "Farger", 39 | "Background": "Bakgrunn", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Stiler", 44 | "Normal": "Normal", 45 | "Code": "Kode", 46 | "Heading 1": "Overskrift 1", 47 | "Heading 2": "Overskrift 2", 48 | "Heading 3": "Overskrift 3", 49 | "Heading 4": "Overskrift 4", 50 | 51 | // Style 52 | "Paragraph Style": "Avsnittsstil", 53 | "Inline Style": "P\u00e5 linje stil", 54 | 55 | // Alignment 56 | "Align": "Justering", 57 | "Align Left": "Venstrejustert", 58 | "Align Center": "Midtstilt", 59 | "Align Right": "H\u00f8yrejustert", 60 | "Align Justify": "Juster alle linjer", 61 | "None": "None", 62 | 63 | // Lists 64 | "Ordered List": "Ordnet liste", 65 | "Unordered List": "Uordnet liste", 66 | 67 | // Indent 68 | "Decrease Indent": "Reduser innrykk", 69 | "Increase Indent": "\u00d8k innrykk", 70 | 71 | // Links 72 | "Insert Link": "Sett inn lenke", 73 | "Open in new tab": "\u00c5pne i ny fane", 74 | "Open Link": "\u00c5pne lenke", 75 | "Edit Link": "Rediger lenke", 76 | "Unlink": "Fjern lenke", 77 | "Choose Link": "Velge lenke", 78 | 79 | // Images 80 | "Insert Image": "Sett inn bilde", 81 | "Upload Image": "Last opp bilde", 82 | "By URL": "Ved URL", 83 | "Browse": "Bla", 84 | "Drop image": "Slippe bilde", 85 | "or click": "eller klikk", 86 | "Manage Images": "Bildebehandling", 87 | "Loading": "Lasting", 88 | "Deleting": "Slette", 89 | "Tags": "Tags", 90 | "Are you sure? Image will be deleted.": "Er du sikker? Bildet vil bli slettet.", 91 | "Replace": "Erstatte", 92 | "Uploading": "Opplasting", 93 | "Loading image": "Lasting bilde", 94 | "Display": "Utstilling", 95 | "Inline": "P\u00e5 linje", 96 | "Break Text": "Brudd tekst", 97 | "Alternate Text": "Alternativ tekst", 98 | "Change Size": "Endre st\u00f8rrelse", 99 | "Width": "Bredde", 100 | "Height": "H\u00f8yde", 101 | "Something went wrong. Please try again.": "Noe gikk galt. V\u00e6r s\u00e5 snill, pr\u00f8v p\u00e5 nytt.", 102 | 103 | // Video 104 | "Insert Video": "Sett inn video", 105 | "Embedded Code": "Embedded kode", 106 | 107 | // Tables 108 | "Insert Table": "Sett inn tabell", 109 | "Header": "Header", 110 | "Row": "Rad", 111 | "Insert row above": "Sett inn rad f\u00f8r", 112 | "Insert row below": "Sett in rad etter", 113 | "Delete row": "Slett rad", 114 | "Column": "Kolonne", 115 | "Insert column before": "Sett inn kolonne f\u00f8r", 116 | "Insert column after": "Sett inn kolonne etter", 117 | "Delete column": "Slett kolonne", 118 | "Cell": "Celle", 119 | "Merge cells": "Sl\u00e5 sammen celler", 120 | "Horizontal split": "Horisontalt delt", 121 | "Vertical split": "Vertikal split", 122 | "Cell Background": "Celle bakgrunn", 123 | "Vertical Align": "Vertikal sluttar", 124 | "Top": "Topp", 125 | "Middle": "Midten", 126 | "Bottom": "Bunn", 127 | "Align Top": "Justere toppen", 128 | "Align Middle": "Justere midten", 129 | "Align Bottom": "Justere bunnen", 130 | "Cell Style": "Celle stil", 131 | 132 | // Files 133 | "Upload File": "Opplastingsfil", 134 | "Drop file": "Slippe fil", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | "Grinning face": "Flirer ansikt", 139 | "Grinning face with smiling eyes": "Flirer ansikt med smilende \u00f8yne", 140 | "Face with tears of joy": "Ansikt med t\u00e5rer av glede", 141 | "Smiling face with open mouth": "Smilende ansikt med \u00e5pen munn", 142 | "Smiling face with open mouth and smiling eyes": "Smilende ansikt med \u00e5pen munn og smilende \u00f8yne", 143 | "Smiling face with open mouth and cold sweat": "Smilende ansikt med \u00e5pen munn og kald svette", 144 | "Smiling face with open mouth and tightly-closed eyes": "Smilende ansikt med \u00e5pen munn og tett lukkede \u00f8yne", 145 | "Smiling face with halo": "Smilende ansikt med glorie", 146 | "Smiling face with horns": "Smilende ansikt med horn", 147 | "Winking face": "Blunk ansikt", 148 | "Smiling face with smiling eyes": "Smilende ansikt med smilende \u00f8yne", 149 | "Face savoring delicious food": "M\u00f8te nyter deilig mat", 150 | "Relieved face": "Lettet ansikt", 151 | "Smiling face with heart-shaped eyes": "Smilende ansikt med hjerteformede \u00f8yne", 152 | "Smiling face with sunglasses": "Smilende ansikt med solbriller", 153 | "Smirking face": "Tilfreds ansikt", 154 | "Neutral face": "N\u00f8ytral ansikt", 155 | "Expressionless face": "Uttrykksl\u00f8st ansikt", 156 | "Unamused face": "Ikke moret ansikt", 157 | "Face with cold sweat": "Ansikt med kald svette", 158 | "Pensive face": "Tankefull ansikt", 159 | "Confused face": "Forvirret ansikt", 160 | "Confounded face": "Skamme ansikt", 161 | "Kissing face": "Kyssing ansikt", 162 | "Face throwing a kiss": "Ansikt kaste et kyss", 163 | "Kissing face with smiling eyes": "Kyssing ansikt med smilende \u00f8yne", 164 | "Kissing face with closed eyes": "Kyssing ansiktet med lukkede \u00f8yne", 165 | "Face with stuck out tongue": "Ansikt med stakk ut tungen", 166 | "Face with stuck out tongue and winking eye": "Ansikt med stakk ut tungen og blunke \u00f8ye", 167 | "Face with stuck out tongue and tightly-closed eyes": "Ansikt med fast ut tungen og tett lukket \u00f8yne", 168 | "Disappointed face": "Skuffet ansikt", 169 | "Worried face": "Bekymret ansikt", 170 | "Angry face": "Sint ansikt", 171 | "Pouting face": "Trutmunn ansikt", 172 | "Crying face": "Gr\u00e5ter ansikt", 173 | "Persevering face": "Utholdende ansikt", 174 | "Face with look of triumph": "Ansikt med utseendet til triumf", 175 | "Disappointed but relieved face": "Skuffet men lettet ansikt", 176 | "Frowning face with open mouth": "Rynke ansikt med \u00e5pen munn", 177 | "Anguished face": "Forpint ansikt", 178 | "Fearful face": "Engstelig ansikt", 179 | "Weary face": "Slitne ansiktet", 180 | "Sleepy face": "S\u00f8vnig ansikt", 181 | "Tired face": "Tr\u00f8tt ansikt", 182 | "Grimacing face": "Griner ansikt", 183 | "Loudly crying face": "H\u00f8ylytt gr\u00e5tende ansikt", 184 | "Face with open mouth": "Ansikt med \u00e5pen munn", 185 | "Hushed face": "Lavm\u00e6lt ansikt", 186 | "Face with open mouth and cold sweat": "Ansikt med \u00e5pen munn og kald svette", 187 | "Face screaming in fear": "Ansikt skriker i frykt", 188 | "Astonished face": "Forbauset ansikt", 189 | "Flushed face": "Flushed ansikt", 190 | "Sleeping face": "Sovende ansikt", 191 | "Dizzy face": "Svimmel ansikt", 192 | "Face without mouth": "Ansikt uten munn", 193 | "Face with medical mask": "Ansikt med medisinsk maske", 194 | 195 | // Line breaker 196 | "Break": "Brudd", 197 | 198 | // Math 199 | "Subscript": "Senket skrift", 200 | "Superscript": "Hevet skrift", 201 | 202 | // Full screen 203 | "Fullscreen": "Full skjerm", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Sett inn horisontal linje", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Fjerne formatering", 210 | 211 | // Undo, redo 212 | "Undo": "Angre", 213 | "Redo": "Utf\u00f8r likevel", 214 | 215 | // Select all 216 | "Select All": "Marker alt", 217 | 218 | // Code view 219 | "Code View": "Kodevisning", 220 | 221 | // Quote 222 | "Quote": "Sitat", 223 | "Increase": "\u00d8ke", 224 | "Decrease": "Nedgang" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/nl.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Dutch 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['nl'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Typ iets", 15 | 16 | // Basic formatting 17 | "Bold": "Vet", 18 | "Italic": "Schuin", 19 | "Underline": "Onderstreept", 20 | "Strikethrough": "Doorhalen", 21 | 22 | // Main buttons 23 | "Insert": "Invoegen", 24 | "Delete": "Verwijder", 25 | "Cancel": "Annuleren", 26 | "OK": "Ok\u00e9", 27 | "Back": "Terug", 28 | "Remove": "Verwijderen", 29 | "More": "Meer", 30 | "Update": "Bijwerken", 31 | "Style": "Stijl", 32 | 33 | // Font 34 | "Font Family": "Lettertype", 35 | "Font Size": "Letter grootte", 36 | 37 | // Colors 38 | "Colors": "Kleuren", 39 | "Background": "Achtergrond", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Opmaak", 44 | "Normal": "Normaal", 45 | "Code": "Code", 46 | "Heading 1": "Kop 1", 47 | "Heading 2": "Kop 2", 48 | "Heading 3": "Kop 3", 49 | "Heading 4": "Kop 4", 50 | 51 | // Style 52 | "Paragraph Style": "Paragraaf stijl", 53 | "Inline Style": "In de rij stijl", 54 | 55 | // Alignment 56 | "Align": "Uitlijnen", 57 | "Align Left": "Links uitlijnen", 58 | "Align Center": "Centreren", 59 | "Align Right": "Rechts uitlijnen", 60 | "Align Justify": "Uitlijnen", 61 | "None": "Niets", 62 | 63 | // Lists 64 | "Ordered List": "Geordende lijst", 65 | "Unordered List": "Ongeordende lijst", 66 | 67 | // Indent 68 | "Decrease Indent": "Inspringen verkleinen", 69 | "Increase Indent": "Inspringen vergroten", 70 | 71 | // Links 72 | "Insert Link": "Hyperlink invoegen", 73 | "Open in new tab": "Openen in nieuw tabblad", 74 | "Open Link": "Open link", 75 | "Edit Link": "Link bewerken", 76 | "Unlink": "Link verwijderen", 77 | "Choose Link": "Kiezen koppeling", 78 | 79 | // Images 80 | "Insert Image": "Afbeelding invoegen", 81 | "Upload Image": "Afbeelding uploaden", 82 | "By URL": "Door URL", 83 | "Browse": "Blader", 84 | "Drop image": "Drop afbeelding", 85 | "or click": "of klik op", 86 | "Manage Images": "Beheren van beelden", 87 | "Loading": "Het laden", 88 | "Deleting": "Het verwijderen", 89 | "Tags": "Labels", 90 | "Are you sure? Image will be deleted.": "Weet je het zeker? Opname wordt verwijderd.", 91 | "Replace": "Vervangen", 92 | "Uploading": "Uploaden", 93 | "Loading image": "Afbeelding laden", 94 | "Display": "Tonen", 95 | "Inline": "In de rij", 96 | "Break Text": "Breken tekst", 97 | "Alternate Text": "Alternatieve tekst", 98 | "Change Size": "Grootte veranderen", 99 | "Width": "Breedte", 100 | "Height": "Hoogte", 101 | "Something went wrong. Please try again.": "Er is iets fout gegaan. Probeer opnieuw.", 102 | 103 | // Video 104 | "Insert Video": "Video invoegen", 105 | "Embedded Code": "Ingebedde code", 106 | 107 | // Tables 108 | "Insert Table": "Tabel invoegen", 109 | "Header": "Hoofd", 110 | "Row": "Rij", 111 | "Insert row above": "Voeg rij boven toe", 112 | "Insert row below": "Voeg rij onder toe", 113 | "Delete row": "Verwijder rij", 114 | "Column": "Kolom", 115 | "Insert column before": "Voeg kolom in voor", 116 | "Insert column after": "Voeg kolom in na", 117 | "Delete column": "Verwijder kolom", 118 | "Cell": "Cel", 119 | "Merge cells": "Cellen samenvoegen", 120 | "Horizontal split": "Horizontaal splitsen", 121 | "Vertical split": "Verticaal splitsen", 122 | "Cell Background": "Cel achtergrond", 123 | "Vertical Align": "Verticaal uitlijnen", 124 | "Top": "Top", 125 | "Middle": "Midden", 126 | "Bottom": "Bodem", 127 | "Align Top": "Uitlijnen top", 128 | "Align Middle": "Uitlijnen midden", 129 | "Align Bottom": "Onder uitlijnen", 130 | "Cell Style": "Celstijl", 131 | 132 | // Files 133 | "Upload File": "Upload bestand", 134 | "Drop file": "Drop bestand", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | "Grinning face": "Grijnzend gezicht", 139 | "Grinning face with smiling eyes": "Grijnzend gezicht met lachende ogen", 140 | "Face with tears of joy": "Geconfronteerd met tranen van vreugde", 141 | "Smiling face with open mouth": "Lachend gezicht met open mond", 142 | "Smiling face with open mouth and smiling eyes": "Lachend gezicht met open mond en lachende ogen", 143 | "Smiling face with open mouth and cold sweat": "Lachend gezicht met open mond en koud zweet", 144 | "Smiling face with open mouth and tightly-closed eyes": "Lachend gezicht met open mond en strak gesloten ogen", 145 | "Smiling face with halo": "Lachend gezicht met halo", 146 | "Smiling face with horns": "Lachend gezicht met hoorns", 147 | "Winking face": "Het knipogen gezicht", 148 | "Smiling face with smiling eyes": "Lachend gezicht met lachende ogen", 149 | "Face savoring delicious food": "Gezicht genieten van heerlijk eten", 150 | "Relieved face": "Opgelucht gezicht", 151 | "Smiling face with heart-shaped eyes": "Het glimlachen gezicht met hart-vormige ogen", 152 | "Smiling face with sunglasses": "Lachend gezicht met zonnebril", 153 | "Smirking face": "Grijnzende gezicht", 154 | "Neutral face": "Neutraal gezicht", 155 | "Expressionless face": "Wezenloos gezicht", 156 | "Unamused face": "Niet geamuseerd gezicht", 157 | "Face with cold sweat": "Gezicht met koud zweet", 158 | "Pensive face": "Peinzend gezicht", 159 | "Confused face": "Verward gezicht", 160 | "Confounded face": "Beschaamd gezicht", 161 | "Kissing face": "Zoenen gezicht", 162 | "Face throwing a kiss": "Geconfronteerd gooien van een kus", 163 | "Kissing face with smiling eyes": "Zoenen gezicht met lachende ogen", 164 | "Kissing face with closed eyes": "Zoenen gezicht met gesloten ogen", 165 | "Face with stuck out tongue": "Gezicht met stak tong", 166 | "Face with stuck out tongue and winking eye": "Gezicht met stak tong en ergens oog", 167 | "Face with stuck out tongue and tightly-closed eyes": "Gezicht met stak de tong en strak-gesloten ogen", 168 | "Disappointed face": "Teleurgesteld gezicht", 169 | "Worried face": "Bezorgd gezicht", 170 | "Angry face": "Boos gezicht", 171 | "Pouting face": "Het pruilen gezicht", 172 | "Crying face": "Huilen gezicht", 173 | "Persevering face": "Volhardend gezicht", 174 | "Face with look of triumph": "Geconfronteerd met blik van triomf", 175 | "Disappointed but relieved face": "Teleurgesteld, maar opgelucht gezicht", 176 | "Frowning face with open mouth": "Het fronsen gezicht met open mond", 177 | "Anguished face": "Gekweld gezicht", 178 | "Fearful face": "Angstig gezicht", 179 | "Weary face": "Vermoeide gezicht", 180 | "Sleepy face": "Slaperig gezicht", 181 | "Tired face": "Moe gezicht", 182 | "Grimacing face": "Het grimassen trekken gezicht", 183 | "Loudly crying face": "Luid schreeuwend gezicht", 184 | "Face with open mouth": "Geconfronteerd met open mond", 185 | "Hushed face": "Verstilde gezicht", 186 | "Face with open mouth and cold sweat": "Geconfronteerd met open mond en koud zweet", 187 | "Face screaming in fear": "Gezicht schreeuwen in angst", 188 | "Astonished face": "Verbaasd gezicht", 189 | "Flushed face": "Gespoeld gezicht", 190 | "Sleeping face": "Slapen face", 191 | "Dizzy face": "Duizelig gezicht", 192 | "Face without mouth": "Gezicht zonder mond", 193 | "Face with medical mask": "Geconfronteerd met medische masker", 194 | 195 | // Line breaker 196 | "Break": "Breken", 197 | 198 | // Math 199 | "Subscript": "Subscript", 200 | "Superscript": "Superscript", 201 | 202 | // Full screen 203 | "Fullscreen": "Volledig scherm", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Plaats horizontale lijn", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Verwijder opmaak", 210 | 211 | // Undo, redo 212 | "Undo": "Ongedaan maken", 213 | "Redo": "Opnieuw", 214 | 215 | // Select all 216 | "Select All": "Alles selecteren", 217 | 218 | // Code view 219 | "Code View": "Codeweergave", 220 | 221 | // Quote 222 | "Quote": "Citaat", 223 | "Increase": "Toenemen", 224 | "Decrease": "Daling" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/pt_br.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Portuguese spoken in Brazil 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['pt_br'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Digite algo", 15 | 16 | // Basic formatting 17 | "Bold": "Negrito", 18 | "Italic": "It\u00e1lico", 19 | "Underline": "Sublinhar", 20 | "Strikethrough": "Riscar", 21 | 22 | // Main buttons 23 | "Insert": "Inserir", 24 | "Delete": "Apagar", 25 | "Cancel": "Cancelar", 26 | "OK": "Ok", 27 | "Back": "Costas", 28 | "Remove": "Remover", 29 | "More": "Mais", 30 | "Update": "Atualizar", 31 | "Style": "Estilo", 32 | 33 | // Font 34 | "Font Family": "Fonte", 35 | "Font Size": "Tamanho", 36 | 37 | // Colors 38 | "Colors": "Cores", 39 | "Background": "Fundo", 40 | "Text": "Texto", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Formatos", 44 | "Normal": "Normal", 45 | "Code": "C\u00f3digo", 46 | "Heading 1": "Cabe\u00e7alho 1", 47 | "Heading 2": "Cabe\u00e7alho 2", 48 | "Heading 3": "Cabe\u00e7alho 3", 49 | "Heading 4": "Cabe\u00e7alho 4", 50 | 51 | // Style 52 | "Paragraph Style": "Estilo de par\u00e1grafo", 53 | "Inline Style": "Estilo embutido", 54 | 55 | // Alignment 56 | "Align": "Alinhar", 57 | "Align Left": "Alinhar \u00e0 esquerda", 58 | "Align Center": "Centralizar", 59 | "Align Right": "Alinhar \u00e0 direita", 60 | "Align Justify": "Justificar", 61 | "None": "Nenhum", 62 | 63 | // Lists 64 | "Ordered List": "Lista ordenada", 65 | "Unordered List": "Lista n\u00e3o ordenada", 66 | 67 | // Indent 68 | "Decrease Indent": "Diminuir recuo", 69 | "Increase Indent": "Aumentar recuo", 70 | 71 | // Links 72 | "Insert Link": "Inserir link", 73 | "Open in new tab": "Abrir em uma nova aba", 74 | "Open Link": "Abrir link", 75 | "Edit Link": "Editar link", 76 | "Unlink": "Remover link", 77 | "Choose Link": "Escolha o link", 78 | 79 | // Images 80 | "Insert Image": "Inserir imagem", 81 | "Upload Image": "Carregar imagem", 82 | "By URL": "Por URL", 83 | "Browse": "Procurar", 84 | "Drop image": "Arraste sua imagem aqui", 85 | "or click": "ou clique aqui", 86 | "Manage Images": "Gerenciar imagens", 87 | "Loading": "Carregando", 88 | "Deleting": "Excluindo", 89 | "Tags": "Etiquetas", 90 | "Are you sure? Image will be deleted.": "Voc\u00ea tem certeza? Imagem ser\u00e1 apagada.", 91 | "Replace": "Substituir", 92 | "Uploading": "Carregar imagem", 93 | "Loading image": "Carregar imagem", 94 | "Display": "Exibir", 95 | "Inline": "Em linha", 96 | "Break Text": "Texto de quebra", 97 | "Alternate Text": "Texto alternativo", 98 | "Change Size": "Alterar tamanho", 99 | "Width": "Largura", 100 | "Height": "Altura", 101 | "Something went wrong. Please try again.": "Algo deu errado. Por favor, tente novamente.", 102 | 103 | // Video 104 | "Insert Video": "Inserir v\u00eddeo", 105 | "Embedded Code": "C\u00f3digo embutido", 106 | 107 | // Tables 108 | "Insert Table": "Inserir tabela", 109 | "Header": "Cabe\u00e7alho", 110 | "Row": "Linha", 111 | "Insert row above": "Inserir linha antes", 112 | "Insert row below": "Inserir linha depois", 113 | "Delete row": "Excluir linha", 114 | "Column": "Coluna", 115 | "Insert column before": "Inserir coluna antes", 116 | "Insert column after": "Inserir coluna depois", 117 | "Delete column": "Excluir coluna", 118 | "Cell": "C\u00e9lula", 119 | "Merge cells": "Agrupar c\u00e9lulas", 120 | "Horizontal split": "Divis\u00e3o horizontal", 121 | "Vertical split": "Divis\u00e3o vertical", 122 | "Cell Background": "Fundo da c\u00e9lula", 123 | "Vertical Align": "Alinhar vertical", 124 | "Top": "Topo", 125 | "Middle": "Meio", 126 | "Bottom": "Fundo", 127 | "Align Top": "Alinhar topo", 128 | "Align Middle": "Alinhar meio", 129 | "Align Bottom": "Alinhar fundo", 130 | "Cell Style": "Estilo de c\u00e9lula", 131 | 132 | // Files 133 | "Upload File": "Upload de arquivo", 134 | "Drop file": "Arraste seu arquivo aqui", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | "Grinning face": "Sorrindo a cara", 139 | "Grinning face with smiling eyes": "Sorrindo rosto com olhos sorridentes", 140 | "Face with tears of joy": "Rosto com l\u00e1grimas de alegria", 141 | "Smiling face with open mouth": "Rosto de sorriso com a boca aberta", 142 | "Smiling face with open mouth and smiling eyes": "Rosto de sorriso com a boca aberta e olhos sorridentes", 143 | "Smiling face with open mouth and cold sweat": "Rosto de sorriso com a boca aberta e suor frio", 144 | "Smiling face with open mouth and tightly-closed eyes": "Rosto de sorriso com a boca aberta e os olhos bem fechados", 145 | "Smiling face with halo": "Rosto de sorriso com halo", 146 | "Smiling face with horns": "Rosto de sorriso com chifres", 147 | "Winking face": "Pisc a rosto", 148 | "Smiling face with smiling eyes": "Rosto de sorriso com olhos sorridentes", 149 | "Face savoring delicious food": "Rosto saboreando uma deliciosa comida", 150 | "Relieved face": "Rosto aliviado", 151 | "Smiling face with heart-shaped eyes": "Rosto de sorriso com os olhos em forma de cora\u00e7\u00e3o", 152 | "Smiling face with sunglasses": "Rosto de sorriso com \u00f3culos de sol", 153 | "Smirking face": "Rosto sorridente", 154 | "Neutral face": "Rosto neutra", 155 | "Expressionless face": "Rosto inexpressivo", 156 | "Unamused face": "O rosto n\u00e3o divertido", 157 | "Face with cold sweat": "Rosto com suor frio", 158 | "Pensive face": "O rosto pensativo", 159 | "Confused face": "Cara confusa", 160 | "Confounded face": "Rosto at\u00f4nito", 161 | "Kissing face": "Beijar Rosto", 162 | "Face throwing a kiss": "Rosto jogando um beijo", 163 | "Kissing face with smiling eyes": "Beijar rosto com olhos sorridentes", 164 | "Kissing face with closed eyes": "Beijando a cara com os olhos fechados", 165 | "Face with stuck out tongue": "Preso de cara com a l\u00edngua para fora", 166 | "Face with stuck out tongue and winking eye": "Rosto com estendeu a l\u00edngua e olho piscando", 167 | "Face with stuck out tongue and tightly-closed eyes": "Rosto com estendeu a língua e os olhos bem fechados", 168 | "Disappointed face": "Rosto decepcionado", 169 | "Worried face": "O rosto preocupado", 170 | "Angry face": "Rosto irritado", 171 | "Pouting face": "Beicinho Rosto", 172 | "Crying face": "Cara de choro", 173 | "Persevering face": "Perseverar Rosto", 174 | "Face with look of triumph": "Rosto com olhar de triunfo", 175 | "Disappointed but relieved face": "Fiquei Desapontado mas aliviado Rosto", 176 | "Frowning face with open mouth": "Sobrancelhas franzidas rosto com a boca aberta", 177 | "Anguished face": "O rosto angustiado", 178 | "Fearful face": "Cara com medo", 179 | "Weary face": "Rosto cansado", 180 | "Sleepy face": "Cara de sono", 181 | "Tired face": "Rosto cansado", 182 | "Grimacing face": "Fazendo caretas face", 183 | "Loudly crying face": "Alto chorando rosto", 184 | "Face with open mouth": "Enfrentar com a boca aberta", 185 | "Hushed face": "Flagrantes de rosto", 186 | "Face with open mouth and cold sweat": "Enfrentar com a boca aberta e suor frio", 187 | "Face screaming in fear": "Cara gritando de medo", 188 | "Astonished face": "Cara de surpresa", 189 | "Flushed face": "Rosto vermelho", 190 | "Sleeping face": "O rosto de sono", 191 | "Dizzy face": "Cara tonto", 192 | "Face without mouth": "Rosto sem boca", 193 | "Face with medical mask": "Rosto com m\u00e1scara m\u00e9dica", 194 | 195 | // Line breaker 196 | "Break": "Quebrar", 197 | 198 | // Math 199 | "Subscript": "Subscrito", 200 | "Superscript": "Sobrescrito", 201 | 202 | // Full screen 203 | "Fullscreen": "Tela cheia", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Inserir linha horizontal", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Remover formata\u00e7\u00e3o", 210 | 211 | // Undo, redo 212 | "Undo": "Desfazer", 213 | "Redo": "Refazer", 214 | 215 | // Select all 216 | "Select All": "Selecionar tudo", 217 | 218 | // Code view 219 | "Code View": "Exibi\u00e7\u00e3o de c\u00f3digo", 220 | 221 | // Quote 222 | "Quote": "Cita\u00e7\u00e3o", 223 | "Increase": "Aumentar", 224 | "Decrease": "Diminuir" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/pt_pt.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Portuguese spoken in Portugal 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['pt_pt'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Digite algo", 15 | 16 | // Basic formatting 17 | "Bold": "Negrito", 18 | "Italic": "It\u00e1lico", 19 | "Underline": "Sublinhado", 20 | "Strikethrough": "Rasurado", 21 | 22 | // Main buttons 23 | "Insert": "Inserir", 24 | "Delete": "Apagar", 25 | "Cancel": "Cancelar", 26 | "OK": "Ok", 27 | "Back": "Costas", 28 | "Remove": "Remover", 29 | "More": "Mais", 30 | "Update": "Atualizar", 31 | "Style": "Estilo", 32 | 33 | // Font 34 | "Font Family": "Fonte", 35 | "Font Size": "Tamanho da fonte", 36 | 37 | // Colors 38 | "Colors": "Cores", 39 | "Background": "Fundo", 40 | "Text": "Texto", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Formatos", 44 | "Normal": "Normal", 45 | "Code": "C\u00f3digo", 46 | "Heading 1": "Cabe\u00e7alho 1", 47 | "Heading 2": "Cabe\u00e7alho 2", 48 | "Heading 3": "Cabe\u00e7alho 3", 49 | "Heading 4": "Cabe\u00e7alho 4", 50 | 51 | // Style 52 | "Paragraph Style": "Estilo de par\u00e1grafo", 53 | "Inline Style": "Estilo embutido", 54 | 55 | // Alignment 56 | "Align": "Alinhar", 57 | "Align Left": "Alinhar \u00e0 esquerda", 58 | "Align Center": "Alinhar ao centro", 59 | "Align Right": "Alinhar \u00e0 direita", 60 | "Align Justify": "Justificado", 61 | "None": "Nenhum", 62 | 63 | // Lists 64 | "Ordered List": "Lista ordenada", 65 | "Unordered List": "Lista n\u00e3o ordenada", 66 | 67 | // Indent 68 | "Decrease Indent": "Diminuir avan\u00e7o", 69 | "Increase Indent": "Aumentar avan\u00e7o", 70 | 71 | // Links 72 | "Insert Link": "Inserir link", 73 | "Open in new tab": "Abrir em uma nova aba", 74 | "Open Link": "Abrir link", 75 | "Edit Link": "Editar link", 76 | "Unlink": "Remover link", 77 | "Choose Link": "Escolha o link", 78 | 79 | // Images 80 | "Insert Image": "Inserir imagem", 81 | "Upload Image": "Carregar imagem", 82 | "By URL": "Por URL", 83 | "Browse": "Procurar", 84 | "Drop image": "Largue imagem", 85 | "or click": "ou clique em", 86 | "Manage Images": "Gerenciar as imagens", 87 | "Loading": "Carregando", 88 | "Deleting": "Excluindo", 89 | "Tags": "Etiquetas", 90 | "Are you sure? Image will be deleted.": "Voc\u00ea tem certeza? Imagem ser\u00e1 apagada.", 91 | "Replace": "Substituir", 92 | "Uploading": "Carregar imagem", 93 | "Loading image": "Carregar imagem", 94 | "Display": "Exibir", 95 | "Inline": "Em linha", 96 | "Break Text": "Texto de quebra", 97 | "Alternate Text": "Texto alternativo", 98 | "Change Size": "Alterar tamanho", 99 | "Width": "Largura", 100 | "Height": "Altura", 101 | "Something went wrong. Please try again.": "Algo deu errado. Por favor, tente novamente.", 102 | 103 | // Video 104 | "Insert Video": "Inserir v\u00eddeo", 105 | "Embedded Code": "C\u00f3digo embutido", 106 | 107 | // Tables 108 | "Insert Table": "Inserir tabela", 109 | "Header": "Cabe\u00e7alho", 110 | "Row": "Linha", 111 | "Insert row above": "Inserir linha antes", 112 | "Insert row below": "Inserir linha depois", 113 | "Delete row": "Eliminar linha", 114 | "Column": "Coluna", 115 | "Insert column before": "Inserir coluna antes", 116 | "Insert column after": "Inserir coluna depois", 117 | "Delete column": "Eliminar coluna", 118 | "Cell": "C\u00e9lula", 119 | "Merge cells": "Unir c\u00e9lulas", 120 | "Horizontal split": "Divis\u00e3o horizontal", 121 | "Vertical split": "Divis\u00e3o vertical", 122 | "Cell Background": "Fundo da c\u00e9lula", 123 | "Vertical Align": "Alinhar vertical", 124 | "Top": "Topo", 125 | "Middle": "Meio", 126 | "Bottom": "Fundo", 127 | "Align Top": "Alinhar topo", 128 | "Align Middle": "Alinhar meio", 129 | "Align Bottom": "Alinhar fundo", 130 | "Cell Style": "Estilo de c\u00e9lula", 131 | 132 | // Files 133 | "Upload File": "Upload de arquivo", 134 | "Drop file": "Largar arquivo", 135 | 136 | // Emoticons 137 | "Emoticons": "Emoticons", 138 | "Grinning face": "Sorrindo a cara", 139 | "Grinning face with smiling eyes": "Sorrindo rosto com olhos sorridentes", 140 | "Face with tears of joy": "Rosto com l\u00e1grimas de alegria", 141 | "Smiling face with open mouth": "Rosto de sorriso com a boca aberta", 142 | "Smiling face with open mouth and smiling eyes": "Rosto de sorriso com a boca aberta e olhos sorridentes", 143 | "Smiling face with open mouth and cold sweat": "Rosto de sorriso com a boca aberta e suor frio", 144 | "Smiling face with open mouth and tightly-closed eyes": "Rosto de sorriso com a boca aberta e os olhos bem fechados", 145 | "Smiling face with halo": "Rosto de sorriso com halo", 146 | "Smiling face with horns": "Rosto de sorriso com chifres", 147 | "Winking face": "Pisc a rosto", 148 | "Smiling face with smiling eyes": "Rosto de sorriso com olhos sorridentes", 149 | "Face savoring delicious food": "Rosto saboreando uma deliciosa comida", 150 | "Relieved face": "Rosto aliviado", 151 | "Smiling face with heart-shaped eyes": "Rosto de sorriso com os olhos em forma de cora\u00e7\u00e3o", 152 | "Smiling face with sunglasses": "Rosto de sorriso com \u00f3culos de sol", 153 | "Smirking face": "Rosto sorridente", 154 | "Neutral face": "Rosto neutra", 155 | "Expressionless face": "Rosto inexpressivo", 156 | "Unamused face": "O rosto n\u00e3o divertido", 157 | "Face with cold sweat": "Rosto com suor frio", 158 | "Pensive face": "O rosto pensativo", 159 | "Confused face": "Cara confusa", 160 | "Confounded face": "Rosto at\u00f4nito", 161 | "Kissing face": "Beijar Rosto", 162 | "Face throwing a kiss": "Rosto jogando um beijo", 163 | "Kissing face with smiling eyes": "Beijar rosto com olhos sorridentes", 164 | "Kissing face with closed eyes": "Beijando a cara com os olhos fechados", 165 | "Face with stuck out tongue": "Preso de cara com a l\u00edngua para fora", 166 | "Face with stuck out tongue and winking eye": "Rosto com estendeu a l\u00edngua e olho piscando", 167 | "Face with stuck out tongue and tightly-closed eyes": "Rosto com estendeu a língua e os olhos bem fechados", 168 | "Disappointed face": "Rosto decepcionado", 169 | "Worried face": "O rosto preocupado", 170 | "Angry face": "Rosto irritado", 171 | "Pouting face": "Beicinho Rosto", 172 | "Crying face": "Cara de choro", 173 | "Persevering face": "Perseverar Rosto", 174 | "Face with look of triumph": "Rosto com olhar de triunfo", 175 | "Disappointed but relieved face": "Fiquei Desapontado mas aliviado Rosto", 176 | "Frowning face with open mouth": "Sobrancelhas franzidas rosto com a boca aberta", 177 | "Anguished face": "O rosto angustiado", 178 | "Fearful face": "Cara com medo", 179 | "Weary face": "Rosto cansado", 180 | "Sleepy face": "Cara de sono", 181 | "Tired face": "Rosto cansado", 182 | "Grimacing face": "Fazendo caretas face", 183 | "Loudly crying face": "Alto chorando rosto", 184 | "Face with open mouth": "Enfrentar com a boca aberta", 185 | "Hushed face": "Flagrantes de rosto", 186 | "Face with open mouth and cold sweat": "Enfrentar com a boca aberta e suor frio", 187 | "Face screaming in fear": "Cara gritando de medo", 188 | "Astonished face": "Cara de surpresa", 189 | "Flushed face": "Rosto vermelho", 190 | "Sleeping face": "O rosto de sono", 191 | "Dizzy face": "Cara tonto", 192 | "Face without mouth": "Rosto sem boca", 193 | "Face with medical mask": "Rosto com m\u00e1scara m\u00e9dica", 194 | 195 | // Line breaker 196 | "Break": "Partir", 197 | 198 | // Math 199 | "Subscript": "Subscrito", 200 | "Superscript": "Sobrescrito", 201 | 202 | // Full screen 203 | "Fullscreen": "Tela cheia", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Inserir linha horizontal", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Remover formata\u00e7\u00e3o", 210 | 211 | // Undo, redo 212 | "Undo": "Anular", 213 | "Redo": "Restaurar", 214 | 215 | // Select all 216 | "Select All": "Seleccionar tudo", 217 | 218 | // Code view 219 | "Code View": "Exibi\u00e7\u00e3o de c\u00f3digo", 220 | 221 | // Quote 222 | "Quote": "Cita\u00e7\u00e3o", 223 | "Increase": "Aumentar", 224 | "Decrease": "Diminuir" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/sr.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Serbian (Latin) 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['sr'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Ukucajte ne\u0161tp", 15 | 16 | // Basic formatting 17 | "Bold": "Podebljan", 18 | "Italic": "Isko\u0161en", 19 | "Underline": "Podvu\u010deno", 20 | "Strikethrough": "Precrtan", 21 | 22 | // Main buttons 23 | "Insert": "Umetanje", 24 | "Delete": "Izbri\u0161i", 25 | "Cancel": "Otkazivanje", 26 | "OK": "Ok", 27 | "Back": "Nazad", 28 | "Remove": "Uklonite", 29 | "More": "Vi\u0161e", 30 | "Update": "A\u017euriranje", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Odaberi font", 35 | "Font Size": "Veli\u010dina fontova", 36 | 37 | // Colors 38 | "Colors": "Boje", 39 | "Background": "Pozadina", 40 | "Text": "Tekst", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Format pasusa", 44 | "Normal": "Normalno", 45 | "Code": "\u0160ifra", 46 | "Heading 1": "Naslov 1", 47 | "Heading 2": "Naslov 2", 48 | "Heading 3": "Naslov 3", 49 | "Heading 4": "Naslov 4", 50 | 51 | // Style 52 | "Paragraph Style": "Stil pasusa", 53 | "Inline Style": "Umetnutih stilova", 54 | 55 | // Alignment 56 | "Align": "Poravnavanje", 57 | "Align Left": "Poravnaj levo", 58 | "Align Center": "Poravnaj u centru", 59 | "Align Right": "Poravnaj desno", 60 | "Align Justify": "Obostrano poravnavanje", 61 | "None": "Niko nije", 62 | 63 | // Lists 64 | "Ordered List": "Ure\u0111enih lista", 65 | "Unordered List": "Neure\u0111enu lista", 66 | 67 | // Indent 68 | "Decrease Indent": "Smanjivanje uvla\u010denja", 69 | "Increase Indent": "Pove\u0107avanje uvla\u010denja", 70 | 71 | // Links 72 | "Insert Link": "Umetni vezu", 73 | "Open in new tab": "Otvori na novoj kartici", 74 | "Open Link": "Otvori vezu", 75 | "Edit Link": "Ure\u0111ivanje veze", 76 | "Unlink": "Ukloni vezu", 77 | "Choose Link": "Odaberite vezu", 78 | 79 | // Images 80 | "Insert Image": "Umetanje slike", 81 | "Upload Image": "Otpremanje slika", 82 | "By URL": "Po URL adresi", 83 | "Browse": "Potra\u017ei", 84 | "Drop image": "Baci sliku", 85 | "or click": "ili kliknite na dugme", 86 | "Manage Images": "Upravljanje slike", 87 | "Loading": "U\u010ditavanje", 88 | "Deleting": "Brisanje", 89 | "Tags": "Oznake", 90 | "Are you sure? Image will be deleted.": "Jesi siguran? Slika \u0107e biti izbrisana.", 91 | "Replace": "Zameni", 92 | "Uploading": "Otpremanje", 93 | "Loading image": "U\u010ditavanje slika", 94 | "Display": "Prikaz", 95 | "Inline": "Pri upisivanju", 96 | "Break Text": "Prelom teksta", 97 | "Alternate Text": "Alternativni tekst", 98 | "Change Size": "Promena veli\u010dine", 99 | "Width": "\u0160irina", 100 | "Height": "Visina", 101 | "Something went wrong. Please try again.": "Ne\u0161to krenulo naopako. Poku\u0161ajte ponovo.", 102 | 103 | // Video 104 | "Insert Video": "Umetanje video", 105 | "Embedded Code": "Ugra\u0111eni k\u00f4d", 106 | 107 | // Tables 108 | "Insert Table": "Umetni tabelu", 109 | "Header": "Zaglavlje", 110 | "Row": "Red", 111 | "Insert row above": "Umetni red iznad", 112 | "Insert row below": "Umetni red ispod", 113 | "Delete row": "Izbri\u0161i red", 114 | "Column": "Kolone", 115 | "Insert column before": "Umetnite kolonu pre", 116 | "Insert column after": "Umetnite kolonu nakon", 117 | "Delete column": "Izbri\u0161i kolone", 118 | "Cell": "Mobilni", 119 | "Merge cells": "Objedinjavanje \u0107elija", 120 | "Horizontal split": "Horizontalna split", 121 | "Vertical split": "Vertikalno razdelite", 122 | "Cell Background": "Mobilni pozadina", 123 | "Vertical Align": "Vertikalno poravnavanje", 124 | "Top": "Top", 125 | "Middle": "Srednji", 126 | "Bottom": "Dno", 127 | "Align Top": "Poravnaj gore", 128 | "Align Middle": "Poravnaj po sredini", 129 | "Align Bottom": "Poravnaj dole", 130 | "Cell Style": "Mobilni stil", 131 | 132 | // Files 133 | "Upload File": "Otpremanje datoteke", 134 | "Drop file": "Baci datoteku", 135 | 136 | // Emoticons 137 | "Emoticons": "Emotikona", 138 | "Grinning face": "Nasmejanoj lice", 139 | "Grinning face with smiling eyes": "Nasmejanoj lice sa osmehom o\u010di", 140 | "Face with tears of joy": "Suo\u010davaju sa suzama radosnicama", 141 | "Smiling face with open mouth": "Nasmejano lice sa otvorenim ustima", 142 | "Smiling face with open mouth and smiling eyes": "Lica sa otvorenim ustima i nasmejani o\u010di", 143 | "Smiling face with open mouth and cold sweat": "Nasmejano lice sa otvorenih usta i hladan znoj", 144 | "Smiling face with open mouth and tightly-closed eyes": "Nasmejano lice otvorenih usta i \u010dvrsto zatvorenih o\u010diju", 145 | "Smiling face with halo": "Nasmejano lice sa oreolom", 146 | "Smiling face with horns": "Nasmejano lice sa rogovima", 147 | "Winking face": "Namigivanje lice", 148 | "Smiling face with smiling eyes": "Lica sa osmehom o\u010di", 149 | "Face savoring delicious food": "Lice u\u045bivaju\u0436i u ukusnu hranu", 150 | "Relieved face": "Laknulo lice", 151 | "Smiling face with heart-shaped eyes": "Nasmejano lice sa o\u010dima u obliku srca", 152 | "Smiling face with sunglasses": "Nasmejano lice sa nao\u010dare", 153 | "Smirking face": "Rugaju\u0436i lice", 154 | "Neutral face": "Neutralno lice", 155 | "Expressionless face": "Bez izraza lica.", 156 | "Unamused face": "Nije zapaljen lice", 157 | "Face with cold sweat": "Suo\u010davaju sa hladnim znojem", 158 | "Pensive face": "Nevesela lica", 159 | "Confused face": "Zbunjeno lice", 160 | "Confounded face": "Dosadnih lice", 161 | "Kissing face": "Ljubim lice", 162 | "Face throwing a kiss": "Lice baca poljubac", 163 | "Kissing face with smiling eyes": "Ljubi lice sa osmehom o\u010di", 164 | "Kissing face with closed eyes": "Ljubi lice sa zatvorenim o\u010dima", 165 | "Face with stuck out tongue": "Lice sa zaglavio jezik", 166 | "Face with stuck out tongue and winking eye": "Lice sa zaglavljen jezik i namigivanje", 167 | "Face with stuck out tongue and tightly-closed eyes": "Lice sa zaglavljen jezik i cvrsto zatvorene o\u010di", 168 | "Disappointed face": "Razo\u010darani lice", 169 | "Worried face": "Zabrinuto lice", 170 | "Angry face": "Ljut lice", 171 | "Pouting face": "Zlovoljan lice", 172 | "Crying face": "Plakanje lice", 173 | "Persevering face": "Istrajnog lice", 174 | "Face with look of triumph": "Suo\u010davaju sa izgledom trijumfa", 175 | "Disappointed but relieved face": "Razo\u010daran ali laknulo lice", 176 | "Frowning face with open mouth": "Namršten lice sa otvorenim ustima", 177 | "Anguished face": "Enih lica", 178 | "Fearful face": "Strahu lice", 179 | "Weary face": "Umorna lica", 180 | "Sleepy face": "Spava mi se lice", 181 | "Tired face": "Umorna lica", 182 | "Grimacing face": "Klupi lice", 183 | "Loudly crying face": "Glasno plakanje lice", 184 | "Face with open mouth": "Suo\u010davaju sa otvorenim ustima", 185 | "Hushed face": "Tihim lice", 186 | "Face with open mouth and cold sweat": "Suo\u010davaju sa otvorenih usta i hladan znoj", 187 | "Face screaming in fear": "Lice vrisak u strahu", 188 | "Astonished face": "Zadivljeni lice", 189 | "Flushed face": "Uplakanu lice", 190 | "Sleeping face": "Pospanog lica", 191 | "Dizzy face": "Lice mi se vrti", 192 | "Face without mouth": "Lice bez jezika", 193 | "Face with medical mask": "Suo\u010davaju sa medicinskim masku", 194 | 195 | // Line breaker 196 | "Break": "Prelom", 197 | 198 | // Math 199 | "Subscript": "Indeksni tekst", 200 | "Superscript": "Eksponentni tekst", 201 | 202 | // Full screen 203 | "Fullscreen": "Puni ekran", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Umetni horizontalnu liniju", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Brisanje oblikovanja", 210 | 211 | // Undo, redo 212 | "Undo": "Opozovi radnju", 213 | "Redo": "Ponavljanje", 214 | 215 | // Select all 216 | "Select All": "Izaberi sve", 217 | 218 | // Code view 219 | "Code View": "Prikaz koda", 220 | 221 | // Quote 222 | "Quote": "Ponude", 223 | "Increase": "Pove\u0107anje", 224 | "Decrease": "Smanjivanje" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/languages/sv.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | /** 8 | * Swedish 9 | */ 10 | 11 | $.FroalaEditor.LANGUAGE['sv'] = { 12 | translation: { 13 | // Place holder 14 | "Type something": "Ange n\u00e5got", 15 | 16 | // Basic formatting 17 | "Bold": "Fetstil", 18 | "Italic": "Kursiv stil", 19 | "Underline": "Understruken", 20 | "Strikethrough": "Genomstruken", 21 | 22 | // Main buttons 23 | "Insert": "Infoga", 24 | "Delete": "Radera", 25 | "Cancel": "Avbryt", 26 | "OK": "Ok", 27 | "Back": "Tillbaka", 28 | "Remove": "Avl\u00e4gsna", 29 | "More": "Vi\u0161e", 30 | "Update": "Uppdatera", 31 | "Style": "Stil", 32 | 33 | // Font 34 | "Font Family": "Teckensnitt", 35 | "Font Size": "Storlek", 36 | 37 | // Colors 38 | "Colors": "F\u00e4rger", 39 | "Background": "Bakgrund", 40 | "Text": "Text", 41 | 42 | // Paragraphs 43 | "Paragraph Format": "Format", 44 | "Normal": "Normal", 45 | "Code": "Kod", 46 | "Heading 1": "Rubrik 1", 47 | "Heading 2": "Rubrik 2", 48 | "Heading 3": "Rubrik 3", 49 | "Heading 4": "Rubrik 4", 50 | 51 | // Style 52 | "Paragraph Style": "Styckeformat", 53 | "Inline Style": "Infogad stil", 54 | 55 | // Alignment 56 | "Align": "Justera", 57 | "Align Left": "V\u00e4nsterst\u00e4ll", 58 | "Align Center": "Centrera", 59 | "Align Right": "H\u00f6gerst\u00e4ll", 60 | "Align Justify": "Justera", 61 | "None": "Inget", 62 | 63 | // Lists 64 | "Ordered List": "Ordnad lista", 65 | "Unordered List": "Oordnad lista", 66 | 67 | // Indent 68 | "Decrease Indent": "Minska indrag", 69 | "Increase Indent": "\u00d6ka indrag", 70 | 71 | // Links 72 | "Insert Link": "Infoga l\u00e4nk", 73 | "Open in new tab": "\u00d6ppna i ny flik", 74 | "Open Link": "\u00d6ppna l\u00e4nk", 75 | "Edit Link": "Redigera l\u00e4nk", 76 | "Unlink": "Ta bort l\u00e4nk", 77 | "Choose Link": "V\u00e4lj l\u00e4nk", 78 | 79 | // Images 80 | "Insert Image": "Infoga bild", 81 | "Upload Image": "Ladda upp en bild", 82 | "By URL": "Genom URL", 83 | "Browse": "Bl\u00e4ddra", 84 | "Drop image": "Sl\u00e4ppa bild", 85 | "or click": "eller klicka", 86 | "Manage Images": "Hantera bilder", 87 | "Loading": "L\u00e4ser", 88 | "Deleting": "Radera", 89 | "Tags": "Taggar", 90 | "Are you sure? Image will be deleted.": "\u00c4r du s\u00e4ker? Bild kommer att raderas.", 91 | "Replace": "Ers\u00e4tt", 92 | "Uploading": "Uppladdning", 93 | "Loading image": "Laddar bild", 94 | "Display": "Visa", 95 | "Inline": "I k\u00f6", 96 | "Break Text": "Break text", 97 | "Alternate Text": "Alternativ text", 98 | "Change Size": "\u00c4ndra storlek", 99 | "Width": "Bredd", 100 | "Height": "H\u00f6jd", 101 | "Something went wrong. Please try again.": "N\u00e5got gick snett. Var god f\u00f6rs\u00f6k igen.", 102 | 103 | // Video 104 | "Insert Video": "Infoga video", 105 | "Embedded Code": "Inb\u00e4ddad kod", 106 | 107 | // Tables 108 | "Insert Table": "Infoga tabell", 109 | "Header": "Header", 110 | "Row": "Rad", 111 | "Insert row above": "Infoga rad f\u00f6re", 112 | "Insert row below": "Infoga rad efter", 113 | "Delete row": "Radera rad", 114 | "Column": "Kolumn", 115 | "Insert column before": "Infoga kollumn f\u00f6re", 116 | "Insert column after": "Infoga kolumn efter", 117 | "Delete column": "Radera kolumn", 118 | "Cell": "Cell", 119 | "Merge cells": "Sammanfoga celler", 120 | "Horizontal split": "Horisontell split", 121 | "Vertical split": "Vertikal split", 122 | "Cell Background": "Cellbakgrunden", 123 | "Vertical Align": "Vertikala justeringen", 124 | "Top": "Topp", 125 | "Middle": "Mitten", 126 | "Bottom": "Botten", 127 | "Align Top": "Justera topp", 128 | "Align Middle": "Justera mitten", 129 | "Align Bottom": "Justera botten", 130 | "Cell Style": "Cellformat", 131 | 132 | // Files 133 | "Upload File": "Ladda upp fil", 134 | "Drop file": "Sl\u00e4ppa fil", 135 | 136 | // Emoticons 137 | "Emoticons": "Uttryckssymboler", 138 | "Grinning face": "Grina ansikte", 139 | "Grinning face with smiling eyes": "Grina ansikte med leende \u00f6gon", 140 | "Face with tears of joy": "Face med gl\u00e4djet\u00e5rar", 141 | "Smiling face with open mouth": "Leende ansikte med \u00f6ppen mun", 142 | "Smiling face with open mouth and smiling eyes": "Leende ansikte med \u00f6ppen mun och leende \u00f6gon", 143 | "Smiling face with open mouth and cold sweat": "Leende ansikte med \u00f6ppen mun och kallsvett", 144 | "Smiling face with open mouth and tightly-closed eyes": "Leende ansikte med \u00f6ppen mun och t\u00e4tt slutna \u00f6gon", 145 | "Smiling face with halo": "Leende ansikte med halo", 146 | "Smiling face with horns": "Leende ansikte med horn", 147 | "Winking face": "Blinka ansikte", 148 | "Smiling face with smiling eyes": "Leende ansikte med leende \u00f6gon", 149 | "Face savoring delicious food": "Ansikte smaka uts\u00f6kt mat", 150 | "Relieved face": "L\u00e4ttad ansikte", 151 | "Smiling face with heart-shaped eyes": "Leende ansikte med hj\u00e4rtformade \u00f6gon", 152 | "Smiling face with sunglasses": "Leende ansikte med solglas\u00f6gon", 153 | "Smirking face": "Flinande ansikte", 154 | "Neutral face": "Neutral ansikte", 155 | "Expressionless face": "Uttryckslöst ansikte", 156 | "Unamused face": "Inte roade ansikte", 157 | "Face with cold sweat": "Ansikte med kallsvett", 158 | "Pensive face": "Eftert\u00e4nksamt ansikte", 159 | "Confused face": "F\u00f6rvirrad ansikte", 160 | "Confounded face": "F\u00f6rbryllade ansikte", 161 | "Kissing face": "Kyssande ansikte", 162 | "Face throwing a kiss": "Ansikte kasta en kyss", 163 | "Kissing face with smiling eyes": "Kyssa ansikte med leende \u00f6gon", 164 | "Kissing face with closed eyes": "Kyssa ansikte med slutna \u00f6gon", 165 | "Face with stuck out tongue": "Ansikte med stack ut tungan", 166 | "Face with stuck out tongue and winking eye": "Ansikte med stack ut tungan och blinkande \u00f6ga", 167 | "Face with stuck out tongue and tightly-closed eyes": "Ansikte med stack ut tungan och t\u00e4tt slutna \u00f6gon", 168 | "Disappointed face": "Besviken ansikte", 169 | "Worried face": "Orolig ansikte", 170 | "Angry face": "Argt ansikte", 171 | "Pouting face": "Sk\u00e4ggtorsk ansikte", 172 | "Crying face": "Gr\u00e5tande ansikte", 173 | "Persevering face": "Uth\u00e5llig ansikte", 174 | "Face with look of triumph": "Ansikte med utseendet p\u00e5 triumf", 175 | "Disappointed but relieved face": "Besviken men l\u00e4ttad ansikte", 176 | "Frowning face with open mouth": "Rynkar pannan ansikte med \u00f6ppen mun", 177 | "Anguished face": "\u00c5ngest ansikte", 178 | "Fearful face": "R\u00e4dda ansikte", 179 | "Weary face": "Tr\u00f6tta ansikte", 180 | "Sleepy face": "S\u00f6mnig ansikte", 181 | "Tired face": "Tr\u00f6tt ansikte", 182 | "Grimacing face": "Grimaserande ansikte", 183 | "Loudly crying face": "H\u00f6gt gr\u00e5tande ansikte", 184 | "Face with open mouth": "Ansikte med \u00f6ppen mun", 185 | "Hushed face": "D\u00e4mpade ansikte", 186 | "Face with open mouth and cold sweat": "Ansikte med \u00f6ppen mun och kallsvett", 187 | "Face screaming in fear": "Face skriker i skr\u00e4ck", 188 | "Astonished face": "F\u00f6rv\u00e5nad ansikte", 189 | "Flushed face": "Ansiktsrodnad", 190 | "Sleeping face": "Sovande anskite", 191 | "Dizzy face": "Yr ansikte", 192 | "Face without mouth": "Ansikte utan mun", 193 | "Face with medical mask": "Ansikte med medicinsk maskera", 194 | 195 | // Line breaker 196 | "Break": "Break", 197 | 198 | // Math 199 | "Subscript": "Neds\u00e4nkt", 200 | "Superscript": "Upph\u00f6jd text", 201 | 202 | // Full screen 203 | "Fullscreen": "Helsk\u00e4rm", 204 | 205 | // Horizontal line 206 | "Insert Horizontal Line": "Infoga horisontell linje", 207 | 208 | // Clear formatting 209 | "Clear Formatting": "Ta bort formatering", 210 | 211 | // Undo, redo 212 | "Undo": "\u00c5ngra", 213 | "Redo": "G\u00f6r om", 214 | 215 | // Select all 216 | "Select All": "Markera allt", 217 | 218 | // Code view 219 | "Code View": "Kodvyn", 220 | 221 | // Quote 222 | "Quote": "Citerar", 223 | "Increase": "\u00d6ka", 224 | "Decrease": "Minska" 225 | }, 226 | direction: "ltr" 227 | }; 228 | -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/align.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){"use strict";a.FroalaEditor.PLUGINS.align=function(b){function c(c){b.selection.save(),b.html.wrap(!0,!0,!0),b.selection.restore();for(var d=b.selection.blocks(),e=0;e *:first").replaceWith(b.icon.create("align-"+e))}}function e(c,d){var e=b.selection.blocks();if(e.length){var f=b.helpers.getAlignment(a(e[0]));d.find('a.fr-command[data-param1="'+f+'"]').addClass("fr-active")}}return{apply:c,refresh:d,refreshOnShow:e}},a.FroalaEditor.DefineIcon("align",{NAME:"align-left"}),a.FroalaEditor.DefineIcon("align-left",{NAME:"align-left"}),a.FroalaEditor.DefineIcon("align-right",{NAME:"align-right"}),a.FroalaEditor.DefineIcon("align-center",{NAME:"align-center"}),a.FroalaEditor.DefineIcon("align-justify",{NAME:"align-justify"}),a.FroalaEditor.RegisterCommand("align",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"Align Center",right:"Align Right",justify:"Align Justify"},html:function(){var b='"},callback:function(a,b){this.align.apply(b)},refresh:function(a){this.align.refresh(a)},refreshOnShow:function(a,b){this.align.refreshOnShow(a,b)},plugin:"align"})}); -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/char_counter.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){"use strict";a.extend(a.FroalaEditor.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),a.FroalaEditor.PLUGINS.charCounter=function(b){function c(){return b.$el.text().length}function d(a){if(b.opts.charCounterMax<0)return!0;if(c()").html(d).text().length;return e+c()<=b.opts.charCounterMax?d:(b.events.trigger("charCounter.exceeded"),"")}function f(){if(b.opts.charCounterCount){var a=c()+(b.opts.charCounterMax>0?"/"+b.opts.charCounterMax:"");h.text(a),b.opts.toolbarBottom&&h.css("margin-bottom",b.$tb.outerHeight(!0));var d=b.$wp.get(0).offsetWidth-b.$wp.get(0).clientWidth;d>0&&("rtl"==b.opts.direction?h.css("margin-left",d):h.css("margin-right",d))}}function g(){return b.$wp&&b.opts.charCounterCount?(h=a(''),h.css("bottom",b.$wp.css("border-bottom-width")),b.$box.append(h),b.events.on("keydown",d,!0),b.events.on("paste.afterCleanup",e),b.events.on("keyup",f),b.events.on("contentChanged",f),b.events.on("charCounter.update",f),f(),void b.events.on("destroy",function(){a(b.original_window).off("resize.char"+b.id),h.removeData().remove()})):!1}var h;return{_init:g,count:c}}}); -------------------------------------------------------------------------------- /app/assets/javascripts/plugins/code_view.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * froala_editor v2.1.0 (https://www.froala.com/wysiwyg-editor) 3 | * License https://froala.com/wysiwyg-editor/terms 4 | * Copyright 2014-2016 Froala Labs 5 | */ 6 | 7 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){"use strict";a.extend(a.FroalaEditor.DEFAULTS,{codeMirror:!0,codeMirrorOptions:{lineNumbers:!0,tabMode:"indent",indentWithTabs:!0,lineWrapping:!0,mode:"text/html",tabSize:2}}),a.FroalaEditor.PLUGINS.codeView=function(b){function c(){return b.$box.hasClass("fr-code-view")}function d(){return k?k.getValue():j.val()}function e(a){var c=d();b.html.set(c),b.$el.blur(),b.$tb.find(" > .fr-command").not(a).removeClass("fr-disabled"),a.removeClass("fr-active"),b.events.focus(!0),b.placeholder.refresh(),b.undo.saveStep()}function f(a,c){!k&&b.opts.codeMirror&&"undefined"!=typeof CodeMirror&&(k=CodeMirror.fromTextArea(j.get(0),b.opts.codeMirrorOptions)),b.undo.saveStep(),b.html.cleanEmptyTags(),b.html.cleanWhiteTags(!0),b.core.hasFocus()&&(b.selection.save(),b.$el.find('.fr-marker[data-type="true"]:first').replaceWith('F'),b.$el.find('.fr-marker[data-type="false"]:last').replaceWith('F'),b.$el.blur());var d=b.html.get(!1,!0);b.$el.find("span.fr-tmp").remove(),d=d.replace(/F<\/span>/,"FROALA-SM"),d=d.replace(/F<\/span>/,"FROALA-EM"),b.codeBeautifier&&(d=b.codeBeautifier.run(d,{end_with_newline:!0,indent_inner_html:!0,extra_liners:["p","h1","h2","h3","h4","h5","h6","blockquote","pre","ul","ol","table","dl"],brace_style:"expand",indent_char:" ",indent_size:1,wrap_line_length:0}));var e,f;if(k){e=d.indexOf("FROALA-SM"),f=d.indexOf("FROALA-EM"),e>f?e=f:f-=9,d=d.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"");var g=d.substring(0,e).length-d.substring(0,e).replace(/\n/g,"").length,h=d.substring(0,f).length-d.substring(0,f).replace(/\n/g,"").length;e=d.substring(0,e).length-d.substring(0,d.substring(0,e).lastIndexOf("\n")+1).length,f=d.substring(0,f).length-d.substring(0,d.substring(0,f).lastIndexOf("\n")+1).length,k.setSize(null,Math.max(c,150)),k.setValue(d),k.focus(),k.setSelection({line:g,ch:e},{line:h,ch:f}),k.refresh(),k.clearHistory()}else e=d.indexOf("FROALA-SM"),f=d.indexOf("FROALA-EM")-9,j.css("height",c),j.val(d.replace(/FROALA-SM/g,"").replace(/FROALA-EM/g,"")),j.focus(),j.get(0).setSelectionRange(e,f);b.$tb.find(" > .fr-command").not(a).addClass("fr-disabled"),a.addClass("fr-active"),!b.helpers.isMobile()&&b.opts.toolbarInline&&b.toolbar.hide()}function g(){var a=b.$tb.find('.fr-command[data-cmd="html"]');if(c())b.$box.toggleClass("fr-code-view",!1),e(a);else{b.popups.hideAll();var d=b.$wp.outerHeight();b.$box.toggleClass("fr-code-view",!0),f(a,d)}}function h(){c()&&(g(b.$tb.find('button[data-cmd="html"]')),j.val("").removeData().remove()),l&&l.remove()}function i(){if(!b.$wp)return!1;j=a('