From e47e83cf6bded3d1924b4d500193e7876833ef83 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 2 Jul 2017 13:03:43 -0400 Subject: Created admin panel Currently allows you to create and edit blogs, including associated records. Uses a WYSIWYG editor that allows uploading images. Also included jQuery :( --- .../ckeditor/plugins/image2/lang/zh-cn.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/assets/javascripts/ckeditor/plugins/image2/lang/zh-cn.js (limited to 'app/assets/javascripts/ckeditor/plugins/image2/lang/zh-cn.js') diff --git a/app/assets/javascripts/ckeditor/plugins/image2/lang/zh-cn.js b/app/assets/javascripts/ckeditor/plugins/image2/lang/zh-cn.js new file mode 100644 index 0000000..48c436f --- /dev/null +++ b/app/assets/javascripts/ckeditor/plugins/image2/lang/zh-cn.js @@ -0,0 +1,21 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'image2', 'zh-cn', { + alt: '替换文本', + btnUpload: '上传到服务器', + captioned: '带标题图像', + captionPlaceholder: '标题', + infoTab: '图像信息', + lockRatio: '锁定比例', + menu: '图像属性', + pathName: '图像', + pathNameCaption: '标题', + resetSize: '原始尺寸', + resizer: '点击并拖拽以改变尺寸', + title: '图像属性', + uploadTab: '上传', + urlMissing: '缺少图像源文件地址', + altMissing: '缺少替换文本' +} ); -- cgit 1.4.1