Code Duplication    Length = 8-8 lines in 2 locations

application/modules/admin/languages.php 2 locations

@@ 148-155 (lines=8) @@
145
                            break;
146
                        }
147
                    }
148
                } else {
149
                    $content .= '"X-Poedit-Basepath: .\n"' . PHP_EOL .
150
                        '"X-Poedit-SourceCharset: utf-8\n"' . PHP_EOL .
151
                        '"X-Generator: Poedit 1.5.7\n"' . PHP_EOL .
152
                        '"X-Poedit-Language: \n"' . PHP_EOL .
153
                        '"X-Poedit-Country: \n"' . PHP_EOL .
154
                        '"X-Poedit-SearchPath-0: ..\n"' . PHP_EOL;
155
                }
156
157
                break;
158
            case 'module':
@@ 170-177 (lines=8) @@
167
                        '"X-Poedit-SearchPath-1: ../../../templates/administrator\n"' . PHP_EOL .
168
                        '"X-Poedit-SearchPath-2: ../../' . getModContDirName('shop') . '/shop/admin\n"' . PHP_EOL .
169
                        'X-Poedit-SearchPath-3: ../../../application/' . getModContDirName('shop') . '/shop/models/build/classes\n' . PHP_EOL;
170
                } else {
171
                    $content .= '"X-Poedit-Basepath: ../../..\n"' . PHP_EOL .
172
                        '"X-Poedit-SourceCharset: utf-8\n"' . PHP_EOL .
173
                        '"X-Generator: Poedit 1.5.7\n"' . PHP_EOL .
174
                        '"X-Poedit-Language: \n"' . PHP_EOL .
175
                        '"X-Poedit-Country: \n"' . PHP_EOL .
176
                        '"X-Poedit-SearchPath-0: .\n"' . PHP_EOL;
177
                }
178
179
                break;
180
            case 'template':