From 177eecf9eef8ecd0f96600659b034ed94e085688 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 15 Aug 2021 16:04:27 +0100 Subject: [PATCH] [ci skip] changelog: mention recent translation changes --- changelogs/4.0-snapshot.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index 29d3bb32a..8fa02fb84 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -713,6 +713,10 @@ However, if we add `src-namespace-prefix: pmmp\TesterPlugin` to the `plugin.yml` - The following classes have been renamed: - `BaseLang` -> `Language` - `LanguageNotFoundException` has been added. This is thrown when trying to construct a `Language` which doesn't exist in the server files. +- `TranslationContainer` no longer discards keys for translation parameters. Previously, only the insertion order was considered. +- `TranslationContainer` now supports string keys for translation parameters. +- `TranslationContainer` now supports providing other `TranslationContainers` as translation parameters. +- `Language->translateString()` now supports providing `TranslationContainers` as translation parameters. ### Network