File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,14 @@ window.AboutDialog = function(params) {
4949
5050 $dialogTitle = $el . find ( '.title' ) ;
5151 $dialogTitle . find ( '.tool.close' ) . bind ( 'click' , onCloseClick ) ;
52+ $dialogTitle . find ( '.text-headline' ) . text ( utils . Lang . actAbout ) ;
5253
5354 $dialogBody = $el . find ( '.body' ) ;
5455 if ( pendingBody ) {
5556 $dialogBody . html ( pendingBody ) ;
5657 pendingBody = null ;
5758 }
59+ $dialogBody . find ( '#idx-about-version span[l10n]' ) . text ( utils . Lang . strVersion ) ;
5860
5961 $el . get ( 0 ) . showModal ( ) ;
6062 $el . addClass ( 'scaled' ) ;
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ window.DocumentCreationGrid = function (config = {}) {
8181
8282 ${ doc . icon . startsWith ( '#' ) ? `<svg class="icon"><use xlink:href="${ doc . icon } "></use></svg>` : `<i class="icon ${ doc . icon } "></i>` }
8383
84- <div class="title">
84+ <div class="title" l10n=" ${ doc . langKey } " >
8585 ${ doc . title }
8686 </div>
8787 </div>
Original file line number Diff line number Diff line change 158158 this . view . $dialog . setBody ( this . view . $body )
159159 } else {
160160 if ( ! ! args . opts && ! ! args . opts . edition ) {
161- $ ( '#idx-ver-edition' ) . html ( args . opts . edition ) ;
161+ $ ( '#idx-ver-edition' , this . view . $body ) . html ( args . opts . edition ) ;
162162 }
163163 }
164164
Original file line number Diff line number Diff line change 549549 {
550550 id : 'word' ,
551551 title : utils . Lang . newDoc ,
552+ langKey : 'newDoc' ,
552553 formatLabel : {
553554 value : 'DOCX' ,
554555 gradientColorStart : '#4298C5' ,
560561 {
561562 id : 'cell' ,
562563 title : utils . Lang . newXlsx ,
564+ langKey : 'newXlsx' ,
563565 formatLabel : {
564566 value : 'XLSX' ,
565567 gradientColorStart : '#5BB514' ,
571573 {
572574 id : 'slide' ,
573575 title : utils . Lang . newPptx ,
576+ langKey : 'newPptx' ,
574577 formatLabel : {
575578 value : 'PPTX' ,
576579 gradientColorStart : '#F4893A' ,
582585 {
583586 id : 'form' ,
584587 title : utils . Lang . newForm ,
588+ langKey : 'newForm' ,
585589 formatLabel : {
586590 value : 'PDF' ,
587591 gradientColorStart : '#F36653' ,
You can’t perform that action at this time.
0 commit comments