Changeset 30809

Show
Ignore:
Timestamp:
15.09.2016 10:50:48 (3 years ago)
Author:
kjdon
Message:

made the three greenstone theme names translatable

Location:
main/trunk/greenstone3/web
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/classes/interface_default.properties

    r30808 r30809  
    119119pref.theme=Visual theme: 
    120120pref.switch_theme=Switch Theme 
    121  
     121pref.theme_default=Greenstone Default 
     122pref.theme_custom1=Greenstone Custom 1 
     123pref.theme_custom2=Greenstone Custom 2 
    122124################## 
    123125# document page 
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/pref.xsl

    r30777 r30809  
    218218                                        imgpath: "interfaces/" + gs.xsltParams.interface_name + "/style/images/", 
    219219                                        additionalThemes: [ 
    220                                             {title:"Greenstone Default", name:"custom-theme0", icon:"theme_90_greenstone.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/main/jquery-ui-1.8.16.custom.css"}, 
    221                                             {title:"Greenstone Custom 1", name:"custom-theme1", icon:"theme_90_start_menu.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_1/jquery-ui-1.8.16.custom.css"}, 
    222                                             {title:"Greenstone Custom 2", name:"custom-theme2", icon:"theme_90_mint_choco.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_2/jquery-ui-1.8.16.custom.css"}, 
     220                                            {title:gs.text.pref.theme_default, name:"custom-theme0", icon:"theme_90_greenstone.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/main/jquery-ui-1.8.16.custom.css"}, 
     221                                            {title:gs.text.pref.theme_custom1, name:"custom-theme1", icon:"theme_90_start_menu.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_1/jquery-ui-1.8.16.custom.css"}, 
     222                                            {title: gs.text.pref.theme_custom2, name:"custom-theme2", icon:"theme_90_mint_choco.png", url:"interfaces/" + gs.xsltParams.interface_name + "/style/themes/alt_theme_2/jquery-ui-1.8.16.custom.css"}, 
    223223 
    224224]