Create more action_*
common strings (#11438)
This commit is contained in:
parent
e79b03a2df
commit
d5cacff6c3
202 changed files with 2046 additions and 2105 deletions
|
@ -150,7 +150,7 @@ const AppRow: React.FC<IAppRowProps> = ({ app, room }) => {
|
|||
if (cannotPin) {
|
||||
pinTitle = _t("You can only pin up to %(count)s widgets", { count: MAX_PINNED });
|
||||
} else {
|
||||
pinTitle = isPinned ? _t("Unpin") : _t("Pin");
|
||||
pinTitle = isPinned ? _t("action|unpin") : _t("action|pin");
|
||||
}
|
||||
|
||||
const isMaximised = WidgetLayoutStore.instance.isInContainer(room, app, Container.Center);
|
||||
|
@ -162,7 +162,7 @@ const AppRow: React.FC<IAppRowProps> = ({ app, room }) => {
|
|||
WidgetLayoutStore.instance.moveToContainer(room, app, Container.Center);
|
||||
};
|
||||
|
||||
const maximiseTitle = isMaximised ? _t("Close") : _t("Maximise");
|
||||
const maximiseTitle = isMaximised ? _t("action|close") : _t("Maximise");
|
||||
|
||||
let openTitle = "";
|
||||
if (isPinned) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue