Update v2.3.5 array format - #16
Open
Kanonimpresor wants to merge 22 commits into
Open
Conversation
Pack de arquivo contém os ficheiros (codificação utf-8) em Português de Portugal para a versão v2.3.3 do sistema de gestão de conteúdo e107
Reescrita dos 21 ficheiros de e107_docs/help/Portuguese/ usando os novos marcadores introduzidos pelo PR upstream e107inc/e107#5596: H1> / H2> - cabecalhos (com ancoras automaticas, geram TOC) P> - paragrafo principal NOTE>/TIP>/WARN> - callouts Bootstrap com icones FA SHOT> - capturas de ecra (resolve contra e107_docs/help/_media/) IMG> - figuras genericas STEP> - passos numerados (ol.docs-steps) CODE> - blocos de codigo Compatibilidade total com o formato legacy Q>/A>: instalacoes e107 2.3.x renderizam os novos marcadores como paragrafos planos + BBCode. README atualizado para v2.4.0 (revisao 2.0, 2026-04-25).
Overwrites all legacy define() language files with the new return [...] array format introduced in e107 v2.4. This enables automatic English fallback for missing keys via e107_handlers/e107_class.php::includeLanArray(). Baseline for v2.3.5 translation updates.
- e107_plugins/rss_menu/languages/Portuguese_global.php - e107_plugins/tagcloud/languages/Portuguese/Portuguese_global.php - e107_plugins/user/languages/Portuguese_global.php
Adds 228 keys across 7 files synchronized with e107 v2.3.5 English sources: - admin/lan_prefs.php: PRFLAN_288/289 (Trusted hosts) - lan_email.php: PAGE_NAME - lan_fpw.php: LAN_FPW_MISCONFIGURED - lan_print.php: LAN_PRINT_PAGE_NAME - lan_user.php: USER_ERR_01..23 (23 form validation messages) - download/Portuguese_front.php: LAN_dl_80 - forum/Portuguese_front.php: 199 keys (LAN_FORUM_*, POLL_*, FORLAN_*, etc.)
Normalizes literal '\\n' escape sequences in 3 files to match English exactly: - admin/lan_prefs.php (PRFLAN_281) - admin/lan_users.php (USRLAN_139) - lan_ren_help.php (LANHELP_23..30, LANHELP_53)
Removes 14 files that have no English counterpart in e107 v2.3.5 core: - admin/help/meta.php (page removed) - clock_menu/ (plugin removed) - log/ (plugin removed) - metaweblog/ (plugin removed) - tagwords/ (plugin removed) - trackback/ (plugin removed) - pm/Portuguese_admin_pm.php (renamed to Portuguese_admin.php, already present)
Provides Portuguese translations (pt-PT, informal register) for ~37 keys still in English, and removes stray English.php from newforumposts_main. Affected files: - admin/lan_admin.php (LAN_HISTORY) - admin/lan_admin_log.php (RL_LAN_093, RL_LAN_136) - admin/lan_banlist.php (BANLAN_126) - admin/lan_db_verify.php (DBVLAN_27, DBVLAN_28) - admin/lan_image.php (IMALAN_191, 192, 193) - admin/lan_log_messages.php (LAN_AUDIT_LOG_025, LAN_AL_DOWNL_01..14) - admin/lan_plugin.php (EPL_ADLAN_96) - admin/lan_prefs.php (PRFLAN_135, 154a, 196a, 199) - lan_fpw.php (LAN_218) - lan_installer.php (LANINS_005) - lan_search.php (LAN_197, LAN_SEARCH_65) - lan_signup.php (LAN_108, LAN_185, LAN_407) - download/Portuguese_admin.php (DOWLAN_32) - rss_menu/Portuguese_admin_rss_menu.php (RSS_DL) - newforumposts_main/English.php — removed (stray EN copy in PT fork) Loanwords (Online, Email, Status, Website, Media, Item, etc.) are intentionally left as-is following common pt-PT technical usage.
Replaces Portuguese P>/R> (Pergunta/Resposta) with the canonical Q>/A> tags expected by e107's help system. Also normalises the separator from space to tab, matching e107_docs/help/English/ format. Affects all 21 files in e107_docs/help/Portuguese/.
- Updates the GPL header block in all 108 PHP language files under e107_languages/Portuguese/ to a consistent format (KANONimpresor 2026). - Fixes a syntax error in lan_userposts.php (stray semicolon after 'Pesquisa' entry). - Rewrites README.md to reflect the actual v2.3.5 scope: return[] migration, 228 new keys, removal of 14 obsolete files, encoding fixes, Q>/A> help tags and audit results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.