[Embed] Add translation for the hyperlink tooltip

This commit is contained in:
Julia Radzhabova
2024-11-23 23:31:54 +03:00
parent 555bbdcd4c
commit bfaf214f04
12 changed files with 16 additions and 10 deletions

View File

@ -294,7 +294,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -279,7 +279,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -328,7 +328,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -313,7 +313,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -233,6 +233,7 @@ PE.ApplicationController = new(function(){
$tooltip.find('.tooltip-arrow').css({left: 10});
});
$ttEl.data('bs.tooltip').options.title = me.txtPressLink;
}
if ( !$tooltip ) {
@ -879,6 +880,7 @@ PE.ApplicationController = new(function(){
warnLicenseBefore: 'License not active. Please contact your administrator.',
warnLicenseExp: 'Your license has expired. Please update your license and refresh the page.',
errorEditingDownloadas: 'An error occurred during the work with the document.<br>Use the \'Download as...\' option to save the file backup copy to your computer hard drive.',
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.'
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.',
txtPressLink: 'Click the link to open it'
}
})();

View File

@ -44,6 +44,7 @@
"PE.ApplicationController.waitText": "Please, wait...",
"PE.ApplicationController.warnLicenseBefore": "License not active. Please contact your administrator.",
"PE.ApplicationController.warnLicenseExp": "Your license has expired. Please update your license and refresh the page.",
"PE.ApplicationController.txtPressLink": "Click the link to open it",
"PE.ApplicationView.txtDownload": "Download",
"PE.ApplicationView.txtEmbed": "Embed",
"PE.ApplicationView.txtFileLocation": "Open file location",

View File

@ -276,7 +276,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -258,7 +258,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -335,7 +335,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -319,7 +319,7 @@
</div>
</div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="Click the link to open it" style="display:none;"></div>
<div class="hyperlink-tooltip" data-toggle="tooltip" title="" style="display:none;"></div>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>

View File

@ -836,6 +836,7 @@ SSE.ApplicationController = new(function(){
$tooltip.find('.tooltip-arrow').css({left: 10});
});
$ttEl.data('bs.tooltip').options.title = me.txtPressLink;
}
if (!$tooltip) {
@ -970,6 +971,7 @@ SSE.ApplicationController = new(function(){
warnLicenseBefore: 'License not active. Please contact your administrator.',
warnLicenseExp: 'Your license has expired. Please update your license and refresh the page.',
errorEditingDownloadas: 'An error occurred during the work with the document.<br>Use the \'Download as...\' option to save the file backup copy to your computer hard drive.',
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.'
errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.',
txtPressLink: 'Click the link to open it'
}
})();

View File

@ -44,6 +44,7 @@
"SSE.ApplicationController.waitText": "Please, wait...",
"SSE.ApplicationController.warnLicenseBefore": "License not active. Please contact your administrator.",
"SSE.ApplicationController.warnLicenseExp": "Your license has expired. Please update your license and refresh the page.",
"SSE.ApplicationController.txtPressLink": "Click the link to open it",
"SSE.ApplicationView.txtDownload": "Download",
"SSE.ApplicationView.txtEmbed": "Embed",
"SSE.ApplicationView.txtFileLocation": "Open file location",