From e3227af798b0fa5b1ce97308b942f3d87ca5022e Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 9 Sep 2013 12:23:36 -0400 Subject: [PATCH] VIVO-262 Add languages to VIVO at build time. Move the language-specific files out of the default build area. Add a build property that will cause the selected language(s) to be copied into the build area. --- build.xml | 1 + .../firsttime/classgroups_labels_es.n3 | 0 .../firsttime/propertygroups_labels_es.n3 | 0 .../rdf/display/firsttime}/aboutPage_es.n3 | 0 .../example/rdf/display/firsttime}/menu_es.n3 | 0 .../tbox/firsttime/vivo-core-1.5-labels_es.n3 | 0 .../freemarker}/aboutMapOfScience_es.ftl | 0 .../templates/freemarker}/aboutQrCodes_es.ftl | 0 .../freemarker}/mapOfScienceTooltips_es.ftl | 0 .../example/themes}/wilma/i18n/all_es.properties | 0 .../wilma/i18n/images/select_locale_es_ES.GIF | Bin themes/wilma/i18n/images/select_locale_en_AU.GIF | Bin 1613 -> 0 bytes themes/wilma/i18n/images/select_locale_es_MX.GIF | Bin 1296 -> 0 bytes 13 files changed, 1 insertion(+) rename {rdf => languages/example/rdf}/applicationMetadata/firsttime/classgroups_labels_es.n3 (100%) rename {rdf => languages/example/rdf}/applicationMetadata/firsttime/propertygroups_labels_es.n3 (100%) rename {rdf/display/everytime => languages/example/rdf/display/firsttime}/aboutPage_es.n3 (100%) rename {rdf/display/everytime => languages/example/rdf/display/firsttime}/menu_es.n3 (100%) rename {rdf => languages/example/rdf}/tbox/firsttime/vivo-core-1.5-labels_es.n3 (100%) rename {productMods/templates/freemarker/visualization/mapOfScience => languages/example/templates/freemarker}/aboutMapOfScience_es.ftl (100%) rename {productMods/templates/freemarker/body => languages/example/templates/freemarker}/aboutQrCodes_es.ftl (100%) rename {productMods/templates/freemarker/visualization/mapOfScience => languages/example/templates/freemarker}/mapOfScienceTooltips_es.ftl (100%) rename {themes => languages/example/themes}/wilma/i18n/all_es.properties (100%) rename {themes => languages/example/themes}/wilma/i18n/images/select_locale_es_ES.GIF (100%) delete mode 100644 themes/wilma/i18n/images/select_locale_en_AU.GIF delete mode 100644 themes/wilma/i18n/images/select_locale_es_MX.GIF diff --git a/build.xml b/build.xml index 2100f27f..c19a9b9a 100644 --- a/build.xml +++ b/build.xml @@ -72,6 +72,7 @@ + diff --git a/rdf/applicationMetadata/firsttime/classgroups_labels_es.n3 b/languages/example/rdf/applicationMetadata/firsttime/classgroups_labels_es.n3 similarity index 100% rename from rdf/applicationMetadata/firsttime/classgroups_labels_es.n3 rename to languages/example/rdf/applicationMetadata/firsttime/classgroups_labels_es.n3 diff --git a/rdf/applicationMetadata/firsttime/propertygroups_labels_es.n3 b/languages/example/rdf/applicationMetadata/firsttime/propertygroups_labels_es.n3 similarity index 100% rename from rdf/applicationMetadata/firsttime/propertygroups_labels_es.n3 rename to languages/example/rdf/applicationMetadata/firsttime/propertygroups_labels_es.n3 diff --git a/rdf/display/everytime/aboutPage_es.n3 b/languages/example/rdf/display/firsttime/aboutPage_es.n3 similarity index 100% rename from rdf/display/everytime/aboutPage_es.n3 rename to languages/example/rdf/display/firsttime/aboutPage_es.n3 diff --git a/rdf/display/everytime/menu_es.n3 b/languages/example/rdf/display/firsttime/menu_es.n3 similarity index 100% rename from rdf/display/everytime/menu_es.n3 rename to languages/example/rdf/display/firsttime/menu_es.n3 diff --git a/rdf/tbox/firsttime/vivo-core-1.5-labels_es.n3 b/languages/example/rdf/tbox/firsttime/vivo-core-1.5-labels_es.n3 similarity index 100% rename from rdf/tbox/firsttime/vivo-core-1.5-labels_es.n3 rename to languages/example/rdf/tbox/firsttime/vivo-core-1.5-labels_es.n3 diff --git a/productMods/templates/freemarker/visualization/mapOfScience/aboutMapOfScience_es.ftl b/languages/example/templates/freemarker/aboutMapOfScience_es.ftl similarity index 100% rename from productMods/templates/freemarker/visualization/mapOfScience/aboutMapOfScience_es.ftl rename to languages/example/templates/freemarker/aboutMapOfScience_es.ftl diff --git a/productMods/templates/freemarker/body/aboutQrCodes_es.ftl b/languages/example/templates/freemarker/aboutQrCodes_es.ftl similarity index 100% rename from productMods/templates/freemarker/body/aboutQrCodes_es.ftl rename to languages/example/templates/freemarker/aboutQrCodes_es.ftl diff --git a/productMods/templates/freemarker/visualization/mapOfScience/mapOfScienceTooltips_es.ftl b/languages/example/templates/freemarker/mapOfScienceTooltips_es.ftl similarity index 100% rename from productMods/templates/freemarker/visualization/mapOfScience/mapOfScienceTooltips_es.ftl rename to languages/example/templates/freemarker/mapOfScienceTooltips_es.ftl diff --git a/themes/wilma/i18n/all_es.properties b/languages/example/themes/wilma/i18n/all_es.properties similarity index 100% rename from themes/wilma/i18n/all_es.properties rename to languages/example/themes/wilma/i18n/all_es.properties diff --git a/themes/wilma/i18n/images/select_locale_es_ES.GIF b/languages/example/themes/wilma/i18n/images/select_locale_es_ES.GIF similarity index 100% rename from themes/wilma/i18n/images/select_locale_es_ES.GIF rename to languages/example/themes/wilma/i18n/images/select_locale_es_ES.GIF diff --git a/themes/wilma/i18n/images/select_locale_en_AU.GIF b/themes/wilma/i18n/images/select_locale_en_AU.GIF deleted file mode 100644 index e4c2274c8deb7f9f33be2520d0cf3710fc114a60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1613 zcmeIx{ZA7I7zglc<)w!bt1zfKet426 zd6H5Rml^VmfEsWEdXE&h#O)D9k05w>3Gd+~oQIXL{|?h)$pZxYmcK_!V2loB=1i@X$?=AAT8*?E%U36jTf9>sZO6t7fsoWQX>=VUnq zIe}#*JWI1IL9sZ&VkCZt<*c6oYToV3A+=wJ2A@PVC{AZV<#OH#ZVMYkTgNiIPS!89K#$KN}-qo zMJ09%N?9y+3qm0lJAz0k1eTD9nLyMC3{x;n!Vn4TQCMMyU=o5Pgc%~uW(i?7VP+*{ zG7%;dZZJqNyIaou2l=#=u}O z+G^?tfNXie+l0oB7SLFgUb42aqr;eMq9$@f*Zk0y+!%gWTap$qGa|f~_^V*u-In+B zpP&2SWii``L4RbXRvt6jbC2A@y8=gdc~3KfA!*zE7dpVF{voNYNmF|pBO5d;D|(X^ zx79iTSXRBgh(PE(6t8f-GBPFN0EG4Wd?UfD8fN2{Tk{#47Yswo<*__rKJyVfqetoDT zm^=}o)Kt1M!@%m+nj?pIy}lj+?2#9qENwGd`@Ivto;5pc-@)~&vSq1;0(;#<&!t0f zbHcL)O?dlxS7(K`@X5YX-EBMwrqttk))nd+Rl2Ju!?9t^m=IL2N@~>XRNrfC_%wDT zC4%a7auL+7IcLy}g1v*OToJZ4WVQAC_LdhNLQ(7M!rx=&Sff)y=>+TY&Qn{12wPtB zkhU0kb$MrD+myD*(t)dqBivE&OO0<1c>Gd(pI7aQZ?DVR7W;+e_x23<7oQ9M`MP(G z>gBcJ%;&n0Sowplfq?0qfg5xuSAug47lhIwuj!R#x1tI)Nx_k0 z!*51#AHSt#w$Zy=_U!dds4w!LKwY*Tg*Lyc{G4-pR_B=ipD}-f_dH;1=i;B9*2}kq yu9%Yja+7Udi0+rz>Cw9THTQPwYUbaGyX2bo?zNZ))Xvr8rW3U>Z^vaaVEI1}_k(Nz diff --git a/themes/wilma/i18n/images/select_locale_es_MX.GIF b/themes/wilma/i18n/images/select_locale_es_MX.GIF deleted file mode 100644 index 11c25782ba3452ebcc14221e15137027ab8356ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1296 zcmeH`|4$r67{>Q(g#(H?!NxnJmJ7D!4r)BK%7KmTXHKA=a>% z&|@vMo!V9=E!C-9OQ#adB+zyfzhs*$)}^GnrL?S}>IQ>#K@-m!c`y?~TY$@AZe&CpF$L(>dZHB{LEf&qXY({w}AT^`-((w$D-ZerJMcJq)X6OCd`gsQHX zjjEbZRgqMMs+6iMtNQ(lt}2>|qNuW>Qbmyzg(|WMQ3#SXRn`<)B{IP>0x}FrnmJD- zg-9}%h$tZ-Azm_l$VviBRf#Hy%8+6}5uhSR1&*l5oF_6Q6cUjorX#R~_YuxTI44#p z{yW`_!xF@jh>3_X#3G9YKawz#5Rw3*2vLYcfJ{^HA>c*4i3h3_$^c3L5&|)T2tt8} zybE$R$l4)m6R99lAesW481#rirx>)0oKs|Ng5N6m8NtT@3IQenBOnF=YXvL={0uOC zFT)ds$CSq`4}*Nr#rqlF#{@;5Lw+-k<9+6RSb=4M-;aS4arOkP4YADs`p*j#B#fVy4V)S6&MQ|f z(R1YL@q(2{ay<2oU)=jdNL}VBB-gt01F4~uz}f44rF-W8{O!@1s#BY~{ne>m4?W*o z*?SRrtKHWIYKEHLyfyLT_~3?-;qSQlnVJuFKHFHG)*jk6&^-OtJ74`0wVc~?=;B2F z{i{1NYd^G34z3%VI^TMJzRuY{_TJN-^SIeDai?xr*ydg+Ty;<5=RNa}G){Vd-ZA`= zqxQt^tQ*d<3htKtM{!~Kl7iN`$QxH4|9*Y?izP~0@nhx7>s~MQrr(ASuD91eyykkz zPdKSEJNoO+jE3@E6+5_W&yDEe&Tm4W^qrjkwk-VQ_Lhikw{kSsw`FFk-JTY$Io1}S za~;Xm%^9T*{zA^CjH;!lEcT~vN-M%Ou7%5%&0hyb*F;*zyHaHtWtCGg