Project

General

Profile

Actions

Feature #2763

open

Add translations to all exceptions

Added by Gregory Magarshak over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Qbix Maintenance
Start date:
12/12/2022
Due date:
03/21/2023 (over 2 years late)
% Done:

0%

Estimated time:
4.00 h

Description

You can find PHP exceptions in files with names of the form

platform/classes/Q/Exception/$Name.php
platform/plugins/$pluginName/classes/$pluginName/Exception/$Name.php
$app/classes/$app/Exception/$Name.php

And their text translations can be found here:

platform/text/Q/exceptions/en.json
platform/plugins/$pluginName/exceptions/en.jsonplatform/p
$app/classes/$app/Exception/$Name.php

Your job is to copypaste the text from the PHP files into the text file.

Then you're supposed to run scripts/translate.php --plugins on one of the apps, to translate them to the other languages. Then prepare a Pull Request with these.

Do the same with our proprietary plugins, such as Calendars, Communities, Media and Travel. But there, you'll create a branch in Mercurial and push.

If you need access to the Mercurial repos, let us know.

For bonus points: Make sure the HTTP return codes on the Exceptions make sense. Look up https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

Actions #1

Updated by Gregory Magarshak over 2 years ago

  • Due date changed from 01/08/2023 to 03/21/2023
  • Category set to Qbix Maintenance
  • Estimated time set to 4.00 h
Actions

Also available in: Atom PDF