Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to translate Configuration strings in template.js, line 429 #193

Closed
blacklord049 opened this issue Apr 15, 2016 · 4 comments
Closed

Comments

@blacklord049
Copy link

I think it could be interesting to have some js files at least to translate those strings in template.js (line 429).

  var tpl_sections = {
      // Section            ID                  Insert before           Icon
      'Theme'           : [ 'theme',            'bootstrapTheme',       'fa-tint'      ],
      'Sidebar'         : [ 'sidebar',          'sidebarPosition',      'fa-columns'   ],
      'Navbar'          : [ 'navbar',           'inverseNavbar',        'fa-navicon'   ],
      'Semantic'        : [ 'semantic',         'semantic',             'fa-share-alt' ],
      'Layout'          : [ 'layout',           'fluidContainer',       'fa-desktop'   ],
      'TOC'             : [ 'toc',              'tocAffix',             'fa-list'      ],
      'Discussion'      : [ 'discussion',       'showDiscussion',       'fa-comments'  ],
      'Cookie Law'      : [ 'cookie_law',       'showCookieLawBanner',  'fa-legal'     ],
      'Google Analytics': [ 'google_analytics', 'useGoogleAnalytics',   'fa-google'    ],
      'Browser Title'   : [ 'browser_title',    'browserTitle',         'fa-header'    ],
      'Page'            : [ 'page',             'showPageInfo',         'fa-file'      ]
    };

What do you think ?

@AlekSet
Copy link

AlekSet commented Apr 15, 2016

It would be cool!

@giterlizzi
Copy link
Owner

Good idea!

@giterlizzi
Copy link
Owner

Implemented in dev branch!

@blacklord049
Copy link
Author

Will try and translate in French tomorrow :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants