Уважаемые пользователи!
C 7 ноября 2020 года phpBB Group прекратила выпуск обновлений и завершила дальнейшее развитие phpBB версии 3.2.
С 1 августа 2024 года phpBB Group прекращает поддержку phpBB 3.2 на официальном сайте.
Сайт официальной русской поддержки phpBB Guru продолжит поддержку phpBB 3.2 до 31 декабря 2024 года.
С учетом этого, настоятельно рекомендуется обновить конференции до версии 3.3.

Локализация statistics_mod_v4.2.8

Ответы на вопросы, связанные с локализацией модов для phpBB 2.0.x
BioReactor

Локализация statistics_mod_v4.2.8

Сообщение BioReactor »

Кто сможет перевести???

Добавлено спустя 58 секунд:

Код: Выделить всё

<?php
/***************************************************************************
 *                            lang_admin_statistics.php [English]
 *                              -------------------
 *     begin                : Fri Jan 24 2003
 *     copyright            : (C) 2003 Meik Sievertsen
 *     email                : ---
 *
 *     $Id: lang_admin_statistics.php,v 4.0.1e 2006/12/05 20:51:00 Wicher Exp $
 *
 ****************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$lang['StatTitle'] = 'Statistics';
$lang['StatPage'] = 'Statistics';
//$lang['Left_Package_Module'] = 'Package Module';
$lang['Install_module'] = 'Install Module';
$lang['Manage_modules'] = 'Manage Modules';
$lang['Stats_configuration'] = 'Configuration';
$lang['Edit_module'] = 'Edit Module';
$lang['Stats_langcp'] = 'Language CP';
$lang['Available_Updates'] = 'Available Updates';

/*/ Package Module
$lang['Package_module'] = 'Package Module';
$lang['Package_module_explain'] = 'Here you are able to package your three module files to one Module Package for delivery.';
$lang['Select_info_file'] = 'Select info file';
$lang['Select_lang_file'] = 'Select language file';
$lang['Select_module_file'] = 'Select module php file';
$lang['Package_name'] = 'Package name';
$lang['Create'] = 'Create';
*/
// Install Module
$lang['Install_module_explain'] = 'Here you are able to install a new Module. You are able to do this with two methods. The first one is uploading your Module Package with the provided form you see below. If uploading does not work for you, you are able to upload the Module Package to your ./modules/pakfiles directory, it will be displayed automatically here then. For further Instructions how to install a Module Package, have a look at the provided Documentation.<br />After you have chosen a Module Package to install, you will be prompted with some Informations about the Module you have chosen. Please make sure the Module Informations are correct and that you meet the minimum requirements (i.e. the correct Statistics Mod Version). You are able to choose the Language you want to install with too. After you have verified everything and you are sure to install, click the Install Button.<br />The default Installation let the Module deactivated, you have to activate it before it shows up within the Statistics Page.';
$lang['Select_module_pak'] = 'Select Module Package';
$lang['Upload_module_pak'] = 'Upload Module Package';
$lang['Inst_module_already_exist'] = 'Module with the name \'%s\' already exist.<br />If you want to update this Module, you have to go to Module Management and Update the Module there.<br />If you want to completely reinstall this Module, you have to uninstall the old Module first.';
$lang['Incorrect_update_module'] = 'The selected Package is not an update to the selected Module. Please be sure you have selected the correct Package.';

$lang['Module_name'] = 'Module Name';
$lang['Module_description'] = 'Module Description';
$lang['Module_version'] = 'Module Version';
$lang['Required_stats_version'] = 'Minimum required Statistics Mod Version';
$lang['Installed_stats_version'] = 'Installed Statistics Mod Version';
$lang['Module_author'] = 'Module Author';
$lang['Author_email'] = 'Author E-Mail Address';
$lang['Module_url'] = 'Module/Author Homepage';
$lang['Update_url'] = 'Module update Homepage (Check for Updates)';
$lang['Provided_language'] = 'Provided Language';
$lang['Install_language'] = 'Install Language';
$lang['Module_installed'] = 'Module successfully installed.';
$lang['Module_updated'] = 'Module successfully updated.';

// Manage Modules
$lang['Manage_modules_explain'] = 'Here you are able to manage your Modules. You can edit them, delete them, change the order, activate and deactivate them. If you want to configure your Module (setting Permissions, editing the Language Variables and much more), you have to edit your Module.<br />If you click at a Module Name, you will see a preview of this Module.';
$lang['Deactivate'] = 'Deactivate';
$lang['Activate'] = 'Activate';
$lang['module_id'] = 'Module ID';

