froala-editor
Version:
A beautiful Javascript WYSIWYG HTML rich text editor. High performance and modern design make it easy to use for developers and loved by users.
262 lines (233 loc) • 12.4 kB
JavaScript
/*!
* froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2017 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = function( root, jQuery ) {
if ( jQuery === undefined ) {
// require('jQuery') returns a factory that requires window to
// build a jQuery instance, we normalize how we use modules
// that require this pattern but the window provided is a noop
// if it's defined (how jquery works)
if ( typeof window !== 'undefined' ) {
jQuery = require('jquery');
}
else {
jQuery = require('jquery')(root);
}
}
return factory(jQuery);
};
} else {
// Browser globals
factory(window.jQuery);
}
}(function ($) {
/**
* Japanese
*/
$.FE.LANGUAGE['ja'] = {
translation: {
// Place holder
"Type something": "\u4f55\u304b\u5165\u529b",
// Basic formatting
"Bold": "\u592a\u5b57",
"Italic": "\u659c\u4f53",
"Underline": "\u4e0b\u7dda",
"Strikethrough": "\u53d6\u308a\u6d88\u3057\u7dda",
// Main buttons
"Insert": "\u30a4\u30f3\u30b5\u30fc\u30c8",
"Delete": "\u524a\u9664",
"Cancel": "\u30ad\u30e3\u30f3\u30bb\u30eb",
"OK": "OK",
"Back": "\u30d0\u30c3\u30af",
"Remove": "\u524a\u9664\u3057\u307e\u3059",
"More": "\u3082\u3063\u3068",
"Update": "\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8",
"Style": "\u30b9\u30bf\u30a4\u30eb",
// Font
"Font Family": "\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u30fc",
"Font Size": "\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba",
// Colors
"Colors": "\u8272",
"Background": "\u80cc\u666f",
"Text": "\u30c6\u30ad\u30b9\u30c8",
// Paragraphs
"Paragraph Format": "\u6bb5\u843d\u306e\u66f8\u5f0f",
"Normal": "\u30ce\u30fc\u30de\u30eb",
"Code": "\u30b3\u30fc\u30c9",
"Heading 1": "\u30d8\u30c3\u30c0\u30fc 1",
"Heading 2": "\u30d8\u30c3\u30c0\u30fc 2",
"Heading 3": "\u30d8\u30c3\u30c0\u30fc 3",
"Heading 4": "\u30d8\u30c3\u30c0\u30fc 4",
// Style
"Paragraph Style": "\u6bb5\u843d\u30b9\u30bf\u30a4\u30eb",
"Inline Style": "\u30a4\u30f3\u30e9\u30a4\u30f3\u30b9\u30bf\u30a4\u30eb",
// Alignment
"Align": "\u914d\u7f6e",
"Align Left": "\u5de6\u5bc4\u305b",
"Align Center": "\u4e2d\u592e\u63c3\u3048",
"Align Right": "\u53f3\u5bc4\u305b",
"Align Justify": "\u4e21\u7aef\u63c3\u3048",
"None": "\u306a\u3057",
// Lists
"Ordered List": "\u756a\u53f7\u4ed8\u304d\u7b87\u6761\u66f8\u304d",
"Unordered List": "\u7b87\u6761\u66f8\u304d",
// Indent
"Decrease Indent": "\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u6e1b\u3089\u3059",
"Increase Indent": "\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u5897\u3084\u3059",
// Links
"Insert Link": "\u30ea\u30f3\u30af",
"Open in new tab": "\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f",
"Open Link": "\u30ea\u30f3\u30af\u3092\u958b\u304d\u307e\u3059",
"Edit Link": "\u7de8\u96c6\u30ea\u30f3\u30af",
"Unlink": "\u30ea\u30f3\u30af\u306e\u524a\u9664",
"Choose Link": "\u30ea\u30f3\u30af\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",
// Images
"Insert Image": "\u753b\u50cf\u306e\u633f\u5165",
"Upload Image": "\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9",
"By URL": "URL \u306b\u3088\u3063\u3066",
"Browse": "\u30d6\u30e9\u30a6\u30ba",
"Drop image": "\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7",
"or click": "\u307e\u305f\u306f\u30af\u30ea\u30c3\u30af",
"Manage Images": "\u30a4\u30e1\u30fc\u30b8\u3092\u7ba1\u7406\u3059\u308b",
"Loading": "\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0",
"Deleting": "\u524a\u9664",
"Tags": "\u30bf\u30b0",
"Are you sure? Image will be deleted.": "\u672c\u5f53\u306b\u524a\u9664\u3057\u307e\u3059\u304b\uff1f",
"Replace": "\u4ea4\u63db\u3057\u307e\u3059",
"Uploading": "\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9",
"Loading image": "\u753b\u50cf\u8aad\u307f\u8fbc\u307f\u4e2d",
"Display": "\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4",
"Inline": "\u5217\u3092\u306a\u3057\u3066",
"Break Text": "\u30d6\u30ec\u30fc\u30af\u30c6\u30ad\u30b9\u30c8",
"Alternate Text": "\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8",
"Change Size": "\u30b5\u30a4\u30ba\u5909\u66f4",
"Width": "\u5e45",
"Height": "\u9ad8\u3055",
"Something went wrong. Please try again.": "\u4f55\u304b\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3082\u3046\u4e00\u5ea6\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002",
// Video
"Insert Video": "\u52d5\u753b\u306e\u633f\u5165",
"Embedded Code": "\u57cb\u3081\u8fbc\u307f\u30b3\u30fc\u30c9",
// Tables
"Insert Table": "\u8868\u306e\u633f\u5165",
"Table Header": "\u8868\u306e\u30d8\u30c3\u30c0\u30fc",
"Remove Table": "\u30c6\u30fc\u30d6\u30eb\u3092\u524a\u9664\u3057\u307e\u3059",
"Table Style": "\u8868\u306e\u30b9\u30bf\u30a4\u30eb",
"Horizontal Align": "\u5e73\u9762\u7dda\u5f62",
"Row": "\u884c",
"Insert row above": "\u4e0a\u5074\u306b\u884c\u3092\u633f\u5165",
"Insert row below": "\u4e0b\u5074\u306b\u884c\u3092\u633f\u5165",
"Delete row": "\u884c\u306e\u524a\u9664",
"Column": "\u5217",
"Insert column before": "\u5de6\u5074\u306b\u5217\u3092\u633f\u5165",
"Insert column after": "\u53f3\u5074\u306b\u5217\u3092\u633f\u5165",
"Delete column": "\u5217\u306e\u524a\u9664",
"Cell": "\u30bb\u30eb",
"Merge cells": "\u30bb\u30eb\u306e\u7d50\u5408",
"Horizontal split": "\u6c34\u5e73\u5206\u5272",
"Vertical split": "\u5782\u76f4\u5206\u5272",
"Cell Background": "\u30bb\u30eb\u306e\u80cc\u666f",
"Vertical Align": "\u5782\u76f4\u6574\u5217",
"Top": "\u4e0a",
"Middle": "\u30df\u30c9\u30eb",
"Bottom": "\u30dc\u30c8\u30e0",
"Align Top": "\u30c8\u30c3\u30d7\u306e\u4f4d\u7f6e\u3092\u5408\u308f\u305b\u307e\u3059",
"Align Middle": "\u4e2d\u592e\u3092\u5408\u308f\u305b\u307e\u3059",
"Align Bottom": "\u30dc\u30c8\u30e0\u3092\u5408\u308f\u305b",
"Cell Style": "\u30bb\u30eb\u30b9\u30bf\u30a4\u30eb",
// Files
"Upload File": "\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9",
"Drop file": "\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7",
// Emoticons
"Emoticons": "\u7d75\u6587\u5b57",
"Grinning face": "\u300c\u9854\u3092\u306b\u3084\u306b\u3084",
"Grinning face with smiling eyes": "\u300c\u7b11\u9854\u306e\u76ee\u3067\u9854\u3092\u30cb\u30e4\u30ea",
"Face with tears of joy": "\u300c\u559c\u3073\u306e\u6d99\u3067\u9854\u300d",
"Smiling face with open mouth": "\u300c\u53e3\u3092\u958b\u3051\u3066\u9854\u3092\u7b11\u9854",
"Smiling face with open mouth and smiling eyes": "\u300c\u958b\u3044\u305f\u53e3\u3068\u9854\u3092\u7b11\u9854\u3068\u76ee\u3092\u7b11\u9854",
"Smiling face with open mouth and cold sweat": "\u300c\u53e3\u3092\u958b\u3051\u3001\u51b7\u305f\u3044\u6c57\u3067\u9854\u3092\u7b11\u9854",
"Smiling face with open mouth and tightly-closed eyes": "\u300c\u53e3\u3092\u958b\u3051\u3001\u3057\u3063\u304b\u308a\u3068\u9589\u3058\u305f\u76ee\u3067\u9854\u3092\u7b11\u9854",
"Smiling face with halo": "\u300c\u30cf\u30ed\u3068\u9854\u3092\u7b11\u9854",
"Smiling face with horns": "\u300c\u89d2\u3067\u9854\u3092\u7b11\u9854",
"Winking face": "\u300c\u9854\u306e\u30a6\u30a3\u30f3\u30af",
"Smiling face with smiling eyes": "\u300c\u7b11\u9854\u306e\u76ee\u3067\u9854\u3092\u7b11\u9854",
"Face savoring delicious food": "\u300c\u7f8e\u5473\u3057\u3044\u6599\u7406\u3092\u5473\u308f\u3046\u9854\u300d",
"Relieved face": "\u300c\u5b89\u5fc3\u3057\u305f\u9854",
"Smiling face with heart-shaped eyes": "\u300c\u30cf\u30fc\u30c8\u578b\u306e\u76ee\u3067\u9854\u3092\u7b11\u9854",
"Smiling face with sunglasses": "\u300c\u30b5\u30f3\u30b0\u30e9\u30b9\u3067\u9854\u3092\u7b11\u9854",
"Smirking face": "\u300c\u9854\u3092\u30cb\u30e4\u30cb\u30e4\u7b11\u3044",
"Neutral face": "\u300c\u30cb\u30e5\u30fc\u30c8\u30e9\u30eb\u9854",
"Expressionless face": "\u300c\u7121\u8868\u60c5\u9854\u300d",
"Unamused face": "\u300c\u3057\u3089\u3051\u305f\u9854",
"Face with cold sweat": "\u51b7\u305f\u3044\u6c57\u3067\u9854",
"Pensive face": "\u300c\u7269\u601d\u3044\u9854",
"Confused face": "\u300c\u56f0\u60d1\u3057\u305f\u9854",
"Confounded face": "\u300c\u3079\u3089\u307c\u3046\u9854",
"Kissing face": "\u300c\u9854\u3092\u30ad\u30b9",
"Face throwing a kiss": "\u30ad\u30b9\u3092\u6295\u3052\u308b\u9854\u300d",
"Kissing face with smiling eyes": "\u300c\u7b11\u9854\u306e\u76ee\u3067\u9854\u3092\u30ad\u30b9",
"Kissing face with closed eyes": "\u300c\u76ee\u3092\u9589\u3058\u9854\u3092\u30ad\u30b9",
"Face with stuck out tongue": "\u7a81\u304d\u51fa\u3057\u820c\u3067\u9854",
"Face with stuck out tongue and winking eye": "\u7a81\u304d\u51fa\u3057\u820c\u3068\u76ee\u3067\u30a6\u30a4\u30f3\u30af\u9854",
"Face with stuck out tongue and tightly-closed eyes": "\u7a81\u304d\u51fa\u3057\u820c\u3001\u3057\u3063\u304b\u308a\u3068\u9589\u3058\u305f\u76ee\u3092\u6301\u3064\u9854",
"Disappointed face": "\u304c\u3063\u304b\u308a\u3057\u305f\u9854",
"Worried face": "\u300c\u5fc3\u914d\u9854",
"Angry face": "\u300c\u6012\u3063\u3066\u3044\u308b\u9854",
"Pouting face": "\u300c\u9854\u3092\u6012\u3063\u3066",
"Crying face": "\u6ce3\u304d\u9854",
"Persevering face": "\u300c\u9854\u306e\u7c98\u308a\u5f37\u3044\u3067\u3059",
"Face with look of triumph": "\u300c\u52dd\u5229\u306e\u8868\u60c5\u3067\u9854\u300d",
"Disappointed but relieved face": "\u5931\u671b\u3059\u308b\u304c\u9854\u3092\u5b89\u5fc3",
"Frowning face with open mouth": "\u300c\u53e3\u3092\u958b\u3051\u3066\u9854\u3092\u3057\u304b\u3081\u3063\u9762",
"Anguished face": "\u300c\u82e6\u60a9\u306b\u6e80\u3061\u305f\u9854",
"Fearful face": "\u300c\u6050\u308d\u3057\u3044\u9854",
"Weary face": "\u300c\u75b2\u308c\u305f\u9854",
"Sleepy face": "\u300c\u7720\u3044\u9854",
"Tired face": "\u300c\u75b2\u308c\u305f\u9854",
"Grimacing face": "\u300c\u9854\u306e\u9854\u3092\u3086\u304c\u3081\u307e\u3059",
"Loudly crying face": "\u300c\u5927\u58f0\u9854\u3092\u6ce3\u3044",
"Face with open mouth": "\u300c\u53e3\u3092\u958b\u3051\u3066\u9854\u300d",
"Hushed face": "\u300c\u9759\u304b\u9854",
"Face with open mouth and cold sweat": "\u300c\u53e3\u3092\u958b\u3051\u3001\u51b7\u305f\u3044\u6c57\u3067\u9854\u300d",
"Face screaming in fear": "\u6050\u6016\u306e\u4e2d\u3067\u53eb\u3093\u3067\u9854\u300d",
"Astonished face": "\u300c\u3073\u3063\u304f\u308a\u3057\u305f\u9854",
"Flushed face": "\u300c\u30d5\u30e9\u30c3\u30b7\u30e5\u9854",
"Sleeping face": "\u300c\u9854\u306e\u7720\u308a\u307e\u3059",
"Dizzy face": "\u300c\u30c7\u30a3\u30b8\u30fc\u9854",
"Face without mouth": "\u300c\u53e3\u306a\u3057\u3067\u9854\u300d",
"Face with medical mask": "\u300c\u533b\u7642\u7528\u30de\u30b9\u30af\u3067\u9854",
// Line breaker
"Break": "\u30d6\u30ec\u30fc\u30af",
// Math
"Subscript": "\u4e0b\u4ed8\u304d\u6587\u5b57",
"Superscript": "\u4e0a\u4ed8\u304d\u6587\u5b57",
// Full screen
"Fullscreen": "\u5168\u753b\u9762\u8868\u793a",
// Horizontal line
"Insert Horizontal Line": "\u6c34\u5e73\u7dda\u306e\u633f\u5165",
// Clear formatting
"Clear Formatting": "\u66f8\u5f0f\u306e\u30af\u30ea\u30a2",
// Undo, redo
"Undo": "\u5143\u306b\u623b\u3059",
"Redo": "\u3084\u308a\u76f4\u3059",
// Select all
"Select All": "\u5168\u3066\u3092\u9078\u629e",
// Code view
"Code View": "\u30b3\u30fc\u30c9\u30d3\u30e5\u30fc",
// Quote
"Quote": "\u5f15\u7528",
"Increase": "\u5897\u52a0",
"Decrease": "\u6e1b\u5c11",
// Quick Insert
"Quick Insert": "\u30af\u30a4\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30c8"
},
direction: "ltr"
};
}));