Added launchpad import
This commit is contained in:
parent
206c142b99
commit
1b55c84f06
@ -58,3 +58,8 @@ launchpad-extract:
|
||||
rmdir $(LOCALEDIR)/phpldapadmin
|
||||
|
||||
launchpad-export: launchpad-extract all-mo
|
||||
|
||||
launchpad-import:
|
||||
@[ -d /tmp/pla ] && rmdir /tmp/pla
|
||||
@mkdir /tmp/pla
|
||||
@for i in $(LOCALEDIR)/*/LC_MESSAGES/messages.po; do echo $$i; x=$${i##$(LOCALEDIR)/}; x=$${x/_??\/LC_MESSAGES\/messages/}; [ ! -e /tmp/pla/$$x ] && cp $$i /tmp/pla/$$x || echo "$$x Already exists!"; done
|
||||
|
Loading…
Reference in New Issue
Block a user