// Delete Module
$lang['Confirm_delete_module'] = 'Are you sure you want to delete this Module';

// Configuration
$lang['Msg_config_updated'] = '- Statistics Mod Configuration successfully updated.';
$lang['Msg_reset_view_count'] = '- View Count successfully resetted.';
$lang['Msg_reset_install_date'] = '- Install Date set to today.';
$lang['Msg_reset_cache'] = '- Successfully cleared all caches.';
$lang['Msg_purge_modules'] = '- Successfully deleted the modules directory content.';
$lang['Config_title'] = 'Statistics Configuration';
$lang['Config_explain'] = 'Here you are able to configure the Statistics Mod.';
$lang['Messages'] = 'Messages';
$lang['Stat_index'] = 'Display on index';
$lang['Stat_index_explain'] = 'Here you can define one module id wich will then be displayed on the index.<br />If you put 0 here nothing will be displayed.';
$lang['Stat_all_or_one'] = 'Display one or all module in Statistics page';
$lang['Stat_all_or_one_explain'] = 'Here you can define one module id wich will then be displayed in the Statistics page.<br />If you put 0 here all modules will be displayed.<br />If you use this, its recommended to put the id for the Statistics Overview module here. When using Statistics Overview module for this option, that module will always be displayed along with the module which you click on in Statistics Overview.';
$lang['Return_limit'] = 'Return Limit';
$lang['Return_limit_explain'] = 'The number of items to include in each ranking.';
$lang['Reset_settings_title'] = 'Reset Settings';
$lang['Reset_view_count'] = 'Reset view count';
$lang['Reset_view_count_explain'] = 'Reset the view count at the bottom of the statistics page to zero.';
$lang['Reset_install_date'] = 'Reset install date';
$lang['Reset_install_date_explain'] = 'Reset the install date. This will set the install date to today.';
$lang['Reset_cache'] = 'Clear Cache';
$lang['Reset_cache_explain'] = 'Clear all the current cached data for all modules and content templates.';
$lang['Purge_module_dir'] = 'Clear Module Directory';
$lang['Purge_module_dir_explain'] = 'Delete the complete Modules Directory, all subdirectories and files will be deleted. Please use this Option with only if you are completely sure what you do and which effect this will have to your Statistics.';

// Edit Module
$lang['Msg_changed_update_time'] = '- Successfully changed update time.';
$lang['Msg_cleared_module_cache'] = '- Successfully cleared Module cache.';
$lang['Msg_module_fields_updated'] = '- Updated Module definable fields successfully.';

$lang['Module_select_title'] = 'Select Module';
$lang['Module_select_explain'] = 'Here you can select the Module you want to edit.';
$lang['Edit_module_explain'] = 'Here you are able to configure the Module. At the Top you see some Module Informations, then the Message Window where all Update Messages are displayed. At the Buttom you will find the Configuration Area and the Update Module Area. Within the Update Module Area, please select an Module Package \'or\' upload a Module Package, not both please.<br />The Configuration Area may differ from Module to Module, because some Modules have special Configuration Options the Author thought would be helpful for you.';
$lang['Module_informations'] = 'Module Informations';
$lang['Module_languages'] = 'Languages linked to this Module';
$lang['Preview_module'] = 'Preview Module';
$lang['Module_configuration'] = 'Module Configuration';
$lang['Update_time'] = 'Update Time in Minutes';
$lang['Update_time_explain'] = 'Time Intervall (in Minutes) of refreshing the cached data with new Data. Every x Minutes the Module get reloaded.<br />Since the Statistics is using an priority system, this could be greater than x minutes, but not more than one day.<br />For module paks: Last Created Topics, Last Created Posts, Least Interesting Topics, Most Interesting Topics, Most Active Topics, Most Viewed Topics, Most Active Polls, this time has to be set to 0 for correct working.';
$lang['Module_status'] = 'Module Status';
$lang['Active'] = 'Active';
$lang['Not_active'] = 'Not active';
$lang['Clear_module_cache'] = 'Clear module cache';
$lang['Clear_module_cache_explain'] = 'Clear the module cache and reset the modules priority. The next time the Statistics Page is called, this Module get reloaded.';
$lang['Update_module'] = 'Update Module';
$lang['No_module_packages_found'] = 'No module packages found';
$lang['newest_version_is'] = 'Newest version is';

