Replace single quotes with double quotes

This commit is contained in:
filoghost 2021-08-13 07:51:51 +02:00
parent 3c10663c41
commit 2d0969e171
8 changed files with 11 additions and 11 deletions

View File

@ -71,7 +71,7 @@ public class CreateCommand extends HologramSubCommand {
hologramEditor.saveChanges(hologram, ChangeType.CREATE);
hologramEditor.teleportLookingDown(player, player.getLocation());
player.sendMessage(ColorScheme.PRIMARY + "You created a hologram named '" + hologram.getName() + "'.");
player.sendMessage(ColorScheme.PRIMARY + "You created a hologram named \"" + hologram.getName() + "\".");
if (moveUp) {
player.sendMessage(ColorScheme.SECONDARY_DARKER + "(You were on the ground,"

View File

@ -34,7 +34,7 @@ public class DeleteCommand extends HologramSubCommand {
hologramEditor.delete(hologram);
hologramEditor.saveChanges(hologram, ChangeType.DELETE);
sender.sendMessage(ColorScheme.PRIMARY + "You deleted the hologram '" + hologram.getName() + "'.");
sender.sendMessage(ColorScheme.PRIMARY + "You deleted the hologram \"" + hologram.getName() + "\".");
}
}

View File

@ -44,7 +44,7 @@ public class EditCommand extends HologramSubCommand {
InternalHologram hologram = hologramEditor.getExistingHologram(args[0]);
sender.sendMessage("");
DisplayFormat.sendTitle(sender, "How to edit the hologram '" + hologram.getName() + "'");
DisplayFormat.sendTitle(sender, "How to edit the hologram \"" + hologram.getName() + "\"");
for (HologramSubCommand subCommand : commandManager.getSubCommands()) {
if (subCommand instanceof LineEditingCommand) {
String usage = subCommand.getFullUsageText(context).replace("<hologram>", hologram.getName());

View File

@ -35,7 +35,7 @@ public class InfoCommand extends LineEditingCommand implements QuickEditCommand
InternalHologram hologram = hologramEditor.getExistingHologram(args[0]);
sender.sendMessage("");
DisplayFormat.sendTitle(sender, "Lines of the hologram '" + hologram.getName() + "'");
DisplayFormat.sendTitle(sender, "Lines of the hologram \"" + hologram.getName() + "\"");
int index = 0;
for (InternalHologramLine line : hologram.getLines()) {

View File

@ -38,7 +38,7 @@ public class MovehereCommand extends HologramSubCommand {
hologramEditor.saveChanges(hologram, ChangeType.EDIT_POSITION);
hologramEditor.teleportLookingDown(player, player.getLocation());
player.sendMessage(ColorScheme.PRIMARY + "You moved the hologram '" + hologram.getName() + "' near to you.");
player.sendMessage(ColorScheme.PRIMARY + "You moved the hologram \"" + hologram.getName() + "\" near to you.");
}
}

View File

@ -53,11 +53,11 @@ public class ReadimageCommand extends LineEditingCommand {
"2) Do not use spaces in the name",
"3) Do " + getFullUsageText(context),
"4) Choose <width> to automatically resize the image",
"5) (Optional) Use the flag '-a' if you only want to append",
"5) (Optional) Use the flag \"-a\" if you only want to append",
" the image to the hologram without clearing the lines",
"",
"Example: you have an image named 'logo.png', you want to append",
"it to the lines of the hologram named 'test', with a width of",
"Example: you have an image named \"logo.png\", you want to append",
"it to the lines of the hologram named \"test\", with a width of",
"50 pixels. In this case you would execute the following command:",
ChatColor.YELLOW + "/" + context.getRootLabel() + " " + getName() + " test logo.png 50 -a",
"",

View File

@ -48,8 +48,8 @@ public class ReadtextCommand extends LineEditingCommand {
"3) Each line will be a line in the hologram",
"4) Do " + getFullUsageText(context),
"",
"Example: you have a file named 'info.txt', and you want",
"to paste it in the hologram named 'test'. In this case you",
"Example: you have a file named \"info.txt\", and you want",
"to paste it in the hologram named \"test\". In this case you",
"would execute " + ChatColor.YELLOW + "/" + context.getRootLabel() + " " + getName() + " test info.txt");
}

View File

@ -35,7 +35,7 @@ public class TeleportCommand extends HologramSubCommand {
InternalHologram hologram = hologramEditor.getExistingHologram(args[0]);
hologramEditor.teleportLookingDown(player, hologram.getBasePosition().toLocation());
player.sendMessage(ColorScheme.PRIMARY + "You were teleported to the hologram named '" + hologram.getName() + "'.");
player.sendMessage(ColorScheme.PRIMARY + "You were teleported to the hologram named \"" + hologram.getName() + "\".");
}
}