Skip to content

Commit

Permalink
Strings and flag, all tested
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Petty committed May 2, 2017
1 parent fc0aaa2 commit 19442d5
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 0 deletions.
Binary file added src/images/flags/gil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/localization/authStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ export const authStrings = new LocalizedStrings({
password: 'Password',
user_name: 'User Name',
},
gil: {
logging_in: 'Taninga bwa e na uki',
login: 'Kaukia',
password: 'Am ka-ukuki',
user_name: 'Aram ae kinaaki ikai',
},
tl: {
logging_in: 'Rejistu hela...',
login: 'Rejistu',
Expand Down
14 changes: 14 additions & 0 deletions src/localization/buttonStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ export const buttonStrings = new LocalizedStrings({
past: 'Past',
use_suggested_quantities: 'Use Suggested Quantities',
},
gil: {
add_master_list_items: 'Rinea am list',
all_items_selected: 'Aikai nikabane',
create_automatic_order: 'Create Automatic Order',
current: 'Ai tibwa ngkai',
hide_stockouts: 'Tai kaoti ake a bane',
manage_stocktake: 'Manage Stocktake',
new_invoice: 'Am karao-oota ae boou',
new_item: 'Karina am bwai n aoraki ae boou',
new_requisition: 'Am oota ae karina',
new_stocktake: 'Warebwai ae boou',
past: 'Are I mwaina',
use_suggested_quantities: 'Kabongana te\nmwaiti are e katauaki',
},
tl: {
add_master_list_items: 'Aumenta Sasán ba Lista Master',
all_items_selected: 'Hili Sasán Hotu',
Expand Down
3 changes: 3 additions & 0 deletions src/localization/generalStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const generalStrings = new LocalizedStrings({
gb: {
stocktake: 'Stocktake',
},
gil: {
stocktake: 'Warebwai',
},
tl: {
stocktake: 'Ajustamentu',
},
Expand Down
2 changes: 2 additions & 0 deletions src/localization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export { tableStrings } from './tableStrings';
// order, so if the default is ever reported wrong, that is a good place to look first.
const languageKeys = {
gb: 'English',
gil: 'te taetae ni Kiribati',
// fr: 'French',
tl: 'Tetum',
};
Expand All @@ -22,5 +23,6 @@ export const LANGUAGE_KEYS = languageKeys;
export const COUNTRY_FLAGS = {
fr: require('../images/flags/fr.png'),
gb: require('../images/flags/gb.png'),
gil: require('../images/flags/gil.png'),
tl: require('../images/flags/tl.png'),
};
32 changes: 32 additions & 0 deletions src/localization/modalStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,38 @@ export const modalStrings = new LocalizedStrings({
start_typing_to_select_customer: 'Start typing to select customer',
stocktake_no_counted_items: "Can't finalise a stocktake with no counted items",
},
gil: {
add_at_least_one_item_before_finalising: 'E riai n iai kanoana imwain ae ko finalise',
and: 'ao',
cancel: 'kamauna',
confirm: 'kamatoa',
create: 'Karina/Karaoa ae boou',
delete_these_invoices: 'Ko koaua bwa ko na kanakoi am kanakobwai aikai?',
delete_these_requisitions: 'Ko koaua bwa ko na kanakoi am oota aikai?',
delete_these_stocktakes: 'Ko koaua bwa ko na kanakoi am warebwai aikai?',
delete: 'Delete',
edit_the_invoice_comment: 'Manga bita am kanakobwai',
edit_the_requisition_comment: 'Manga bita am oota',
edit_their_reference: 'Bita ana reference number',
finalise_customer_invoice: 'Ko aki kona n manga bita te invoice ae a tia n Finalise',
finalise_requisition: 'Am order ae Finalise, e nako, ao ko aki kona n bitia',
finalise_stocktake: 'Am warebwai ae Finalise, ko aki manga kona n bitia',
finalise_supplier_invoice: 'Am karao-oota ae Finalise, ko aki manga kona n bitia',
following_items_reduced_more_than_available_stock: 'Bwaai aikai aika a tia n kauarereaki nakon mwaitin are inanon baim',
give_your_stocktake_a_name: 'Arana am warebwai',
got_it: 'Ngaia anne (Oota Raoi)',
more: 'Baikara riki?',
record_stock_required_before_finalising: 'Ko riai n taua mwin am warebwai imwain ae ko finalise',
record_stock_to_issue_before_finalising: 'Ko riai n taua mwain am kanakobwai imwain ae ko finalise',
remove_these_items: 'Ko bon kakoaua ae ko na kanakoi aikai?',
remove: 'Kanakoi ke kamaunai',
search_for_an_item_to_add: 'Rinea ke kakaea aran te bwai n aoraki',
search_for_the_customer: 'Rinea am list',
select_a_language: 'English ke Kiribati',
select_the_number_of_months_stock_required: 'Rinea mwaitin te namakaina ae ko kantaningaia ibukin am stock inanon baim',
start_typing_to_select_customer: 'Karina aran am kiriniki ke am aoraki',
stocktake_no_counted_items: 'Ko aki kona n Finalise ngkana akea am warebwai',
},
tl: {
add_at_least_one_item_before_finalising: 'Tenke hatama sasán ida antes finaliza',
and: 'no',
Expand Down
20 changes: 20 additions & 0 deletions src/localization/navStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,26 @@ export const navStrings = new LocalizedStrings({
sync_error: 'SYNC ERROR',
sync_in_progress: 'SYNC IN PROGRESS',
},
gil: {
current_stock: 'Mwaitin am bwai n aoraki ke am supply',
customer_invoices: 'Ana invoice am kiriniki\nke am aoraki',
customers: 'Kiriniki',
finalise: 'Finalise',
finalised_cannot_be_edited: 'Finalised, e aki kona n manga bitaki',
invoice: 'Invoice',
language: 'English ke Kiribati',
last_sync: 'LAST SYNC',
log_out: 'Kainna',
manage_stocktake: 'Taraan am warebwai',
new_stocktake: 'Am warebwai ae boou',
requisition: 'Am oota ae karina',
requisitions: 'Taian oota aika a karina',
stocktakes: 'Warebwai',
supplier_invoices: 'Ana Invoice\nam Supplier',
sync_enabled: 'SYNC ENABLED',
sync_error: 'SYNC ERROR',
sync_in_progress: 'SYNC IN PROGRESS',
},
tl: {
current_stock: 'Sasán Atuál',
customer_invoices: 'Kliente nia Konta',
Expand Down
11 changes: 11 additions & 0 deletions src/localization/pageInfoStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ export const pageInfoStrings = new LocalizedStrings({
months_stock_required: 'Months Stock',
their_ref: 'Their Ref',
},
gil: {
address: 'Am tabo',
code: 'Code',
comment: 'Comment',
confirm_date: 'Confirm Date',
customer: 'Kiriniki ke aoraki',
entered_by: 'Entered By',
entry_date: 'Entry Date',
months_stock_required: 'Iraua te Namakaina?',
their_ref: 'Ana Ref',
},
tl: {
address: 'Enderesu',
code: 'Kódigu',
Expand Down
38 changes: 38 additions & 0 deletions src/localization/tableStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,44 @@ export const tableStrings = new LocalizedStrings({
stock_on_hand: 'STOCK ON HAND',
suggested_quantity: 'SUGGESTED QTY',
},
gil: {
actual_quantity: 'Iraua\nMwaitina',
available_stock: 'Mwaitin ae\niai ngkai',
category: 'Kurubu',
code: 'CODE',
comment: 'Iai riki?',
created_date: 'Bong - karaoaia iai',
current_stock: 'Mwaitin ae\niai ngkai',
customer: 'Kiriniki/Aran te aoraki',
delete: 'DELETE',
department: 'Tabo',
difference: 'Kaokorona',
earliest_expiry: 'Earliest expiry',
entered_date: 'Bong - karinaki iai',
finalised: 'Finalised ',
id: 'ID',
in_progress: 'Ae karaoaki',
invoice_number: 'INVOICE\nNUMBER',
invoices: 'INVOICES',
item_code: 'Ana code',
item_name: 'Arana ',
items: 'ITEMS',
monthly_usage: 'MONTHLY USE',
name: 'Arana',
no_change: 'Akea te bitaki',
number_of_batches: 'Mwatin taian batch',
number_recieved: 'Mwaitin ae reke raoi',
number_sent: 'Mwaitin ae kanakoaki',
quantity: 'Mwaitina',
remove: 'REMOVE',
required_quantity: 'Te Mwaiti\nae tangiraki',
requisition_number: 'REQUISITION NUMBER',
selected: 'Rineaki',
snapshot_quantity: 'Te mwaiti',
status: 'Teina\nngkai',
stock_on_hand: 'Mwaitin ae\niai ngkai',
suggested_quantity: 'Mwaiti ae\nkaantaningaki',
},
tl: {
actual_quantity: 'ATUÁL\nKUANTIDADE',
available_stock: 'SASÁN DISPONIVEL',
Expand Down

0 comments on commit 19442d5

Please sign in to comment.