and fix some other issues, to make the layouts more consistent. The aspect-ratios of the layouts, should now match the intended aspect-ratios (12:7 and 16:5), with 3 decimal-digits of precision; either exactly, or rounded to be a little more square, so that the entire height of the panel will be used. Adding 0.001 to `width` in the `default`-outlines of the layouts, would make the layouts a little wider than the intended aspect-ratio. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Language: Azerbaijani (Iran)
 | 
						||
---
 | 
						||
outlines:
 | 
						||
    default:       { width: 44.8,  height: 42 }
 | 
						||
    change-view:   { width: 67.2,  height: 42 }
 | 
						||
    change-view-2: { width: 78.4,  height: 42 }
 | 
						||
    fill:          { width: 89.6,  height: 42 }
 | 
						||
    placeholder:   { width: 44.8,  height: 42 }
 | 
						||
    spaceline:     { width: 201.6, height: 42 }
 | 
						||
    special:       { width: 44.8,  height: 42 }
 | 
						||
    special-2:     { width: 67.2,  height: 42 }
 | 
						||
    special-3:     { width: 78.4,  height: 42 }
 | 
						||
 | 
						||
views:
 | 
						||
    base:
 | 
						||
        - "ض ص ث ق ف غ ع ه خ ح ج چ"
 | 
						||
        - "ش س ی ب ل ا ت ن م ک گ /"
 | 
						||
        - "show_upper ظ ط ز ر ذ د پ و ، BackSpace"
 | 
						||
        - "show_numbers preferences space zwnj ؟ . Return"
 | 
						||
    upper:
 | 
						||
        - " ْ  ٌ  ٍ  ً  ُ  ِ  َ  ّ  ] [ @ #"
 | 
						||
        - "ؤ ئ ي إ أ آ ة » « : ؛ \\"
 | 
						||
        - "show_upper ك  ٓ ژ ٰ    ٔ  ء  >  < BackSpace"
 | 
						||
        - "show_numbers preferences space ، ؟ ! Return"
 | 
						||
    numbers:
 | 
						||
        - "-- ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ |"
 | 
						||
        - "… ٬ ٫ ﷼ ٪ ^ * ° ) ( − _"
 | 
						||
        - "show_symbols + - × ÷ = / % > < BackSpace"
 | 
						||
        - "show_letters preferences space ، ؟ . Return"
 | 
						||
    symbols:
 | 
						||
        - "-- & ` | · • % π τ ¶ [ ]"
 | 
						||
        - "© ® £ € ¥ ^ * ° { } -- --"
 | 
						||
        - "show_numbers_from_symbols + - × ÷ = \\ % < > BackSpace"
 | 
						||
        - "show_letters preferences space ، ! . Return"
 | 
						||
 | 
						||
buttons:
 | 
						||
    show_upper:
 | 
						||
        action:
 | 
						||
            locking:
 | 
						||
                lock_view: "upper"
 | 
						||
                unlock_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        icon: "key-shift"
 | 
						||
    BackSpace:
 | 
						||
        outline: "special-2"
 | 
						||
        icon: "edit-clear-symbolic"
 | 
						||
        action: "erase"
 | 
						||
    preferences:
 | 
						||
        action: "show_prefs"
 | 
						||
        outline: "special"
 | 
						||
        icon: "keyboard-mode-symbolic"
 | 
						||
    show_numbers:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view-2"
 | 
						||
        label: "۱۲۳"
 | 
						||
    show_numbers_from_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "۱۲۳"
 | 
						||
    show_letters:
 | 
						||
        action:
 | 
						||
            set_view: "base"
 | 
						||
        outline: "change-view-2"
 | 
						||
        label: "ابپ"
 | 
						||
    show_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "symbols"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "*/="
 | 
						||
    space:
 | 
						||
        outline: "spaceline"
 | 
						||
        text: " "
 | 
						||
    Return:
 | 
						||
        outline: "special-3"
 | 
						||
        icon: "key-enter"
 | 
						||
        keysym: "Return"
 | 
						||
    zwnj:
 | 
						||
        icon: "zwnj"
 | 
						||
        text: ""
 | 
						||
    --:
 | 
						||
        outline: "placeholder"
 | 
						||
        text: "" |