From 41b9f625b354587473b6ac27c40d0124d4228f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yohan=20Yukiya=20Sese-Cuneta=E3=86=8D=EC=82=AC=EC=9A=94?= =?UTF-8?q?=ED=95=9C=E3=83=BB=E8=AC=9D=E9=9B=AA=E7=9F=A2?= Date: Tue, 8 Oct 2024 22:05:49 +0800 Subject: [PATCH] Language plugin: add en-PH (English (PH)) as a new translation (#8669) * initial en-PH * English (PH) [en-ph] translation v1 * fix: moved en-PH to the correct file in /editions/full/tiddlywiki.info * deleted since changes were mainly on styles, like em or en dash instead of regular dash * upd: 'dependents' not needed in this particular case * deleted 'empty' files * upd: removed modifications which were mainly related on style (like em and en dashes); upd: CamelCase instead of separating camelCase and PascalCase (see https://github.com/TiddlyWiki/TiddlyWiki5/pull/8669#pullrequestreview-2352481385 ) * upd: Simplified Confirm* strings; upd: natural DateFormat (instead of formal format) * upd: 'want' instead of 'wish' * upd: natural DateFormat (instead of ISO format) * minor: used 'the' instead of 'a' or 'an' as reading of '.html' depends on the reader (ie. a 'dot html' extension vs an 'html' extension) --- editions/full/tiddlywiki.info | 1 + editions/tw5.com/tiddlywiki.info | 1 + languages/en-PH/Buttons.multids | 13 +++++++++++++ languages/en-PH/ControlPanel.multids | 9 +++++++++ languages/en-PH/CoreReadMe.tid | 8 ++++++++ languages/en-PH/Dates.multids | 5 +++++ languages/en-PH/Docs/ModuleTypes.multids | 3 +++ languages/en-PH/Docs/PaletteColours.multids | 7 +++++++ languages/en-PH/Fields.multids | 4 ++++ languages/en-PH/Filters.multids | 3 +++ languages/en-PH/Import.multids | 3 +++ languages/en-PH/Misc.multids | 15 +++++++++++++++ languages/en-PH/Modals/Download.tid | 13 +++++++++++++ languages/en-PH/NewJournal.multids | 3 +++ languages/en-PH/icon.tid | 21 +++++++++++++++++++++ languages/en-PH/plugin.info | 8 ++++++++ 16 files changed, 117 insertions(+) create mode 100644 languages/en-PH/Buttons.multids create mode 100644 languages/en-PH/ControlPanel.multids create mode 100644 languages/en-PH/CoreReadMe.tid create mode 100644 languages/en-PH/Dates.multids create mode 100644 languages/en-PH/Docs/ModuleTypes.multids create mode 100644 languages/en-PH/Docs/PaletteColours.multids create mode 100644 languages/en-PH/Fields.multids create mode 100644 languages/en-PH/Filters.multids create mode 100644 languages/en-PH/Import.multids create mode 100644 languages/en-PH/Misc.multids create mode 100644 languages/en-PH/Modals/Download.tid create mode 100644 languages/en-PH/NewJournal.multids create mode 100644 languages/en-PH/icon.tid create mode 100644 languages/en-PH/plugin.info diff --git a/editions/full/tiddlywiki.info b/editions/full/tiddlywiki.info index 94f4c88bf..76a6b71b6 100644 --- a/editions/full/tiddlywiki.info +++ b/editions/full/tiddlywiki.info @@ -33,6 +33,7 @@ "de-AT", "de-DE", "el-GR", + "en-PH", "en-US", "es-ES", "fa-IR", diff --git a/editions/tw5.com/tiddlywiki.info b/editions/tw5.com/tiddlywiki.info index 2f3ddade8..7246d75c0 100644 --- a/editions/tw5.com/tiddlywiki.info +++ b/editions/tw5.com/tiddlywiki.info @@ -21,6 +21,7 @@ "tiddlywiki/readonly" ], "languages": [ + "" ], "build": { "index": [ diff --git a/languages/en-PH/Buttons.multids b/languages/en-PH/Buttons.multids new file mode 100644 index 000000000..9a31c9c2c --- /dev/null +++ b/languages/en-PH/Buttons.multids @@ -0,0 +1,13 @@ +title: $:/language/Buttons/ + +Clear/Hint: Clear image to solid color +Excise/Caption: cut out +Excise/Caption/Excise: Cut out +Excise/Caption/Replace: Replace cut out text with: +Excise/Hint: Cut out the selected text into a new tiddler +FullScreen/Hint: Enter or leave fullscreen mode +Paint/Caption: paint color +Paint/Hint: Set painting color +Palette/Hint: Choose the color palette +Stamp/Hint: Insert a pre–configured snippet of text +StoryView/Hint: Choose the story visualization diff --git a/languages/en-PH/ControlPanel.multids b/languages/en-PH/ControlPanel.multids new file mode 100644 index 000000000..febd33753 --- /dev/null +++ b/languages/en-PH/ControlPanel.multids @@ -0,0 +1,9 @@ +title: $:/language/ControlPanel/ + +Appearance/Hint: Ways to customize the appearance of your TiddlyWiki. +Basics/Language/Prompt: Mabuhay! Current language: +LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicized modules lack a source tiddler, typically because they were setup during the boot process. +Palette/Editor/Names/External/Show: Show color names that are not part of the current palette +Settings/Hint: These settings let you customize the behaviour of TiddlyWiki. +TiddlerColour/Caption: Tiddler Color +TiddlerColour/Hint: This rules cascade is used to dynamically choose the color for a tiddler (used for the icon and the associated tag pill). diff --git a/languages/en-PH/CoreReadMe.tid b/languages/en-PH/CoreReadMe.tid new file mode 100644 index 000000000..a0c4d8599 --- /dev/null +++ b/languages/en-PH/CoreReadMe.tid @@ -0,0 +1,8 @@ +title: $:/core/readme + +This plugin contains TiddlyWiki's core components, comprising: + +* JavaScript code modules +* Icons +* Templates needed to create TiddlyWiki's user interface +* Philippine English (''en-PH'') translations of the localize strings used by the core diff --git a/languages/en-PH/Dates.multids b/languages/en-PH/Dates.multids new file mode 100644 index 000000000..622cba75d --- /dev/null +++ b/languages/en-PH/Dates.multids @@ -0,0 +1,5 @@ +title: $:/language/ + +RelativeDate/Future/Days: <> days from today +RelativeDate/Future/Months: <> months from today +RelativeDate/Future/Years: <> years from today diff --git a/languages/en-PH/Docs/ModuleTypes.multids b/languages/en-PH/Docs/ModuleTypes.multids new file mode 100644 index 000000000..548bd5c77 --- /dev/null +++ b/languages/en-PH/Docs/ModuleTypes.multids @@ -0,0 +1,3 @@ +title: $:/language/Docs/ModuleTypes/ + +storyview: Story views customize the animation and behaviour of list widgets. diff --git a/languages/en-PH/Docs/PaletteColours.multids b/languages/en-PH/Docs/PaletteColours.multids new file mode 100644 index 000000000..744dc9bb8 --- /dev/null +++ b/languages/en-PH/Docs/PaletteColours.multids @@ -0,0 +1,7 @@ +title: $:/language/Docs/PaletteColours/ + +pre-background: Pre–formatted code background +pre-border: Pre–formatted code border +testcase-accent-level-1: Test case accent color with no nesting +testcase-accent-level-2: Test case accent color with 2nd level nesting +testcase-accent-level-3: Test case accent color with 3rd level nesting or higher diff --git a/languages/en-PH/Fields.multids b/languages/en-PH/Fields.multids new file mode 100644 index 000000000..ca5f65755 --- /dev/null +++ b/languages/en-PH/Fields.multids @@ -0,0 +1,4 @@ +title: $:/language/Docs/Fields/ + +class: The CSS class applied to a tiddler when rendering it—see [[Custom styles by user-class]]. Also used for [[Modals]] +color: The CSS color value associated with a tiddler diff --git a/languages/en-PH/Filters.multids b/languages/en-PH/Filters.multids new file mode 100644 index 000000000..2e3c1a6c0 --- /dev/null +++ b/languages/en-PH/Filters.multids @@ -0,0 +1,3 @@ +title: $:/language/Filters/ + +TypedTiddlers: Non–wiki-text tiddlers diff --git a/languages/en-PH/Import.multids b/languages/en-PH/Import.multids new file mode 100644 index 000000000..c54e77fba --- /dev/null +++ b/languages/en-PH/Import.multids @@ -0,0 +1,3 @@ +title: $:/language/Import/ + +Listing/Cancel/Warning: Do you want to cancel the import? diff --git a/languages/en-PH/Misc.multids b/languages/en-PH/Misc.multids new file mode 100644 index 000000000..9907c76e3 --- /dev/null +++ b/languages/en-PH/Misc.multids @@ -0,0 +1,15 @@ +title: $:/language/ + +ConfirmAction: Do you confirm you want to continue? +ConfirmCancelTiddler: Do you want to discard the changes to the tiddler "<$text text=<>/>"? +ConfirmDeleteTiddler: Do you want to delete the tiddler "<$text text=<<title>>/>"? +ConfirmDeleteTiddlers: Do you want to delete <<resultCount>> tiddler(s)? +ConfirmOverwriteTiddler: Do you want to overwrite the tiddler "<$text text=<<title>>/>"? +Encryption/ConfirmClearPassword: Do you want to clear the password? This will remove the encryption applied when saving this wiki +Error/NetworkErrorAlert: `<h2>''Network Error''</h2>It looks like the connection to the server has been lost. This may indicate a problem with your network connection. Please restore your network connectivity before continuing.<br><br>''Any unsaved changes will be automatically synchronized when connectivity is restored''.` +Error/ZoominTextNode: Story View Error: It appears that you tried to interact with a tiddler which displays a custom container. This is most likely caused by using `$:/tags/StoryTiddlerTemplateFilter` with a template that contains text or whitespace at the beginning. Please use the pragma `\whitespace trim` and ensure the whole contents of the tiddler is wrapped in a single HTML element. The text that caused this issue: +Manager/Item/Colour: Color +MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>"—click {{||$:/core/ui/Buttons/edit}} to create +RecentChanges/DateFormat: DDD, MMM DD, YYYY +TagManager/Colour/Heading: Color +Tiddler/DateFormat: DDD, MMM DD, YYYY at hh12:0mm am diff --git a/languages/en-PH/Modals/Download.tid b/languages/en-PH/Modals/Download.tid new file mode 100644 index 000000000..3718d5f3c --- /dev/null +++ b/languages/en-PH/Modals/Download.tid @@ -0,0 +1,13 @@ +title: $:/language/Modals/Download +type: +subtitle: Download changes +footer: <$button message="tm-close-tiddler">Close</$button> +help: https://tiddlywiki.com/static/DownloadingChanges.html + +Your browser only supports manual saving. + +To save your modified wiki, right click on the download link below and select "Download file" or "Save file", and then choose the folder and filename. + +//You can marginally speed things up by clicking the link with the control key (Windows) or the options/alt key (Mac OS X). You will not be prompted for the folder or filename, but your browser is likely to give it an unrecognizable name—you may need to rename the file to include the `.html` extension before you can do anything useful with it.// + +On smartphones that do not allow files to be downloaded you can instead bookmark the link, and then sync your bookmarks to a desktop computer from where the wiki can be saved normally. diff --git a/languages/en-PH/NewJournal.multids b/languages/en-PH/NewJournal.multids new file mode 100644 index 000000000..f0db40fd2 --- /dev/null +++ b/languages/en-PH/NewJournal.multids @@ -0,0 +1,3 @@ +title: $:/config/NewJournal/ + +Title: DDD, MMM DD, YYYY diff --git a/languages/en-PH/icon.tid b/languages/en-PH/icon.tid new file mode 100644 index 000000000..c664ed2f0 --- /dev/null +++ b/languages/en-PH/icon.tid @@ -0,0 +1,21 @@ +title: $:/languages/en-PH/icon +type: image/svg+xml + +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1200" height="600" viewBox="-28 -45 180 90" fill="#fcd116"> + <title>Flag of the Philippines + + + + + + + + + + + + + + + + diff --git a/languages/en-PH/plugin.info b/languages/en-PH/plugin.info new file mode 100644 index 000000000..e24a80a78 --- /dev/null +++ b/languages/en-PH/plugin.info @@ -0,0 +1,8 @@ +{ + "title": "$:/languages/en-PH", + "name": "en-PH", + "plugin-type": "language", + "description": "English (PH)", + "author": "JC John Sese Cuneta", + "core-version": ">=5.3.5" +}