diff --git a/src/com/jpexs/decompiler/flash/gui/AboutDialog.java b/src/com/jpexs/decompiler/flash/gui/AboutDialog.java index 59daf5a91..bf7b2185e 100644 --- a/src/com/jpexs/decompiler/flash/gui/AboutDialog.java +++ b/src/com/jpexs/decompiler/flash/gui/AboutDialog.java @@ -123,7 +123,7 @@ public class AboutDialog extends AppDialog { dateLabel.setHorizontalAlignment(SwingConstants.CENTER); cp.add(dateLabel); - LinkLabel wwwLabel = new LinkLabel(ApplicationInfo.PROJECT_PAGE); + LinkLabel wwwLabel = new LinkLabel(ApplicationInfo.PROJECT_PAGE,ApplicationInfo.PROJECT_PAGE+"?utm_source=app&utm_medium=about&utm_campaign=app"); wwwLabel.setAlignmentX(0.5f); wwwLabel.setForeground(Color.blue); //wwwLabel.setPreferredSize(new Dimension(300, 25)); diff --git a/src/com/jpexs/decompiler/flash/gui/LinkLabel.java b/src/com/jpexs/decompiler/flash/gui/LinkLabel.java index 06c1c1c61..dda4a379f 100644 --- a/src/com/jpexs/decompiler/flash/gui/LinkLabel.java +++ b/src/com/jpexs/decompiler/flash/gui/LinkLabel.java @@ -32,19 +32,25 @@ public class LinkLabel extends JLabel { * The normal text set by the user. */ private String text; + + private String url; /** * Creates a new LinkLabel with the given text. * * @param text */ - public LinkLabel(String text) { + public LinkLabel(String text,String url) { super(text); - + this.url = url; setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); enableEvents(MouseEvent.MOUSE_EVENT_MASK); } + + public LinkLabel(String text) { + this(text,text); + } /** * Sets the text of the label. @@ -80,6 +86,6 @@ public class LinkLabel extends JLabel { } protected void clicked() { - View.navigateUrl(getNormalText()); + View.navigateUrl(url); } } diff --git a/src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java b/src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java index 78dc6ad86..130c846eb 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/MainFrameMenu.java @@ -244,14 +244,14 @@ public abstract class MainFrameMenu { } protected void helpUs() { - String helpUsURL = ApplicationInfo.PROJECT_PAGE + "/help_us.html?ref=app"; + String helpUsURL = ApplicationInfo.PROJECT_PAGE + "/help_us.html?utm_source=app&utm_medium=menu&utm_campaign=app"; if (!View.navigateUrl(helpUsURL)) { View.showMessageDialog(null, translate("message.helpus").replace("%url%", helpUsURL)); } } protected void homePage() { - String homePageURL = ApplicationInfo.PROJECT_PAGE+"?ref=app"; + String homePageURL = ApplicationInfo.PROJECT_PAGE+"?utm_source=app&utm_medium=menu&utm_campaign=app"; if (!View.navigateUrl(homePageURL)) { View.showMessageDialog(null, translate("message.homepage").replace("%url%", homePageURL)); } diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties index 4f2a60429..8e20a8353 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties @@ -544,7 +544,7 @@ contextmenu.copyTag = Zkop\u00edrovat tag do fit = p\u0159izp\u016fsobit button.setAdvanceValues = Nastavit hodnoty advance -menu.tools.replace = Nahradit text +menu.tools.replace = Nahrazen\u00ed textu message.confirm.close = Existuj\u00ed neulo\u017een\u00e9 zm\u011bny. Opravdu chcete zav\u0159\u00edt {swfName}? message.confirm.closeAll = Existuj\u00ed neulo\u017een\u00e9 zm\u011bny. Opravdu chcete zav\u0159\u00edt v\u0161echny SWF? diff --git a/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties index 0d40a6596..5d590e99d 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties @@ -20,7 +20,7 @@ label.searchtext = Hledat text: label.replacementtext = Nahradit za: #dialog.title = Hledat v ActionScriptu dialog.title = Hled\u00e1n\u00ed textu -dialog.title.replace = Text replace +dialog.title.replace = Nahrazen\u00ed textu error = Chyba error.invalidregexp = Neplatn\u00fd regul\u00e1rn\u00ed v\u00fdraz