File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Currently supported platforms are Windows, Mac and Linux.
2020### I18n Support
2121
2222Currently supported locales are Japanese and English.
23- Please [ contribute to translate] ( https://github.com/thinreports/thinreports-editor/blob/master/doc/ TRANSLATION.md ) !
23+ Please [ contribute to translate] ( https://github.com/thinreports/thinreports-editor/blob/master/TRANSLATION.md ) !
2424
2525## Supported Platforms
2626
Original file line number Diff line number Diff line change 1010
1111### Creating a Translation file
1212
13- There are translation files in ` src /locales/*.js` .
13+ There are translation files in ` app /locales/*.js` .
1414
1515Copy the ` en.js ` and create a translation file with a name like ` xx.js ` for your language code:
1616
@@ -45,15 +45,15 @@ Translate in your language:
4545
4646### Enabling your language
4747
48- Modify the your ` src/ app.html` as follows:
48+ Modify the your ` app/index .html ` as follows:
4949
5050``` html
5151<!DOCTYPE html>
5252 <html class =" splash" >
5353 <head >
5454 <title >Thinreports Editor</title >
5555 <meta charset =" UTF-8" >
56- <script src =" app .js" ></script >
56+ <script src =" index .js" ></script >
5757 <script src =" locales/ja.js" ></script >
5858 <script src =" locales/en.js" ></script >
5959 <script src =" locales/xx.js" ></script >
@@ -71,7 +71,7 @@ Modify the your `src/app.html` as follows:
7171
7272### Pull request
7373
74- 1 . See [ Preparation] ( https://github.com/thinreports/thinreports-editor/blob/master/doc/ TRANSLATION.md#preparation )
74+ 1 . See [ Preparation] ( https://github.com/thinreports/thinreports-editor/blob/master/TRANSLATION.md#preparation )
75752 . Add your translation file and add your translation file path in ` app.html `
76763 . Commit: ` git commit -am 'added xx locale' `
77774 . Push to the branch: ` git push origin new-locale `
Original file line number Diff line number Diff line change @@ -1431,7 +1431,7 @@ thin.init_ = function() {
14311431 toolHelp . addItem ( toolHelpFeedBack ) ;
14321432
14331433 var toolHelpTranslation = new thin . ui . MenuLinkItem (
1434- thin . t ( 'button_translation' ) , 'https://github.com/thinreports/thinreports-editor/blob/master/doc/ TRANSLATION.md' ) ;
1434+ thin . t ( 'button_translation' ) , 'https://github.com/thinreports/thinreports-editor/blob/master/TRANSLATION.md' ) ;
14351435 toolHelp . addItem ( toolHelpTranslation ) ;
14361436
14371437 toolbar . decorate ( goog . dom . getElement ( 'thin-toolbar' ) ) ;
Original file line number Diff line number Diff line change 244244 < h1 > < a href ="http://www.thinreports.org " target ="_blank "> < img src ="assets/images/thinreports-logo.svg "> </ a > </ h1 >
245245 < div class ="thin-dialog-about-version-info ">
246246 < span id ="about-dialog-version "> </ span >
247- < a href ="https://github.com/thinreports/thinreports-editor/blob/master/doc/ CHANGELOG.md " target ="_blank "> CHANGELOG</ a >
247+ < a href ="https://github.com/thinreports/thinreports-editor/blob/master/CHANGELOG.md " target ="_blank "> CHANGELOG</ a >
248248 </ div >
249249 </ div >
250250 < div class ="thin-dialog-about-copyright ">
You can’t perform that action at this time.
0 commit comments