Skip to content

Commit 63ece3f

Browse files
committed
🌐 Add Portuguese Brazilian language support siyuan-note/siyuan#15029
1 parent 3aa6128 commit 63ece3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/org/b3log/siyuan/Utils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
*
6464
* @author <a href="https://88250.b3log.org">Liang Ding</a>
6565
* @author <a href="https://github.com/wwxiaoqi">Jane Haring</a>
66-
* @version 1.4.0.4, May 23, 2025
66+
* @version 1.4.0.5, Jun 15, 2025
6767
* @since 1.0.0
6868
*/
6969
public final class Utils {
@@ -402,6 +402,7 @@ public static String getLanguage() {
402402
otherLangMap.put("it", "it_IT");
403403
otherLangMap.put("ja", "ja_JP");
404404
otherLangMap.put("pl", "pl_PL");
405+
otherLangMap.put("pt", "pt_BR");
405406
otherLangMap.put("ru", "ru_RU");
406407

407408
// 使用 getOrDefault 方法从映射中获取语言代码,如果语言不存在则默认为 en_US

0 commit comments

Comments
 (0)