add(new Label("repositoryGitDaemonUrl").setVisible(false));\r
}\r
\r
+ String cloneWith = localizer.getString("gb.cloneWithApp", owner);\r
final List<AppCloneLink> cloneLinks = new ArrayList<AppCloneLink>();\r
if (user.canClone(repository) && GitBlit.getBoolean(Keys.web.allowAppCloneLinks, true)) {\r
// universal app clone urls\r
-// cloneLinks.add(new AppCloneLink(localizer.getString("gb.cloneWithSmartGit", owner),\r
+// cloneLinks.add(new AppCloneLink(MessageFormat.format(cloneWith, "SmartGit\u2122"),\r
// MessageFormat.format("smartgit://cloneRepo/{0}", primaryUrl),\r
// "Syntevo SmartGit\u2122"));\r
\r
if (isWindows()) {\r
// Windows client app clone urls\r
- cloneLinks.add(new AppCloneLink(localizer.getString("gb.cloneWithSourceTree", owner),\r
+ cloneLinks.add(new AppCloneLink(MessageFormat.format(cloneWith, "SourceTree\u2122"),\r
MessageFormat.format("sourcetree://cloneRepo/{0}", primaryUrl),\r
"Atlassian SourceTree\u2122"));\r
// cloneLinks.add(new AppCloneLink(\r
-// MessageFormat.format(localizer.getString("gb.cloneWithGitHub", owner), "Windows"),\r
-// MessageFormat.format("github-windows://openRepo/{0}", primaryUrl)));\r
+// MessageFormat.format(cloneWith, "GitHub\u2122 for Windows"),\r
+// MessageFormat.format("github-windows://openRepo/{0}", primaryUrl),\r
+// "GitHub\u2122 for Windows"));\r
} else if (isMac()) {\r
// Mac client app clone urls\r
- cloneLinks.add(new AppCloneLink(localizer.getString("gb.cloneWithSourceTree", owner),\r
+ cloneLinks.add(new AppCloneLink(MessageFormat.format(cloneWith, "SourceTree\u2122"),\r
MessageFormat.format("sourcetree://cloneRepo/{0}", primaryUrl),\r
"Atlassian SourceTree\u2122"));\r
// cloneLinks.add(new AppCloneLink(\r
-// MessageFormat.format(localizer.getString("gb.cloneWithGitHub", owner), "Mac"),\r
-// MessageFormat.format("github-mac://openRepo/{0}", primaryUrl)));\r
+// MessageFormat.format(cloneWith, "GitHub\u2122 for Mac"),\r
+// MessageFormat.format("github-mac://openRepo/{0}", primaryUrl),\r
+// "GitHub\u2122 for Mac"));\r
}\r
\r
// sparkleshare invite url\r
String sparkleshareUrl = getSparkleShareInviteUrl(user, repository);\r
if (!StringUtils.isEmpty(sparkleshareUrl)) {\r
- cloneLinks.add(new AppCloneLink(localizer.getString("gb.cloneWithSparkleShare", owner),\r
- sparkleshareUrl, "SparkleShare \u2122", "icon-star"));\r
+ cloneLinks.add(new AppCloneLink(MessageFormat.format(cloneWith, "SparkleShare\u2122"),\r
+ sparkleshareUrl, "SparkleShare\u2122", "icon-star"));\r
}\r
}\r
\r