Changeset 19244 in josm for trunk/src/org
- Timestamp:
- 2024-10-16T08:07:09+02:00 (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/I18n.java
r19241 r19244 159 159 // Matches ISO-639 two and three letters language codes + scripts 160 160 private static final Pattern LANGUAGE_NAMES = Pattern.compile( 161 "name:(\\p{Lower}{2,3})(?:[-_](?i:(" + String.join("|", HIRAGANA, KATAKANA, LATIN, PINYIN, LATINPINYIN, ROMAJI, HANI, HANS, HANT, BOPOMOFO) + ")))?"); 161 "name:(\\p{Lower}{2,3})(?:[-_](?i:(" + String.join("|", HIRAGANA, KATAKANA, 162 LATIN, PINYIN, LATINPINYIN, ROMAJI, HANI, HANS, HANT, BOPOMOFO) + ")))?"); 162 163 163 164 private static String format(String text, Object... objects) {
Note:
See TracChangeset
for help on using the changeset viewer.