Commit a82ce326 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #28 from pepr/master

French and Russian translators updated
parents d65f3313 ffdd1bf7
...@@ -73,6 +73,9 @@ ...@@ -73,6 +73,9 @@
/doc/Makefile /doc/Makefile
/doc/translator_report.txt /doc/translator_report.txt
/doxygen_docs
/doxygen.tag
/examples/*/html /examples/*/html
/html /html
/latex /latex
This diff is collapsed.
...@@ -127,6 +127,7 @@ Ionut Dumitrascu: reddumy at yahoo dot com ...@@ -127,6 +127,7 @@ Ionut Dumitrascu: reddumy at yahoo dot com
Alexandru Iosup: aiosup at yahoo dot com Alexandru Iosup: aiosup at yahoo dot com
TranslatorRussian TranslatorRussian
Brilliantov Kirill Vladimirovich: brilliantov at byterg dot ru
Alexandr Chelpanov: cav at cryptopro dot ru Alexandr Chelpanov: cav at cryptopro dot ru
TranslatorSerbian TranslatorSerbian
......
...@@ -1076,9 +1076,8 @@ class TranslatorFrench : public Translator ...@@ -1076,9 +1076,8 @@ class TranslatorFrench : public Translator
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT " "Cela aboutira au graphe suivant :"
"du fichier de configuration, cela génèrera le graphe suivant :" "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center></p>\n"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Les rectangles du graphe ci-dessus ont la signification suivante :\n" "Les rectangles du graphe ci-dessus ont la signification suivante :\n"
"<ul>\n" "<ul>\n"
...@@ -1870,7 +1869,7 @@ class TranslatorFrench : public Translator ...@@ -1870,7 +1869,7 @@ class TranslatorFrench : public Translator
static const char *days[] = { "Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche" }; static const char *days[] = { "Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche" };
static const char *months[] = { "Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre" }; static const char *months[] = { "Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre" };
QCString sdate; QCString sdate;
sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year); sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
if (includeTime) if (includeTime)
{ {
QCString stime; QCString stime;
...@@ -1903,37 +1902,37 @@ class TranslatorFrench : public Translator ...@@ -1903,37 +1902,37 @@ class TranslatorFrench : public Translator
/*! Detail level selector shown for hierarchical indices */ /*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel() virtual QCString trDetailLevel()
{ return "detail level"; } { return "Niveau de détails"; }
/*! Section header for list of template parameters */ /*! Section header for list of template parameters */
virtual QCString trTemplateParameters() virtual QCString trTemplateParameters()
{ return "Template Parameters"; } { return "Paramètres du template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */ /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number) virtual QCString trAndMore(const QCString &number)
{ return "and "+number+" more..."; } { return "et "+number+" de plus..."; }
/*! Used file list for a Java enum */ /*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single) virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "The documentation for this enum was generated from the following file"; { QCString result = "La documentation pour cette énumération a été générée à partir ";
if (!single) result += "s"; if (!single) result += "du fichier suivant"; else result += "des fichiers suivants";
result+=":"; result+=" :";
return result; return result;
} }
/*! Header of a Java enum page (Java enums are represented as classes). */ /*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name) virtual QCString trEnumReference(const char *name)
{ return QCString(name)+" Enum Reference"; } { return QCString(name)+" Référence de l'énumération"; }
/*! Used for a section containing inherited members */ /*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what) virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" inherited from "+what; } { return QCString(members)+" hérités de "+what; }
/*! Header of the sections with inherited members specific for the /*! Header of the sections with inherited members specific for the
* base class(es) * base class(es)
*/ */
virtual QCString trAdditionalInheritedMembers() virtual QCString trAdditionalInheritedMembers()
{ return "Additional Inherited Members"; } { return "Membres hérités additionnels"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.8.2 // new since 1.8.2
...@@ -1945,8 +1944,8 @@ class TranslatorFrench : public Translator ...@@ -1945,8 +1944,8 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trPanelSynchronisationTooltip(bool enable) virtual QCString trPanelSynchronisationTooltip(bool enable)
{ {
QCString opt = enable ? "enable" : "disable"; QCString opt = enable ? "activer" : "désactiver";
return "click to "+opt+" panel synchronisation"; return "cliquez pour "+opt+" la synchronisation du panel";
} }
/*! Used in a method of an Objective-C class that is declared in a /*! Used in a method of an Objective-C class that is declared in a
...@@ -1955,7 +1954,7 @@ class TranslatorFrench : public Translator ...@@ -1955,7 +1954,7 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trProvidedByCategory() virtual QCString trProvidedByCategory()
{ {
return "Provided by category @1."; return "Déclarée dans la catégorie @1.";
} }
/*! Used in a method of an Objective-C category that extends a class. /*! Used in a method of an Objective-C category that extends a class.
...@@ -1964,7 +1963,7 @@ class TranslatorFrench : public Translator ...@@ -1964,7 +1963,7 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trExtendsClass() virtual QCString trExtendsClass()
{ {
return "Extends class @1."; return "Dérive la classe @1.";
} }
/*! Used as the header of a list of class methods in Objective-C. /*! Used as the header of a list of class methods in Objective-C.
...@@ -1972,7 +1971,7 @@ class TranslatorFrench : public Translator ...@@ -1972,7 +1971,7 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trClassMethods() virtual QCString trClassMethods()
{ {
return "Class Methods"; return "Méthodes de classe";
} }
/*! Used as the header of a list of instance methods in Objective-C. /*! Used as the header of a list of instance methods in Objective-C.
...@@ -1980,14 +1979,14 @@ class TranslatorFrench : public Translator ...@@ -1980,14 +1979,14 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trInstanceMethods() virtual QCString trInstanceMethods()
{ {
return "Instance Methods"; return "Méthodes d'instance";
} }
/*! Used as the header of the member functions of an Objective-C class. /*! Used as the header of the member functions of an Objective-C class.
*/ */
virtual QCString trMethodDocumentation() virtual QCString trMethodDocumentation()
{ {
return "Method Documentation"; return "Documentation des méthodes";
} }
/*! Used as the title of the design overview picture created for the /*! Used as the title of the design overview picture created for the
...@@ -1995,7 +1994,7 @@ class TranslatorFrench : public Translator ...@@ -1995,7 +1994,7 @@ class TranslatorFrench : public Translator
*/ */
virtual QCString trDesignOverview() virtual QCString trDesignOverview()
{ {
return "Design Overview"; return "Vue d'ensemble";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -2004,53 +2003,53 @@ class TranslatorFrench : public Translator ...@@ -2004,53 +2003,53 @@ class TranslatorFrench : public Translator
/** old style UNO IDL services: implemented interfaces */ /** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces() virtual QCString trInterfaces()
{ return "Exported Interfaces"; } { return "Interfaces exportées"; }
/** old style UNO IDL services: inherited services */ /** old style UNO IDL services: inherited services */
virtual QCString trServices() virtual QCString trServices()
{ return "Included Services"; } { return "Services inclus"; }
/** UNO IDL constant groups */ /** UNO IDL constant groups */
virtual QCString trConstantGroups() virtual QCString trConstantGroups()
{ return "Constant Groups"; } { return "Groupes constants"; }
/** UNO IDL constant groups */ /** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName) virtual QCString trConstantGroupReference(const char *namespaceName)
{ {
QCString result=namespaceName; QCString result="Référence du groupe constant ";
result+=" Constant Group Reference"; result+=namespaceName;
return result; return result;
} }
/** UNO IDL service page title */ /** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName) virtual QCString trServiceReference(const char *sName)
{ {
QCString result=(QCString)sName; QCString result="Référence du service ";
result+=" Service Reference"; result+=(QCString)sName;
return result; return result;
} }
/** UNO IDL singleton page title */ /** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName) virtual QCString trSingletonReference(const char *sName)
{ {
QCString result=(QCString)sName; QCString result="Référence du singleton ";
result+=" Singleton Reference"; result+=(QCString)sName;
return result; return result;
} }
/** UNO IDL service page */ /** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single) virtual QCString trServiceGeneratedFromFiles(bool single)
{ {
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"The documentation for this service " QCString result=(QCString)"La documentation pour ce service "
"was generated from the following file"; "a été générée par ";
if (single) result+=":"; else result+="s:"; if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result; return result;
} }
/** UNO IDL singleton page */ /** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single) virtual QCString trSingletonGeneratedFromFiles(bool single)
{ {
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"The documentation for this singleton " QCString result=(QCString)"La documentation pour ce singleton "
"was generated from the following file"; "a été générée par ";
if (single) result+=":"; else result+="s:"; if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result; return result;
} }
...@@ -2058,4 +2057,4 @@ class TranslatorFrench : public Translator ...@@ -2058,4 +2057,4 @@ class TranslatorFrench : public Translator
}; };
#endif #endif
\ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#ifndef TRANSLATOR_RU_H #ifndef TRANSLATOR_RU_H
#define TRANSLATOR_RU_H #define TRANSLATOR_RU_H
class TranslatorRussian : public TranslatorAdapter_1_7_5 class TranslatorRussian : public Translator
{ {
public: public:
/*! Used for identification of the language. */ /*! Used for identification of the language. */
...@@ -1794,6 +1794,181 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5 ...@@ -1794,6 +1794,181 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5
} }
return sdate; return sdate;
} }
///////////////////////////////////////////////////////////////////////
// new since 1.7.5
///////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
virtual QCString trCiteReferences()
{ return "Библиографические ссылки"; }
/*! Text for copyright paragraph */
virtual QCString trCopyright()
{ return "Авторство"; }
/*! Header for the graph showing the directory dependencies */
virtual QCString trDirDepGraph(const char *name)
{ return QCString("Директория графа зависимостей ")+name+":"; }
///////////////////////////////////////////////////////////////////////
// new since 1.8.0
///////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "уровень детализации"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
{ return "Параметры шаблона"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "и "+number+" больше..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "Документация для этого перечисления сгенерерирована из файл";
if (!single) result += "ов";
result+="а:";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{ return QCString(name)+" Ссылки на перечисление"; }
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" унаследованные от "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "Дополнительные унаследованные члены"; }
///////////////////////////////////////////////////////////////////////
// new since 1.8.2
///////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "включить" : "выключить";
return "нажмите на "+opt+" для синхронизации панелей";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
virtual QCString trProvidedByCategory()
{
return "По группам @1.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
virtual QCString trExtendsClass()
{
return "Расширяет класс @1.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
virtual QCString trClassMethods()
{
return "Методы класса";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
virtual QCString trInstanceMethods()
{
return "Методы экземпляра";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
return "Документация метода";
}
/*! Used as the title of the design overview picture created for the
* VHDL output.
*/
virtual QCString trDesignOverview()
{
return "Обзор дизайна";
}
///////////////////////////////////////////////////////////////////////
// new since 1.8.4
///////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
{ return "Экспортируемые интерфейсы"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
{ return "Включённые сервисы"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
{ return "Постоянные группы"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
QCString result=namespaceName;
result+=" Ссылка на постоянную группу";
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
QCString result=(QCString)sName;
result+=" Ссылка на сервис";
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
QCString result=(QCString)sName;
result+=" Ссылка на одиночку";
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"Документация для этого сервиса "
"сгенерированна из следующего файл";
if (single) result+="а:"; else result+="ов:";
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"Документация по этому одиночке "
"сгенерированна из следующего файл";
if (single) result+="а:"; else result+="ов:";
return result;
}
///////////////////////////////////////////////////////////////////////
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment