Updated style and layout

This commit is contained in:
Godwin
2015-03-17 20:29:17 -07:00
parent caac48c3c0
commit e476457ea3
356 changed files with 77766 additions and 4248 deletions
-18
View File
@@ -1,18 +0,0 @@
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
helpers:
actions: "Actions"
links:
back: "Back"
cancel: "Cancel"
confirm: "Are you sure?"
destroy: "Delete"
new: "New"
edit: "Edit"
titles:
edit: "Edit"
save: "Save"
new: "New"
delete: "Delete"
+9 -3
View File
@@ -1,5 +1,11 @@
---
en:
home:
what_is_bikebike: What is Bike!Bike!?
its_awesome: It's awesome, that's what it is.
date:
date_span: '%{date_1} %{date_2}'
formats:
span_same_month_date_1: '%B %e'
span_same_month_date_2: '%e, %Y'
span_same_year_date_1: '%B %e'
span_same_year_date_2: '%B %e, %Y'
span_different_year_date_1: '%B %e, %Y'
span_different_year_date_2: '%B %e, %Y'
-3
View File
@@ -1,3 +0,0 @@
es:
home:
what_is_bikebike: ¿Qué es la Bike!Bike!?
-54
View File
@@ -1,54 +0,0 @@
Bike!Bike! translation and English copyright is being designed to operate on a volunteer basis.
Do not use any static text that will be seen by the public on the site. Instead use the single underscore
helper method. For example, on a page that includes a page header such as 'Organizations', simply enter:
%h1
<%= _ organizations.title ?>
Upon first viewing the page, the user (probably you) will see the resulting HTML:
<h1><a class="translate-me" ... >organizations.title</a></h1>
Assuming that you're viewing the sire in English, clicking the link will then allow you to enter English
copy. Enter 'Organizations' and save it. The next time you see the page, you will see:
<h1>Organizations</h1>
Once a spanish viewer sees the page they will see:
<h1><a class="translate-me lang-eng" ... >Organizations</a></h1>
This will allow them to choose an appropriate translation. They may then enter 'Organizaciones'
which will result in subsequent Spanish viewers to see the translation.
When the text to be shown cannot be surrounded by HTML tags, for example for an <input> control,
the translation controls can be queued to be shown comtime afterwards using the double underscore
method, followed by the single underscore method. For example:
%input{:name => "organization-name", :placeholder => <%= __ organizations.enter_name %>}
<%= _ %>
Assuming that 'en.organizations.enter_name' = 'Enter the name of your organization', this willl
result in the following HTML:
<input name="organization-name" placeholder="Enter the name of your organization" />
However, for a Spanish viewer, before a translation has been selected they should see:
<input name="organization-name" placeholder="Enter the name of your organization" />
<div class="untranslated-list">
<a class="translate-me lang-eng">Enter the name of your organization</a>
</div>
If multiple items are queued, they will all be shown inside this div. After a translation has been entered
by a Spanish speaking volunteer, subsequent volunteers will simply see:
<input name="organization-name" placeholder="Escriba el nombre de su organización" />
Best practices:
- Never edit en.yml, or any other files directly, always use the site tool to do this as it will
help ensure proper testing of all pages and that all text will be translated.
- Reuse locale keys as much as possible. Use concatenation of printf where it makes sense to do
so. The less work volunteers have to do, the more likely that they will get it all done.
-336
View File
@@ -1,336 +0,0 @@
af:
- one
- other
am:
- one
- other
ar:
- zero
- one
- two
- few
- many
- other
az:
- other
be:
- one
- few
- many
- other
bg:
- one
- other
bh:
- one
- other
bn:
- one
- other
bo:
- other
bs:
- one
- few
- many
- other
ca:
- one
- other
cs:
- one
- few
- other
cy:
- one
- two
- many
- other
da:
- one
- other
de:
- one
- other
dz:
- other
el:
- one
- other
en:
- one
- other
eo:
- one
- other
es:
- one
- other
et:
- one
- other
eu:
- one
- other
fa:
- other
fi:
- one
- other
fi:
- one
- other
fo:
- one
- other
fr:
- one
- other
fu:
- one
- other
fy:
- one
- other
ga:
- one
- two
- other
gl:
- one
- other
gu:
- one
- other
gu:
- one
- other
ha:
- one
- other
he:
- one
- other
hi:
- one
- other
hr:
- one
- few
- many
- other
hu:
- other
id:
- other
is:
- one
- other
it:
- one
- other
ja:
- other
jv:
- other
ka:
- other
km:
- other
kn:
- other
ko:
- other
ku:
- one
- other
lb:
- one
- other
ln:
- one
- other
lt:
- one
- few
- other
lv:
- zero
- one
- other
mg:
- one
- other
mk:
- one
- other
ml:
- one
- other
mn:
- one
- other
mo:
- one
- few
- other
mr:
- one
- other
ms:
- other
mt:
- one
- few
- many
- other
my:
- other
na:
- one
- other
nb:
- one
- other
ne:
- one
- other
nl:
- one
- other
nn:
- one
- other
no:
- one
- other
ns:
- one
- other
om:
- one
- other
or:
- one
- other
pa:
- one
- other
pa:
- one
- other
pl:
- one
- few
- other
ps:
- one
- other
pt:
- one
- other
ro:
- one
- few
- other
ru:
- one
- few
- many
- other
se:
- one
- two
- other
sh:
- one
- few
- many
- other
sk:
- one
- few
- other
sl:
- one
- two
- few
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
sm:
- one
- two
- other
so:
- one
- other
sq:
- one
- other
sr:
- one
- few
- many
- other
sv:
- one
- other
sw:
- one
- other
ta:
- one
- other
te:
- one
- other
th:
- other
ti:
- one
- other
tk:
- one
- other
tl:
- one
- other
to:
- other
tr:
- other
uk:
- one
- few
- many
- other
ur:
- one
- other
vi:
- other
wa:
- one
- other
yo:
- other
zh:
- other
zu:
- one
- other
File diff suppressed because it is too large Load Diff
-78
View File
@@ -1,78 +0,0 @@
---
nola_2013.about:
langauges: {}
pages:
- "/"
home.its_awesome:
langauges: {}
pages:
- "/"
Conferences:
langauges: {}
pages:
- "/"
- "/login"
Organizations:
langauges: {}
pages:
- "/"
- "/login"
Resources:
langauges: {}
pages:
- "/"
- "/login"
Sign_In:
langauges: {}
pages:
- "/"
- "/login"
missing.translation:
langauges: {}
pages:
- "/"
- "/login"
form.Enter_your_email:
langauges: {}
pages:
- "/login"
email:
langauges: {}
pages:
- "/login"
password:
langauges: {}
pages:
- "/login"
sign_in:
langauges: {}
pages:
- "/login"
facebook_sign_in:
langauges: {}
pages:
- "/login"
user.Create_Account:
langauges: {}
pages:
- "/login"
user.why_register:
langauges: {}
pages:
- "/login"
form.Enter_your_username:
langauges: {}
pages:
- "/login"
username:
langauges: {}
pages:
- "/login"
password_confirmation:
langauges: {}
pages:
- "/login"
register:
langauges: {}
pages:
- "/login"