Yii2 Messages: What does @@ mean?
In short: such entries represent localizations for obsolete keys.
Quite simple: on startup,
all of your application files are scanned. The newly found keys will be added to the localization files. However, deleted keys will be marked with an icon
. Thus, such lines will not be removed, rather they will be marked. Just to make sure the translation work (which might be extensive) is not removed.
If you find such a flagged entry in the localization file, you will also find other occurrences in other localization files for that key - if there are further translations.
Regarding the example: This means the application code does not contain
Yii::t('app', 'Edit color')
Actually, if you are using
, this information is also part of the comment in the generated / updated localization file ...
source to share