Code Duplication    Length = 6-7 lines in 3 locations

lib/utils/properties.php 3 locations

@@ 163-168 (lines=6) @@
160
		switch($prop) {
161
			case 'LABEL':
162
			case 'ADR':
163
			case 'IMPP':
164
				return array(
165
					'HOME' => (string)$l->t('Home'),
166
					'WORK' => (string)$l->t('Work'),
167
					'OTHER' => (string)$l->t('Other'),
168
				);
169
			case 'TEL':
170
				return array(
171
					'HOME'  =>  (string)$l->t('Home'),
@@ 182-188 (lines=7) @@
179
					'PAGER' =>  (string)$l->t('Pager'),
180
					'OTHER' =>  (string)$l->t('Other'),
181
				);
182
			case 'EMAIL':
183
				return array(
184
					'HOME' => (string)$l->t('Home'),
185
					'WORK' => (string)$l->t('Work'),
186
					'INTERNET' => (string)$l->t('Internet'),
187
					'OTHER' =>  (string)$l->t('Other'),
188
				);
189
			case 'CLOUD':
190
				return array(
191
					'HOME' => (string)$l->t('Home'),
@@ 189-194 (lines=6) @@
186
					'INTERNET' => (string)$l->t('Internet'),
187
					'OTHER' =>  (string)$l->t('Other'),
188
				);
189
			case 'CLOUD':
190
				return array(
191
					'HOME' => (string)$l->t('Home'),
192
					'WORK' => (string)$l->t('Work'),
193
					'OTHER' =>  (string)$l->t('Other'),
194
				);
195
		}
196
	}
197