Version Description
Download this release
Release Info
Developer | miyauchi |
Plugin | TinyMCE Templates |
Version | 4.4.1 |
Comparing to | |
See all releases |
Code changes from version 4.4.0 to 4.4.1
- languages/.svnignore +0 -18
- languages/LINGUAS +13 -0
- languages/Makefile +59 -0
- readme.txt +1 -1
- tinymce-templates.php +1 -1
languages/.svnignore
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
.DS_Store
|
2 |
-
.git
|
3 |
-
.gitignore
|
4 |
-
.travis.yml
|
5 |
-
Gruntfile.js
|
6 |
-
LINGUAS
|
7 |
-
Makefile
|
8 |
-
README.md
|
9 |
-
_site
|
10 |
-
bin
|
11 |
-
composer.json
|
12 |
-
composer.lock
|
13 |
-
node_modules
|
14 |
-
npm-debug.log
|
15 |
-
package.json
|
16 |
-
phpunit.xml
|
17 |
-
tests
|
18 |
-
vendor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/LINGUAS
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
de_DE
|
2 |
+
es_ES
|
3 |
+
fil_PH
|
4 |
+
fr_FR
|
5 |
+
he_IL
|
6 |
+
it_IT
|
7 |
+
ja
|
8 |
+
nl_NL
|
9 |
+
pt_BR
|
10 |
+
ru_RU
|
11 |
+
sk_SK
|
12 |
+
sv_SE
|
13 |
+
zh_CN
|
languages/Makefile
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# パッケージ名
|
2 |
+
PACKAGE = tinymce_templates
|
3 |
+
# パッケージのタイプ。plugin または theme
|
4 |
+
PROJECT = plugin
|
5 |
+
# 本家 (url) より入手してインストールしておいたもの
|
6 |
+
MAKEPOT = $(HOME)/wordpress-i18n/makepot.php
|
7 |
+
|
8 |
+
|
9 |
+
PHP = php
|
10 |
+
MSGMERGE = msgmerge
|
11 |
+
MSGFMT = msgfmt
|
12 |
+
|
13 |
+
srcdir = ..
|
14 |
+
langdir = .
|
15 |
+
|
16 |
+
GENPOT=$(PHP) $(MAKEPOT) wp-$(PROJECT) $(srcdir)
|
17 |
+
|
18 |
+
POT=$(PACKAGE).pot
|
19 |
+
ALL_LINGUAS =
|
20 |
+
PO_LINGUAS=$(shell if test -r $(langdir)/LINGUAS; then grep -v "^\#" $(langdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
|
21 |
+
|
22 |
+
ifeq ($(PROJECT),plugin)
|
23 |
+
PO_PREFIX=$(PACKAGE)-
|
24 |
+
endif
|
25 |
+
POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$(PO_PREFIX)$$lang.po "; done)
|
26 |
+
MOFILES=$(POFILES:%.po=%.mo)
|
27 |
+
|
28 |
+
.SUFFIXES:
|
29 |
+
.SUFFIXES: .po .mo
|
30 |
+
.po.mo:
|
31 |
+
$(MSGFMT) -o $@ $<
|
32 |
+
|
33 |
+
mo: $(MOFILES)
|
34 |
+
|
35 |
+
po: $(POFILES)
|
36 |
+
|
37 |
+
$(POFILES): $(POT)
|
38 |
+
tmpdir=`pwd`; \
|
39 |
+
echo "$*:"; \
|
40 |
+
result="`$(MSGMERGE) -o $$tmpdir/$*.new.po $(langdir)/$@ $(POT)`"; \
|
41 |
+
if $$result; then \
|
42 |
+
if cmp $(langdir)/$@ $$tmpdir/$*.new.po >/dev/null 2>&1; then \
|
43 |
+
rm -f $$tmpdir/$*.new.po; \
|
44 |
+
else \
|
45 |
+
if mv -f $$tmpdir/$*.new.po $@; then \
|
46 |
+
:; \
|
47 |
+
else \
|
48 |
+
echo "msgmerge for $@ failed: cannot move $$tmpdir/$*.new.po to @" 1>&2; \
|
49 |
+
rm -f $$tmpdir/$*.new.po; \
|
50 |
+
exit 1; \
|
51 |
+
fi; \
|
52 |
+
fi; \
|
53 |
+
else \
|
54 |
+
echo "msgmerge for $@ failed!"; \
|
55 |
+
rm -f $$tmpdir/$*.new.po; \
|
56 |
+
fi; \
|
57 |
+
|
58 |
+
pot:
|
59 |
+
$(GENPOT) $(POT)
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: miyauchi
|
|
3 |
Tags: tinymce, Visual Editor, template
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.3
|
6 |
-
Stable tag: 4.4.
|
7 |
|
8 |
TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
|
9 |
|
3 |
Tags: tinymce, Visual Editor, template
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.3
|
6 |
+
Stable tag: 4.4.1
|
7 |
|
8 |
TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
|
9 |
|
tinymce-templates.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: TinyMCE Templates
|
|
4 |
Plugin URI: http://miya0001.github.io/tinymce-templates/
|
5 |
Description: TinyMCE Templates plugin will enable to use HTML template on WordPress Visual Editor.
|
6 |
Author: Takayuki Miyauchi
|
7 |
-
Version: 4.4.
|
8 |
Author URI: http://miya0001.github.io/tinymce-templates/
|
9 |
Domain Path: /languages
|
10 |
Text Domain: tinymce_templates
|
4 |
Plugin URI: http://miya0001.github.io/tinymce-templates/
|
5 |
Description: TinyMCE Templates plugin will enable to use HTML template on WordPress Visual Editor.
|
6 |
Author: Takayuki Miyauchi
|
7 |
+
Version: 4.4.1
|
8 |
Author URI: http://miya0001.github.io/tinymce-templates/
|
9 |
Domain Path: /languages
|
10 |
Text Domain: tinymce_templates
|