feat(pl): add full Polish localization structure and basics content#108
Open
grand151 wants to merge 9 commits into
Open
feat(pl): add full Polish localization structure and basics content#108grand151 wants to merge 9 commits into
grand151 wants to merge 9 commits into
Conversation
Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e13c9d82-551e-42de-8217-3a0bec8a834a Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…straction, tool registry, chat domain and UI Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e13c9d82-551e-42de-8217-3a0bec8a834a Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…t all AI screen strings to resources Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e13c9d82-551e-42de-8217-3a0bec8a834a Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR introduces the initial Polish (pl) localization scaffolding by moving several previously hardcoded UI strings to Compose Multiplatform string resources, adding Polish translations, and adding a Polish basics content folder under assets/.
Changes:
- Replace multiple hardcoded UI strings with
stringResource(...)calls backed bycomposeResourcesstring keys. - Add default (
values/strings.xml) and Polish (values-pl/strings.xml) Compose Multiplatform string resource files, plus Androidvalues-plresources for app-level localization. - Add initial Polish basics markdown content under
assets/basics-pl/.
Reviewed changes
Copilot reviewed 42 out of 42 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/search/SearchScreen.kt | Localize “command not found” empty-state message. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/Dialogs.kt | Localize multiple labels/content descriptions in the app info dialog. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/commands/CommandsPaneScreen.kt | Localize “Search” placeholder and “Select a command” empty detail placeholder. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/commandlist/CommandListScreen.kt | Localize bookmark icon contentDescription. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/commanddetail/CommandDetailPane.kt | Localize expand/collapse and bookmark toggle contentDescriptions. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/screens/basics/BasicsPaneScreen.kt | Localize “Search” placeholder and “Select a category” empty detail placeholder. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/ui/composables/PaneTopBar.kt | Localize back button contentDescription. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/nav/TopLevelDestination.kt | Switch top-level tab labels to StringResource for localization. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/LinuxNavigationSuite.kt | Render localized top-level destination labels via stringResource. |
| composeApp/src/commonMain/kotlin/com/linuxcommandlibrary/app/LinuxNavGraph.kt | Localize Tips tab title and Info icon contentDescription. |
| composeApp/src/commonMain/composeResources/values/strings.xml | Add default (en) Compose Multiplatform string resources. |
| composeApp/src/commonMain/composeResources/values-pl/strings.xml | Add Polish Compose Multiplatform string resources. |
| assets/basics-pl/systeminformation.md | Add Polish basics content (system information). |
| assets/basics-pl/network.md | Add Polish basics content (network). |
| assets/basics-pl/filesfolders.md | Add Polish basics content (files/folders). |
| assets/basics-pl/index.txt | Add basics-pl index listing category markdown files. |
| android/src/main/res/values-pl/strings.xml | Add Polish Android string resources (app-level strings). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+31
to
33
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.command_not_found | ||
| import com.linuxcommandlibrary.app.ui.composables.HighlightedText |
Comment on lines
+27
to
30
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.search | ||
| import com.linuxcommandlibrary.app.resources.select_a_command | ||
| import com.linuxcommandlibrary.app.ui.composables.InlineSearchField |
Comment on lines
+21
to
23
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.bookmarked | ||
| import com.linuxcommandlibrary.app.ui.composables.AppIcon |
Comment on lines
+17
to
22
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.add_bookmark | ||
| import com.linuxcommandlibrary.app.resources.collapse_all | ||
| import com.linuxcommandlibrary.app.resources.expand_all | ||
| import com.linuxcommandlibrary.app.resources.remove_bookmark | ||
| import com.linuxcommandlibrary.app.ui.composables.AppIcon |
Comment on lines
+30
to
33
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.search | ||
| import com.linuxcommandlibrary.app.resources.select_a_category | ||
| import com.linuxcommandlibrary.app.ui.composables.InlineSearchField |
Comment on lines
39
to
+44
| import com.linuxcommandlibrary.app.resources.Res | ||
| import com.linuxcommandlibrary.app.resources.acknowledgements | ||
| import com.linuxcommandlibrary.app.resources.af_linode | ||
| import com.linuxcommandlibrary.app.resources.af_proton | ||
| import com.linuxcommandlibrary.app.resources.app_logo | ||
| import com.linuxcommandlibrary.app.resources.icons_thanks |
Comment on lines
+44
to
+50
| import com.linuxcommandlibrary.app.resources.icons_thanks | ||
| import com.linuxcommandlibrary.app.resources.linode_content_description | ||
| import com.linuxcommandlibrary.app.resources.man_pages | ||
| import com.linuxcommandlibrary.app.resources.man_pages_licence | ||
| import com.linuxcommandlibrary.app.resources.proton_content_description | ||
| import com.linuxcommandlibrary.app.resources.rate_the_app | ||
| import com.linuxcommandlibrary.app.resources.referral_links_description |
Comment on lines
+49
to
+55
| import com.linuxcommandlibrary.app.resources.rate_the_app | ||
| import com.linuxcommandlibrary.app.resources.referral_links_description | ||
| import com.linuxcommandlibrary.app.resources.sponsor_on_github | ||
| import com.linuxcommandlibrary.app.resources.support_this_project | ||
| import com.linuxcommandlibrary.app.resources.tldr_licence | ||
| import com.linuxcommandlibrary.app.resources.tldr_pages | ||
| import com.linuxcommandlibrary.app.resources.version_format |
Comment on lines
87
to
+93
| Text( | ||
| "Linux Command Library", | ||
| style = MaterialTheme.typography.titleLarge, | ||
| fontWeight = FontWeight.Bold, | ||
| ) | ||
| Text( | ||
| "Version ${Version.APP_VERSION}", | ||
| stringResource(Res.string.version_format, Version.APP_VERSION), |
Comment on lines
+1
to
+28
| aitools.md | ||
| compressionarchiving.md | ||
| cryptocurrencies.md | ||
| emacstexteditor.md | ||
| filesfolders.md | ||
| git.md | ||
| hackingtools.md | ||
| input.md | ||
| json.md | ||
| microtexteditor.md | ||
| nanotexteditor.md | ||
| network.md | ||
| oneliners.md | ||
| packagemanager.md | ||
| picotexteditor.md | ||
| printing.md | ||
| regularexpressions.md | ||
| searchfind.md | ||
| shellscripting.md | ||
| ssh.md | ||
| systemcontrol.md | ||
| systeminformation.md | ||
| terminalgames.md | ||
| textprocessing.md | ||
| tmux.md | ||
| usersgroups.md | ||
| videoaudio.md | ||
| vimtexteditor.md |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
… localization, API correctness Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e0005cd7-b9db-4fad-91b7-d2a102f34bf4 Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…hread safety, make streamMessage suspend Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e0005cd7-b9db-4fad-91b7-d2a102f34bf4 Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…w-up requests are valid Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/d47d67b2-fe54-41d5-8f9f-8066ab949501 Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…sage Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/573167e9-98fd-4112-8a35-a8e6bffc5043 Co-authored-by: grand151 <86811297+grand151@users.noreply.github.com>
…i/screens/aichat/AiSettingsScreen.kt Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Agent-Logs-Url: https://github.com/grand151/LinuxCommandLibrary/sessions/e13c9d82-551e-42de-8217-3a0bec8a834a