mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 22:34:48 +00:00
utm parameters in links to homepage
czech translation improved
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user