Skip to content

Commit e0e69e8

Browse files
author
Masafumi Yokoyama
committed
plugin altr: Add settings for PO -> source
1 parent e8241b9 commit e0e69e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin-settings/altr.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ call altr#define('%.js', '%.controller.js', '%.html')
44
call altr#define('%.service.js', '%.service.spec.js')
55

66
" gettext
7-
" POからソースへの移動はC-^とかでやる想定だけど、もっとうまいやり方があるかも
87
call altr#define('doc/source/%.%', 'doc/locale/ja/LC_MESSAGES/%.po')
98
call altr#define('doc/source/%/%.%', 'doc/locale/ja/LC_MESSAGES/%.po')
9+
call altr#define('doc/locale/ja/LC_MESSAGES/%.po', 'doc/source/%.*')
10+
"call altr#define('doc/locale/ja/LC_MESSAGES/%.po', 'doc/source/%/')
11+
"call altr#define('doc/locale/ja/LC_MESSAGES/%.po', 'doc/source/')
1012

1113
" Jekyll
1214
call altr#define('ja/_posts/%', 'en/_posts/%')

0 commit comments

Comments
 (0)