mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
Retain attributes in localizable_consts
These attributes (such as doc comments) should be retained.
This commit is contained in:
@@ -194,6 +194,7 @@ macro_rules! localizable_consts {
|
|||||||
)*
|
)*
|
||||||
) => {
|
) => {
|
||||||
$(
|
$(
|
||||||
|
$(#[$attr])*
|
||||||
$vis const $name: $crate::wutil::gettext::LocalizableString =
|
$vis const $name: $crate::wutil::gettext::LocalizableString =
|
||||||
localizable_string!($string);
|
localizable_string!($string);
|
||||||
)*
|
)*
|
||||||
|
|||||||
Reference in New Issue
Block a user