Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r10911: LJSUP-9617 (no text variable for button ...

Committer: ailyin
LJSUP-9617 (no text variable for button Preview)
U   trunk/htdocs/shop/selfpromo.bml.text.local
U   trunk/templates/Shop/SelfPromo.tmpl
Modified: trunk/htdocs/shop/selfpromo.bml.text.local
===================================================================
--- trunk/htdocs/shop/selfpromo.bml.text.local	2011-08-24 04:00:10 UTC (rev 10910)
+++ trunk/htdocs/shop/selfpromo.bml.text.local	2011-08-24 06:52:17 UTC (rev 10911)
@@ -1,5 +1,7 @@
 .btn.submit=Promote!
 
+.btn.preview=Preview
+
 .current_price=[[price]] [[?price|LJ Token|LJ Tokens|LJ Tokens]]
 
 .error.entry_ineligible.entry_adult_content=The entry at <a href="[[entry_url]]">[[entry_url]]</a> cannot be promoted because it is set to indicate that it contains adult content.

Modified: trunk/templates/Shop/SelfPromo.tmpl
===================================================================
--- trunk/templates/Shop/SelfPromo.tmpl	2011-08-24 04:00:10 UTC (rev 10910)
+++ trunk/templates/Shop/SelfPromo.tmpl	2011-08-24 06:52:17 UTC (rev 10911)
@@ -60,7 +60,7 @@
 				<p id="price_description"><TMPL_VAR expr="ml('/shop/selfpromo.bml.price_description')"></p>
 			</fieldset>
 			<fieldset class="submit-options">
-				<button type="button" id="selfpromo-preview-button">Preview</button>
+				<button type="button" id="selfpromo-preview-button"><TMPL_VAR expr="ml('/shop/selfpromo.bml.btn.preview')"></button>
 				<button type="submit"><TMPL_VAR expr="ml('/shop/selfpromo.bml.btn.submit')"></button>
 			</fieldset>
 		</div>

Tags: andy, ljcom, local, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments