Simran fca485bd69 Fix plural handling for translations (#1424)
* .arg() doesn't handle plurals, replace %1 with %n and pass number to tr(), but only if there is an accompanying word for that we want singular/plural translations and only for whole numbers.

* Qt's translation methods only accept integers and we don't know what grammatical number form would be correct for floating-point numbers in different languages anyway.

* Add optional 2nd argument to SliderBase::SetFormat() to activate deferred plural handling:
  SetFormat(QT_TRANSLATE_N_NOOP("olive::SliderBase", "%n unit(s)"), true)

* Generate en_US.ts with lupdate's -pluralonly option. Only source strings that require plural handling need to be translated (as long as the source language is American English).
2021-04-13 00:58:46 +02:00
2021-04-11 12:13:26 +10:00
2021-04-05 13:33:21 +10:00
2019-03-04 09:55:17 -08:00
2020-11-05 10:18:53 +01:00
2018-07-24 00:46:18 +01:00
2020-11-15 00:59:33 +11:00

Olive Video Editor Build status

Olive is a free non-linear video editor for Windows, macOS, and Linux.

screen

Discover more: Website | Binaries | Patreon | Twitter | Wiki | Community Discord (Unofficial)

NOTE: Olive is alpha software and is considered highly unstable. While we highly appreciate users testing and providing usage information, please use at your own risk.

Binaries

Nightly binaries are available on the website.

Support Olive:

Please consider supporting Olive:

Become a Patron

Compiling from Source:

Compiling instructions for Windows, macOS, and Linux can be found on the main site.

S
Description
No description provided
Readme GPL-3.0
73 MiB
Languages
C++ 87.8%
C 8.2%
CMake 3.3%
GLSL 0.5%