Passed
Push — master ( e491a2...15ec75 )
by Tomasz
03:40
created
web/lib/admin/GeoWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function insertInHead($inst_country, $inst_name) {
39 39
         $cat = new \core\CAT();
40
-        return "<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?key=".CONFIG['APPEARANCE']['google_maps_api_key']."'></script>
40
+        return "<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?key=" . CONFIG['APPEARANCE']['google_maps_api_key'] . "'></script>
41 41
     <script type='text/javascript'>
42 42
         // some global variables;
43 43
         var center_lat=49.6114885608729;
Please login to merge, or discard this patch.
web/admin/edit_silverbullet.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
 $uiElements = new \web\lib\admin\UIElements();
40 40
 
41
-$page = new DefaultHtmlPage(DefaultHtmlPage::ADMIN_IDP_USERS, sprintf(_('Managing %s users'),$uiElements->nomenclature_inst), '1.3.3');
41
+$page = new DefaultHtmlPage(DefaultHtmlPage::ADMIN_IDP_USERS, sprintf(_('Managing %s users'), $uiElements->nomenclature_inst), '1.3.3');
42 42
 // Load global scripts
43 43
 $page->appendScript('js/option_expand.js');
44 44
 $page->appendScript('../external/jquery/jquery.js');
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 $builder = new InstitutionPageBuilder($page);
56 56
 $builder->buildPagePrelude();
57 57
 $builder->buildPageHeader();
58
-if($builder->isReady()){
58
+if ($builder->isReady()) {
59 59
     // this page may have been called for the first time, when the profile does not
60 60
     // actually exist in the DB yet. If so, we will need to create it first.
61 61
     if (!isset($_REQUEST['profile_id'])) {
@@ -69,12 +69,12 @@  discard block
 block discarded – undo
69 69
         $fed = new \core\Federation($inst->federation);
70 70
         $allowSb = $fed->getAttributes("fed:silverbullet");
71 71
         if (count($allowSb) == 0) {
72
-            throw new Exception("We were told to create a new SB profile, but this ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_federation']." does not allow SB at all!");
72
+            throw new Exception("We were told to create a new SB profile, but this " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_federation'] . " does not allow SB at all!");
73 73
         }
74 74
         // okay, new SB profiles are allowed. Create one.
75 75
         $newProfile = $inst->newProfile("SILVERBULLET");
76 76
         // and modify the REQUEST_URI to add the new profile ID
77
-        $_SERVER['REQUEST_URI'] = $_SERVER['REQUEST_URI']."&profile_id=".$newProfile->identifier;
77
+        $_SERVER['REQUEST_URI'] = $_SERVER['REQUEST_URI'] . "&profile_id=" . $newProfile->identifier;
78 78
         $_GET['profile_id'] = $newProfile->identifier;
79 79
     }
80 80
     
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     $action = $context->addQuery($_SERVER['SCRIPT_NAME']);
88 88
     
89 89
     //Info block data preparation
90
-    $infoBlock = new InfoBlockTable( sprintf(_('Current %s users'), $uiElements->nomenclature_inst));
90
+    $infoBlock = new InfoBlockTable(sprintf(_('Current %s users'), $uiElements->nomenclature_inst));
91 91
     $infoBlock->addRow(array('The assigned realm', $builder->getRealmName()));
92 92
     $infoBlock->addRow(array('The total number of active users which are allowed for this profile', $stats[SilverbulletContext::STATS_TOTAL]));
93 93
     $infoBlock->addRow(array('The current number of configured active users', $stats[SilverbulletContext::STATS_ACTIVE]));
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
     $builder->addContentElement($infoBlock);
96 96
 
97 97
     //Edit form data preparation
98
-    $acknowledgeText = _ ( 'You need to acknowledge that the created accounts are still valid within the next %s days.'
98
+    $acknowledgeText = _('You need to acknowledge that the created accounts are still valid within the next %s days.'
99 99
                 .' If all accounts shown as active above are indeed still valid, please check the box below and push "Save".'
100
-                .' If any of the accounts are stale, please deactivate them by pushing the corresponding button before doing this.' );
100
+                .' If any of the accounts are stale, please deactivate them by pushing the corresponding button before doing this.');
101 101
     $editBlock = new UserCredentialsForm($context, $action, sprintf(_('Manage %s users'), $uiElements->nomenclature_inst), $acknowledgeText, count($users) > 0);
102 102
     foreach ($users as $user) {
103 103
         $editBlock->addUserRow($user);
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     $builder->addContentElement($tabbedBox);
125 125
     
126 126
     //Appending terms of use popup
127
-    if(!$context->isAgreementSigned()){
127
+    if (!$context->isAgreementSigned()) {
128 128
         $termsOfUse = new TermsOfUseBox($action, TermsOfUseCommand::COMMAND, TermsOfUseCommand::AGREEMENT);
129 129
         $termsOfUsePopup = new PopupMessageContainer($termsOfUse, PageElementInterface::MESSAGEPOPUP_CLASS, \core\ProfileSilverbullet::PRODUCTNAME . " - " . _('Terms of Use'));
130 130
         $termsOfUsePopup->setCloseButtonClass('redirect');
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     
142 142
     //Adding hidden QR code popup template
143 143
     $qrCodeImage = new UnaryTag("img");
144
-    $qrCodeImage->addAttribute("id", PageElementInterface::INVITATION_QR_CODE_CLASS."-image");
144
+    $qrCodeImage->addAttribute("id", PageElementInterface::INVITATION_QR_CODE_CLASS . "-image");
145 145
     $qrCodeImage->addAttribute("alt", _('Invitation QR Code'));
146 146
     $qrCodeImage->addAttribute("width", 400);
147 147
     $qrCodeImage->addAttribute("height", 400);
Please login to merge, or discard this patch.
web/admin/edit_idp_result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
 if (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['ssid']) && count(CONFIG_CONFASSISTANT['CONSORTIUM']['ssid']) > 0) {
92 92
     foreach (CONFIG_CONFASSISTANT['CONSORTIUM']['ssid'] as $ssidname) {
93
-        $ssids[] = $ssidname . " " . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport']) && CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)") );
93
+        $ssids[] = $ssidname . " " . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport']) && CONFIG_CONFASSISTANT['CONSORTIUM']['tkipsupport'] === TRUE ? _("(WPA2/AES and WPA/TKIP)") : _("(WPA2/AES)"));
94 94
     }
95 95
 }
96 96
 
Please login to merge, or discard this patch.
web/user/tou.inc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 /* 
12 12
 */
13 13
 
14
-        $Tou =  [
14
+        $Tou = [
15 15
     'title' => _("Terms of Use"),
16 16
     'short' => "<p>The purpose of this service is to make eduroam configuration easier for end users and eduroam
17 17
 Identity Providers by making available customised and securely configured eduroam installers.</p>
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     they are from the same user group. You are not allowed to share them to an unlimited
50 50
     audience (e.g. on a publicly accessible web server).</li>
51 51
 <li>If You are an eduroam Identity Provider administrator, you are allowed to download and pass on the Installers to
52
-your own ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." end users, e.g. on the support web pages of your ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'].", on Welcome Package CDs or USB sticks, etc.</li>
52
+your own ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " end users, e.g. on the support web pages of your " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . ", on Welcome Package CDs or USB sticks, etc.</li>
53 53
 <li>If You are a third-party not affiliated with eduroam, you are only allowed to download and pass on
54 54
 the Metadata and/or the Installers after having received written permission by the eduroam Operations team.</li>
55 55
 </ul>
Please login to merge, or discard this patch.
web/user/tou.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     they are from the same user group. You are not allowed to share them to an unlimited
53 53
     audience (e.g. on a publicly accessible web server).</li>
54 54
 <li>If You are an eduroam Identity Provider administrator, you are allowed to download and pass on the Installers to
55
-your own <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?> end users, e.g. on the support web pages of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'];?>, on Welcome Package CDs or USB sticks, etc.</li>
55
+your own <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?> end users, e.g. on the support web pages of your <?php echo CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']; ?>, on Welcome Package CDs or USB sticks, etc.</li>
56 56
 <li>If You are a third-party not affiliated with eduroam, you are only allowed to download and pass on
57 57
 the Metadata and/or the Installers after having received written permission by the eduroam Operations team.</li>
58 58
 </ul>
Please login to merge, or discard this patch.
utils/notify_invitation_expiry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     $admins = $this_fed->listFederationAdmins();
45 45
     $mailtext = "Hello,
46 46
 
47
-invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] ." have recently expired:
47
+invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " have recently expired:
48 48
 
49 49
 ";
50 50
     foreach ($listofinstnames as $instname) {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     if ($numberofexistingidps > 0) {
55 55
         $mailtext .= "
56 56
 
57
-Additionally, $numberofexistingidps invitations for an existing ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." have expired.
57
+Additionally, $numberofexistingidps invitations for an existing " . CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] . " have expired.
58 58
         ";
59 59
     }
60 60
     $mailtext .= "
Please login to merge, or discard this patch.
web/admin/inc/sendinvite.inc.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,8 +169,7 @@
 block discarded – undo
169 169
         _("and enter the invitation token") . "
170 170
     $newtoken
171 171
 " . ( /* $new_idp_authorized_fedadmin */ FALSE ?
172
-        wordwrap(sprintf(_("manually. If you reply to this mail, you will reach your %s administrators."), $uiElements->nomenclature_fed), 72) :
173
-        wordwrap(_("manually. Please do not reply to this mail; this is a send-only address.")) ) . "
172
+        wordwrap(sprintf(_("manually. If you reply to this mail, you will reach your %s administrators."), $uiElements->nomenclature_fed), 72) : wordwrap(_("manually. Please do not reply to this mail; this is a send-only address.")) ) . "
174 173
 
175 174
 " . wordwrap(_("Do NOT forward the mail before the token has expired - or the recipients may be able to consume the token on your behalf!"), 72) . "
176 175
 
Please login to merge, or discard this patch.
web/lib/admin/view/UserCredentialsForm.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
  * @author Zilvinas Vaira
27 27
  *
28 28
  */
29
-class UserCredentialsForm implements PageElementInterface{
29
+class UserCredentialsForm implements PageElementInterface {
30 30
     
31 31
     const EDITABLEBLOCK_CLASS = 'sb-editable-block';
32 32
     const TITLEROW_CLASS = 'sb-title-row';
@@ -118,10 +118,10 @@  discard block
 block discarded – undo
118 118
         
119 119
         $this->acknowledgeDays = CONFIG_CONFASSISTANT['SILVERBULLET']['gracetime'] ?? SilverbulletUser::MAX_ACKNOWLEDGE;
120 120
         $this->acknowledgeText = $acknowledgeText;
121
-        if($isAcknowledgeEnabled){
121
+        if ($isAcknowledgeEnabled) {
122 122
             $div = new CompositeTag('div');
123 123
             $div->addAttribute('style', 'padding-bottom: 20px;');
124
-            $this->acknowledgeNotice = new Tag ('p');
124
+            $this->acknowledgeNotice = new Tag('p');
125 125
             $div->addTag($this->acknowledgeNotice);
126 126
             $checkbox = new UnaryTag('input');
127 127
             $checkbox->addAttribute('type', 'checkbox');
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             $label->addText('I have verified that all configured users are still eligible for eduroam');
133 133
             $div->addTag($label);
134 134
             $this->decorator->addHtmlElement($div);
135
-            $this->decorator->addHtmlElement(new Button(_('Save'),'submit', SaveUsersCommand::COMMAND, SaveUsersCommand::COMMAND));
135
+            $this->decorator->addHtmlElement(new Button(_('Save'), 'submit', SaveUsersCommand::COMMAND, SaveUsersCommand::COMMAND));
136 136
         }
137 137
         
138 138
         $this->addTitleRow();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * 
143 143
      */
144
-    private function addTitleRow(){
144
+    private function addTitleRow() {
145 145
         $row = new Row(array(self::USER_COLUMN => _('User'), self::TOKEN_COLUMN => _('Token/Certificate details'), self::EXPIRY_COLUMN => _('User/Token Expiry'), self::ACTION_COLUMN => _('Actions')));
146 146
         $row->addAttribute('class', self::TITLEROW_CLASS);
147 147
         $this->table->addRow($row);
@@ -151,19 +151,19 @@  discard block
 block discarded – undo
151 151
      * 
152 152
      * @param SilverbulletUser $user
153 153
      */
154
-    public function addUserRow($user){
154
+    public function addUserRow($user) {
155 155
         $row = new Row(array(self::USER_COLUMN => $user->getUsername(), self::EXPIRY_COLUMN => new DatePicker(SaveUsersCommand::PARAM_EXPIRY_MULTIPLE, $user->getExpiry())));
156 156
         $row->addAttribute('class', self::USERROW_CLASS);
157 157
         
158 158
         $acknowledgeLevel = $user->getAcknowledgeLevel();
159
-        if($acknowledgeLevel == SilverbulletUser::LEVEL_YELLOW){
159
+        if ($acknowledgeLevel == SilverbulletUser::LEVEL_YELLOW) {
160 160
             $row->addAttribute('style', 'background-color:#F0EAC0;');
161
-        }elseif ($acknowledgeLevel == SilverbulletUser::LEVEL_RED){
161
+        }elseif ($acknowledgeLevel == SilverbulletUser::LEVEL_RED) {
162 162
             $row->addAttribute('style', 'background-color:#F0C0C0;');
163 163
         }
164 164
         
165 165
         $acknowledgeDays = $user->getAcknowledgeDays();
166
-        if($acknowledgeDays < $this->acknowledgeDays){
166
+        if ($acknowledgeDays < $this->acknowledgeDays) {
167 167
             $this->acknowledgeDays = $acknowledgeDays;
168 168
         }
169 169
         
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         $action = new CompositeTag('div');
184 184
         $action->addAttribute('class', 'sb-user-buttons');
185 185
             $deactivationButton = new Button(_('Deactivate User'), 'submit', DeleteUserCommand::COMMAND, $user->getIdentifier(), 'delete');
186
-            if($user->isDeactivated()){
186
+            if ($user->isDeactivated()) {
187 187
                 $deactivationButton->addAttribute('disabled', 'disabled'); 
188 188
             }
189 189
         $action->addTag($deactivationButton);
@@ -206,8 +206,8 @@  discard block
 block discarded – undo
206 206
      * 
207 207
      * @param SilverbulletCertificate $certificate
208 208
      */
209
-    public function addCertificateRow($certificate){
210
-        if($certificate->isGenerated()){
209
+    public function addCertificateRow($certificate) {
210
+        if ($certificate->isGenerated()) {
211 211
 
212 212
             //Create certificate box
213 213
             $certificateBox = new CompositeTag('div');
@@ -221,15 +221,15 @@  discard block
 block discarded – undo
221 221
 
222 222
             //Create button container div
223 223
             $buttonContainer = new Tag('div');
224
-            if($certificate->isRevoked()){
224
+            if ($certificate->isRevoked()) {
225 225
                 $certificateBox->addAttribute('style', 'background-color:#F0C0C0;');
226 226
                 $buttonContainer->addAttribute('style', 'height:22px; margin-top:7px; text-align:center;');
227 227
                 $buttonContainer->addText(_("REVOKED"));
228
-            }elseif ($certificate->isExpired()){
228
+            }elseif ($certificate->isExpired()) {
229 229
                 $certificateBox->addAttribute('style', 'background-color:lightgrey;');
230 230
                 $buttonContainer->addAttribute('style', 'height:22px; margin-top:7px; text-align:center;');
231 231
                 $buttonContainer->addText(_("EXPIRED"));
232
-            }else{
232
+            } else {
233 233
                 $buttonContainer->addAttribute('style', 'text-align:right;padding-top: 5px;');
234 234
                 $buttonContainer->addText(new Button(_('Revoke'), 'submit', RevokeCertificateCommand::COMMAND, $certificate->getIdentifier(), 'delete'));
235 235
             }
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      *
244 244
      * @param SilverbulletInvitation $invitation
245 245
      */
246
-    public function addInvitationRow($invitation){
246
+    public function addInvitationRow($invitation) {
247 247
         $expiryColumn = _("Expiry Date: ") . $invitation->getExpiry();
248 248
         $expiryColumn .= "<br>";
249 249
         $expiryColumn .= _("Activations: ") . $invitation->getRemainingActivations();
@@ -251,13 +251,13 @@  discard block
 block discarded – undo
251 251
         $row->addAttribute('class', self::CERTIFICATEROW_CLASS);
252 252
         $index = $this->table->size();
253 253
         $this->table->addRow($row);
254
-        if(!$invitation->isExpired() && !$invitation->isRevoked() && !$invitation->isAbsent()){
254
+        if (!$invitation->isExpired() && !$invitation->isRevoked() && !$invitation->isAbsent()) {
255 255
             $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Copy to Clipboard'), 'button', '', '', self::INVITATION_TOKEN_CLASS . '-copy'));
256
-            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Compose mail...'), 'button', '', '', self::INVITATION_TOKEN_CLASS. '-compose'));
257
-            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Send in SMS...'), 'button', '', '', self::INVITATION_TOKEN_CLASS. '-sms'));
258
-            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Generate QR code...'), 'button', '', '', self::INVITATION_TOKEN_CLASS. '-qrcode'));
256
+            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Compose mail...'), 'button', '', '', self::INVITATION_TOKEN_CLASS . '-compose'));
257
+            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Send in SMS...'), 'button', '', '', self::INVITATION_TOKEN_CLASS . '-sms'));
258
+            $this->table->addToCell($index, self::TOKEN_COLUMN, new Button(_('Generate QR code...'), 'button', '', '', self::INVITATION_TOKEN_CLASS . '-qrcode'));
259 259
         }
260
-        if(!$invitation->isRevoked()){
260
+        if (!$invitation->isRevoked()) {
261 261
             $this->table->addToCell($index, self::ACTION_COLUMN, new Button(_('Revoke'), 'submit', RevokeInvitationCommand::COMMAND, $invitation->getIdentifier(), 'delete'));
262 262
         }
263 263
     }
@@ -268,11 +268,11 @@  discard block
 block discarded – undo
268 268
      * @see \web\lib\admin\view\PageElementInterface::render()
269 269
      */
270 270
     public function render() {
271
-        if($this->acknowledgeNotice!=null){
271
+        if ($this->acknowledgeNotice != null) {
272 272
             $this->acknowledgeNotice->addText(sprintf($this->acknowledgeText, $this->acknowledgeDays));
273 273
         }
274 274
         ?>
275
-        <div class="<?php echo self::EDITABLEBLOCK_CLASS;?>">
275
+        <div class="<?php echo self::EDITABLEBLOCK_CLASS; ?>">
276 276
             <?php $this->decorator->render(); ?>
277 277
         </div>
278 278
         <?php
Please login to merge, or discard this patch.
config/config-master-template.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
      * @var array
132 132
      */
133
-    'MAILSETTINGS' => [ // we always use Submission
133
+    'MAILSETTINGS' => [// we always use Submission
134 134
         'host' => 'submission.capable.mta',
135 135
         'user'=> 'mailuser',
136 136
         'pass' => 'mailpass',
@@ -146,25 +146,25 @@  discard block
 block discarded – undo
146 146
      * @var array
147 147
      */
148 148
     'LANGUAGES' => [
149
-      'bg' => ['display' => 'Български',   'locale' => 'bg_BG.utf8',    'latin_based' => FALSE],
150
-      'ca' => ['display' => 'Català',      'locale' => 'ca_ES.utf8',    'latin_based' => TRUE],
151
-      'cs' => ['display' => 'Čeština',     'locale' => 'cs_CZ.utf8',    'latin_based' => TRUE],
152
-      'de' => ['display' => 'Deutsch',     'locale' => 'de_DE.utf8',    'latin_based' => TRUE],
153
-      'el' => ['display' => 'Ελληνικά',    'locale' => 'el_GR.utf8',    'latin_based' => FALSE],
154
-      'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8',    'latin_based' => TRUE],
155
-      'es' => ['display' => 'Español',     'locale' => 'es_ES.utf8',    'latin_based' => TRUE],
156
-      'fr' => ['display' => 'Français',    'locale' => 'fr_FR.utf8',    'latin_based' => TRUE],
157
-      'gl' => ['display' => 'Galego',      'locale' => 'gl_ES.utf8',    'latin_based' => TRUE],
158
-      'hr' => ['display' => 'Hrvatski',    'locale' => 'hr_HR.utf8',    'latin_based' => TRUE],
159
-      'it' => ['display' => 'Italiano',    'locale' => 'it_IT.utf8',    'latin_based' => TRUE],
160
-      'lt' => ['display' => 'lietuvių',    'locale' => 'lt_LT.utf8',    'latin_based' => TRUE],
161
-      'nb' => ['display' => 'Norsk',       'locale' => 'nb_NO.utf8',    'latin_based' => TRUE],
162
-      'pl' => ['display' => 'Polski',      'locale' => 'pl_PL.utf8',    'latin_based' => TRUE],
163
-      'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8',    'latin_based' => TRUE],
164
-      'sr' => ['display' => 'Srpski',      'locale' => 'sr_RS@latin',   'latin_based' => TRUE],
165
-      'fi' => ['display' => 'Suomi',       'locale' => 'fi_FI.utf8',    'latin_based' => TRUE],
166
-      'hu' => ['display' => 'Magyar',      'locale' => 'hu_HU.utf8',    'latin_based' => TRUE],
167
-      'pt' => ['display' => 'Português',   'locale' => 'pt_PT.utf8',    'latin_based' => TRUE],
149
+      'bg' => ['display' => 'Български', 'locale' => 'bg_BG.utf8', 'latin_based' => FALSE],
150
+      'ca' => ['display' => 'Català', 'locale' => 'ca_ES.utf8', 'latin_based' => TRUE],
151
+      'cs' => ['display' => 'Čeština', 'locale' => 'cs_CZ.utf8', 'latin_based' => TRUE],
152
+      'de' => ['display' => 'Deutsch', 'locale' => 'de_DE.utf8', 'latin_based' => TRUE],
153
+      'el' => ['display' => 'Ελληνικά', 'locale' => 'el_GR.utf8', 'latin_based' => FALSE],
154
+      'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8', 'latin_based' => TRUE],
155
+      'es' => ['display' => 'Español', 'locale' => 'es_ES.utf8', 'latin_based' => TRUE],
156
+      'fr' => ['display' => 'Français', 'locale' => 'fr_FR.utf8', 'latin_based' => TRUE],
157
+      'gl' => ['display' => 'Galego', 'locale' => 'gl_ES.utf8', 'latin_based' => TRUE],
158
+      'hr' => ['display' => 'Hrvatski', 'locale' => 'hr_HR.utf8', 'latin_based' => TRUE],
159
+      'it' => ['display' => 'Italiano', 'locale' => 'it_IT.utf8', 'latin_based' => TRUE],
160
+      'lt' => ['display' => 'lietuvių', 'locale' => 'lt_LT.utf8', 'latin_based' => TRUE],
161
+      'nb' => ['display' => 'Norsk', 'locale' => 'nb_NO.utf8', 'latin_based' => TRUE],
162
+      'pl' => ['display' => 'Polski', 'locale' => 'pl_PL.utf8', 'latin_based' => TRUE],
163
+      'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8', 'latin_based' => TRUE],
164
+      'sr' => ['display' => 'Srpski', 'locale' => 'sr_RS@latin', 'latin_based' => TRUE],
165
+      'fi' => ['display' => 'Suomi', 'locale' => 'fi_FI.utf8', 'latin_based' => TRUE],
166
+      'hu' => ['display' => 'Magyar', 'locale' => 'hu_HU.utf8', 'latin_based' => TRUE],
167
+      'pt' => ['display' => 'Português', 'locale' => 'pt_PT.utf8', 'latin_based' => TRUE],
168 168
 
169 169
 // For the following languages, partial translations exist in Transifex, but
170 170
 // they are not complete enough for display. Their Transifex content is not
Please login to merge, or discard this patch.