2021-12-03 08:13:43 -08:00
module . exports . momentLocale = 'en'
module . exports . strings = {
_NOT _LOCALIZED : key => ` ${ key } hasn't been translated to English yet. ` ,
ADMIN _CLEAR _WISHLISTS _BUTTON : 'Clear all wishlists' ,
ADMIN _CLEAR _WISHLISTS _DESCRIPTION : 'This will instantly <b>irreversibly delete all wishlists!</b> Consider making a backup of the database before using this.' ,
ADMIN _CLEAR _WISHLISTS _HEADER : 'Wishlist Deletion' ,
ADMIN _SETTINGS _CLEARDB _BUTTON : 'Clear Wishlists' ,
ADMIN _SETTINGS _CLEARDB _DESCRIPTION : '<b>Warning</b>: These options <b>destroy data</b>! You may want to back up the database before using these options.' ,
ADMIN _SETTINGS _CLEARDB _HEADER : 'Data Destruction' ,
ADMIN _SETTINGS _CLEARDB _SUCCESS : 'Cleared all wishlists.' ,
ADMIN _SETTINGS _HEADER : 'Admin Settings' ,
ADMIN _SETTINGS _USERS _ADD _BUTTON : 'Add User' ,
ADMIN _SETTINGS _USERS _ADD _HEADER : 'Add user' ,
ADMIN _SETTINGS _USERS _ADD _PLACEHOLDER : 'john' ,
ADMIN _SETTINGS _USERS _ADD _USERNAME : 'Username' ,
ADMIN _SETTINGS _USERS _EDIT _DELETE _FAIL _ADMIN : 'Failed to remove: user is admin.' ,
ADMIN _SETTINGS _USERS _EDIT _DELETE _SUCCESS : name => ` Successfully removed user ${ name } ` ,
ADMIN _SETTINGS _USERS _EDIT _DEMOTE _NOT _ADMIN : 'user is not an admin' ,
ADMIN _SETTINGS _USERS _EDIT _DEMOTE _SELF : 'You cannot demote yourself.' ,
ADMIN _SETTINGS _USERS _EDIT _DEMOTE _SUCCESS : name => ` ${ name } is no longer an admin. ` ,
ADMIN _SETTINGS _USERS _EDIT _IMPERSONATE _SUCCESS : name => ` You are now ${ name } . ` ,
ADMIN _SETTINGS _USERS _EDIT _NO _USERNAME _PROVIDED : 'No username provided' ,
ADMIN _SETTINGS _USERS _EDIT _PROMOTE _ALREADY _ADMIN : 'user is already admin' ,
ADMIN _SETTINGS _USERS _EDIT _PROMOTE _DEMOTE _NOT _FOUND : 'User not found.' ,
ADMIN _SETTINGS _USERS _EDIT _PROMOTE _SUCCESS : name => ` ${ name } is now an admin. ` ,
ADMIN _SETTINGS _USERS _EDIT _RENAMED _USER : 'Renamed user!' ,
ADMIN _SETTINGS _USERS _EDIT _SAME _NAME : 'Username is same as new username.' ,
ADMIN _SETTINGS _USERS _EDIT : 'Edit' ,
ADMIN _SETTINGS _USERS _HEADER : 'Users' ,
ADMIN _SETTINGS _VERSION _INFO : 'Version Info' ,
ADMIN _USER _EDIT _ACCOUNT _UNCONFIRMED : "This account hasn't been confirmed." ,
ADMIN _USER _EDIT _ADMIN _ISADMIN : name => ` ${ name } is an admin. ` ,
ADMIN _USER _EDIT _ADMIN _NOTADMIN : name => ` ${ name } is not an admin. ` ,
ADMIN _USER _EDIT _ADMIN : 'Admin' ,
ADMIN _USER _EDIT _CHANGE _NAME : 'Change Name' ,
ADMIN _USER _EDIT _CHANGE _USERNAME : 'Change Username' ,
ADMIN _USER _EDIT _CONFIRMATION _LINK : 'Confirmation Link' ,
ADMIN _USER _EDIT _DELETE _ADMIN : 'User is admin' ,
ADMIN _USER _EDIT _DELETE _HEADER : 'Irreversible Deletion' ,
ADMIN _USER _EDIT _DELETE _USER : name => ` Remove user ${ name } ` ,
ADMIN _USER _EDIT _DEMOTE _SELF : 'You cannot demote yourself' ,
ADMIN _USER _EDIT _DEMOTE : name => ` Demote ${ name } ` ,
ADMIN _USER _EDIT _EDITING _USER : name => ` Editing user " ${ name } " ` ,
ADMIN _USER _EDIT _GENERATE _NEW _LINK : 'Generate New Link' ,
ADMIN _USER _EDIT _IMPERSONATE _BUTTON : name => ` Log in as ${ name } ` ,
ADMIN _USER _EDIT _IMPERSONATE _HEADER : 'Impersonate' ,
ADMIN _USER _EDIT _LINK _EXPIRY _FUTURE : fromNow => ` The following link expires ${ fromNow } ` , // fromNow is localized by moment
ADMIN _USER _EDIT _LINK _EXPIRY _PAST : fromNow => ` The following link expired ${ fromNow } ` ,
ADMIN _USER _EDIT _PROMOTE : name => ` Promote ${ name } ` ,
ADMIN _USER _EDIT _RESET _PASSWORD _HASLINK _EXPIRY _FUTURE : fromNow => ` It expires ${ fromNow } ` ,
ADMIN _USER _EDIT _RESET _PASSWORD _HASLINK _EXPIRY _PAST : fromNow => ` It expired ${ fromNow } ` ,
ADMIN _USER _EDIT _RESET _PASSWORD _HASLINK : 'There is a reset password link for this user.' ,
ADMIN _USER _EDIT _RESET _PASSWORD _HEADER : 'Reset Password' ,
ADMIN _USER _EDIT _RESET _PASSWORD _LINK _CANCEL : 'Cancel Password Reset Link' ,
ADMIN _USER _EDIT _RESET _PASSWORD _LINK _CREATE : 'Create Password Reset Link' ,
ADMIN _USER _EDIT _RESET _PASSWORD _LINK _REFRESH : 'Refresh Password Reset Link' ,
ADMIN _USER _EDIT _USERNAME : 'Username' ,
BACK _BUTTON : 'Back' ,
CONFIRM _ACCOUNT _EXPIRED : 'Your confirmation link has expired. Please ask for a new one.' ,
CONFIRM _ACCOUNT _HEADER _INVALID : ` ${ _CC . config . siteTitle } | Confirmation Link Invalid ` ,
CONFIRM _ACCOUNT _HEADER _VALID : ` ${ _CC . config . siteTitle } | Confirm Account ` ,
CONFIRM _ACCOUNT _INVALID : "This confirmation link isn't valid, perhaps the account was deleted or some characters at the end got cut off?" ,
CONFIRM _ACCOUNT _SET _PW _BUTTON : ` Join ${ _CC . config . siteTitle } ` ,
CONFIRM _ACCOUNT _SET _PW _PLACEHOLDER : 'pa$$word!' ,
CONFIRM _ACCOUNT _SET _PW _TEXT : name => ` Hello ${ name } ! Please set your password here. ` ,
CONFIRM _ACCOUNT _SUCCESS : ` Welcome to ${ _CC . config . siteTitle } ! ` ,
LOGIN _BUTTON : 'Log In' ,
LOGIN _PASSWORD _PLACEHOLDER : 'pa$$word!' ,
LOGIN _PASSWORD : 'Password' ,
LOGIN _USERNAME _PLACEHOLDER : 'john' ,
LOGIN _USERNAME : 'Username' ,
LOGOUT _BUTTON : 'Log Out' ,
NAVBAR _ADMIN : 'Admin Settings' ,
NAVBAR _LOGIN : 'Log In' ,
NAVBAR _LOGOUT : 'Log Out' ,
NAVBAR _PROFILE : 'Profile' ,
NAVBAR _WISHLIST : 'My Wishlist' ,
NOTE _BACK : name => ` Back to ${ name } 's wishlist ` ,
NOTE _GET _PRODUCT _DATA : 'Get Product Data' ,
NOTE _GUARD : 'Invalid user' ,
NOTE _IMAGE _URL : 'Image URL' ,
NOTE _MISSING _PROP : prop => ` Missing property ${ prop } ` , // not really possible to localize this unfortunately
NOTE _NAME : 'Name' ,
NOTE _NOTE : 'Note' ,
NOTE _PRICE : 'Price' ,
NOTE _REFRESH _DATA : 'Refresh Data' ,
NOTE _REMOVE _GUARD : 'Invalid user' ,
NOTE _REMOVE _MISSING : 'Has no note' ,
NOTE _REMOVE _SUCCESS : 'Successfully removed note' ,
NOTE _SAVE _BUTTON : 'Save Item' ,
NOTE _SUCCESS : 'Successfully saved!' ,
NOTE _URL : 'URL' ,
PROFILE _HEADER : 'Profile' ,
PROFILE _PASSWORD _BUTTON : 'Save' ,
PROFILE _PASSWORD _NEW : 'New Password' ,
PROFILE _PASSWORD _OLD _MISMATCH : 'Incorrect old password' ,
PROFILE _PASSWORD _OLD : 'Old Password' ,
PROFILE _PASSWORD _PLACEHOLDER : 'pa$$word!' ,
PROFILE _PASSWORD _REQUIRED _NEW : 'New Password is required' ,
PROFILE _PASSWORD _REQUIRED _OLD : 'Old Password is required' ,
PROFILE _PASSWORD _SUCCESS : 'Changed saved successfully!' ,
PROFILE _PASSWORD _TITLE : name => ` Profile Settings - Password - ${ name } ` ,
PROFILE _PFP _IMAGE _URL : 'Image URL' ,
PROFILE _SAVE _PFP _DISABLED : 'Profile pictures are disabled.' ,
PROFILE _SAVE _PFP _SUCCESS : 'Saved profile picture!' ,
PROFILE _SECURITY _CHANGE _PASSWORD : 'Change Password' ,
PROFILE _SECURITY : 'Security' ,
PROFILE _TITLE : name => ` Profile Settings - ${ name } ` ,
RESET _PASSWORD _BUTTON : 'Reset Password' ,
RESET _PASSWORD _GREETING _EXPIRED : 'Your reset link has expired. Please ask for a new one.' ,
RESET _PASSWORD _GREETING _INVALID : "This reset link isn't valid, perhaps the link was canceled or some characters at the end got cut off?" ,
RESET _PASSWORD _GREETING _VALID : name => ` Hello ${ name } ! Please set your password here. ` ,
RESET _PASSWORD _HEADER _INVALID : ` ${ _CC . config . siteTitle } | Reset Link Invalid ` ,
RESET _PASSWORD _HEADER _VALID : ` ${ _CC . config . siteTitle } | Reset Password ` ,
RESET _PASSWORD _PASSWORD _PLACEHOLDER : 'pa$$word!' ,
RESET _PASSWORD _PASSWORD : 'Password' ,
RESET _PASSWORD _SUCCESS : 'Password reset successfully!' ,
SETUP _ADMIN _USER : 'Admin User' ,
SETUP _BUTTON : 'Set up!' ,
SETUP _HEADER : 'Setup' ,
SETUP _PASSWORD _PLACEHOLDER : 'pa$$word!' ,
SETUP _PASSWORD : 'Password' ,
SETUP _USERNAME _PLACEHOLDER : 'john' ,
SETUP _USERNAME : 'Username' ,
SUPPORTED _SITES _HEADER : 'Supported Sites' ,
SUPPORTED _SITES _TEXT : 'Is a site missing or broken? Open an issue <a href="https://gitlab.com/wingysam/get-product-name/-/issues/new">here</a>! :)' ,
UPDATE _NOTICE : ( current , latest ) => `
< span class = "has-text-danger is-size-4 has-text-weight-bold" >
Christmas Community is out of date . There may be new features or bug fixes . Consider updating ! : )
< / s p a n >
< br >
< span > ( you can turn this off with < code > UPDATE _CHECK = false < / c o d e > ) < / s p a n >
< br > < br >
< span > Current : $ { current } < / s p a n >
< br >
< span > Latest : $ { latest } < / s p a n >
< span class = "has-text-info" style = "float: right;" > This message is only visible to admins < / s p a n > ` ,
WISHLIST _ADD : 'Add item to wishlist' ,
WISHLIST _ADDED _BY _USER : addedBy => ` Added by: ${ addedBy } ` ,
WISHLIST _ADDED _BY : 'Added By' ,
WISHLIST _CONFLICT : 'Items are being added too quickly. Please try again.' ,
WISHLIST _DELETE : 'Delete' ,
WISHLIST _EDIT _ITEM : 'Edit Item' ,
WISHLIST _IMAGE : 'Image' ,
WISHLIST _MOVE _DOWN : 'Move Down' ,
WISHLIST _MOVE _GUARD : 'Not correct user' ,
WISHLIST _MOVE _INVALID : 'Invalid move' ,
WISHLIST _MOVE _ITEM _DOWN : 'Move Item Down' ,
WISHLIST _MOVE _ITEM _TOP : 'Move Item Top' ,
WISHLIST _MOVE _ITEM _UP : 'Move Item Up' ,
WISHLIST _MOVE _SUCCESS : 'Successfully moved item!' ,
WISHLIST _MOVE _TOP : 'Move Top' ,
WISHLIST _MOVE _UP : 'Move Up' ,
WISHLIST _NAME : 'Name' ,
WISHLIST _NOTE : 'Note' ,
WISHLIST _OPTIONAL : 'Optional' ,
WISHLIST _PLEDGE _DUPLICATE : 'Item already pledged for' ,
WISHLIST _PLEDGE _ITEM : 'Pledge item' ,
WISHLIST _PLEDGE _SUCCESS : 'Successfully pledged for item!' ,
WISHLIST _PLEDGE : 'Pledge' ,
WISHLIST _PLEDGED : pledgedBy => ` Pledged for by ${ pledgedBy } ` ,
2022-10-03 08:03:09 -07:00
WISHLIST _PLEDGED _GUEST : 'Pledged for by a guest user' ,
2021-12-03 08:13:43 -08:00
WISHLIST _PRICE : 'Price' ,
WISHLIST _REFRESH _GUARD : 'Invalid user' ,
WISHLIST _REFRESH _NO _URL : 'Item has no URL.' ,
WISHLIST _REFRESH _SUCCESS : 'Successfully refreshed data!' ,
WISHLIST _REMOVE _GUARD : 'Not correct user' ,
WISHLIST _REMOVE _MISSING : 'Failed to find item' ,
WISHLIST _REMOVE _SUCCESS : 'Successfully removed from wishlist' ,
WISHLIST _TITLE : name => ` ${ _CC . config . siteTitle } - Wishlist - ${ name } ` ,
WISHLIST _UNPLEDGE _GUARD : 'You did not pledge for this' , // should never happen unless someone makes their own http requests
WISHLIST _UNPLEDGE _MISSING : 'Failed to find item' ,
WISHLIST _UNPLEDGE _SUCCESS : 'Successfully unpledged for item!' ,
WISHLIST _UNPLEDGE : 'Unpledge' ,
WISHLIST _URL _LABEL : 'Item URL or Name (<a href="/supported-sites">Supported Sites</a>)' ,
WISHLIST _URL _PLACEHOLDER : 'https://www.amazon.com/dp/B00ZV9RDKK' ,
WISHLIST _URL _REQUIRED : 'Item URL or Name is required' ,
WISHLISTS _COUNTS _SELF : name => ` ${ name } : ???/??? ` ,
WISHLISTS _COUNTS : ( name , pledged , total ) => ` ${ name } : ${ pledged } / ${ total } ` ,
WISHLISTS _TITLE : ` ${ _CC . config . siteTitle } - Wishlists `
}