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