Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
e4b5672e
Commit
e4b5672e
authored
Aug 04, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lang: add a merge target to update from template; #301
parent
feaba402
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Makefile
lang/Makefile
+9
-1
No files found.
lang/Makefile
View file @
e4b5672e
...
@@ -4,12 +4,15 @@ _XGETTEXT!= which xgettext || echo true
...
@@ -4,12 +4,15 @@ _XGETTEXT!= which xgettext || echo true
XGETTEXT
=
${
_XGETTEXT
}
-L
PHP
--from-code
=
UTF-8
-F
--strict
--debug
XGETTEXT
=
${
_XGETTEXT
}
-L
PHP
--from-code
=
UTF-8
-F
--strict
--debug
_MSGFMT
!=
which msgfmt
||
echo true
_MSGFMT
!=
which msgfmt
||
echo true
MSGFMT
=
${
_MSGFMT
}
--strict
MSGFMT
=
${
_MSGFMT
}
--strict
_MSGMERGE
!=
which msgmerge
||
echo true
MSGMERGE
=
${
_MSGMERGE
}
-U
--backup
=
off
LOCALEDIR
=
/usr/local/share/locale/%%LANG%%/LC_MESSAGES
LOCALEDIR
=
/usr/local/share/locale/%%LANG%%/LC_MESSAGES
LANGUAGES
=
de_DE es_CO fr_FR ja_JP zh_CN
LANGUAGES
=
de_DE es_CO fr_FR ja_JP zh_CN
TEMPLATE
=
en_US
TEMPLATE
=
en_US
INSTALL
=
INSTALL
=
MERGE
=
PLIST
=
PLIST
=
.for
LANG
in
${LANGUAGES}
.for
LANG
in
${LANGUAGES}
...
@@ -21,8 +24,12 @@ install-${LANG}:
...
@@ -21,8 +24,12 @@ install-${LANG}:
plist-${LANG}
:
plist-${LANG}
:
@
echo
${${
LANG
}
DIR
}
/OPNsense.mo
@
echo
${${
LANG
}
DIR
}
/OPNsense.mo
merge-${LANG}
:
${
MSGMERGE
}
${
LANG
}
.po
${
TEMPLATE
}
.pot
INSTALL
+=
install-
${
LANG
}
INSTALL
+=
install-
${
LANG
}
PLIST
+=
plist-
${
LANG
}
PLIST
+=
plist-
${
LANG
}
MERGE
+=
merge-
${
LANG
}
.endfor
.endfor
${TEMPLATE}
:
${TEMPLATE}
:
...
@@ -33,8 +40,9 @@ ${TEMPLATE}:
...
@@ -33,8 +40,9 @@ ${TEMPLATE}:
template
:
${TEMPLATE}
template
:
${TEMPLATE}
install
:
${INSTALL}
install
:
${INSTALL}
plist
:
${PLIST}
plist
:
${PLIST}
merge
:
${MERGE}
dynamic
:
dynamic
:
@
${
.CURDIR
}
/dynamic/collect.py
${
.CURDIR
}
/..
@
${
.CURDIR
}
/dynamic/collect.py
${
.CURDIR
}
/..
.PHONY
:
${INSTALL} ${PLIST} ${TEMPLATE} dynamic
.PHONY
:
${INSTALL} ${PLIST} ${
MERGE} ${
TEMPLATE} dynamic
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment