1
0
Fork 0
forked from OpenNeo/impress

refactor neopets_pages.new for twl

This commit is contained in:
Emi Matchu 2013-01-09 18:21:44 -06:00
parent abd327f08e
commit 942fa63907
3 changed files with 50 additions and 48 deletions

View file

@ -22,21 +22,18 @@
%ol %ol
%li %li
= t '.help.check_frame.header_html', = twl '.help.check_frame.header', :page_link_url => @neopets_page.url,
:page_link => link_to(t('.help.check_frame.page_link_content', :name => @neopets_page.name, :index => @neopets_page.index
:name => @neopets_page.name,
:index => @neopets_page.index),
@neopets_page.url)
%ul %ul
%li %li
%strong= t '.help.check_frame.check_login.summary' %strong= t '.help.check_frame.check_login.summary'
= t '.help.check_frame.check_login.details' = t '.help.check_frame.check_login.details'
%li %li
%strong %strong
= t '.help.check_frame.login.summary_html', = twl '.help.check_frame.login.summary',
:login_link => link_to_neopets_login(t('.help.check_frame.login.summary_login_link_content')) :login_link_url => neopets_login_url
= t '.help.check_frame.login.details_html', = twl '.help.check_frame.login.details',
:login_link => link_to_neopets_login(t('.help.check_frame.login.details_login_link_content')) :login_link_url => neopets_login_url
%li %li
%strong %strong
= t '.help.check_frame.check_content.summary', = t '.help.check_frame.check_content.summary',
@ -51,11 +48,10 @@
%li %li
= t '.help.view_source.firefox_html' = t '.help.view_source.firefox_html'
%li %li
= t '.help.view_source.other_html' = t '.help.view_source.other'
%li %li
= t '.help.view_source.troubleshooting_html', = twl '.help.view_source.troubleshooting',
:page_link => link_to(t('.help.view_source.troubleshooting_page_link_content'), :page_link_url => @neopets_page.url
@neopets_page.url)
%li %li
= t '.help.copy_source.header' = t '.help.copy_source.header'

View file

@ -379,11 +379,11 @@ en-meep:
Neopets.com %{name} data into your Dress to Impress meepit list. Neopets.com %{name} data into your Dress to Impress meepit list.
Here's how it meeps. Here's how it meeps.
check_frame: check_frame:
header_html: header:
Check the framed Neopets.com meep on the left, main_html:
meeping to %{page_link}. Check the framed Neopets.com meep on the left,
page_link_content: meeping to %{page_link}.
meep %{index} of your %{name} page_link_content: meep %{index} of your %{name}
check_login: check_login:
summary: Confirm that you're meeped in. summary: Confirm that you're meeped in.
details: details:
@ -391,14 +391,16 @@ en-meep:
you're not, try enabling "third-party cookies" in your browser. you're not, try enabling "third-party cookies" in your browser.
(Most have meeped on by default.) (Most have meeped on by default.)
login: login:
summary_html: If you haven't meeped in, %{login_link}. summary:
summary_login_link_content: do so in another meepit main_html: If you haven't meeped in, %{login_link}.
details_html: login_link_content: do so in another meepit
It's never a good idea to meep in inside of a frame, unless details:
you're a web programmer pro who can meep that the frame does, in main_html:
fact, meep to Neopets.com. To be safe, %{login_link}. It's never a good idea to meep in inside of a frame, unless
details_login_link_content: you're a web programmer pro who can meep that the frame does,
meep up another window, meep the URL, and meep in safely in fact, meep to Neopets.com. To be safe, %{login_link}.
login_link_content:
meep up another window, meep the URL, and meep in safely
check_content: check_content:
summary: Meep that the page is, in fact, your %{name}. summary: Meep that the page is, in fact, your %{name}.
details: details:
@ -416,10 +418,11 @@ en-meep:
Source</strong>. Source</strong>.
other_html: other_html:
In other meepits, right-meep and look for something similar. In other meepits, right-meep and look for something similar.
troubleshooting_html: troubleshooting:
If you're still having trouble, try %{page_link}, right-meeping, main_html:
and meeping View Source. If you're still having trouble, try %{page_link}, right-meeping,
troubleshooting_page_link_content: meeping the page in a new window and meeping View Source.
page_link_content: meeping the page in a new window
copy_source: copy_source:
header: header:
Meeplight the entire source code, Meeplight the entire source code,

View file

@ -379,11 +379,11 @@ en:
%{name} data into your Dress to Impress items list. Here's how it %{name} data into your Dress to Impress items list. Here's how it
works. works.
check_frame: check_frame:
header_html: header:
Check the framed Neopets.com window on the left, main_html:
pointing to %{page_link}. Check the framed Neopets.com window on the left,
page_link_content: pointing to %{page_link}.
page %{index} of your %{name} page_link_content: page %{index} of your %{name}
check_login: check_login:
summary: Confirm that you're logged in. summary: Confirm that you're logged in.
details: details:
@ -391,14 +391,16 @@ en:
you're not, try enabling "third-party cookies" in your browser. you're not, try enabling "third-party cookies" in your browser.
(Most have that on by default.) (Most have that on by default.)
login: login:
summary_html: If you haven't logged in, %{login_link}. summary:
summary_login_link_content: do so in another window main_html: If you haven't logged in, %{login_link}.
details_html: login_link_content: do so in another window
It's never a good idea to log in inside of a frame, unless you're details:
a web programmer pro who can check that the frame does, in fact, main_html:
point to Neopets.com. To be safe, %{login_link}. It's never a good idea to log in inside of a frame, unless
details_login_link_content: you're a web programmer pro who can check that the frame does,
pull up another window, check the URL, and log in safely in fact, point to Neopets.com. To be safe, %{login_link}.
login_link_content:
pull up another window, check the URL, and log in safely
check_content: check_content:
summary: Confirm that the page is, in fact, your %{name}. summary: Confirm that the page is, in fact, your %{name}.
details: details:
@ -414,12 +416,13 @@ en:
<strong>In Firefox</strong>, right-click the frame, choose <strong>In Firefox</strong>, right-click the frame, choose
<strong>This Frame</strong>, then <strong>View Frame <strong>This Frame</strong>, then <strong>View Frame
Source</strong>. Source</strong>.
other_html: other:
In other browsers, right-click and look for something similar. In other browsers, right-click and look for something similar.
troubleshooting_html: troubleshooting:
If you're still having trouble, try %{page_link}, right-clicking, main_html:
and choosing View Source. If you're still having trouble, try %{page_link}, right-clicking,
troubleshooting_page_link_content: opening the page in a new window and choosing View Source.
page_link_content: opening the page in a new window
copy_source: copy_source:
header: header:
Highlight the entire source code, Highlight the entire source code,