diff --git a/r2/r2/templates/promotelinkform.html b/r2/r2/templates/promotelinkform.html index 47bbf219e..f6f9d281f 100644 --- a/r2/r2/templates/promotelinkform.html +++ b/r2/r2/templates/promotelinkform.html @@ -119,7 +119,7 @@ ${self.javascript_setup()} ${error_field("NO_TEXT", "title", "div")} ${error_field("TOO_LONG", "title", "div")}
-

A good title is important to the success of your campaign. reddit users are an intelligent, thoughtful group, and reward those who engage them

+

${_("A good title is important to the success of your campaign. reddit users are an intelligent, thoughtful group, and reward those who engage them.")}

@@ -136,11 +136,11 @@ ${self.javascript_setup()} ${error_field("DOMAIN_BANNED", "url", "div")} ${error_field("ALREADY_SUB", "url", "div")}
-

Provide the URL of your ad. No redirects please!

+

${_("Provide the URL of your ad. No redirects please!")}

%if enable_override: - +
-

Choose a different domain name to display on the site (the small grey text next to a link

+

${_("Choose a different domain name to display on the site (the small grey text next to a link")}

%endif @@ -158,7 +158,7 @@ ${self.javascript_setup()} <%def name="image_field(link)"> <%utils:line_field title="${_('look and feel')}" - description="images will be resized if larger than 70 x 70 pixels" + description="${_('images will be resized if larger than 70 x 70 pixels')}" css_class="rounded">
<%utils:image_upload post_target="/api/link_thumb" @@ -193,7 +193,7 @@ ${self.javascript_setup()}
-

Comments are a great way to get feedback from customers, and the reddit community is known for being vocal in comment threads.

+

${_("Comments are a great way to get feedback from customers, and the reddit community is known for being vocal in comment threads.")}

@@ -229,7 +229,7 @@ ${self.javascript_setup()}

${checkbox("media-override", - "media override (adds an onclick to the link to generate a drop-down rather than a link out)", + _("media override (adds an onclick to the link to generate a drop-down rather than a link out)"), getattr(link, "media_override", False) or False)}
@@ -244,9 +244,9 @@ ${self.javascript_setup()}

- This dashboard allows you to easily place ads on reddit. - You can target a specific community or simply run on the main - page. + ${_("This dashboard allows you to easily place ads on reddit. " + "You can target a specific community or simply run on the main " + "page.")}

@@ -260,15 +260,15 @@ ${self.javascript_setup()} <% - start_title = "Date when your sponsored link will start running. We start new campaigns at midnight UTC+5" - end_title = "Date when your sponsored link will end (at midnight UTC+5)" - targeting_title = "name of the community that you are targeting. A blank entry here means that the ad is untargeted and will run site-wide " - newcamp_title = "click to create a new campaign. To edit an existing campaing in the table below, click the 'edit' button." + start_title = _("Date when your sponsored link will start running. We start new campaigns at midnight UTC+5") + end_title = _("Date when your sponsored link will end (at midnight UTC+5)") + targeting_title = _("name of the community that you are targeting. A blank entry here means that the ad is untargeted and will run site-wide ") + newcamp_title = _("click to create a new campaign. To edit an existing campaing in the table below, click the 'edit' button.") %> - + - + - + - + - + - +
dates${_("dates")} <% mindate = thing.startdate @@ -299,13 +299,13 @@ ${self.javascript_setup()}
duration${_("duration")}
total budget${_("total budget")} ${error_field("BAD_BID", "bid", "div")} ${error_field("BID_LIVE", "bid", "div")} @@ -315,18 +315,17 @@ ${self.javascript_setup()} style="width:auto" onchange="r.sponsored.on_bid_change()" onkeyup="r.sponsored.on_bid_change()" - title="Minimum is ${format_currency(thing.min_bid, 'USD', locale=c.locale)}" value="${format_decimal(5 * thing.min_bid, format='.00', locale=c.locale)}" data-min_bid="${thing.min_bid}" data-base_cpm="${g.cpm_selfserve.pennies}"/>
- ${_("$%.2F minimum") % thing.min_bid} + ${_('%(minimum)s minimum') % dict(minimum=format_currency(thing.min_bid, 'USD', locale=c.locale))}
price${_("price")} @@ -334,28 +333,28 @@ ${self.javascript_setup()}
impressions${_("impressions")}
targeting${_("targeting")}