diff --git a/assets/css/admin.css b/assets/css/admin.css index 38887e90..b234e71e 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -809,6 +809,13 @@ table.sp-status-table td mark.yes { overflow: visible !important; *zoom:1; } +.about-sportspress-wrap .sp-feature > div { + float: left; + width: 50%; +} +.about-sportspress-wrap .sp-feature > div.last-feature { + float: right; +} .about-sportspress-wrap .sp-feature:before, .about-sportspress-wrap .sp-feature:after { content: " "; @@ -845,6 +852,20 @@ table.sp-status-table td mark.yes { .about-sportspress-wrap .form-table th { width: auto; } +.about-sportspress-wrap .sp-top-translations .hndle { + font-size: 14px; + padding: 8px 12px; + margin: 0; + line-height: 1.4; + cursor: auto; +} +.about-sportspress-wrap .sp-transifex-chart { + padding: 0 12px; + text-align: center; +} +.about-sportspress-wrap .sp-transifex-chart a { + display: inline-block; +} /* Tutorials */ .sp-tutorials-list { diff --git a/includes/admin/class-sp-admin-welcome.php b/includes/admin/class-sp-admin-welcome.php index 86105c32..7f72d6a4 100644 --- a/includes/admin/class-sp-admin-welcome.php +++ b/includes/admin/class-sp-admin-welcome.php @@ -346,94 +346,207 @@ class SP_Admin_Welcome { intro(); ?>
Translate SportsPress.', 'sportspress' ), 'https://www.transifex.com/projects/p/sportspress/' ); ?>
- ' . $handle . ''; - endforeach; - ?>
-
+ array(
+ 'albpower',
+ ),
+ 'العربية' => array(
+ 'Abdulelah',
+ 'elgolden',
+ 'hushiea',
+ ),
+ 'Հայերեն' => array(
+ 'ArtakEVN',
+ ),
+ 'বাংলা' => array(
+ 'alisiddique',
+ ),
+ 'Bosanski' => array(
+ 'etcloki',
+ ),
+ 'Български' => array(
+ 'alltimecams',
+ 'den_zlateva',
+ ),
+ '简体中文' => array(
+ 'dic_2008',
+ 'mobking',
+ ),
+ '繁體中文' => array(
+ 'wah826',
+ ),
+ 'Hrvatski' => array(
+ 'etcloki',
+ 'i__k',
+ 'iojvan',
+ 'vlinicx',
+ ),
+ 'Čeština' => array(
+ 'eifelstudio',
+ 'thegreat',
+ ),
+ 'Nederlands' => array(
+ 'SilverXp',
+ 'paulcoppen',
+ 'poelie',
+ 'valentijnreza',
+ ),
+ 'Suomi' => array(
+ 'Taurus',
+ 'Hermanni',
+ 'JuKi',
+ 'hanro',
+ ),
+ 'Français' => array(
+ 'francois53',
+ 'fredodq',
+ 'HuguesD',
+ 'MohamedZ',
+ 'wolforg',
+ ),
+ 'Deutsch' => array(
+ 'alexander.salomon99',
+ 'Bhelpful2',
+ 'chr86',
+ 'deckerweb',
+ 'denkuhn',
+ 'FollowCandyPanda',
+ 'green_big_frog',
+ 'King3R',
+ ),
+ 'Ελληνικά' => array(
+ 'filippos.sdr',
+ 'Spirossmil',
+ ),
+ 'Íslenska' => array(
+ 'ValliFudd',
+ ),
+ 'Italiano' => array(
+ 'Flubber89',
+ 'GhiMax',
+ 'eNnvi',
+ 'joegalaxy66',
+ 'massimo.marra',
+ 'sododesign',
+ 'violaud',
+ 'webby1973',
+ 'xFrAx',
+ ),
+ '日本語' => array(
+ 'aylaview',
+ ),
+ '한국어' => array(
+ 'jikji96',
+ ),
+ 'Македонски' => array(
+ 'doncer',
+ ),
+ 'Norsk bokmål' => array(
+ 'sijo',
+ 'Laislebai',
+ 'jenymoen',
+ 'm4rsal',
+ 'slappfiskene.no',
+ 'vetsmi',
+ ),
+ 'Polski' => array(
+ 'karimjarro',
+ 'krisop',
+ ),
+ 'Português do Brasil' => array(
+ 'Ferenan',
+ 'AugustoNeto',
+ 'Ozias',
+ 'lfrodines',
+ 'pgbenini',
+ 'rochester',
+ ),
+ 'Português' => array(
+ 'Andrew_Melim',
+ 'nagashitw',
+ ),
+ 'Română' => array(
+ 'GonerSTUDIO',
+ 'tyby94',
+ ),
+ 'Русский' => array(
+ 'elrawys',
+ 'kanakoff',
+ 'sashaCZ',
+ 'Selskei',
+ 'SmilyCarrot',
+ 'zzcs',
+ ),
+ 'Српски језик' => array(
+ 'etcloki',
+ ),
+ 'Slovenčina' => array(
+ 'matiqos',
+ ),
+ 'Slovenščina' => array(
+ 'BOCo',
+ 'cofeman.sl',
+ ),
+ 'Español' => array(
+ 'albertone',
+ 'EmiDelCaz',
+ 'GonerSTUDIO',
+ 'edesl',
+ 'fernandori',
+ 'i1m3a7n92',
+ 'latixns',
+ 'opticadeharo',
+ 'popeosorio',
+ ),
+ 'Svenska' => array(
+ 'JensZ',
+ 'fiiz',
+ ),
+ 'Türkçe' => array(
+ 'ALooNeBoy87',
+ 'GuneshGamza95',
+ 'ceyhunulas',
+ 'overbite',
+ ),
+ 'Українська' => array(
+ 'ViktoriaRuzhylo',
+ ),
+ 'Tiếng Việt' => array(
+ 'bizover',
+ ),
+ 'ಕನ್ನಡ' => array(
+ 'Paramamithra',
+ ),
+ 'ไทย' => array(
+ 'Xyteton',
+ ),
+ );
+ $languages = array_keys( $translators );
+ shuffle( $languages );
+ $translation_teams = array();
+ foreach ( $languages as $language ):
+ $handles = $translators[ $language ];
+ $team = '' . $language . ' ' . __( 'by', 'sportspress' ) . ' ';
+ $team_members = array();
+ foreach ( $handles as $handle ):
+ $team_members[] = '' . $handle . '';
+ endforeach;
+ $members = implode( ', ', $team_members );
+ $team .= $members;
+ $team .= '';
+ $translation_teams[] = $team;
+ endforeach;
+ echo implode( '
', $translation_teams );
+ ?>