Skip to content

Instantly share code, notes, and snippets.

@dmitry-mukhin
Created August 14, 2013 11:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry-mukhin/6230209 to your computer and use it in GitHub Desktop.
Save dmitry-mukhin/6230209 to your computer and use it in GitHub Desktop.
l10n.translations.en = {
logout: 'Log out',
error: {
a: 'Something went wrong. Please',
b: 'reload',
c: 'Here some technical details:'
},
sourceName: {
gdrive: 'Google Drive',
dropbox: 'Dropbox',
facebook: 'Facebook',
instagram: 'Instagram',
vk: 'VK',
evernote: 'Evernote'
},
login: {
title: 'Upload a file from %source',
lineA: {
gdrive: 'Get files from your Google account.',
dropbox: 'Get files from your Dropbox account.',
facebook: 'Get images from your or your friend\'s Albums.',
instagram: 'Getting photos from your profile is easier than ever.',
vk: 'Get photos and docs from your account.',
evernote: 'Get files from your Evernote account'
},
lineB: 'We play nice. You just need to login.',
button: 'Connect to %source',
note: 'We will open a new page to connect your %source account.'
},
pagination: {
loading: 'Loading more items...',
failed: {
a: 'Loading failed.',
b: 'Please try again'
}
},
instagram: {
menu: {
myPhotos: 'My Photos',
myLikes: 'My Likes',
myFollowings: 'My Followings',
search: 'Search'
},
search: {
placeholder: 'Search photos by hashtags',
button: 'Search'
}
},
gdrive: {
menu: {
myFiles: 'My Files',
starred: 'Starred'
}
},
facebook: {
menu: {
myAlbums: 'My Albums',
myFriends: 'My Friends'
}
},
vk: {
menu: {
myAlbums: 'My Albums',
page: 'Profile Pictures',
withMe: 'Photos with Me',
saved: 'Saved Photos',
myFriends: 'My Friends',
docs: 'My Documents'
}
},
evernote: {
menu: {
notebooks: 'Notebooks',
tags: 'Tags',
search: 'Search'
},
search: {
placeholder: 'Search files in notes',
button: 'Search'
}
},
files: { // pluralization example
one: '1 file',
other: '%n files'
},
list: {
table: {
title: 'Title',
size: 'Size'
}
}
};
l10n.pluralize.en = function (n) {
return n === 1 ? 'one' : 'other';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment