11import 'package:flutter/material.dart' ;
22import 'package:shared_preferences/shared_preferences.dart' ;
33import 'package:vpn_client/pages/servers/servers_list_item.dart' ;
4+ <<<<<< < HEAD
45import 'package:vpn_client/l10n/app_localizations.dart' ;
6+ ====== =
7+ import 'package:vpn_client/localization_service.dart' ;
8+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
59import 'dart:convert' ;
610import 'package:vpn_client/core/constants/storage_keys.dart' ;
711
@@ -86,25 +90,42 @@ class ServersListState extends State<ServersList> {
8690 List <Map <String , dynamic >> serversList = [
8791 {
8892 'icon' : 'assets/images/flags/auto.svg' ,
93+ <<<<<< < HEAD
8994 'text' : localizations.auto_select,
9095 'ping' : localizations.fastest,
96+ ====== =
97+ 'text' : LocalizationService .to ('auto_select' ),
98+ 'ping' : LocalizationService .to ('fastest' ),
99+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
91100 'isActive' : true ,
92101 },
93102 {
94103 'icon' : 'assets/images/flags/Kazahstan.svg' ,
104+ <<<<<< < HEAD
95105 'text' : localizations.kazakhstan,
106+ ====== =
107+ 'text' : LocalizationService .to ('kazakhstan' ),
108+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
96109 'ping' : '48' ,
97110 'isActive' : false ,
98111 },
99112 {
100113 'icon' : 'assets/images/flags/Turkey.svg' ,
114+ <<<<<< < HEAD
101115 'text' : localizations.turkey,
116+ ====== =
117+ 'text' : LocalizationService .to ('turkey' ),
118+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
102119 'ping' : '142' ,
103120 'isActive' : false ,
104121 },
105122 {
106123 'icon' : 'assets/images/flags/Poland.svg' ,
124+ <<<<<< < HEAD
107125 'text' : localizations.poland,
126+ ====== =
127+ 'text' : LocalizationService .to ('poland' ),
128+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
108129 'ping' : '298' ,
109130 'isActive' : false ,
110131 },
@@ -221,11 +242,16 @@ class ServersListState extends State<ServersList> {
221242 bottom: 5 ,
222243 ), // Adicionado espaçamento
223244 child: Text (
245+ <<<<<< < HEAD
224246 AppLocalizations .of (context)! .selected_server,
225247 style: TextStyle (
226248 color: Theme .of (context).colorScheme.secondary,
227249 fontSize: 14 , // Consistência de tamanho
228250 ),
251+ ====== =
252+ LocalizationService .to ('selected_server' ),
253+ style: TextStyle (color: Colors .grey),
254+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
229255 ),
230256 ),
231257 ...activeServers.map ((server) {
@@ -246,11 +272,16 @@ class ServersListState extends State<ServersList> {
246272 bottom: 5 ,
247273 ), // Adicionado espaçamento
248274 child: Text (
275+ <<<<<< < HEAD
249276 AppLocalizations .of (context)! .all_servers,
250277 style: TextStyle (
251278 color: Theme .of (context).colorScheme.secondary,
252279 fontSize: 14 , // Consistência de tamanho
253280 ),
281+ ====== =
282+ LocalizationService .to ('all_servers' ),
283+ style: TextStyle (color: Colors .grey),
284+ >>>>>> > origin/ feat/ setting_page+ adapter_telegrambot
254285 ),
255286 ),
256287 ...inactiveServers.map ((server) {
0 commit comments