BUG 8932 Untranslatable strings SOLVED
- There was a issue with the class that creates the string of translations, was fixed this and too has add it two labels for TRUE and FALSE
This commit is contained in:
@@ -304,7 +304,7 @@ class headPublisher {
|
|||||||
|
|
||||||
function getExtJsStylesheets($skinName){
|
function getExtJsStylesheets($skinName){
|
||||||
$script = " <link rel='stylesheet' type='text/css' href='/css/$skinName.css' />\n";
|
$script = " <link rel='stylesheet' type='text/css' href='/css/$skinName.css' />\n";
|
||||||
$script .= " <script type='text/javascript' src='/js/ext/translation.en.js'></script>\n";
|
$script .= " <script type='text/javascript' src='/js/ext/translation.".SYS_LANG.".js'></script>\n";
|
||||||
/*
|
/*
|
||||||
$script .= " <link rel='stylesheet' type='text/css' href='/skins/ext/ext-all-notheme.css' />\n";
|
$script .= " <link rel='stylesheet' type='text/css' href='/skins/ext/ext-all-notheme.css' />\n";
|
||||||
$script .= " <link rel='stylesheet' type='text/css' href='/skins/ext/" . $this->extJsSkin.".css' />\n";
|
$script .= " <link rel='stylesheet' type='text/css' href='/skins/ext/" . $this->extJsSkin.".css' />\n";
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ var Conditional = function(DYN_UID){
|
|||||||
|
|
||||||
if(this.canSave){
|
if(this.canSave){
|
||||||
if( saving != true ){
|
if( saving != true ){
|
||||||
bResult = (result)? 'TRUE': 'FALSE';
|
bResult = (result)? _('ID_TRUE'): _('ID_FALSE');
|
||||||
oResultDiv = document.getElementById("ResultMessageTD");
|
oResultDiv = document.getElementById("ResultMessageTD");
|
||||||
oResultDiv.style.display = 'block';
|
oResultDiv.style.display = 'block';
|
||||||
oResultDiv.style.backgroundColor = '#BFCCC5';
|
oResultDiv.style.backgroundColor = '#BFCCC5';
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ Ext.onReady(function(){
|
|||||||
if(uploader.getForm().isValid()){
|
if(uploader.getForm().isValid()){
|
||||||
uploader.getForm().submit({
|
uploader.getForm().submit({
|
||||||
url: 'languages_Import',
|
url: 'languages_Import',
|
||||||
|
waitTitle:'',
|
||||||
waitMsg: _('ID_UPLOADING_TRANSLATION_FILE'),
|
waitMsg: _('ID_UPLOADING_TRANSLATION_FILE'),
|
||||||
success: function(o, resp){
|
success: function(o, resp){
|
||||||
w.close();
|
w.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user