Skip to content

Commit

Permalink
feat(en): added placeholder and clear
Browse files Browse the repository at this point in the history
  • Loading branch information
egordidenko committed Dec 4, 2024
1 parent d366247 commit 060bbdc
Showing 1 changed file with 71 additions and 57 deletions.
128 changes: 71 additions & 57 deletions en.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ l10n.translations.en = {
error: {
a: 'Something went wrong. Please',
b: 'reload',
c: 'Here some technical details:'
c: 'Here some technical details:',
},
sourceName: {
gdrive: 'Google Drive',
Expand All @@ -20,7 +20,7 @@ l10n.translations.en = {
huddle: 'Huddle',
gphotos: 'Google Photos',
nft: 'NFT',
unsplash: 'Unsplash'
unsplash: 'Unsplash',
},
login: {
title: 'Upload a file from %source',
Expand All @@ -31,73 +31,74 @@ l10n.translations.en = {
box: 'Get files from your Box account.',
evernote: 'Get files from your Evernote account.',
instagram: 'Get your photos.',
flickr: 'Get your or your friend\'s photos.',
flickr: "Get your or your friend's photos.",
facebook: 'Get images from your albums.',
vk: 'Get photos and docs from your account.',
gphotos: 'Get photos from your Google Photos account.',
nft: 'Get files from your NFT assets.'
nft: 'Get files from your NFT assets.',
},
lineB: 'We play nice. You just need to login.',
button: 'Connect to %source',
facebookButton: 'Continue with Facebook',
note: 'We will open a new page to connect your %source account.',
cookieWarning: 'You have blocked third-party cookies in your browser. ' +
cookieWarning:
'You have blocked third-party cookies in your browser. ' +
'Authorization requires third-party cookies at least for ' +
'<code>social.uploadcare.com</code> domain.',
cookieRetry: "I've unblocked cookies and want to try again."
cookieRetry: "I've unblocked cookies and want to try again.",
},
pagination: {
loading: 'Loading more items...',
loadMore: 'Load more',
failed: {
a: 'Loading failed.',
b: 'Try again'
}
b: 'Try again',
},
},
dropbox: {
menu: {
myFiles: 'Files',
team: 'Team files',
search: 'Search files'
search: 'Search files',
},
search: {
placeholder: 'Search files',
button: 'Search files',
clear: "Clear"
}
clear: 'Clear',
},
},
instagram: {
menu: {
myPhotos: 'My Photos',
}
},
},
onedrive: {
menu: {
myFiles: 'My files',
shared: 'Shared with me',
sharepoint: 'SharePoint',
myDrives: 'My drives',
groups: 'My groups'
}
myFiles: 'My files',
shared: 'Shared with me',
sharepoint: 'SharePoint',
myDrives: 'My drives',
groups: 'My groups',
},
},
gdrive: {
menu: {
myFiles: 'My Files',
shared: 'Shared with me',
starred: 'Starred',
search: 'Search',
teamDrives: 'Team drives'
teamDrives: 'Team drives',
},
search: {
placeholder: 'Search files',
button: 'Search'
}
button: 'Search',
},
},
facebook: {
menu: {
myAlbums: 'My Albums',
likedPages: 'Pages'
}
likedPages: 'Pages',
},
},
vk: {
menu: {
Expand All @@ -106,70 +107,70 @@ l10n.translations.en = {
withMe: 'Photos with Me',
saved: 'Saved Photos',
myFriends: 'My Friends',
docs: 'My Documents'
}
docs: 'My Documents',
},
},
evernote: {
menu: {
allNotes: 'All Notes',
notebooks: 'Notebooks',
tags: 'Tags',
search: 'Search'
search: 'Search',
},
search: {
placeholder: 'Search notes',
button: 'Search'
}
button: 'Search',
},
},
flickr: {
menu: {
myPhotostream: 'Photostream',
myAlbums: 'Albums',
myFavorites: 'Favorites',
follows: 'Followings'
}
follows: 'Followings',
},
},
gphotos: {
menu: {
myAlbums: 'Albums',
myPhotos: 'Photos'
}
myPhotos: 'Photos',
},
},
huddle: {
menu: {
workspaces: 'Workspaces'
}
workspaces: 'Workspaces',
},
},
nft: {
menu: {
myAssets: 'My Assets',
owner: 'Owner address'
owner: 'Owner address',
},
assets: {
button: 'Show'
}
button: 'Show',
},
},
unsplash: {
menu: {
editorial: 'Editorial',
search: 'Search',
random: 'Random'
random: 'Random',
},
search: {
placeholder: 'Search photos',
button: 'Search'
button: 'Search',
},
filters: {
orientation: {
any: 'Any orientation',
landscape: 'Landscape',
portrait: 'Portrait',
squarish: 'Squarish'
squarish: 'Squarish',
},
content_safety: {
any: 'Default content safety',
low: 'Low',
high: 'High'
high: 'High',
},
color: {
any: 'Any color',
Expand All @@ -183,27 +184,29 @@ l10n.translations.en = {
magenta: 'Magenta',
green: 'Green',
teal: 'Teal',
blue: 'Blue'
}
}
blue: 'Blue',
},
},
},

search: {
empty: "Folder is empty",
noResult: "No results for",
retry: "Please enter the search query",
empty: 'Folder is empty',
noResult: 'No results for',
retry: 'Please enter the search query',
placeholder: 'Search',
clear: 'Clear',
},

files: {
one: '%n file',
other: '%n files'
other: '%n files',
},
list: {
table: {
title: 'Title',
size: 'Size'
}
}
size: 'Size',
},
},
};

// Pluralization rules taken from:
Expand All @@ -212,9 +215,20 @@ l10n.pluralize.en = function (n) {
return n === 1 ? 'one' : 'other';
};


l10n.date.en = function(d) {
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
return "" + d.getDate() + " " + months[d.getMonth()] + " " + d.getFullYear();
};
l10n.date.en = function (d) {
var months = [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
];
return '' + d.getDate() + ' ' + months[d.getMonth()] + ' ' + d.getFullYear();
};

0 comments on commit 060bbdc

Please sign in to comment.