Changeset 8282 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java
- Timestamp:
- 2015-04-27T18:46:32+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java
r8005 r8282 18 18 import org.openstreetmap.josm.Main; 19 19 import org.openstreetmap.josm.gui.util.GuiHelper; 20 import org.openstreetmap.josm.tools.LanguageInfo; 20 21 import org.openstreetmap.josm.tools.Utils; 21 22 … … 104 105 ss.addRule("ol {margin-left: 1cm; margin-top: 0.1cm; margin-bottom: 0.2cm; list-style-type: decimal}"); 105 106 ss.addRule("ul {margin-left: 1cm; margin-top: 0.1cm; margin-bottom: 0.2cm; list-style-type: disc}"); 106 if ("km".equals( Main.pref.get("language"))) {107 if ("km".equals(LanguageInfo.getJOSMLocaleCode())) { 107 108 // Fix rendering problem for Khmer script 108 109 ss.addRule("p {" + getFontRule(UIManager.getFont("Label.font")) + "}");
Note:
See TracChangeset
for help on using the changeset viewer.