Skip to content

Conversation

@weblate
Copy link
Member

@weblate weblate commented Nov 25, 2025

Translations update from Hosted Weblate for Weblate/Application.

Current translation status:

Weblate translation status

@weblate weblate enabled auto-merge (rebase) November 25, 2025 14:54
@weblate weblate force-pushed the weblate branch 2 times, most recently from f099910 to ed5b8e4 Compare November 25, 2025 15:43
Daniel Nylander and others added 8 commits November 25, 2025 16:28
Currently translated at 100.0% (65 of 65 strings)

Translation: Weblate/Application: Javascript
Translate-URL: https://hosted.weblate.org/projects/weblate/javascript/sv/
Currently translated at 1.6% (162 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/az/
Currently translated at 4.6% (452 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/vi/
Currently translated at 13.0% (1263 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/ko/
Currently translated at 53.7% (5192 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/es/
Currently translated at 99.0% (9564 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/de/
Currently translated at 93.3% (3260 of 3494 strings)

Translation: Weblate/Application
Translate-URL: https://hosted.weblate.org/projects/weblate/application/ko/
Currently translated at 13.0% (1259 of 9660 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/ko/
@weblate weblate merged commit 6e32d6e into main Nov 25, 2025
54 of 55 checks passed
@weblate weblate deleted the weblate branch November 25, 2025 17:27
@codecov
Copy link

codecov bot commented Nov 25, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
5258 2 5256 569
View the top 1 failed test(s) by shortest run time
weblate.formats.tests.test_formats.LaravelPhpFormatTest::test_find
Stack Traces | 0.142s run time
self = <weblate.formats.ttkit.LaravelPhpFormat object at 0x7f726620e7b0>
context = "return[]->'apples'", source = "return[]->'apples'"

    def _find_unit_monolingual(
        self, context: str, source: str
    ) -> tuple[TranslationUnit, bool]:
        # We search by ID when using template
        id_hash = self._calculate_string_hash(context, source)
        try:
>           result = self._unit_index[id_hash]
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
E           KeyError: -3884641218248778629

weblate/formats/base.py:462: KeyError

The above exception was the direct cause of the following exception:

self = <weblate.formats.tests.test_formats.LaravelPhpFormatTest testMethod=test_find>

    def test_find(self) -> None:
        storage = self.parse_file(self.FILE)
>       unit, add = storage.find_unit(self.FIND_CONTEXT, self.FIND)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.../formats/tests/test_formats.py:290: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
weblate/formats/base.py:500: in find_unit
    return self._find_unit_monolingual(context, source)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <weblate.formats.ttkit.LaravelPhpFormat object at 0x7f726620e7b0>
context = "return[]->'apples'", source = "return[]->'apples'"

    def _find_unit_monolingual(
        self, context: str, source: str
    ) -> tuple[TranslationUnit, bool]:
        # We search by ID when using template
        id_hash = self._calculate_string_hash(context, source)
        try:
            result = self._unit_index[id_hash]
        except KeyError as error:
>           raise UnitNotFoundError(context, source) from error
E           weblate.formats.base.UnitNotFoundError: Unit not found: return[]->'apples', return[]->'apples'

weblate/formats/base.py:464: UnitNotFoundError
View the full list of 1 ❄️ flaky test(s)
weblate.formats.tests.test_formats.LaravelPhpFormatTest::test_new_unit

Flake rate in main: 50.00% (Passed 1 times, Failed 1 times)

Stack Traces | 0.153s run time
self = <weblate.formats.tests.test_formats.LaravelPhpFormatTest testMethod=test_new_unit>

    def test_new_unit(self) -> None:
        if not self.format_class.can_add_unit:
            self.skipTest("Not supported")
        # Read test content
        testdata = Path(self.FILE).read_bytes()
    
        # Create test file
        testfile = os.path.join(self.tempdir, f"test.{self.EXT}")
    
        # Write test data to file
        Path(testfile).write_bytes(testdata)
    
        # Parse test file
        storage = self.parse_file(testfile, template=testfile)
        if self.MONOLINGUAL:
            # Add to template for monolingual (it is the same file, just different object)
            storage = storage.template_store
    
        # Add new unit
        storage.new_unit(self.NEW_UNIT_KEY, "Source string")
        storage.save()
    
        # Read new content
        newdata = Path(testfile).read_bytes()
    
        # Check if content matches
        if isinstance(self.NEW_UNIT_MATCH, tuple):
            for match in self.NEW_UNIT_MATCH:
                self.assertIn(match, newdata)
        else:
>           self.assertIn(self.NEW_UNIT_MATCH, newdata)
E           AssertionError: b"\n$LANG['key'] = 'Source string';\n" not found in b"<?php\nreturn [\n    'welcome' => 'Welcome to our application',\n    'apples' => 'There is one apple|There are many apples',\n    '$LANG[\\'key\\']' => 'Source string',\n];\n"

.../formats/tests/test_formats.py:358: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@nijel nijel added this to the 5.15 milestone Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants