diff options
Diffstat (limited to 'src/web/lang')
-rw-r--r-- | src/web/lang/api.php (renamed from src/web/lang/en_US/api_lang.php) | 2 | ||||
-rw-r--r-- | src/web/lang/auth.php (renamed from src/web/lang/en_US/apps/auth.php) | 4 | ||||
-rw-r--r-- | src/web/lang/common.php (renamed from src/web/lang/en_US/common_lang.php) | 45 | ||||
-rw-r--r-- | src/web/lang/en_US/error_lang.php | 8 | ||||
-rw-r--r-- | src/web/lang/home.php (renamed from src/web/lang/en_US/apps/home.php) | 4 | ||||
-rw-r--r-- | src/web/lang/people.php (renamed from src/web/lang/en_US/apps/people.php) | 4 | ||||
-rw-r--r-- | src/web/lang/post.php | 35 | ||||
-rw-r--r-- | src/web/lang/profile.php (renamed from src/web/lang/en_US/apps/profile.php) | 7 | ||||
-rw-r--r-- | src/web/lang/settings.php (renamed from src/web/lang/en_US/apps/settings.php) | 2 |
9 files changed, 58 insertions, 53 deletions
diff --git a/src/web/lang/en_US/api_lang.php b/src/web/lang/api.php index bc118dd..123052e 100644 --- a/src/web/lang/en_US/api_lang.php +++ b/src/web/lang/api.php @@ -29,5 +29,3 @@ $lang['api_unknown'] = 'An unknown error as occurred'; // toast messages $lang['toast_date_empty'] = 'Birthday cannot be empty'; - -?> diff --git a/src/web/lang/en_US/apps/auth.php b/src/web/lang/auth.php index fb9d758..b87ddd7 100644 --- a/src/web/lang/en_US/apps/auth.php +++ b/src/web/lang/auth.php @@ -1,4 +1,4 @@ -<?php +<?php /* Copyright (c) 2024 Freya Murphy */ $lang['login'] = 'Login'; $lang['login_branding'] = 'Connect with javascript and the world around you on XSSBook.'; @@ -30,5 +30,3 @@ $lang['action_forgot_passwd_text'] = 'Forgot password?'; $lang['register_modal_title'] = 'Create New Account'; $lang['action_register_text'] = 'Register'; $lang['action_register_tip'] = 'Register'; - -?> diff --git a/src/web/lang/en_US/common_lang.php b/src/web/lang/common.php index 073229f..8ed1df7 100644 --- a/src/web/lang/en_US/common_lang.php +++ b/src/web/lang/common.php @@ -1,9 +1,21 @@ <?php /* Copyright (c) 2024 Freya Murphy */ -$lang['version'] = 'Version 2.0.8'; +$lang['version'] = 'Version 2.1.0'; $lang['copyright'] = 'Freya Murphy © 2024'; -// Navigation Bar Lang +// Defaults +$lang['title'] = ''; + +// General +$lang['xssbook'] = 'XSSBook'; +$lang['action_submit_text'] = 'Submit'; +$lang['action_submit_tip'] = 'Submit'; +$lang['action_close_text'] = ''; +$lang['action_close_tip'] = 'Close'; +$lang['action_close_icon'] = 'mi mi-sm'; +$lang['action_close_content'] = 'close'; + +// Header $lang['action_home_text'] = 'Home'; $lang['action_home_tip'] = 'Goto your home page.'; $lang['action_people_text'] = 'People'; @@ -15,38 +27,13 @@ $lang['action_hamburger_tip'] = 'View header dropdown.'; $lang['action_login_text'] = 'Login'; $lang['action_login_tip'] = 'Login or signup'; -// Post lang -$lang['action_like_text'] = 'Like'; -$lang['action_like_tip'] = 'Like this post.'; -$lang['action_like_icon'] = 'mi mi-sm'; -$lang['action_like_content'] = 'thumb_up'; -$lang['action_comment_text'] = 'Comment'; -$lang['action_comment_tip'] = 'Focus the comment box.'; -$lang['action_comment_icon'] = 'mi mi-sm'; -$lang['action_comment_content'] = 'comment'; -$lang['action_new_comment_text'] = 'Write a comment'; -$lang['action_new_comment_tip'] = 'Write a comment, then press enter to submit.'; -$lang['action_load_comments_text'] = 'Load more comments'; -$lang['action_load_comments_tip'] = 'Load more comments'; - -// General -$lang['action_submit_text'] = 'Submit'; -$lang['action_submit_tip'] = 'Submit'; -$lang['action_close_text'] = ''; -$lang['action_close_tip'] = 'Close'; -$lang['action_close_icon'] = 'mi mi-sm'; -$lang['action_close_content'] = 'close'; - -// Modals +// Modal $lang['action_modal_close_text'] = ''; $lang['action_modal_close_tip'] = 'Close modal.'; $lang['action_modal_close_icon'] = 'mi mi-sm'; $lang['action_modal_close_content'] = 'close'; -$lang['new_post_modal_title'] = 'Author New Post'; -$lang['action_new_post_text'] = 'What\'s on your mind, %s'; -$lang['action_new_post_tip'] = 'Author a new post.'; - +// About Modal $lang['about_modal_title'] = 'XSSBook'; // User Menu diff --git a/src/web/lang/en_US/error_lang.php b/src/web/lang/en_US/error_lang.php deleted file mode 100644 index afecaa1..0000000 --- a/src/web/lang/en_US/error_lang.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php /* Copyright (c) 2024 Freya Murphy */ - -$lang['error_400'] = 'Bad request'; -$lang['error_404'] = 'Resource not found'; -$lang['error_500'] = 'Whoops! Server error :('; -$lang['error'] = 'An unknown error has occoured'; - -?> diff --git a/src/web/lang/en_US/apps/home.php b/src/web/lang/home.php index a30eb88..a8bf849 100644 --- a/src/web/lang/en_US/apps/home.php +++ b/src/web/lang/home.php @@ -1,9 +1,7 @@ -<?php +<?php /* Copyright (c) 2024 Freya Murphy */ $lang['title'] = 'Home'; // actions $lang['action_load_posts_text'] = 'Load more posts'; $lang['action_load_posts_tip'] = 'Load more posts'; - -?> diff --git a/src/web/lang/en_US/apps/people.php b/src/web/lang/people.php index 2bfc240..55204aa 100644 --- a/src/web/lang/en_US/apps/people.php +++ b/src/web/lang/people.php @@ -1,4 +1,4 @@ -<?php +<?php /* Copyright (c) 2024 Freya Murphy */ $lang['title'] = 'Directory'; $lang['desc'] = 'Explore other people on xssbook!'; @@ -14,4 +14,4 @@ $lang['tbl_gender'] = 'Gender '; $lang['action_load_users_text'] = 'Load more users'; $lang['action_load_users_tip'] = 'Load more users'; -?> +$lang['no_people_found'] = 'No one is here... :('; diff --git a/src/web/lang/post.php b/src/web/lang/post.php new file mode 100644 index 0000000..39cb24d --- /dev/null +++ b/src/web/lang/post.php @@ -0,0 +1,35 @@ +<?php /* Copyright (c) 2024 Freya Murphy */ + +// Posts +$lang['action_like_text'] = 'Like'; +$lang['action_like_tip'] = 'Like this post.'; +$lang['action_like_icon'] = 'mi mi-sm'; +$lang['action_like_content'] = 'thumb_up'; + +$lang['no_posts_found'] = 'No posts here...'; +$lang['no_posts_found_ext'] = +"We ate them all. +They got lost in transit. +All stuck in line at the DMV. +Death has taken them. +[REDACTED] +They were non-RFC complient. +Submit a formal complaint at your local IRS office. +They are in jail for killing child processes. +They didn't deem you worthy. +Meta stole them for AI training."; + +// Comments +$lang['action_comment_text'] = 'Comment'; +$lang['action_comment_tip'] = 'Focus the comment box.'; +$lang['action_comment_icon'] = 'mi mi-sm'; +$lang['action_comment_content'] = 'comment'; +$lang['action_new_comment_text'] = 'Write a comment'; +$lang['action_new_comment_tip'] = 'Write a comment, then press enter to submit.'; +$lang['action_load_comments_text'] = 'Load more comments'; +$lang['action_load_comments_tip'] = 'Load more comments'; + +// New Post Modal +$lang['new_post_modal_title'] = 'Author New Post'; +$lang['action_new_post_text'] = 'What\'s on your mind, %s'; +$lang['action_new_post_tip'] = 'Author a new post.'; diff --git a/src/web/lang/en_US/apps/profile.php b/src/web/lang/profile.php index bb91e02..d7bbf2b 100644 --- a/src/web/lang/en_US/apps/profile.php +++ b/src/web/lang/profile.php @@ -1,6 +1,5 @@ -<?php - -$lang['title'] = '%s\'s profile'; +<?php /* Copyright (c) 2024 Freya Murphy */ +$lang['title'] = ''; $lang['joined'] = 'Joined: '; $lang['seen'] = 'Seen: '; @@ -42,5 +41,3 @@ $lang['about_stats_comments'] = 'Comments Created'; $lang['about_stats_following'] = 'Accounts Followed'; $lang['about_stats_joined'] = 'Date Joined'; $lang['about_stats_seen'] = 'Last Seen'; - -?> diff --git a/src/web/lang/en_US/apps/settings.php b/src/web/lang/settings.php index 81ba0ec..537cdca 100644 --- a/src/web/lang/en_US/apps/settings.php +++ b/src/web/lang/settings.php @@ -1,4 +1,4 @@ -<?php +<?php /* Copyright (c) 2024 Freya Murphy */ $lang['title'] = 'Settings'; |