Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added missing English translations

  • Loading branch information...
commit b9710698f484a8a6d55f0d92e18316e4174ec1ec 1 parent 667cfed
@rsim rsim authored
View
2  app/views/layouts/application.html.haml
@@ -41,7 +41,7 @@
%ul.nav.pull-right
- %w(lv en).each do |locale|
%li{:class => (I18n.locale == locale.to_sym ? "active" : nil)}
- = link_to locale, :locale => locale
+ = link_to locale.upcase, :locale => locale
.container
- [:notice, :alert].each do |name|
View
32 config/locales/application.en.yml
@@ -0,0 +1,32 @@
+en:
+ nav:
+ projects: "Projects"
+ datasets: "Datasets"
+ forums: "Forums"
+ sign_in: "Sign in"
+ sign_out: "Sign out"
+ my_profile: "My profile"
+ edit_profile: "Edit profile"
+
+ or: "or"
+ back: "back"
+ more: "More"
+ more_disable_with: "Loading..."
+
+ recent_activity: "Recent activity"
+
+ actions:
+ update: "Save"
+ edit: "Edit"
+ delete: "Delete"
+ delete_disable_with: "Deleting..."
+ search: "Search"
+ import: "Import"
+ start_import: "Start import"
+ import_disable_with: "Importing..."
+ upload: "Upload"
+ upload_disable_with: "Uploading..."
+ reply: "Reply"
+
+ datetime:
+ ago: "%{distance} ago"
View
52 config/locales/datasets.en.yml
@@ -1,5 +1,38 @@
en:
datasets:
+ recently_updated: "Recently updated datasets"
+ source_files_uploaded:
+ one: "1 source file uploaded"
+ other: "%{count} source files uploaded"
+ search_more: "Search more datasets"
+ new_dataset: "New dataset"
+ edit_dataset: "Edit dataset"
+ delete_confirm: "Are you sure to delete this dataset together with all uploaded source files?"
+ search_placeholder: "Search by name and description"
+ search_results: "Dataset search results"
+ delete_all_columns: "Delete all columns"
+ delete_all_columns_confirm: "Are you sure to delete all columns and all uploaded source files?"
+
+ show:
+ data_preview: "Data preview"
+ uploaded_files: "Uploaded files"
+ column_information: "Column information"
+ preview:
+ search_in_column: "search in column"
+ upload:
+ file_name: "File name"
+ size: "Size"
+ uploaded: "Uploaded"
+ status: "Status"
+ new_file: "Upload new file"
+ columns:
+ name: "Column name"
+ data_type: "Data type"
+ limit: "Limit"
+ description: "Description"
+ display_limit:
+ string: "%{limit} characters"
+ decimal: "%{precision} digits, %{scale} after decimal point"
datatable:
oPaginate:
@@ -16,3 +49,22 @@ en:
sProcessing: "Processing..."
sSearch: "Search in all columns:"
sZeroRecords: "No matching records found"
+
+ errors:
+ cannot_delete_all_columns: "Could not delete all dataset columns"
+
+ activerecord:
+ models:
+ dataset: "Dataset"
+ attributes:
+ dataset:
+ name: "Name"
+ shortname: "Link name"
+ description: "Description"
+ source_url: "Source URL"
+
+ simple_form:
+ hints:
+ dataset:
+ shortname: "will be used for dataset URL link"
+ source_url: "URL link to dataset source"
View
1  config/locales/en.yml
@@ -2,4 +2,3 @@
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
- hello: "Hello world"
View
51 config/locales/forums.en.yml
@@ -0,0 +1,51 @@
+en:
+ forums:
+ recent_topics: "Recent forum topics"
+ recent_comments: "Recent forum comments"
+ new_forum: "New forum"
+ edit_forum: "Edit forum"
+ delete_confirm: "Are you sure to delete this forum with all forum topics and comments?"
+ topics_count:
+ one: "(1 topic)"
+ other: "(%{count} topics)"
+ last_activity_days_ago: "Last activity %{distance} ago"
+
+ topics:
+ started_topic: "started topic"
+ started_by: "Started by"
+ start_new_topic: "Start new topic"
+ new_topic_in_forum: 'New topic in forum "%{forum}"'
+ edit_topic_in_forum: 'Edit topic in forum "%{forum}"'
+ delete_confirm: "Are you sure to delete this topic with all topic comments?"
+ comments: "Comments"
+ comments_count:
+ one: "(1 comment)"
+ other: "(%{count} comments)"
+
+ comments:
+ commented_topic: "commented topic"
+ commented: "commented"
+ new_comments_disabled: "new comments are disabled"
+ delete_confirm: "Are you sure to delete this comment?"
+ sign_in_to_comment:
+ html: |
+ Please <a href="/users/sign_in">sign in</a> to comment
+
+ activerecord:
+ models:
+ forum: "Forum"
+ topic: "Topic"
+ comment: "Comment"
+ attributes:
+ forum:
+ title: "Title"
+ slug: "Link name"
+ position: "Position"
+ description: "Description"
+ topic:
+ title: "Title"
+ slug: "Link name"
+ commentable: "Commentable"
+ description: "Description"
+ comment:
+ content: "Content"
View
10 config/locales/forums.lv.yml
@@ -16,8 +16,8 @@ lv:
start_new_topic: "Sākt jaunu tēmu"
new_topic_in_forum: 'Jauna tēma forumā "%{forum}"'
edit_topic_in_forum: 'Mainīt tēmu forumā "%{forum}"'
- delete_confirm: "Vai vēlaties izdzēst šo tēmu un visas tēmas komentārus?"
- comments: Komentāri
+ delete_confirm: "Vai vēlaties izdzēst šo tēmu un visus tēmas komentārus?"
+ comments: "Komentāri"
comments_count:
one: "(1 komentārs)"
other: "(%{count} komentāri)"
@@ -33,9 +33,9 @@ lv:
activerecord:
models:
- forum: Forums
- topic: Tēma
- comment: Komentārs
+ forum: "Forums"
+ topic: "Tēma"
+ comment: "Komentārs"
attributes:
forum:
title: "Virsraksts"
View
25 config/locales/projects.en.yml
@@ -1,8 +1,29 @@
-lv:
+en:
projects:
+ projects: "Projects"
+ recently_updated: "Recently updated projects"
my_projects: "My projects"
new_project: "New project"
+ edit_project: "Edit project"
no_projects_created: "You have not created any projects yet."
- datasets: "Data sets"
+ datasets: "Datasets"
search_more: "Search more projects"
+ delete_confirm: "Are you sure to delete this project with all project datasets?"
+ search_placeholder: "Search by name and description"
+ search_results: "Project search results"
+ activerecord:
+ models:
+ project: "Project"
+ attributes:
+ project:
+ name: "Name"
+ shortname: "Link name"
+ description: "Description"
+ homepage: "Home page"
+
+ simple_form:
+ hints:
+ project:
+ shortname: "will be used for project URL link"
+ homepage: "URL link to data source home page"
View
14 config/locales/source_files.en.yml
@@ -1,4 +1,4 @@
-lv:
+en:
source_files:
status:
new: "New"
@@ -12,3 +12,15 @@ lv:
html: |
Review source file detected column data types and change them if necessary.
After that click <strong>Start import</strong> and wait until end of file import.
+
+ errors:
+ cannot_import: "Could not import source file %{file}:\n%{error}"
+ could_not_start_import: "Could not start file %{file} import:\n%{error}"
+ import_failed: "Source file %{file} import failed:\n%{error}"
+
+ activerecord:
+ models:
+ source_file: Source file
+ attributes:
+ source_file:
+ source: Attached file
View
20 config/locales/users.en.yml
@@ -2,9 +2,20 @@ en:
users:
sign_up: "Sign up"
also_sign_up_with: "You can also sign up with"
+ edit_user: "Edit profile"
+ cancel_user: "Delete user"
+ cancel_user_question: "Are you sure to completely delete your user and all your projects?"
+ cancel_user_confirm: "Are you sure?"
+ sign_in_with: "You can sign in with"
+ click_service_to_remove: "Click to remove authorization service"
+ available_sign_in_options: "Additional available sign in options"
+ sign_in: "Sign in"
sign_up_at_first_html: |
If you do not have login name then <a href="/users/sign_up">at first sign up</a> for this site.
-
+ also_sign_in_with: "You can sign in also with"
+ forgot_password: "Forgot password?"
+ send_reset_password_instructions: "Send e-mail with password reset instructions"
+ change_password: "Change password"
activerecord:
models:
@@ -12,9 +23,14 @@ en:
attributes:
user:
login: "Username"
+ name: "Full name"
email: "Email"
- password: "Password"
+ password: "Passowrd"
password_confirmation: "Password confirmation"
+ current_password: "Current password"
+ new_password: "New password"
+ new_password_confirmation: "New password confirmation"
+ remember_me: "Remember me"
simple_form:
hints:
Please sign in to comment.
Something went wrong with that request. Please try again.