summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-07-03 16:14:05 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-07-03 16:14:05 -0700
commita633c134b754305eaa611c5d67af4ca7c79beafe (patch)
treee8949638dbed25a9116e7108fe442a7b7e1df569 /modules/gallery/views
parentfb472da0ba7237b0d9a7a1dde5dd71ff51f87c3b (diff)
Ticket 104: Adding "Copy sourc text" button to l10n UI (usability / productivity improvement)
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/l10n_client.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php
index 38e92e3e..c0cbbfa2 100644
--- a/modules/gallery/views/l10n_client.html.php
+++ b/modules/gallery/views/l10n_client.html.php
@@ -63,6 +63,8 @@
<?= form::textarea("l10n-edit-plural-translation-other", "", ' rows="2"') ?>
</div>
<input type="submit" name="l10n-edit-save" value="<?= t("Save translation") ?>"/>
+ <a href="javascript: Gallery.l10nClient.copySourceText()"
+ class="gButtonLink ui-state-default ui-corner-all"><?= t("Copy source text") ?></a>
</form>
</div>
</div>