diff --git a/src/main/java/de/deadlocker8/budgetmaster/hints/HintService.java b/src/main/java/de/deadlocker8/budgetmaster/hints/HintService.java index 1409cc36ba40b9c07494be746827ae7525649d3b..e96ee9a655fe522578bc45281cb2f3d83ccf7e36 100644 --- a/src/main/java/de/deadlocker8/budgetmaster/hints/HintService.java +++ b/src/main/java/de/deadlocker8/budgetmaster/hints/HintService.java @@ -54,7 +54,12 @@ public class HintService implements Resettable @Override public void createDefaults() { - final List<String> hintKeys = List.of("hint.first.use.teaser", "hint.report.columns", "hint.template.arrow.keys", "hint.transaction.save", "hint.globalDatePicker.hotkeys"); + final List<String> hintKeys = List.of("hint.first.use.teaser", + "hint.report.columns", + "hint.template.arrow.keys", + "hint.transaction.save", + "hint.globalDatePicker.hotkeys", + "hint.icon.upload.image.size"); for(String localizationKey : hintKeys) { diff --git a/src/main/resources/languages/hints_de.properties b/src/main/resources/languages/hints_de.properties index 456fc71c8fe5718779767e169bc4f996d8a7dbdc..3ac80895806ab9e8887a75bc2e164f5a4c25627d 100644 --- a/src/main/resources/languages/hints_de.properties +++ b/src/main/resources/languages/hints_de.properties @@ -6,4 +6,5 @@ hint.first.use.teaser=Neu im BudgetMaster? Sieh dir die Einführung an! hint.report.columns=Tipp: Du kannst die Reihenfolge der Spalten per Drag&Drop anpassen hint.template.arrow.keys=Tipp: Du kannst eine Vorlage mit den Pfeiltasten auswählen und mit Enter bestätigen hint.transaction.save=Tipp: Nutze Strg+Enter zum Speichern der Buchung -hint.globalDatePicker.hotkeys=Tipp: Sieh dir die Tastenkombinationen für die Monatsauswahl an \ No newline at end of file +hint.globalDatePicker.hotkeys=Tipp: Sieh dir die Tastenkombinationen für die Monatsauswahl an +hint.icon.upload.image.size=Tipp: Quadratische Bilder sind am besten geeignet diff --git a/src/main/resources/languages/hints_en.properties b/src/main/resources/languages/hints_en.properties index 464aa7bd74d8c2b4c8143afad56bea4cf3acf160..1eb9d1fe533fbd54b8ada4e7cb4ba68c0fdc97ed 100644 --- a/src/main/resources/languages/hints_en.properties +++ b/src/main/resources/languages/hints_en.properties @@ -6,4 +6,5 @@ hint.first.use.teaser=New to BudgetMaster? Check out the first use guide! hint.report.columns=Hint: You can change the order of the columns by drag&drop hint.template.arrow.keys=Hint: You can select a template by using the arrow keys and confirm with enter hint.transaction.save=Hint: Use Ctrl+Enter to save the transaction -hint.globalDatePicker.hotkeys=Hint: Have a look at the hotkeys for month selection \ No newline at end of file +hint.globalDatePicker.hotkeys=Hint: Have a look at the hotkeys for month selection +hint.icon.upload.image.size=Hint: Square images will be best choice diff --git a/src/main/resources/templates/helpers/iconSelect.ftl b/src/main/resources/templates/helpers/iconSelect.ftl index 72b60b11ae25c3f6ca5962a0684d198ab0ffa921..cf157c5418a7108de7c1988dd811af0d9e75898c 100644 --- a/src/main/resources/templates/helpers/iconSelect.ftl +++ b/src/main/resources/templates/helpers/iconSelect.ftl @@ -135,6 +135,9 @@ </div> </div> </form> + + <#assign hint=helpers.getHintByLocalizationKey("hint.icon.upload.image.size")/> + <@header.hint hint=hint/> </#macro> <#macro progressIndicator>