// Permissions
$lang['Msg_permissions_updated'] = '- Permissions updated';
$lang['Set_permissions_title'] = 'Here you are able to set the Permission to view a Module. Only the Users (Anonymous, Registered, Moderators and Administrators) and Groups allowed/listed here are able to view the Module within the Statistics Page.';
$lang['Perm_all'] = 'Anonymous Users';
$lang['Perm_reg'] = 'Registered Users';
$lang['Perm_mod'] = 'Moderators';
$lang['Perm_admin'] = 'Administrators';
$lang['Perm_group'] = 'Groups';
$lang['Added_groups'] = 'Added Groups';
$lang['Perm_add_group'] = 'Add Group';
$lang['Perm_remove_group'] = 'Remove Group';
$lang['Perm_groups_title'] = 'Groups able to see the Module';
$lang['No_groups_selected'] = 'No groups selected';
$lang['No_groups_to_add'] = 'There are no more groups to add';

// Language CP
$lang['Language_key'] = 'Key';
$lang['Language_value'] = 'Value';
$lang['Update_all_lang'] = 'Update All Entries';
//$lang['Add_new_key'] = 'Add new key';
$lang['Create_new_lang'] = 'Create new Language';
$lang['Delete_language'] = 'Delete Language';
$lang['Language_cp_title'] = 'Language Control Panel';
$lang['Language_cp_explain'] = 'Here you are able to manage all Language Variables and Language Packs for every Module, seperate, at all... nearly everything. You are able to Import or Export Language Packs here too.<br />You can export a complete language, edit to your own language or which language you wish with a teksteditor of your choice, and import the editted language as a new language. Important is that you pay attention to the rules<br />// [lang_xxxx]<br />and<br />// [/lang_xxxx]<br />Take care that these lines are the same as languages used by phpbb, like: lang_dutch , lang_english , lang_german<br />Or:<br />You can also Create a new language by a click at a button and use lang_english as a template wich you then can translate here.';
$lang['Export_lang_module'] = 'Export Language for current module';
$lang['Export_language'] = 'Export complete current language';
$lang['Export_everything'] = 'Export everything';
$lang['Import_new_language'] = 'Import new Language';
$lang['Import_new_language_explain'] = 'Here you are able to upload (or select) the Language Pack you want to install. After you have uploaded (or selected) the Language Pack, you will see some Informations about the Language Pack. Only after viewing this Informations the Pack will be installed.';
$lang['Select_language_pak'] = 'Select Language Package';
$lang['Upload_language_pak'] = 'Upload Language Package';
$lang['Expand'] = 'Expand';
$lang['Collaps'] = 'Collaps';

$lang['Language'] = 'Language';
$lang['Modules'] = 'Modules';
$lang['ForTranslators'] = 'For translators:';
$lang['AuthorLine'] = 'Translator: Here Your Name';
$lang['ChangeLine'] = 'Change below line into your desired language, leave lang_ before it.';
$lang['Language_pak_installed'] = 'Language Pack successfully installed.';

// Available Updates
$lang['all_active_and_avail'] = 'List of all Active modules and available updates';
$lang['complete_avail'] = 'Complete list of all available modules';
$lang['statistics_version_info'] = 'Statistics MOD Version Information';
$lang['updates_available'] = 'There are new updates available for Statistics MOD.<br />You can see wich updates are available';
$lang['here'] = 'here';
$lang['stat_update_title'] = 'Available Updates';
$lang['stat_update_explain'] = 'Here you can check if there are any updates available for Statistics MOD.';
$lang['all_active_and_avail'] = 'List of all Active modules and available updates';
$lang['current_active'] = 'Current Active Modules';
$lang['current_version'] = 'Current Version';
$lang['module_update'] = 'Available Update';
$lang['newest_version'] = 'Newest Version';
$lang['on_board_activated'] = 'Activated Modules on your board';
$lang['module'] = 'Module';
$lang['moduleversion'] = 'Moduleversion';
$lang['no_update_available'] = '< No update available >';
$lang['not_installed'] = 'Not Installed on this board';
$lang['latest_installed'] = 'Latest Installed';
$lang['installed'] = 'installed';
$lang['active'] = 'Active';
$lang['yes'] = 'Yes';
$lang['no'] = 'No';
?>
Добавлено спустя 38 секунд:

и вот

Код: Выделить всё

