Closed jo-elimu closed 3 months ago
The update primarily focuses on changing the language configuration from "Filipino" (FIL) to "Tagalog" (TGL) throughout various components of the application. This includes modifications to property files, JSP files, CSS styling, and test cases to ensure consistency in language support and conditional logic.
File Path | Change Summary |
---|---|
.../i18n/messages_en.properties |
Updated language keys and modified supported languages description. |
.../jsp/content/word/create.jsp |
Changed conditional logic from 'FIL' to 'TGL'. |
.../jsp/content/word/edit.jsp |
Updated language comparison from 'FIL' to 'TGL'. |
.../jsp/contributions/publish.jsp |
Replaced "Filipino" with "Tagalog" in the supported languages list. |
.../static/css/styles.css |
Changed background image for Tagalog based on content language. |
.../EPubChapterExtractionHelperTest.java |
Updated test to load a different resource file for 'TGL'. |
.../EPubImageExtractionHelperTest.java |
Renamed test methods and updated resource paths for 'TGL'. |
.../EPubMetadataExtractionHelperTest.java |
Modified test method names and resource paths for 'TGL'. |
.../EPubParagraphExtractionHelperTest.java |
Changed test method names and file paths for 'TGL'. |
No sequence diagrams required due to the nature of the changes.
src/test/java/ai/elimu/util/epub/EPubImageExtractionHelperTest.java (1)
`53-55`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL".src/test/java/ai/elimu/util/epub/EPubChapterExtractionHelperTest.java (1)
`45-45`: **LGTM!** The resource path has been correctly updated to use the new language code "TGL".src/test/java/ai/elimu/util/epub/EPubMetadataExtractionHelperTest.java (5)
`34-36`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `48-50`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `62-64`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `102-104`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `91-91`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "BEN".src/test/java/ai/elimu/util/epub/EPubParagraphExtractionHelperTest.java (3)
`130-132`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `145-147`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL". --- `159-161`: **LGTM!** The method name and resource path have been correctly updated to use the new language code "TGL".src/main/webapp/WEB-INF/jsp/content/word/create.jsp (1)
Line range hint `175-189`: **LGTM!** The change correctly updates the language configuration from "Filipino" (FIL) to "Tagalog" (TGL).src/main/webapp/WEB-INF/jsp/content/word/edit.jsp (1)
Line range hint `366-380`: **LGTM!** The change correctly updates the language configuration from "Filipino" (FIL) to "Tagalog" (TGL).
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 15.26%. Comparing base (
40717de
) to head (bb377b2
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
closes #1730