Parcourir la source

Merge pull request #135 from kxyfyh/branch_fixbug

修正读取默认文件语言识别
tags/v1.4.0
James Moger il y a 10 ans
Parent
révision
3c94742aed

+ 1
- 1
src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java Voir le fichier

@@ -238,7 +238,7 @@ public class MyDashboardPage extends DashboardPage {
if (!StringUtils.isEmpty(lc)) {
if (!StringUtils.isEmpty(cc)) {
files.add(base + "_" + lc + "-" + cc + ext);
files.add(base + "_" + lc + "_" + cc + ext);
files.add(base + "_" + lc + "_" + cc.toUpperCase() + ext);
}
files.add(base + "_" + lc + ext);
}

+ 1
- 1
src/main/java/com/gitblit/wicket/pages/RepositoriesPage.java Voir le fichier

@@ -150,7 +150,7 @@ public class RepositoriesPage extends RootPage {
if (!StringUtils.isEmpty(lc)) {
if (!StringUtils.isEmpty(cc)) {
files.add(base + "_" + lc + "-" + cc + ext);
files.add(base + "_" + lc + "_" + cc + ext);
files.add(base + "_" + lc + "_" + cc.toUpperCase() + ext);
}
files.add(base + "_" + lc + ext);
}

Chargement…
Annuler
Enregistrer