Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations update from Hosted Weblate #13375

Merged
merged 8 commits into from
Dec 23, 2024
Merged

Translations update from Hosted Weblate #13375

merged 8 commits into from
Dec 23, 2024

Conversation

weblate
Copy link
Member

@weblate weblate commented Dec 22, 2024

Translations update from Hosted Weblate for Weblate/Application.

It also includes following components:

Current translation status:

Weblate translation status

@weblate weblate enabled auto-merge (rebase) December 22, 2024 21:22
Copy link

codecov bot commented Dec 22, 2024

❌ 19 Tests Failed:

Tests completed Failed Passed Skipped
5475 19 5456 176
View the top 3 failed tests by shortest run time
weblate.machinery.tests.AzureOpenAITranslationTest::test_english_map
Stack Traces | 0.003s run time
self = <weblate.machinery.tests.AzureOpenAITranslationTest testMethod=test_english_map>

    def test_english_map(self) -> None:
>       machine = self.get_machine()

weblate/machinery/tests.py:285: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
weblate/machinery/tests.py:272: in get_machine
    machine = self.MACHINE_CLS(self.CONFIGURATION)
weblate/machinery/openai.py:303: in __init__
    self.client = AzureOpenAI(
.venv/lib/python3.11.../openai/lib/azure.py:207: in __init__
    super().__init__(
.venv/lib/python3.11.../site-packages/openai/_client.py:122: in __init__
    super().__init__(
.venv/lib/python3.11....../site-packages/openai/_base_client.py:825: in __init__
    self._client = http_client or SyncHttpxClientWrapper(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openai._base_client.SyncHttpxClientWrapper object at 0x7f1d1d9dcdd0>
kwargs = {'base_url': 'https://my-instance.openai.azure..../openai/deployments/my-deployment', 'follow_redirects': True, 'limits': Limits(max_connections=1000, max_keepalive_connections=100, keepalive_expiry=5.0), 'proxies': None, ...}

    def __init__(self, **kwargs: Any) -> None:
        kwargs.setdefault("timeout", DEFAULT_TIMEOUT)
        kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS)
        kwargs.setdefault("follow_redirects", True)
>       super().__init__(**kwargs)
E       TypeError: Client.__init__() got an unexpected keyword argument 'proxies'

.venv/lib/python3.11....../site-packages/openai/_base_client.py:723: TypeError
weblate.machinery.tests.OpenAICustomTranslationTest::test_english_map
Stack Traces | 0.003s run time
self = <weblate.machinery.tests.OpenAICustomTranslationTest testMethod=test_english_map>

    def test_english_map(self) -> None:
>       machine = self.get_machine()

weblate/machinery/tests.py:285: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
weblate/machinery/tests.py:272: in get_machine
    machine = self.MACHINE_CLS(self.CONFIGURATION)
weblate/machinery/openai.py:262: in __init__
    self.client = OpenAI(
.venv/lib/python3.11.../site-packages/openai/_client.py:122: in __init__
    super().__init__(
.venv/lib/python3.11....../site-packages/openai/_base_client.py:825: in __init__
    self._client = http_client or SyncHttpxClientWrapper(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openai._base_client.SyncHttpxClientWrapper object at 0x7f1d1c7fb110>
kwargs = {'base_url': 'https://custom.example.com/', 'follow_redirects': True, 'limits': Limits(max_connections=1000, max_keepalive_connections=100, keepalive_expiry=5.0), 'proxies': None, ...}

    def __init__(self, **kwargs: Any) -> None:
        kwargs.setdefault("timeout", DEFAULT_TIMEOUT)
        kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS)
        kwargs.setdefault("follow_redirects", True)
>       super().__init__(**kwargs)
E       TypeError: Client.__init__() got an unexpected keyword argument 'proxies'

.venv/lib/python3.11....../site-packages/openai/_base_client.py:723: TypeError
weblate.machinery.tests.OpenAITranslationTest::test_english_map
Stack Traces | 0.003s run time
self = <weblate.machinery.tests.OpenAITranslationTest testMethod=test_english_map>

    def test_english_map(self) -> None:
>       machine = self.get_machine()

weblate/machinery/tests.py:285: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
weblate/machinery/tests.py:272: in get_machine
    machine = self.MACHINE_CLS(self.CONFIGURATION)
weblate/machinery/openai.py:262: in __init__
    self.client = OpenAI(
.venv/lib/python3.11.../site-packages/openai/_client.py:122: in __init__
    super().__init__(
.venv/lib/python3.11....../site-packages/openai/_base_client.py:825: in __init__
    self._client = http_client or SyncHttpxClientWrapper(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <openai._base_client.SyncHttpxClientWrapper object at 0x7f1d1f8a1e10>
kwargs = {'base_url': 'https://api.openai.com/v1', 'follow_redirects': True, 'limits': Limits(max_connections=1000, max_keepalive_connections=100, keepalive_expiry=5.0), 'proxies': None, ...}

    def __init__(self, **kwargs: Any) -> None:
        kwargs.setdefault("timeout", DEFAULT_TIMEOUT)
        kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS)
        kwargs.setdefault("follow_redirects", True)
>       super().__init__(**kwargs)
E       TypeError: Client.__init__() got an unexpected keyword argument 'proxies'

.venv/lib/python3.11....../site-packages/openai/_base_client.py:723: TypeError

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

qtm and others added 8 commits December 23, 2024 08:12
Currently translated at 99.5% (3275 of 3291 strings)

Translation: Weblate/Application
Translate-URL: https://hosted.weblate.org/projects/weblate/application/ru/
Currently translated at 100.0% (63 of 63 strings)

Translation: Weblate/Application: Javascript
Translate-URL: https://hosted.weblate.org/projects/weblate/javascript/sl/
Currently translated at 88.1% (8785 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/ru/
Currently translated at 98.5% (9819 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/pt_BR/
Currently translated at 98.5% (9819 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/pt_BR/
Currently translated at 98.5% (9819 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/pt_BR/
Currently translated at 99.2% (9893 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/pt_BR/
Currently translated at 100.0% (9965 of 9965 strings)

Translation: Weblate/Documentation
Translate-URL: https://hosted.weblate.org/projects/weblate/documentation/zh_Hans/
@nijel nijel merged commit 272732c into main Dec 23, 2024
21 of 24 checks passed
@nijel nijel deleted the weblate branch December 23, 2024 07:12
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.

5 participants