mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[PR #111] [CLOSED] Add language selector #12847
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/111
Author: @Blobadoodle
Created: 4/8/2023
Status: ❌ Closed
Base:
current← Head:add-language-selector📝 Commits (7)
1ff5940add language picker83582ebMerge branch 'wukko:current' into add-language-selector5884771clean up css a bit5fcf80ashow correct language in html tagb092fcdMerge branch 'current' into add-language-selector1c1b4acMerge branch 'current' into add-language-selector859400asmall css changes📊 Changes
7 files changed (+103 additions, -5 deletions)
View changed files
📝
src/front/cobalt.css(+32 -0)📝
src/front/cobalt.js(+31 -1)📝
src/localization/languages/en.json(+2 -0)📝
src/localization/manager.js(+3 -0)📝
src/modules/pageRender/elements.js(+13 -0)📝
src/modules/pageRender/page.js(+8 -3)📝
src/modules/sub/utils.js(+14 -1)📄 Description
this adds a simple language selector, that can be used to override the language sent by the browser, the ui isnt great though.
this also shows the correct language tag in the built html file
this should resolve #110 and resolve #93
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.