Skip to content

Commit 29393ab

Browse files
committed
fix: change x position and fix translate
1 parent 6c22a67 commit 29393ab

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/zadudoder/qrscanner/AcceptScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void render(DrawContext context, int mouseX, int mouseY, float delta) {
4848
context.drawCenteredTextWithShadow(
4949
this.textRenderer,
5050
Text.of("§e" + url),
51-
this.width / 2 - 150,
51+
this.width / 2,
5252
this.height / 2 - 10,
5353
300
5454
);

src/main/resources/assets/qrscanner/lang/en_us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
"text.FailedOpenLink": "[QR Scanner]: §cFailed to open link",
1010
"text.FailedTakeScreenshot": "[QR Scanner]: §cFailed to capture screenshot",
11-
"text.foundLink": "[QR Scanner]: §aLink found: §e%s",
11+
"text.foundLink": "[QR Scanner]: §aLink found: %s",
1212
"text.QRCodeNotFound": "[QR Scanner]: §cQR code not found",
1313
"text.error": "[QR Scanner]: §cError: %s",
1414
"text.qrscanner.hover_tip": "§eClick to open link"

src/main/resources/assets/qrscanner/lang/ru_ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
"text.FailedOpenLink": "[QR Scanner]: §cНе удалось открыть ссылку",
1010
"text.FailedTakeScreenshot": "[QR Scanner]: §cНе удалось сделать скриншот",
11-
"text.foundLink": "[QR Scanner]: §aНайдена ссылка: §e %s",
11+
"text.foundLink": "[QR Scanner]: §aНайдена ссылка: %s",
1212
"text.QRCodeNotFound": "[QR Scanner]: §cQR-код не найден",
1313
"text.error": "[QR Scanner]: §cОшибка: %s",
1414
"text.qrscanner.hover_tip": "§eНажмите, чтобы открыть ссылку"

0 commit comments

Comments
 (0)