You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Lang.php
+169Lines changed: 169 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ final class Lang
29
29
'it' => 100,
30
30
'ckb' => 73,
31
31
'fa' => 98,
32
+
'pl' => 1,
32
33
'pt' => 81,
33
34
'ru' => 81,
34
35
'uz' => 100,
@@ -1213,6 +1214,174 @@ final class Lang
1213
1214
'waveform_value' => 'Un singolo valore di una forma d\'onda deve essere compreso tra 0 e 31!',
1214
1215
'windows_warning' => 'Per utenti Windows: per favore passate a Linux se questo passaggio fallisce. Per continuare ad usare Windows, potrebbe essere necessario modificare le impostazioni del firewall per permettere a tutti i processi PHP di creare socket (100% è più facile passare a Linux, su Linux MadelineProto funziona direttamente senza alcuna modifica richiesta)',
1215
1216
],
1217
+
'pl' =>
1218
+
[
1219
+
'2fa_uncalled' => 'I\'m not waiting for the password! Please call the phoneLogin and the completePhoneLogin methods first!',
1220
+
'accepting_call' => 'Accepting call from %s...',
1221
+
'account_banned' => '!!!!!!! WARNING !!!!!!!
1222
+
Telegram\'s flood prevention system suspended this account.
1223
+
To continue, manual verification is required.
1224
+
Send an email to recover@telegram.org, asking to unban the phone number %s, and shortly describe what will you do with this phone number.
1225
+
Then login again.
1226
+
If you intentionally deleted this account, ignore this message.',
1227
+
'already_loggedIn' => 'This instance of MadelineProto is already logged in!',
1228
+
'apiAppInstructionsAuto0' => 'Enter the app\'s name, can be anything: ',
1229
+
'apiAppInstructionsAuto1' => 'Enter the app\'s short name, alphanumeric, 5-32 characters: ',
1230
+
'apiAppInstructionsAuto2' => 'Enter the app/website\'s URL, or t.me/yourusername: ',
1231
+
'apiAppInstructionsAuto3' => 'Enter the app platform: ',
1232
+
'apiAppInstructionsAuto4' => 'Describe your app: ',
1233
+
'apiAppInstructionsAutoTypeOther' => 'Other (specify in description)',
1234
+
'apiAppInstructionsManual0' => 'your app\'s name, can be anything',
1235
+
'apiAppInstructionsManual1' => 'your app\'s short name, alphanumeric, 5-32 characters',
1236
+
'apiAppInstructionsManual2' => 'your app/website\'s URL, or t.me/yourusername',
1237
+
'apiAppInstructionsManual3' => 'anything',
1238
+
'apiAppInstructionsManual4' => 'Describe your app here',
1239
+
'apiAppWeb' => 'Enter API information',
1240
+
'apiAutoPrompt0' => 'Enter a phone number that is already registered on Telegram: ',
1241
+
'apiAutoPrompt1' => 'Enter the verification code you received in Telegram: ',
1242
+
'apiAutoWeb' => 'Enter a phone number that is <b>already registered</b> on telegram to get the API ID',
1243
+
'apiChooseManualAutoTip' => 'Note that you can also provide the API ID/hash directly in the code using the settings: %s',
1244
+
'apiChooseManualAutoTipWeb' => 'Note that you can also provide the API ID/hash directly in the code using the <a target="_blank" href="%s">settings</a>.',
1245
+
'apiChoosePrompt' => 'Your choice (m/a): ',
1246
+
'apiError' => 'ERROR: %s. Try again.',
1247
+
'apiManualInstructions0' => 'Login to https://my.telegram.org',
1248
+
'apiManualInstructions1' => 'Go to API development tools',
1249
+
'apiManualInstructions2' => 'Click on create application',
1250
+
'apiManualPrompt0' => 'Enter your API ID: ',
1251
+
'apiManualPrompt1' => 'Enter your API hash: ',
1252
+
'apiManualWeb' => 'Enter your API ID and API hash',
1253
+
'apiParamsError' => 'You didn\'t provide all of the required parameters!',
1254
+
'api_not_set' => 'You must provide an api key and an api id, get your own @ my.telegram.org',
1255
+
'array_invalid' => 'You didn\'t provide a valid array',
1256
+
'baseDirLimitation' => 'Skonfigurowane jest ograniczenie katalogu bazowego: może to wpłynąć na wydajność i spowodować pewne problemy, wyłącz je, jeśli to możliwe!',
1257
+
'bool_error' => 'Could not extract boolean',
1258
+
'botAlreadyRunning' => 'The bot is already running!',
1259
+
'botapi_conversion_error' => 'Can\'t convert %s to a bot API object',
'call_completing' => 'Completing call from %s...',
1263
+
'call_confirming' => 'Confirming call from %s...',
1264
+
'call_discarding' => 'Discarding call %s...',
1265
+
'call_error_1' => 'Could not find and accept call %s',
1266
+
'call_error_2' => 'Could not find and confirm call %s',
1267
+
'call_error_3' => 'Could not find and complete call %s',
1268
+
'cli_need_dl.php_link' => 'Please specify a download script URL when using getDownloadLink via CLI!',
1269
+
'constructor_not_found' => 'Constructor not found for type: ',
1270
+
'could_not_connect_to_MadelineProto' => 'Could not connect to MadelineProto, please enable proc_open and remove open_basedir restrictions or disable webserver path rewrites to fix! If you already did that, make sure the CLI version of PHP is exactly the same as the web version (same version, extensions, et cetera) and check out the MadelineProto.log file for more info about the error that prevented the IPC server from starting.',
1271
+
'could_not_convert_object' => 'Could not convert object of type %s',
1272
+
'deserialization_error' => 'An error occurred on deserialization',
1273
+
'dl.php_check_logs_make_sure_session_running' => 'Either the associated MadelineProto EventHandler bot or the MadelineProto IPC server are offline, please check logs and make sure at least one of them is running!',
1274
+
'dl.php_powered_by_madelineproto' => 'Telegram file download server (up to 4GB), powered by <a href="https://docs.madelineproto.xyz" target="_blank">MadelineProto</a>!<br>Click <a href="https://docs.madelineproto.xyz/docs/FILES.html#getting-a-download-link" target="_blank">here</a> for more info on how to setup your very own Telegram file download server!',
1275
+
'do_not_delete_MadelineProto.log' => 'the MadelineProto.log file must never be deleted, please set a custom max size in the settings, instead!',
1276
+
'do_not_remove_MadelineProto.log_phar' => 'Please do not remove madeline.phar or madeline.php, or else MadelineProto will crash. If you have any problem with MadelineProto, report it to https://github.com/danog/MadelineProto or https://t.me/pwrtelegramgroup',
1277
+
'do_not_use_blocking_class' => 'for performance reasons, handlers may not use the non-async blocking class %s, please use %s, instead',
1278
+
'do_not_use_blocking_function' => 'for performance reasons, event handlers may not use the non-async blocking function %s, please use %s, instead',
1279
+
'do_not_use_deprecated_function' => 'the %s function is deprecated, please use %s, instead',
1280
+
'do_not_use_non_root_require_in_event_handler' => 'for performance reasons, you must not use require or include inside of an event handler class, only root-level requires are allowed.',
1281
+
'do_not_use_yield' => 'MadelineProto 8 does not require or support the use of yield in async functions, you must remove all yield keywords previously used for async function calls',
1282
+
'done' => 'Done!',
1283
+
'encode_double_error' => 'Could not properly encode double',
1284
+
'extensionRecommended' => 'Warning: the %s extension is not installed, please install it to speed up MadelineProto!',
1285
+
'extensionRequired' => 'MadelineProto requires the %s extension to run. %s',
'loginUserPass' => 'Enter your password (hint %s): ',
1310
+
'loginUserPassHint' => 'Hint: %s',
1311
+
'loginUserPassWeb' => 'Enter your password: ',
1312
+
'loginUserPhoneCodeWeb' => 'Code',
1313
+
'loginUserPhoneWeb' => 'Phone number',
1314
+
'loginWebQr' => 'You can also login automatically by opening Telegram on your phone, going to Settings > Devices > Link Desktop Device and scanning the following QR code:',
1315
+
'loginWebQr1' => 'Open Telegram on your phone',
1316
+
'loginWebQr2' => 'Go to Settings > Devices > Link Desktop Device',
1317
+
'loginWebQr3' => 'Point your phone at this screen to confirm login',
1318
+
'login_2fa_enabled' => '2FA enabled, you will have to call the complete2falogin function...',
1319
+
'login_auth_key' => 'Logging in using auth key...',
1320
+
'login_bot' => 'Logging in as a bot...',
1321
+
'login_code_sending' => 'Sending code...',
1322
+
'login_code_sent' => 'Code sent successfully! Once you receive the code you should use the completePhoneLogin function.',
1323
+
'login_code_uncalled' => 'I\'m not waiting for the code! Please call the phoneLogin method first',
1324
+
'login_need_signup' => 'An account has not been created for this number, you will have to call the completeSignup function...',
1325
+
'login_ok' => 'Logged in successfully!',
1326
+
'login_user' => 'Logging in as a normal user...',
1327
+
'logout_ok' => 'Logged out successfully!',
1328
+
'long_not_16' => 'Given value is not 16 bytes long',
1329
+
'long_not_32' => 'Given value is not 32 bytes long',
1330
+
'long_not_64' => 'Given value is not 64 bytes long',
1331
+
'madelineproto_ready' => 'MadelineProto is ready!',
1332
+
'manualAdminActionRequired' => '!!!!!!!!! MANUAL SYSTEM ADMIN ACTION REQUIRED !!!!!!!!!',
1333
+
'method_not_found' => 'Could not find method: ',
1334
+
'mmapErrorPart1' => 'The maximum number of memory mapped (mmap) regions was reached (%s): please increase the vm.max_map_count kernel config to 262144 to fix.',
1335
+
'mmapErrorPart2' => 'To fix, run the following command as root: %s',
1336
+
'mmapErrorPart3' => 'To persist the change across reboots: %s',
1337
+
'mmapErrorPart4' => 'On Windows and WSL, increasing the size of the pagefile might help; please switch to native Linux if the issue persists.',
1338
+
'must_have_declare_types' => 'for performance reasons, the first statement of an event handler file must be "declare(strict_types=1);"',
1339
+
'nearest_dc' => 'We\'re in %s, nearest DC is %d.',
1340
+
'need_dl.php' => 'Could not generate default download script (%s), please create a dl.php file with the following content: %s and pass its URL to the second parameter of getDownloadLink',
1341
+
'noReportPeers' => 'Ostrzeżenie: nie ustawiono żadnych elementów równorzędnych raportu, dodaj następującą metodę do programu obsługi zdarzeń',
1342
+
'non_text_conversion' => 'Can\'t convert non text messages yet!',
1343
+
'not_loggedIn' => 'I\'m not logged in!',
1344
+
'not_numeric' => 'Given value isn\'t numeric',
1345
+
'params_missing' => 'Missing required parameter',
1346
+
'peer_not_in_db' => 'This peer is not present in the internal peer database',
1347
+
'plugin_path_does_not_exist' => 'Plugin path %s does not exist!',
1348
+
'plugins_do_not_use_require' => 'for performance reasons, plugins can only automatically include or require other files present in the plugins folder by triggering the PSR-4 autoloader (not by manually require()\'ing them).',
1349
+
'plugins_must_have_exactly_one_class' => 'a plugin must define exactly one class! To define multiple classes, interfaces or traits, create separate files, they will be autoloaded by MadelineProto automatically.',
1350
+
'predicate_not_set' => 'Predicate (value under _) was not set!',
1351
+
'recommend_not_use_filesystem_function' => 'usage of the %s function is not recommended, because accessing the filesystem during update handling will slow down your bot, please see https://docs.madelineproto.xyz/docs/UPDATES.html#avoiding-the-use-of-filesystem-functions for a list of alternative ways to store data that will not slow down your bot!',
1352
+
'rpc_tg_error' => 'Telegram returned an RPC error: %s (%s), caused by %s:%s%sTL trace:',
1353
+
'sec_peer_not_in_db' => 'This secret peer is not present in the internal peer database',
1354
+
'secret_chat_skipping' => 'I do not have the secret chat %s in the database, skipping message...',
1355
+
'serialization_ofd' => 'Serialization is out of date, reconstructing object!',
1356
+
'session_corrupted' => 'The session is corrupted!',
1357
+
'signing_up' => 'Signing up as a normal user...',
1358
+
'signupFirstName' => 'Enter your first name: ',
1359
+
'signupFirstNameWeb' => 'First name',
1360
+
'signupLastName' => 'Enter your last name (can be empty): ',
1361
+
'signupLastNameWeb' => 'Last name',
1362
+
'signupWeb' => 'Sign up please',
1363
+
'signup_ok' => 'Signed up in successfully!',
1364
+
'signup_uncalled' => 'I\'m not waiting to signup! Please call the phoneLogin and the completePhoneLogin methods first!',
1365
+
'src_file_invalid' => 'Invalid source file was provided: ',
1366
+
'static_analysis_minor' => 'A minor issue was encountered during static analysis of %s: %s',
1367
+
'static_analysis_severe' => 'A severe issue was encountered during static analysis of %s: %s',
1368
+
'stream_handle_invalid' => 'An invalid stream handle was provided.',
1369
+
'string_required' => 'A string was expected!',
1370
+
'translate_madelineproto_cli' => 'MadelineProto can be translated in your language (current translation progress: %d%%), go to https://weblate.madelineproto.xyz to contribute with the translation!',
1371
+
'translate_madelineproto_web' => 'MadelineProto can be translated in your language (current translation progress: %d%%), click <a href="https://weblate.madelineproto.xyz" target="_blank">here to contribute with the translation!</a>',
1372
+
'type_extract_error' => 'Could not extract type "%s", you should update MadelineProto!',
1373
+
'type_extract_error_id' => 'Could not extract type: %s with id %s, you should update MadelineProto!',
1374
+
'update_madelineproto' => 'You\'re running an old version of MadelineProto, an update is required: currently running %s, but the latest version with multiple bugfixes and new features is %s!',
1375
+
'value_bigger_than_2147483647' => 'Provided value %s is bigger than 2147483647',
1376
+
'value_bigger_than_4294967296' => 'Provided value %s is bigger than 4294967296',
1377
+
'value_bigger_than_9223372036854775807' => 'Provided value %s is bigger than 9223372036854775807',
1378
+
'value_smaller_than_0' => 'Provided value %s is smaller than 0',
1379
+
'value_smaller_than_2147483648' => 'Provided value %s is smaller than -2147483648',
1380
+
'value_smaller_than_9223372036854775808' => 'Provided value %s is smaller than -9223372036854775808',
1381
+
'waveform_must_have_100_values' => 'A waveform array must have 100 values!',
1382
+
'waveform_value' => 'A waveform value must be between 0 and 31!',
1383
+
'windows_warning' => 'For Windows users: please switch to Linux if this fails. You can also try modifying the firewall settings to allow all PHP processes to create sockets (it\'s 100% easier to just switch to Linux, on Linux MadelineProto just works out of the box, no changes needed)',
1384
+
],
1216
1385
'pt' =>
1217
1386
[
1218
1387
'2fa_uncalled' => 'Não estou esperando pela senha! Por favor, chame primeiro os métodos phoneLogin e completePhoneLogin!',
0 commit comments