Skip to content

Commit

Permalink
Work on adapt-it#507
Browse files Browse the repository at this point in the history
Just updating some strings (other changes are local for now).
  • Loading branch information
eb1 committed Oct 24, 2023
1 parent d7fc45f commit a58ada8
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 6 deletions.
3 changes: 2 additions & 1 deletion www/locales/dev/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Total Entries: __total__",
"lblNewTU": "Add Entry...",
"lblNewRS": "Add Translation...",
"dscNewRS": "Enter a new translation for __source__:",
"dscNewSP": "Enter a new source phrase in language \"__lang__\": ",
"dscNewRS": "Enter a new translation for \"__source__\": ",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
3 changes: 2 additions & 1 deletion www/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Total Entries: __total__",
"lblNewTU": "Add Entry...",
"lblNewRS": "Add Translation...",
"dscNewRS": "Enter a new translation for __source__:",
"dscNewSP": "Enter a new source phrase in language \"__lang__\".",
"dscNewRS": "Enter a translation for \"__source__\" in language __lang__.",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
3 changes: 2 additions & 1 deletion www/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Recuento de elementos: __total__",
"lblNewTU": "Nuevo elemento...",
"lblNewRS": "Nueva Traducción...",
"dscNewRS": "Escriba una nueva traducción para __source__:",
"dscNewSP": "Escriba una palabra o frase en el idioma \"__lang__\": ",
"dscNewRS": "Escriba una nueva traducción para \"__source__\": ",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
3 changes: 2 additions & 1 deletion www/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Nombre d'entrées: __total__",
"lblNewTU": "Nouvelle entrée...",
"lblNewRS": "Nouvelle traduction...",
"dscNewRS": "Entrez une nouvelle traduction pour __source__:",
"dscNewSP": "Entrez un mot ou une phrase dans la langue \"__lang__\": ",
"dscNewRS": "Entrez une nouvelle traduction pour \"__source__\": ",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
3 changes: 2 additions & 1 deletion www/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Contagem de itens: __total__",
"lblNewTU": "Nova iten...",
"lblNewRS": "Nova tradução...",
"dscNewRS": "Digite uma nova tradução para __source__:",
"dscNewSP": "Digite uma palavra ou frase no idioma \"__lang__\": ",
"dscNewRS": "Digite uma nova tradução para \"__source__\": ",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
3 changes: 2 additions & 1 deletion www/locales/tpi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
"ttlTotalEntries": "Olgeta: __total__",
"lblNewTU": "Nupela trenslesen...",
"lblNewRS": "Nupela trenslesen...",
"dscNewRS": "Enter a new translation for __source__:",
"dscNewSP": "Enter a new source phrase in language \"__lang__\": ",
"dscNewRS": "Enter a new translation for \"__source__\": ",
"_comment" : "****Add new strings BEFORE this line!****"
},
"help": {
Expand Down
29 changes: 29 additions & 0 deletions www/tpl/NewTU.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{{! NewTU.html
Template for creating a new TargetUnit. Used by SearchViews.js (TuListView / New Entry).
}}

<div class="topcoat-navigation-bar main_title bg-lightblue">
<div class="topcoat-navigation-bar__item">
<a class="topcoat-icon-button--quiet back-button" id="btnBack">
<span class="topcoat-icon topcoat-icon--back"></span>
</a>
</div>
<div class="topcoat-navigation-bar__item half">
<h2>{{t 'view.lblNewTU'}}</h2>
</div>
</div>
<div id="mobileSelect" class="scroller-notb">
<div class="chapter-list topcoat-list__container" id="Container" style="width:100%">
<div class="control-group">
<div class="control-row" id="lblText"></div>
<div class="control-row"><input type="text" id="txtField" class="topcoat-text-input full" required></div>
</div>
</div>
</div>
<div class="bottom-tb">
<div id="WizardSteps">
<button class="topcoat-button" id="Cancel"><span id="lblCancel">{{t 'view.lblCancel'}}</span></button>
<button class="topcoat-button" id="Next"><span id="lblNext"></span> <span class="topcoat-icon topcoat-icon--forward" id="imgNext"></span></button>
<button class="topcoat-button" id="Done"><span id="lblDone">{{t 'view.lblDone'}}</span></button>
</div>
</div>

0 comments on commit a58ada8

Please sign in to comment.