mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Add frontend translation strings
This commit is contained in:
parent
a114c7d12a
commit
f7d9b40b03
2 changed files with 310 additions and 0 deletions
139
resources/assets/js/i18n/en.json
Normal file
139
resources/assets/js/i18n/en.json
Normal file
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"common": {
|
||||
"comment": "Comment",
|
||||
"commented": "Commented",
|
||||
"comments": "Comments",
|
||||
"like": "Like",
|
||||
"liked": "Liked",
|
||||
"likes": "Likes",
|
||||
"share": "Share",
|
||||
"shared": "Shared",
|
||||
"shares": "Shares",
|
||||
"unshare": "Unshare",
|
||||
"cancel": "Cancel",
|
||||
"copyLink": "Copy Link",
|
||||
"delete": "Delete",
|
||||
"error": "Error",
|
||||
"errorMsg": "Something went wrong. Please try again later.",
|
||||
"oops": "Oops!",
|
||||
"other": "Other",
|
||||
"readMore": "Read more",
|
||||
"success": "Success",
|
||||
"sensitive": "Sensitive",
|
||||
"sensitiveContent": "Sensitive Content",
|
||||
"sensitiveContentWarning": "This post may contain sensitive content"
|
||||
},
|
||||
"site": {
|
||||
"terms": "Terms of Use",
|
||||
"privacy": "Privacy Policy"
|
||||
},
|
||||
"navmenu": {
|
||||
"search": "Search",
|
||||
"admin": "Admin Dashboard",
|
||||
"homeFeed": "Home Feed",
|
||||
"localFeed": "Local Feed",
|
||||
"globalFeed": "Global Feed",
|
||||
"discover": "Discover",
|
||||
"directMessages": "Direct Messages",
|
||||
"notifications": "Notifications",
|
||||
"groups": "Groups",
|
||||
"stories": "Stories",
|
||||
"profile": "Profile",
|
||||
"drive": "Drive",
|
||||
"settings": "Settings",
|
||||
"compose": "Create New",
|
||||
"backToPreviousDesign": "Go back to previous design"
|
||||
},
|
||||
"directMessages": {
|
||||
"inbox": "Inbox",
|
||||
"sent": "Sent",
|
||||
"requests": "Requests"
|
||||
},
|
||||
"notifications": {
|
||||
"liked": "liked your",
|
||||
"commented": "commented on your",
|
||||
"reacted": "reacted to your",
|
||||
"shared": "shared your",
|
||||
"tagged": "tagged you in a",
|
||||
"updatedA": "updated a",
|
||||
"sentA": "sent a",
|
||||
"followed": "followed",
|
||||
"mentioned": "mentioned",
|
||||
"you": "you",
|
||||
"yourApplication": "Your application to join",
|
||||
"applicationApproved": "was approved!",
|
||||
"applicationRejected": "was rejected. You can re-apply to join in 6 months.",
|
||||
"dm": "dm",
|
||||
"groupPost": "group post",
|
||||
"modlog": "modlog",
|
||||
"post": "post",
|
||||
"story": "story"
|
||||
},
|
||||
"post": {
|
||||
"shareToFollowers": "Share to followers",
|
||||
"shareToOther": "Share to other",
|
||||
"noLikes": "No likes yet",
|
||||
"uploading": "Uploading"
|
||||
},
|
||||
"profile": {
|
||||
"posts": "Posts",
|
||||
"followers": "Followers",
|
||||
"following": "Following",
|
||||
"admin": "Admin",
|
||||
"collections": "Collections",
|
||||
"follow": "Follow",
|
||||
"unfollow": "Unfollow",
|
||||
"editProfile": "Edit Profile",
|
||||
"followRequested": "Follow Requested",
|
||||
"joined": "Joined"
|
||||
},
|
||||
"menu": {
|
||||
"viewPost": "View Post",
|
||||
"viewProfile": "View Profile",
|
||||
"moderationTools": "Moderation Tools",
|
||||
"report": "Report",
|
||||
"archive": "Archive",
|
||||
"unarchive": "Unarchive",
|
||||
"embed": "Embed",
|
||||
"selectOneOption": "Select one of the following options",
|
||||
"unlistFromTimelines": "Unlist from Timelines",
|
||||
"addCW": "Add Content Warning",
|
||||
"removeCW": "Remove Content Warning",
|
||||
"markAsSpammer": "Mark as Spammer",
|
||||
"markAsSpammerText": "Unlist + CW existing and future posts",
|
||||
"spam": "Spam",
|
||||
"sensitive": "Sensitive Content",
|
||||
"abusive": "Abusive or Harmful",
|
||||
"underageAccount": "Underage Account",
|
||||
"copyrightInfringement": "Copyright Infringement",
|
||||
"impersonation": "Impersonation",
|
||||
"scamOrFraud": "Scam or Fraud",
|
||||
"confirmReport": "Confirm Report",
|
||||
"confirmReportText": "Are you sure you want to report this post?",
|
||||
"reportSent": "Report Sent!",
|
||||
"reportSentText": "We have successfully received your report.",
|
||||
"reportSentError": "There was an issue reporting this post.",
|
||||
"modAddCWConfirm": "Are you sure you want to add a content warning to this post?",
|
||||
"modCWSuccess": "Successfully added content warning",
|
||||
"modRemoveCWConfirm": "Are you sure you want to remove the content warning on this post?",
|
||||
"modRemoveCWSuccess": "Successfully removed content warning",
|
||||
"modUnlistConfirm": "Are you sure you want to unlist this post?",
|
||||
"modUnlistSuccess": "Successfully unlisted post",
|
||||
"modMarkAsSpammerConfirm": "Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",
|
||||
"modMarkAsSpammerSuccess": "Successfully marked account as spammer",
|
||||
"toFollowers": "to Followers",
|
||||
"showCaption": "Show Caption",
|
||||
"showLikes": "Show Likes",
|
||||
"compactMode": "Compact Mode",
|
||||
"embedConfirmText": "By using this embed, you agree to our",
|
||||
"deletePostConfirm": "Are you sure you want to delete this post?",
|
||||
"archivePostConfirm": "Are you sure you want to archive this post?",
|
||||
"unarchivePostConfirm": "Are you sure you want to unarchive this post?"
|
||||
},
|
||||
"story": {
|
||||
"add": "Add Story"
|
||||
},
|
||||
"timeline": {
|
||||
"peopleYouMayKnow": "People you may know"
|
||||
}
|
||||
}
|
171
resources/lang/en/web.php
Normal file
171
resources/lang/en/web.php
Normal file
|
@ -0,0 +1,171 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'common' => [
|
||||
'comment' => 'Comment',
|
||||
'commented' => 'Commented',
|
||||
'comments' => 'Comments',
|
||||
'like' => 'Like',
|
||||
'liked' => 'Liked',
|
||||
'likes' => 'Likes',
|
||||
'share' => 'Share',
|
||||
'shared' => 'Shared',
|
||||
'shares' => 'Shares',
|
||||
'unshare' => 'Unshare',
|
||||
|
||||
'cancel' => 'Cancel',
|
||||
'copyLink' => 'Copy Link',
|
||||
'delete' => 'Delete',
|
||||
'error' => 'Error',
|
||||
'errorMsg' => 'Something went wrong. Please try again later.',
|
||||
'oops' => 'Oops!',
|
||||
'other' => 'Other',
|
||||
'readMore' => 'Read more',
|
||||
'success' => 'Success',
|
||||
|
||||
'sensitive' => 'Sensitive',
|
||||
'sensitiveContent' => 'Sensitive Content',
|
||||
'sensitiveContentWarning' => 'This post may contain sensitive content',
|
||||
],
|
||||
|
||||
'site' => [
|
||||
'terms' => 'Terms of Use',
|
||||
'privacy' => 'Privacy Policy',
|
||||
],
|
||||
|
||||
'navmenu' => [
|
||||
'search' => 'Search',
|
||||
'admin' => 'Admin Dashboard',
|
||||
|
||||
// Timelines
|
||||
'homeFeed' => 'Home Feed',
|
||||
'localFeed' => 'Local Feed',
|
||||
'globalFeed' => 'Global Feed',
|
||||
|
||||
// Core features
|
||||
'discover' => 'Discover',
|
||||
'directMessages' => 'Direct Messages',
|
||||
'notifications' => 'Notifications',
|
||||
'groups' => 'Groups',
|
||||
'stories' => 'Stories',
|
||||
|
||||
// Self links
|
||||
'profile' => 'Profile',
|
||||
'drive' => 'Drive',
|
||||
'settings' => 'Settings',
|
||||
'compose' => 'Create New',
|
||||
|
||||
// Temporary links
|
||||
'backToPreviousDesign' => 'Go back to previous design'
|
||||
],
|
||||
|
||||
'directMessages' => [
|
||||
'inbox' => 'Inbox',
|
||||
'sent' => 'Sent',
|
||||
'requests' => 'Requests'
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
'liked' => 'liked your',
|
||||
'commented' => 'commented on your',
|
||||
'reacted' => 'reacted to your',
|
||||
'shared' => 'shared your',
|
||||
'tagged' => 'tagged you in a',
|
||||
|
||||
'updatedA' => 'updated a',
|
||||
'sentA' => 'sent a',
|
||||
|
||||
'followed' => 'followed',
|
||||
'mentioned' => 'mentioned',
|
||||
'you' => 'you',
|
||||
|
||||
'yourApplication' => 'Your application to join',
|
||||
'applicationApproved' => 'was approved!',
|
||||
'applicationRejected' => 'was rejected. You can re-apply to join in 6 months.',
|
||||
|
||||
'dm' => 'dm',
|
||||
'groupPost' => 'group post',
|
||||
'modlog' => 'modlog',
|
||||
'post' => 'post',
|
||||
'story' => 'story',
|
||||
],
|
||||
|
||||
'post' => [
|
||||
'shareToFollowers' => 'Share to followers',
|
||||
'shareToOther' => 'Share to other',
|
||||
'noLikes' => 'No likes yet',
|
||||
'uploading' => 'Uploading',
|
||||
],
|
||||
|
||||
'profile' => [
|
||||
'posts' => 'Posts',
|
||||
'followers' => 'Followers',
|
||||
'following' => 'Following',
|
||||
'admin' => 'Admin',
|
||||
'collections' => 'Collections',
|
||||
'follow' => 'Follow',
|
||||
'unfollow' => 'Unfollow',
|
||||
'editProfile' => 'Edit Profile',
|
||||
'followRequested' => 'Follow Requested',
|
||||
'joined' => 'Joined',
|
||||
],
|
||||
|
||||
'menu' => [
|
||||
'viewPost' => 'View Post',
|
||||
'viewProfile' => 'View Profile',
|
||||
'moderationTools' => 'Moderation Tools',
|
||||
'report' => 'Report',
|
||||
'archive' => 'Archive',
|
||||
'unarchive' => 'Unarchive',
|
||||
'embed' => 'Embed',
|
||||
|
||||
'selectOneOption' => 'Select one of the following options',
|
||||
'unlistFromTimelines' => 'Unlist from Timelines',
|
||||
'addCW' => 'Add Content Warning',
|
||||
'removeCW' => 'Remove Content Warning',
|
||||
'markAsSpammer' => 'Mark as Spammer',
|
||||
'markAsSpammerText' => 'Unlist + CW existing and future posts',
|
||||
'spam' => 'Spam',
|
||||
'sensitive' => 'Sensitive Content',
|
||||
'abusive' => 'Abusive or Harmful',
|
||||
'underageAccount' => 'Underage Account',
|
||||
'copyrightInfringement' => 'Copyright Infringement',
|
||||
'impersonation' => 'Impersonation',
|
||||
'scamOrFraud' => 'Scam or Fraud',
|
||||
'confirmReport' => 'Confirm Report',
|
||||
'confirmReportText' => 'Are you sure you want to report this post?',
|
||||
'reportSent' => 'Report Sent!',
|
||||
'reportSentText' => 'We have successfully received your report.',
|
||||
'reportSentError' => 'There was an issue reporting this post.',
|
||||
|
||||
'modAddCWConfirm' => 'Are you sure you want to add a content warning to this post?',
|
||||
'modCWSuccess' => 'Successfully added content warning',
|
||||
'modRemoveCWConfirm' => 'Are you sure you want to remove the content warning on this post?',
|
||||
'modRemoveCWSuccess' => 'Successfully removed content warning',
|
||||
'modUnlistConfirm' => 'Are you sure you want to unlist this post?',
|
||||
'modUnlistSuccess' => 'Successfully unlisted post',
|
||||
'modMarkAsSpammerConfirm' => 'Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.',
|
||||
'modMarkAsSpammerSuccess' => 'Successfully marked account as spammer',
|
||||
|
||||
'toFollowers' => 'to Followers',
|
||||
|
||||
'showCaption' => 'Show Caption',
|
||||
'showLikes' => 'Show Likes',
|
||||
'compactMode' => 'Compact Mode',
|
||||
'embedConfirmText' => 'By using this embed, you agree to our',
|
||||
|
||||
'deletePostConfirm' => 'Are you sure you want to delete this post?',
|
||||
'archivePostConfirm' => 'Are you sure you want to archive this post?',
|
||||
'unarchivePostConfirm' => 'Are you sure you want to unarchive this post?',
|
||||
],
|
||||
|
||||
'story' => [
|
||||
'add' => 'Add Story'
|
||||
],
|
||||
|
||||
'timeline' => [
|
||||
'peopleYouMayKnow' => 'People you may know'
|
||||
]
|
||||
|
||||
];
|
Loading…
Reference in a new issue