Skip to content

Commit

Permalink
better feedback for /replaceproperties
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-1F committed Jun 9, 2022
1 parent 5c6b77f commit 0435970
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,15 @@ private int execute(
}
}
}
Messenger.tell(source, tr("done", propertyName, value, count));
Messenger.tell(
source,
tr(
"done",
Messenger.s(propertyName, "l"),
Messenger.s(value, "m"),
count
)
);
return 1;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ ivancarpetaddition:
unknown: Unknown

replaceproperties:
done: Modified property §a%1$s§r to §d%2$s§r for %3$s blocks
done: Modified property %1$s to %2$s for %3$s blocks
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ivancarpetaddition:
trading: 交易
unknown: 未知
replaceproperties:
done: 已将 %3$s 个方块的属性 §a%1$s§r 设置为 §d%2$s§r
done: 已将%3$s个方块的属性%1$s设置为%2$s

# ------------------------------------------------------
# Translation below will be passed to fabric carpet
Expand Down

0 comments on commit 0435970

Please sign in to comment.