<?php
/***************************************************************************
 *                            lang_statistics.php [English]
 *                              -------------------
 *     begin                : Fri Jan 24 2003
 *     copyright            : (C) 2003 Meik Sievertsen
 *     email                : ---
 *
 *     $Id: lang_statistics.php,v 1.3 2003/01/24 14:04:57 acydburn Exp $
 *
 ****************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

// Statistics Informations
$lang['Statistics_Mod_Version'] = 'Statistics Mod Version';
$lang['Install_info'] = 'Installed on ';
$lang['Viewed_info1'] = 'Statistics Page Loaded ';
$lang['Viewed_info2'] = ' times';
$lang['Explain'] = 'Explain';
$lang['Statistics_Mod'] = 'Statistics Mod';
$lang['time'] = 'time';
$lang['queries'] = 'queries';

// Statistics Mod Language File
$lang['Board_statistics'] = 'Board Statistics'; // Page Title
$lang['Last_Update_Time'] = 'Last Update Time:';
$lang['Next_expected_Update:'] = 'Next expected Update:';
$lang['top'] = 'Top';

// Module specific Language Variables
$lang['Uses'] = 'Uses';
$lang['Rank'] = 'Rank';
$lang['Percent'] = 'Percent';
$lang['Graph'] = 'Graph';

// function make_hour
$lang['Years'] = 'Years';
$lang['Year'] = 'Year';
$lang['Weeks'] = 'Weeks';
$lang['Week'] = 'Week';
$lang['Days'] = 'Days';
$lang['Day'] = 'Day';
$lang['None'] = 'No Time';

?>
Добавлено спустя 28 секунд:

Заранее благодарен!
Вложения
0000000.zip
Сам мод
(291.85 КБ) 391 скачивание
Аватара пользователя
DIMON4G
phpBB 1.2.0
Сообщения: 16
Зарегистрирован: 15 лет 11 месяцев
Откуда: Russia

Сообщение DIMON4G »

спасибо за мод
Изображение
Аватара пользователя
Picasso
phpBB 1.4.2
Сообщения: 62
Зарегистрирован: 18 лет 8 месяцев
Откуда: Москва
Контактная информация:

Сообщение Picasso »

Есть еще один, самый важный файл, требуемый для перевода, который непосредственно отвечает за отображение статистики для пользователя - это lang_modules.php.

Дело в том, что
BioReactor писал(а):lang_admin_statistics.php
переводит раздел админ. панели, касаемой статистики
BioReactor писал(а):lang_statistics.php
переводит статистику, количество просмотров, использования и т.д., располагающиеся в футере.

Требуется перевести еще файл lang_modules.php. Для нормальной работы надо создать папку lang_russian в www.xxx.xx/forum/modules/language/ и положить в нее файл lang_modules.php, с переведенным текстом. Мод сам подцепит его. Либо использовать утилитку Language CP в админ. панеле, в разделе Statistics. Осталась маленькая мелочь - перевести. Знатоки буржуйского, помогите ;)

Файл очень длинный, поэтому вложением.
Вложения
lang_modules.txt
Оригинал языкового файла для statistics_mod_v4.2.8
(22.22 КБ) 404 скачивания
ибо нефиг!
kalgri
phpBB 1.2.1
Сообщения: 25
Зарегистрирован: 16 лет
Забанен: Бессрочно

Re: Локализация statistics_mod_v4.2.8

Сообщение kalgri »

Моя первая попытка перевода. Если где-то коряво получилось, не судите строго
Вложения
lang_russian.rar
(5.08 КБ) 324 скачивания
kalgri
phpBB 1.2.1
Сообщения: 25
Зарегистрирован: 16 лет
Забанен: Бессрочно

Re: Локализация statistics_mod_v4.2.8

Сообщение kalgri »

Требуется перевести еще файл lang_modules.php
Смотрим во вложении. Единственное я не переводил инфу по тем модам котрых у меня нет.
Вложения
lang_modules.rar
(4.62 КБ) 322 скачивания
stanislav91
phpBB 1.4.2
Сообщения: 53
Зарегистрирован: 15 лет 2 месяца
Забанен: Бессрочно

Re: Локализация statistics_mod_v4.2.8

Сообщение stanislav91 »

Ни кто случайно не знает где найти руссификацию к моду Statistics Mod Version 4.2.9?
Нужен перевод файлов:
lang_admin_statistics.php
lang_statistics.php
Аватара пользователя
DK7
Former team member
Сообщения: 1008
Зарегистрирован: 17 лет 8 месяцев
Откуда: Кишинёв
Благодарил (а): 3 раза
Поблагодарили: 25 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение DK7 »

ну так скачай от 2.8, сравни, что добавилось в 2.9 и конкретно это переведи. Там буквально пару строчек. Я за 10 минут справился.
Аватара пользователя
Jackson
phpBB 1.4.0
Сообщения: 38
Зарегистрирован: 16 лет 7 месяцев
Благодарил (а): 1 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение Jackson »

kalgri
Спасибо, воспользовался вашим переводом файла, только есть одно замечание. Если залить его, начинает страницу рвать по ширине. Проблемы нашел в переводе секции статистика личных сообщений. Если разрешение экрана менее 1280 рвет, у себя реализовал перевод сокращениями.

Еще вопрос, не совсем по стилям конечно.
Вот моя статистика - http://womantalk.com.ua/statistics.php#9 перед началом каждой секции стоит такое значение
--reloaded: false
-->
Что это такое и как это убрать, понимаю что каммент вылазит где-то, но где..

А так все норм, встало все в общем без проблем, не считая маленьких неточностей. Версия мода 4.2.9
Аватара пользователя
DK7
Former team member
Сообщения: 1008
Зарегистрирован: 17 лет 8 месяцев
Откуда: Кишинёв
Благодарил (а): 3 раза
Поблагодарили: 25 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение DK7 »

про какие вопросы может идти речь? Если отсутствует копирайт. Нет копирайта - нет поддержки.
Аватара пользователя
Jackson
phpBB 1.4.0
Сообщения: 38
Зарегистрирован: 16 лет 7 месяцев
Благодарил (а): 1 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение Jackson »

DK7
Вы знаете, этот копирайт не стоит на форуме всего неделю или две, когда простоял там более полтора года. Хотя значимых ответов, кроме как за деньги, мной получено не было.

Также мне не понятна суть вашего предупреждения или за отсутствие копирайта уже начали банить?

Вернул копирайт на прежнее место.
Аватара пользователя
DK7
Former team member
Сообщения: 1008
Зарегистрирован: 17 лет 8 месяцев
Откуда: Кишинёв
Благодарил (а): 3 раза
Поблагодарили: 25 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение DK7 »

всего неделю или две
а с какой целью его вообще было убирать? Он Вам мешал? Или с ним не так красиво форум выглядел?
уже начали банить?
а кого я забанил? :shock:
Jackson писал(а):как это убрать
открываем statistics.tpl
находим

Код: Выделить всё

<!-- --cached: {modules.CACHED}<br /> --reloaded: {modules.RELOADED}<br /> -->
удаляем эту строчку.
Аватара пользователя
Поручик
Former team member
Сообщения: 3942
Зарегистрирован: 18 лет 10 месяцев
Откуда: Оренбург (Южный Урал)
Благодарил (а): 24 раза
Поблагодарили: 54 раза
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение Поручик »

джaкcoн, зa отcyтcтвиe кoпиpaйтa бaнить нe нaчaли, a yжe дaвнo бaнят и c xoдy. читaй пpaвилa и нe вoзникaй нe пo дeлy и нe к мecтy.
Профессионал - тот же дилетант, только знающий, где ошибётся.
Генератор db_update.php для phpBB2 с некоторыми удобствами. Многие моды я беру или ищу здесь, здесь, тут
Все консультации только на форуме, приваты и стук в аську по таким вопросам игнорируются!
FAQ-phpBB3 | Ошибки новичков, или как не поссориться с модератором | Правила конференции

наш форум http://forum.aeroion.ru/cat1.html
Аватара пользователя
Jackson
phpBB 1.4.0
Сообщения: 38
Зарегистрирован: 16 лет 7 месяцев
Благодарил (а): 1 раз
Контактная информация:

Re: Локализация statistics_mod_v4.2.8

Сообщение Jackson »

а с какой целью его вообще было убирать? Он Вам мешал? Или с ним не так красиво форум выглядел?
Да нет, не мешал и на красоту не влиял, я просто футер правил и решил перенести его с центра в правый нижний угол, да так и забыл, так что никакого целенаправленного негатива к копирайту я не испытывал.
а кого я забанил?
Я про предупреждения говорил, неправильно выразился.
удаляем эту строчку.
А вот за это огромное спасибо, помогло!
читaй пpaвилa и нe вoзникaй нe пo дeлy и нe к мecтy.
Рази ж я возникаю, я лишь вопрошаю, возникают это когда требуют и ругаютсо :)
Закрыто

Вернуться в «Локализация модов для phpBB 2.0.x»