Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lang
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
Administrator
lang
Commits
2728b2c6
Commit
2728b2c6
authored
Apr 25, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unify directory layout with e.g. core.git
parent
a86d767e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+4
-4
README.md
README.md
+2
-2
collect.py
scripts/collect.py
+1
-1
__init__.py
scripts/plugins/__init__.py
+0
-0
acl.py
scripts/plugins/acl.py
+0
-0
controllers.py
scripts/plugins/controllers.py
+0
-0
models.py
scripts/plugins/models.py
+0
-0
template.txt
scripts/template.txt
+0
-0
No files found.
Makefile
View file @
2728b2c6
...
@@ -74,7 +74,7 @@ PLUGINSDIRS= ${_PLUGINSDIRS:S/^/${PLUGINSDIR}\//g}
...
@@ -74,7 +74,7 @@ PLUGINSDIRS= ${_PLUGINSDIRS:S/^/${PLUGINSDIR}\//g}
${TEMPLATE}
:
${TEMPLATE}
:
@
cp
${
.CURDIR
}
/Volt.pm
${
PERL_DIR
}
/
${
PERL_NAME
}
/
@
cp
${
.CURDIR
}
/Volt.pm
${
PERL_DIR
}
/
${
PERL_NAME
}
/
@
:
>
${
TEMPLATE
}
.pot
@
:
>
${
TEMPLATE
}
.pot
.for
ROOTDIR
in
${PLUGINSDIRS}
${COREDIR}
.for
ROOTDIR
in
${PLUGINSDIRS}
${
LANGDIR}
${
COREDIR}
${XGETTEXT_PL}
-D
${ROOTDIR}/src
-p
${.CURDIR}
-o
${TEMPLATE}.pot
${XGETTEXT_PL}
-D
${ROOTDIR}/src
-p
${.CURDIR}
-o
${TEMPLATE}.pot
find
${ROOTDIR}/src
-print0
|
\
find
${ROOTDIR}/src
-print0
|
\
xargs
-0
${XGETTEXT}
-j
-o
${.CURDIR}/${TEMPLATE}.pot
xargs
-0
${XGETTEXT}
-j
-o
${.CURDIR}/${TEMPLATE}.pot
...
@@ -87,7 +87,7 @@ install: ${INSTALL}
...
@@ -87,7 +87,7 @@ install: ${INSTALL}
clean
:
${CLEAN}
clean
:
${CLEAN}
merge
:
${MERGE}
merge
:
${MERGE}
dynami
c
:
sr
c
:
@
${
.CURDIR
}
/
dynamic
/collect.py
${
PLUGINSDIRS
}
${
COREDIR
}
@
${
.CURDIR
}
/
scripts
/collect.py
${
PLUGINSDIRS
}
${
COREDIR
}
.PHONY
:
${INSTALL} ${MERGE} ${TEMPLATE}
dynami
c
.PHONY
:
${INSTALL} ${MERGE} ${TEMPLATE}
sr
c
README.md
View file @
2728b2c6
...
@@ -6,10 +6,10 @@ from the source code. You'll need to run this once locally:
...
@@ -6,10 +6,10 @@ from the source code. You'll need to run this once locally:
# pkg install gettext-tools p5-Locale-Maketext-Lexicon python27
# pkg install gettext-tools p5-Locale-Maketext-Lexicon python27
Regenerate
dynamic
strings that can't be found in the template
Regenerate
source
strings that can't be found in the template
generation step (XML contents, etc.):
generation step (XML contents, etc.):
# make
dynami
c
# make
sr
c
Regenerate the translation template using:
Regenerate the translation template using:
...
...
dynamic
/collect.py
→
scripts
/collect.py
View file @
2728b2c6
...
@@ -40,7 +40,7 @@ if len(sys.argv) < 2:
...
@@ -40,7 +40,7 @@ if len(sys.argv) < 2:
RootPaths
=
sys
.
argv
[
1
:]
RootPaths
=
sys
.
argv
[
1
:]
# create target location
# create target location
targetPath
=
'
helpers
'
targetPath
=
'
src
'
if
len
(
glob
.
glob
(
targetPath
))
==
0
:
if
len
(
glob
.
glob
(
targetPath
))
==
0
:
os
.
mkdir
(
targetPath
)
os
.
mkdir
(
targetPath
)
...
...
dynamic
/plugins/__init__.py
→
scripts
/plugins/__init__.py
View file @
2728b2c6
File moved
dynamic
/plugins/acl.py
→
scripts
/plugins/acl.py
View file @
2728b2c6
File moved
dynamic
/plugins/controllers.py
→
scripts
/plugins/controllers.py
View file @
2728b2c6
File moved
dynamic
/plugins/models.py
→
scripts
/plugins/models.py
View file @
2728b2c6
File moved
dynamic
/template.txt
→
scripts
/template.txt
View file @
2728b2c6
File moved
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