- 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:
Eric J. Korpela 2008-05-28 00:58:53 +00:00
parent 4939d9441c
commit 249407f505
63 changed files with 68 additions and 1 deletions

View File

@ -4367,3 +4367,19 @@ Rom May 27 2008
win_build/installerv2/redist/Windows/x64/ win_build/installerv2/redist/Windows/x64/
boinccas.dll boinccas.dll
boinccas95.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)

View File

@ -306,7 +306,7 @@ bool CBOINCGUIApp::OnInit() {
); );
} }
m_pLocale->AddCatalogLookupPathPrefix(wxT("locale")); m_pLocale->AddCatalogLookupPathPrefix(wxT("locale"));
m_pLocale->AddCatalog(wxT("BOINC Manager")); m_pLocale->AddCatalog(wxT("BOINC-Manager"));
InitSupportedLanguages(); InitSupportedLanguages();

51
locale/client/Makefile.am Normal file
View File

@ -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