mirror of https://github.com/BOINC/boinc.git
- clientgui: renamed locale files from "BOINC Manager.*" to
"BOINC-Manager.*" - Added Makefile to locale/client to install the BOINC Manager.po files into $(datadir)/locale (typically $(prefix)/share/locale) svn path=/trunk/boinc/; revision=15299
This commit is contained in:
parent
4939d9441c
commit
249407f505
|
@ -4367,3 +4367,19 @@ Rom May 27 2008
|
|||
win_build/installerv2/redist/Windows/x64/
|
||||
boinccas.dll
|
||||
boinccas95.dll
|
||||
|
||||
Eric May 27 2008
|
||||
- clientgui: renamed locale files from "BOINC Manager.*" to
|
||||
"BOINC-Manager.*"
|
||||
- Added Makefile to locale/client to install the BOINC Manager.po files
|
||||
into $(datadir)/locale (typically $(prefix)/share/locale)
|
||||
|
||||
clientgui/
|
||||
BOINCGUIApp.cpp
|
||||
locale/
|
||||
client/
|
||||
Makefile.am
|
||||
*/
|
||||
BOINC Manager.po (renamed BOINC-Manager.po)
|
||||
BOINC Manager.mo (renamed BOINC-Manager.mo)
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@ bool CBOINCGUIApp::OnInit() {
|
|||
);
|
||||
}
|
||||
m_pLocale->AddCatalogLookupPathPrefix(wxT("locale"));
|
||||
m_pLocale->AddCatalog(wxT("BOINC Manager"));
|
||||
m_pLocale->AddCatalog(wxT("BOINC-Manager"));
|
||||
|
||||
InitSupportedLanguages();
|
||||
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
include $(top_srcdir)/Makefile.incl
|
||||
|
||||
datadir = $(prefix)/share/locale
|
||||
|
||||
locale_dirs = \
|
||||
af_ZA \
|
||||
ar \
|
||||
be \
|
||||
bg \
|
||||
ca \
|
||||
cs \
|
||||
cs_CZ \
|
||||
da \
|
||||
de \
|
||||
el \
|
||||
en_US \
|
||||
es \
|
||||
eu \
|
||||
fi \
|
||||
fr \
|
||||
hr \
|
||||
hu \
|
||||
it \
|
||||
ja \
|
||||
ko_KR \
|
||||
lt \
|
||||
lv \
|
||||
nb \
|
||||
nl \
|
||||
pl \
|
||||
pt \
|
||||
pt_BR \
|
||||
ro \
|
||||
ru \
|
||||
sk \
|
||||
sl \
|
||||
sv_SE \
|
||||
tr \
|
||||
uk \
|
||||
zh_CN \
|
||||
zh_TW
|
||||
|
||||
install-exec-hook:
|
||||
mydir=$(DESTDIR)$(datadir) ;\
|
||||
for ldir in $(locale_dirs) ; do \
|
||||
$(INSTALL) -d $$mydir/$$ldir ; \
|
||||
if [ -f $$ldir/BOINC-Manager.po ] ; then \
|
||||
$(INSTALL) $$ldir/BOINC-Manager.po $$mydir/$$ldir/BOINC-Manager.po ; \
|
||||
fi ;\
|
||||
done
|
||||
|
Loading…
Reference in New Issue