소스 검색

Move "United Kingdom" to top of country dropdown options

Alan Lam 3 년 전
부모
커밋
8ba02afb74
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      engine/Address.php

+ 2 - 1
engine/Address.php

@@ -28,6 +28,8 @@ class Address extends Model {
 
 	public static function getCountryOptions(): array {
 		return [
+			"GB" => __("United Kingdom"),
+
 			"AU" => __("Australia"),
 			"BG" => __("Bulgaria"),
 			"CA" => __("Canada"),
@@ -45,7 +47,6 @@ class Address extends Model {
 			"ES" => __("Spain"),
 			"SE" => __("Sweden"),
 			"CH" => __("Switzerland"),
-			"GB" => __("United Kingdom"),
 			"US" => __("United States"),
 		];
 	}