diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:27:14 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:27:14 +0400 |
commit | bca3a6f8fa6ed52f29f3b6cb80a7fc396efc9262 (patch) | |
tree | 00d170a21b544cb7f0f512733894b3a7c8161ec0 /files_svgedit | |
parent | 876b867c3305b75a5963a360e5b1a888ea570bfd (diff) |
Replace translation strings
Grep: echo \$l\-\>t\(\'([^']*)\'\)
Replace with:p(\$l\-\>t\(\'\1\'\)\)
Grep: echo \$l\-\>t\(\"([^"]*)\"\)
Replace with: p(\$l\-\>t\(\"\1\"\)\)
Diffstat (limited to 'files_svgedit')
-rw-r--r-- | files_svgedit/templates/editor.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/files_svgedit/templates/editor.php b/files_svgedit/templates/editor.php index 7dd7a6d58..a9533c744 100644 --- a/files_svgedit/templates/editor.php +++ b/files_svgedit/templates/editor.php @@ -8,59 +8,59 @@ var ocsvgFile = { //--> </script> <div id="controls"> - <input type="button" id="ocsvgBtnSave" value="<?php echo $l->t('Save'); ?>" /> - <input type="button" id="ocsvgBtnProps" value="<?php echo $l->t('Properties'); ?>" /> - <input type="button" id="ocsvgBtnPrefs" value="<?php echo $l->t('Preferences'); ?>" /> - <input type="button" id="ocsvgBtnPrint" value="<?php echo $l->t('Print'); ?>" /> + <input type="button" id="ocsvgBtnSave" value="<?php p($l->t('Save')); ?>" /> + <input type="button" id="ocsvgBtnProps" value="<?php p($l->t('Properties')); ?>" /> + <input type="button" id="ocsvgBtnPrefs" value="<?php p($l->t('Preferences')); ?>" /> + <input type="button" id="ocsvgBtnPrint" value="<?php p($l->t('Print')); ?>" /> <div class="separator"></div> - <input type="button" id="ocsvgBtnClose" value="<?php echo $l->t('Close'); ?>" /> + <input type="button" id="ocsvgBtnClose" value="<?php p($l->t('Close')); ?>" /> </div> <div id="svgEditor"> <iframe src="<?php echo OC_Helper::linkTo('files_svgedit', 'svg-edit/svg-editor.html'); ?>" id="svgedit"></iframe> </div> -<div id="svgEditorSave" title="<?php echo $l->t('Save'); ?>"> +<div id="svgEditorSave" title="<?php p($l->t('Save')); ?>"> <ul> <li><a href="#svgSave"> <img src="<?php echo OC_Helper::mimetypeIcon("image/svg+xml"); ?>" class="mimetypeTab" /> - <?php echo $l->t('Save SVG'); ?> + <?php p($l->t('Save SVG')); ?> </a></li> <li><a href="#pngExport"> <img src="<?php echo OC_Helper::mimetypeIcon("image/png"); ?>" class="mimetypeTab" /> - <?php echo $l->t('Export PNG'); ?> + <?php p($l->t('Export PNG')); ?> </a></li> <li><a href="#pdfExport"> <img src="<?php echo OC_Helper::mimetypeIcon("application/pdf"); ?>" class="mimetypeTab" /> - <?php echo $l->t('Export PDF'); ?> + <?php p($l->t('Export PDF')); ?> </a></li> </ul> <div id="svgSave"> <input type="text" id="svgSavePath" value="" /> - <input type="button" id="svgSaveBtn" value="<?php echo $l->t('Save'); ?>" /> + <input type="button" id="svgSaveBtn" value="<?php p($l->t('Save')); ?>" /> <div class="separator"></div> - <input type="button" id="svgDownloadBtn" value="<?php echo $l->t('Download'); ?>" /> + <input type="button" id="svgDownloadBtn" value="<?php p($l->t('Download')); ?>" /> </div> <div id="pngExport"> - <input type="button" id="canvasRenderBtn" value="<?php echo $l->t('Render'); ?>"> + <input type="button" id="canvasRenderBtn" value="<?php p($l->t('Render')); ?>"> <div class="separator"></div> - <strong><?php echo $l->t('Preview:'); ?></strong> + <strong><?php p($l->t('Preview:')); ?></strong> <div id="canvasPreview"> <canvas id="exportCanvas"></canvas> </div> <input type="text" id="pngSavePath" value="" /> - <input type="button" id="pngSaveBtn" value="<?php echo $l->t('Save'); ?>" /> + <input type="button" id="pngSaveBtn" value="<?php p($l->t('Save')); ?>" /> <div class="separator"></div> - <input type="button" id="pngDownloadBtn" value="<?php echo $l->t('Download'); ?>" /> + <input type="button" id="pngDownloadBtn" value="<?php p($l->t('Download')); ?>" /> </div> <div id="pdfExport"> - <input type="button" id="pdfRenderBtn" value="<?php echo $l->t('Render'); ?>" /> + <input type="button" id="pdfRenderBtn" value="<?php p($l->t('Render')); ?>" /> <div class="separator"></div> - <strong><?php echo $l->t('Preview:'); ?></strong> + <strong><?php p($l->t('Preview:')); ?></strong> <div id="svgtopdfPreview"> <svg></svg> </div> <input type="text" id="pdfSavePath" value="" /> - <input type="button" id="pdfSaveBtn" value="<?php echo $l->t('Save'); ?>" /> + <input type="button" id="pdfSaveBtn" value="<?php p($l->t('Save')); ?>" /> <div class="separator"></div> - <input type="button" id="pdfDownloadBtn" value="<?php echo $l->t('Download'); ?>" /> + <input type="button" id="pdfDownloadBtn" value="<?php p($l->t('Download')); ?>" /> </div> </div> |