Spaces:
Paused
Paused
Update flare-ui/src/app/dialogs/project-edit-dialog/project-edit-dialog.component.ts
Browse files
flare-ui/src/app/dialogs/project-edit-dialog/project-edit-dialog.component.ts
CHANGED
|
@@ -293,11 +293,6 @@ export default class ProjectEditDialogComponent implements OnInit {
|
|
| 293 |
}
|
| 294 |
}
|
| 295 |
|
| 296 |
-
getLanguageNameForPrompt(locale: Locale): string {
|
| 297 |
-
// Locale'den language_name'i al, yoksa english_name kullan
|
| 298 |
-
return (locale as any).language_name || locale.english_name || locale.name;
|
| 299 |
-
}
|
| 300 |
-
|
| 301 |
getLocaleName(code: string): string {
|
| 302 |
const locale = this.availableLocales.find(l => l.code === code);
|
| 303 |
return locale ? locale.name : code;
|
|
|
|
| 293 |
}
|
| 294 |
}
|
| 295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
getLocaleName(code: string): string {
|
| 297 |
const locale = this.availableLocales.find(l => l.code === code);
|
| 298 |
return locale ? locale.name : code;
|