english.php (17770B)
1 <?php 2 // English extension, https://github.com/annaesvensson/yellow-language/tree/main/translations/english 3 4 class YellowEnglish { 5 const VERSION = "0.9.5"; 6 public $yellow; // access to API 7 8 // Handle initialisation 9 public function onLoad($yellow) { 10 $this->yellow = $yellow; 11 $this->yellow->language->setDefaults(array( 12 "Language: en", 13 "LanguageLocale: en_GB", 14 "LanguageDescription: English", 15 "LanguageTranslator: Mark Seuffert", 16 "AnchorDescription: Show anchor links next to headings.", 17 "BacktotopDescription: Back-to-top link.", 18 "BacktotopLabel: Back to top", 19 "BerlinDescription: Berlin is a theme inspired by Dieter Rams.", 20 "BlogDescription: Blog for your website.", 21 "BlogBy: by", 22 "BlogTag: Tags:", 23 "BlogMore: Read more…", 24 "BreadcrumbDescription: Breadcrumb navigation.", 25 "BreadcrumbNavigation: Breadcrumb", 26 "BundleDescription: Bundle website files.", 27 "CatalanDescription: Catalan language.", 28 "CheckDescription: Find broken links.", 29 "ChineseDescription: Chinese language.", 30 "ContactDescription: Email contact page.", 31 "ContactName: Name:", 32 "ContactEmail: Email:", 33 "ContactMessage: Message:", 34 "ContactConsent: I agree that my message will be stored by this website.", 35 "ContactButton: Send my message", 36 "ContactMailSpam: [Spam]", 37 "ContactMailHeader: You have received a message from @sender:", 38 "ContactMailFooter: This email was sent via @sitename - @title", 39 "ContactStatusNone: Say hello. Your feedback is very welcome.", 40 "ContactStatusIncomplete: Please fill out all fields.", 41 "ContactStatusInvalid: Please enter a valid email.", 42 "ContactStatusReview: Please remove links from the message.", 43 "ContactStatusDone: You have sent an email. Thank you!", 44 "ContactStatusError: Email could not be sent, please try again later!", 45 "CopenhagenDescription: Copenhagen is a beautiful theme.", 46 "CoreDescription: Core functionality of your website.", 47 "CoreNavigation: Main", 48 "CorePagination: Page", 49 "CorePaginationPrevious: ← Previous", 50 "CorePaginationNext: Next →", 51 "CoreTimeFormatShort: H:i", 52 "CoreTimeFormatMedium: H:i:s", 53 "CoreTimeFormatLong: H:i:s T", 54 "CoreDateFormatShort: F Y", 55 "CoreDateFormatMedium: Y-m-d", 56 "CoreDateFormatLong: Y-m-d H:i", 57 "CoreDatePast: today, yesterday, @x days ago, 1 month ago, @x months ago, 1 year ago, @x years ago, on @x", 58 "CoreDateFuture: soon, tomorrow, in @x days, in 1 month, in @x months, in 1 year, in @x years, on @x", 59 "CoreDateMonthsNominative: January, February, March, April, May, June, July, August, September, October, November, December", 60 "CoreDateMonthsGenitive: January, February, March, April, May, June, July, August, September, October, November, December", 61 "CoreDateWeekdays: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday", 62 "CoreDateWeekstart: Monday", 63 "CoreDecimalSeparator: .", 64 "CoreError404Title: File not found", 65 "CoreError404Text: The requested file was not found. Oh no…", 66 "CoreError420Title: Page not public", 67 "CoreError420Text: The requested page is not public. [yellow error]", 68 "CoreError430Title: Login failed", 69 "CoreError430Text: The email or password is incorrect. [Please try again](#data-action-login).", 70 "CoreError434Title: Page not found", 71 "CoreError434Text: The requested page was not found. [You can create this page](#data-action-edit).", 72 "CoreError435Title: Page not found", 73 "CoreError435Text: The requested page has been deleted. [You can restore this page](#data-action-restore).", 74 "CoreError450Title: Update error", 75 "CoreError450Text: Can't connect to the update server. An Internet connection is required.", 76 "CoreError500Title: Server error", 77 "CoreError500Text: Something went wrong. [yellow error]", 78 "CzechDescription: Czech language.", 79 "DanishDescription: Danish language.", 80 "DisqusDescription: Show Disqus comments on blog.", 81 "DraftDescription: Support for draft pages.", 82 "DraftPageError: Please log in.", 83 "DutchDescription: Dutch language.", 84 "EditDescription: Edit your website in a web browser.", 85 "EditLoginTitle: Welcome", 86 "EditLoginEmail: Email:", 87 "EditLoginPassword: Password:", 88 "EditLoginForgot: Forgot your password?", 89 "EditLoginSignup: Create user account?", 90 "EditLoginButton: Log in", 91 "EditSignupTitle: Create user account", 92 "EditSignupName: Name:", 93 "EditSignupEmail: Email:", 94 "EditSignupPassword: Password:", 95 "EditSignupConsent: I agree that my personal data will be stored by this website.", 96 "EditSignupButton: Create", 97 "EditSignupStatusNone: Here you can create a new user account.", 98 "EditSignupStatusIncomplete: Please fill out all fields.", 99 "EditSignupStatusInvalid: Please enter a valid email.", 100 "EditSignupStatusWeak: Please enter a different password.", 101 "EditSignupStatusShort: Please enter a longer password.", 102 "EditSignupStatusNext: User account will be created, please check your emails.", 103 "EditForgotTitle: Forgot your password", 104 "EditForgotEmail: Email:", 105 "EditForgotStatusNone: No problem, you can create a new password.", 106 "EditForgotStatusInvalid: Please enter a valid email.", 107 "EditForgotStatusNext: User account will be recovered, please check your emails.", 108 "EditRecoverTitle: Forgot your password", 109 "EditRecoverPassword: Password:", 110 "EditRecoverStatusPassword: Please enter a new password.", 111 "EditRecoverStatusWeak: Please enter a different password.", 112 "EditRecoverStatusShort: Please enter a longer password.", 113 "EditRecoverStatusDone: User account recovered. Thank you!", 114 "EditConfirmSubject: Confirm user account", 115 "EditConfirmMessage: Hi @usershort,\\n\\nplease confirm your user account. Click the following link.", 116 "EditConfirmTitle: User account", 117 "EditConfirmStatusDone: User account confirmed and waiting for approval. Thank you!", 118 "EditApproveSubject: Approve user account", 119 "EditApproveMessage: Hi @usershort,\\n\\nplease approve a new user account for @useraccount. Click the following link.", 120 "EditApproveTitle: User account", 121 "EditApproveStatusDone: User account approved. Thank you!", 122 "EditReactivateSubject: Reactivate user account", 123 "EditReactivateMessage: Hi @usershort,\\n\\nplease reactivate your user account. There were too many failed login attempts. Click the following link.", 124 "EditReactivateTitle: User account", 125 "EditReactivateStatusDone: User account reactivated. Thank you!", 126 "EditVerifySubject: Change user account", 127 "EditVerifyMessage: Hi @usershort,\\n\\nplease confirm a new email for your user account. Click the following link.", 128 "EditVerifyTitle: User account", 129 "EditVerifyStatusDone: User account changed. Thank you!", 130 "EditChangeSubject: Change user account", 131 "EditChangeMessage: Hi @usershort,\\n\\nplease confirm that you want to change your user account. Click the following link.", 132 "EditChangeTitle: User account", 133 "EditChangeStatusDone: User account changed. Thank you!", 134 "EditRemoveSubject: Delete user account", 135 "EditRemoveMessage: Hi @usershort,\\n\\nplease confirm that you want to delete your user account. Click the following link.", 136 "EditRemoveTitle: User account", 137 "EditRemoveStatusDone: User account deleted. Thank you!", 138 "EditRecoverSubject: Recover user account", 139 "EditRecoverMessage: Hi @usershort,\\n\\nplease confirm that you forgot your password. Click the following link.", 140 "EditWelcomeSubject: Welcome", 141 "EditWelcomeMessage: Hi @usershort,\\n\\nyour user account has been created. Have fun editing the website.", 142 "EditGoodbyeSubject: Goodbye", 143 "EditGoodbyeMessage: Hi @usershort,\\n\\nyour user account has been deleted. Take care.", 144 "EditAccountTitle: User", 145 "EditAccountInformation: You can delete your user account anytime.", 146 "EditAccountMore: Read more…", 147 "EditAccountStatusNone: Here you can change your user account.", 148 "EditAccountStatusInvalid: Please enter a valid email.", 149 "EditAccountStatusTaken: Please enter a different email.", 150 "EditAccountStatusWeak: Please enter a different password.", 151 "EditAccountStatusShort: Please enter a longer password.", 152 "EditAccountStatusNext: User account will be changed, please check your emails.", 153 "EditQuitTitle: Delete user account", 154 "EditQuitStatusNone: Please enter your name to confirm.", 155 "EditQuitStatusMismatch: Please enter a different name.", 156 "EditQuitStatusNext: User account will be deleted, please check your emails.", 157 "EditConfigureTitle: Website", 158 "EditConfigureSitename: Name of the website:", 159 "EditConfigureAuthor: Name of the webmaster:", 160 "EditConfigureEmail: Email of the webmaster:", 161 "EditConfigureInformation: The webmaster can approve new user accounts.", 162 "EditConfigureStatusNone: Here you can configure your website.", 163 "EditConfigureStatusInvalid: Please enter a valid email.", 164 "EditUpdateTitle: Updates", 165 "EditUpdateStatusNone: Datenstrom Yellow is for people who make small websites.", 166 "EditUpdateStatusCheck: Checking for updates…", 167 "EditUpdateStatusUpdates: The following updates are available:", 168 "EditUpdateStatusOk: Your website is up to date.", 169 "EditOkButton: Ok", 170 "EditCancelButton: Cancel", 171 "EditChangeButton: Change", 172 "EditCreateButton: Create", 173 "EditEditButton: Save", 174 "EditDeleteButton: Delete", 175 "EditUpdateButton: Update", 176 "EditEdit: Edit page", 177 "EditCreate: +", 178 "EditDelete: -", 179 "EditKeyboardLabels: Ctrl+, Alt+, Shift+, ⌘, ⌥, ⇧", 180 "EditToolbarFormat: Format", 181 "EditToolbarHeading: Heading", 182 "EditToolbarH1: Heading 1", 183 "EditToolbarH2: Heading 2", 184 "EditToolbarH3: Heading 3", 185 "EditToolbarParagraph: Normal text", 186 "EditToolbarImportant: Important text", 187 "EditToolbarPre: Code block", 188 "EditToolbarQuote: Quote", 189 "EditToolbarBold: Bold", 190 "EditToolbarItalic: Italic", 191 "EditToolbarStrikethrough: Strikethrough", 192 "EditToolbarCode: Code", 193 "EditToolbarList: List", 194 "EditToolbarUl: • Unordered list", 195 "EditToolbarOl: 1. Ordered list", 196 "EditToolbarTl: ✓ Task list", 197 "EditToolbarLink: Link", 198 "EditToolbarFile: File", 199 "EditToolbarEmoji: Emoji", 200 "EditToolbarIcon: Icon", 201 "EditToolbarStatus: Status", 202 "EditToolbarUndo: Undo", 203 "EditToolbarRedo: Redo", 204 "EditToolbarPreview: Preview", 205 "EditToolbarHelp: Help", 206 "EditMailFooter: @sitename", 207 "EditDataGenerated: This page is generated automatically.", 208 "EditUploadProgress: Uploading file…", 209 "EditUserDescription: Editor", 210 "EditMenuSettings: Settings", 211 "EditMenuHelp: Help", 212 "EditMenuLogout: Logout", 213 "EditYellowUrl: https://datenstrom.se/yellow/", 214 "EditYellowHelpUrl: https://datenstrom.se/yellow/help/", 215 "EditYellowNewsUrl: https://datenstrom.se/yellow/help/what-s-new", 216 "EmojiDescription: Lots and lots of emoji.", 217 "EnglishDescription: English language.", 218 "FeedDescription: Feed with recent changes.", 219 "FrenchDescription: French language.", 220 "GalleryDescription: Image gallery with popup.", 221 "GenerateDescription: Generate a static website.", 222 "GermanDescription: German language.", 223 "HelpDescription: Documentation of the basics.", 224 "HighlightDescription: Highlight code blocks.", 225 "HungarianDescription: Hungarian language.", 226 "IconDescription: Icons and symbols.", 227 "ImageDescription: Add images and thumbnails.", 228 "ImageDefaultAlt: Image without description", 229 "IncludeDescription: Include shared pages.", 230 "InstagramDescription: Embed Instagram photos.", 231 "InstallTitle: Hello", 232 "InstallLanguage: What's your language?", 233 "InstallExtension: What do you want to make?", 234 "InstallExtensionWebsite: Small website", 235 "InstallExtensionBlog: Small blog", 236 "InstallExtensionWiki: Small wiki", 237 "InstallButton: Install", 238 "InstallHomeTitle: Home", 239 "InstallHomeText: [image photo.jpg Example rounded]\\n\\n[edit - You can edit this page] or use a text editor. [Get help](https://datenstrom.se/yellow/help/).", 240 "InstallAboutTitle: About", 241 "InstallAboutText: [Made with Datenstrom Yellow](https://datenstrom.se/yellow/).", 242 "InstallDefaultTitle: Page", 243 "InstallDefaultText: This is a new page.", 244 "InstallBlogTitle: Blog page", 245 "InstallBlogText: This is a new blog page.", 246 "InstallWikiTitle: Wiki page", 247 "InstallWikiText: This is a new wiki page.", 248 "InstallExampleImage: This is an example image", 249 "ItalianDescription: Italian language.", 250 "JapaneseDescription: Japanese language.", 251 "KarlskronaDescription: Karlskrona is a semantic theme.", 252 "MarkdownDescription: Text formatting for humans.", 253 "MetaDescription: Meta data for humans and machines.", 254 "NorwegianDescription: Norwegian language.", 255 "ParisDescription: Paris is an elegant theme.", 256 "ParsedownDescription: Text formatting for humans.", 257 "PolishDescription: Polish language.", 258 "PortugueseDescription: Portuguese language.", 259 "PreviousnextDescription: Show links to previous/next page.", 260 "PreviousnextNavigation: Page", 261 "PreviousnextPagePrevious: ← Previous: @title", 262 "PreviousnextPageNext: Next: @title →", 263 "PrivateDescription: Support for password-protected pages.", 264 "PrivatePageError: Please enter the password.", 265 "ProfileDescription: Author profile for blog pages.", 266 "PublishDescription: Make and publish extensions.", 267 "ReadingtimeDescription: Show estimated reading time for page content.", 268 "RussianDescription: Russian language.", 269 "SearchDescription: Full-text search.", 270 "SearchResultsNone: Enter a search term.", 271 "SearchResultsEmpty: No results found.", 272 "SearchSpecialChanges: Recent changes", 273 "SearchButton: Search", 274 "ServeDescription: Built-in web server.", 275 "SitemapDescription: Sitemap with all pages.", 276 "SliderDescription: Image gallery with slider.", 277 "SlovakDescription: Slovak language.", 278 "SpanishDescription: Spanish language.", 279 "StockholmDescription: Stockholm is a clean theme.", 280 "SwedishDescription: Swedish language.", 281 "TocDescription: Table of contents.", 282 "TrafficDescription: Create traffic analytics from log files.", 283 "TurkishDescription: Turkish language.", 284 "UpdateDescription: Keep your extensions up to date.", 285 "UpdateExtensionDefaultDescription: No description available.", 286 "UpdateExtensionDeveloper: Developed by @x.", 287 "UpdateExtensionDesigner: Designed by @x.", 288 "UpdateExtensionTranslator: Translated by @x.", 289 "WikiDescription: Wiki for your website.", 290 "WikiModified: Last updated on", 291 "WikiTag: Tags:", 292 "WikiSpecialPages: All pages", 293 "WikiSpecialChanges: Recent changes", 294 "WittstockDescription: Wittstock is a classless theme.")); 295 } 296 297 // Handle update 298 public function onUpdate($action) { 299 $fileName = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("coreSystemFile"); 300 if ($action=="install") { 301 $this->yellow->system->save($fileName, array("language" => "en")); 302 } elseif ($action=="uninstall" && $this->yellow->system->get("language")=="en") { 303 $this->yellow->system->save($fileName, array("language" => $this->yellow->system->getDifferent("language"))); 304 } 305 } 306 }