From b59244783e9996f216bc6babac35190d7241ba44 Mon Sep 17 00:00:00 2001 From: wvengen Date: Wed, 13 Feb 2013 00:38:41 +0100 Subject: [PATCH] initial en translation of simple_form, stockit --- config/locales/en/en.simple_form.yml | 134 +++++++++++++++++++++++++++ config/locales/en/en.stockit.yml | 45 +++++++++ config/locales/en/simple_form.en.yml | 26 ------ 3 files changed, 179 insertions(+), 26 deletions(-) create mode 100644 config/locales/en/en.simple_form.yml create mode 100644 config/locales/en/en.stockit.yml delete mode 100644 config/locales/en/simple_form.en.yml diff --git a/config/locales/en/en.simple_form.yml b/config/locales/en/en.simple_form.yml new file mode 100644 index 00000000..9120aa1c --- /dev/null +++ b/config/locales/en/en.simple_form.yml @@ -0,0 +1,134 @@ +en: + # Simple form i18n is used to build the forms + simple_form: + "yes": 'Yes' + "no": 'No' + required: + text: 'Required' + mark: '*' + error_notification: + default_message: 'Errors were found. Please check the form' + labels: + defaults: + password: 'Password' + password_confirmation: 'Repeat password' + description: 'Description' + title: 'Titel' + email: 'Email' + note: 'Note' + date: 'Date' + ordergroup: 'Order group' + amount: 'Amount' + phone: 'Phone' + user_tokens: 'Members' + price: 'Price (neto)' + unit_quantity: 'Unit quantity' + order_number: 'Order number' + tax: 'Tax' + deposit: 'Deposit' + user: + nick: 'User name' + first_name: 'First name' + last_name: 'Last name' + workgroup: + weekly_task: 'Define monthly task?' + weekday: 'Weekday' + task_name: 'Task name' + task_required_users: 'Required responsible users' + task_duration: 'For. Amount of hours' + task_description: 'Task description' + next_weekly_tasks_number: 'For how many weeks in advance would you like to define tasks?' + role_admin: 'Administration' + role_finance: 'Finances' + role_suppliers: 'Suppliers' + role_article_meta: 'Article data base' + role_orders: 'Order management' + ordergroup: + contact_person: 'Contact person' + contact_phone: 'Phone' + contact_address: 'Address' + ignore_apple_restriction: 'Ignore orderstop by Apple points restrictions' + task: + duration: 'Duration' + user_list: 'Responsible user' + required_users: 'Required amount of users' + due_date: 'Due date' + workgroup: 'Work group' + done: 'Done?' + message: + sent_to_all: 'Sent to all members' + recipient_tokens: 'Recipients' + group_id: 'Group' + subject: 'Subject' + body: 'Body' + private: Privat + page: + body: 'Body' + parent_id: Above Site + supplier: + name: 'Name' + address: 'Address' + phone: 'Phone' + phone2: 'Phone 2' + fax: 'FAX' + email: 'Email' + url: 'Homepage' + contact_person: 'Contact person' + customer_number: 'Customer ID' + delivery_days: 'Delivery days' + order_howto: 'How to order' + note: 'Note' + min_order_quantity: 'Minimum order quantity' + is_subscribed: 'subscribed?' + article: + availability: 'Is article available?' + origin: 'Origin' + manufacturer: 'Manufacturer' + unit: 'Unit' + note: 'Note' + article_category: 'Category' + stock_article: + supplier: 'Supplier' + delivery: + delivered_on: 'Delivery date' + user: + nick: 'User name' + last_name: 'Last name' + order_comment: + text: Comment to this order ... + order: + starts: 'Starts at' + ends: 'Ends at' + order_article: + article_id: Chose article from the cataloge + group_order_article: + ordergroup_id: Order group + result: Amount + invoice: + supplier: Supplier + number: Number + date: Billing date + paid_on: Paid on + deposit: Charge deposit + deposit_credit: Credit deposit + order_article: + units_to_order: Amount of units + update_current_price: Update global current price + + hints: + tax: 'In percentage, standard is 7,0' + task: + duration: 'How long will the task take to be done, 1-3 hours' + required_users: 'How many users will be needed in total?' + supplier: + min_order_quantity: 'The minimum amount which has to be orderd will be shown during the order process and should motivate ordering' + article: + unit: 'For example: KG or 1L or 500g' + stock_article: + supplier: '' + message: + private: Message doesn’t show in Foodsoft mail in-box + order_article: + units_to_order: Amount of delivered units + update_current_price: Updates also the price of the current order + diff --git a/config/locales/en/en.stockit.yml b/config/locales/en/en.stockit.yml new file mode 100644 index 00000000..ca94208c --- /dev/null +++ b/config/locales/en/en.stockit.yml @@ -0,0 +1,45 @@ +en: + stockit: + edit: + title: 'Edit stock articles' + form: + price_hint: 'To avoid chaos it’s till further notice not possible to edit the prices of already applied added? stock articles.' + cancel: 'or cancel' + index: + view_options: 'View options' + toggle_unavailable: 'Show/Hide not available articles' + order_online: 'Put stock order online' + new_stock_article: 'Add new stock article' + new_stock_taking: 'Add inventory' + show_stock_takings: 'Inventory overview' + new_delivery: 'New delivery ..' + article: + article: 'Article' + stock: 'In stock' + ordered: 'ordered' + available: 'available' + unit: 'Unit' + price: 'Price' + vat: 'VAT' + supplier: 'Supplier' + category: 'Category' + confirm_delete: 'Are you sure you want to delete?' + stock_worth: 'Current stock value:' + stock_count: 'Number of articles:' + new: + title: 'Add new stock article' + search_text: 'Search for articles in all cataloges:' + + # used by controller + stock_create: + notice: 'Stock article was rreated.' + stock_update: + notice: 'Stock article was saved.' + stock_taking_create: + notice: 'Inventory was created successfully' + stock_taking_update: + notice: 'Inventory was updated.' + + # used by model + check: + not_empty: '%{name} could not be deleted. The inventory is not zero' diff --git a/config/locales/en/simple_form.en.yml b/config/locales/en/simple_form.en.yml deleted file mode 100644 index 0df11fe0..00000000 --- a/config/locales/en/simple_form.en.yml +++ /dev/null @@ -1,26 +0,0 @@ -en: - simple_form: - "yes": 'Yes' - "no": 'No' - required: - text: 'required' - mark: '*' - # You can uncomment the line below if you need to overwrite the whole required html. - # When using html, text and mark won't be used. - # html: '*' - error_notification: - default_message: "Please review the problems below:" - # Labels and hints examples - # labels: - # defaults: - # password: 'Password' - # user: - # new: - # email: 'E-mail to sign in.' - # edit: - # email: 'E-mail.' - # hints: - # defaults: - # username: 'User name to sign in.' - # password: 'No special characters, please.' -