summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-03 19:01:57 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-03 19:01:57 (GMT)
commit2f7c7c94d82598f82bc9908bd2bf2cfec4a467f7 (patch)
tree88f45829b434fc13e31e1ca7a0a4a5ac8d7e15fe /src
parent6b97d107cc2c48dddfb6cac8a21debdf1ebf8e90 (diff)
parent9bba9e47f52e5df17ecfc18ed0726031c71071fd (diff)
downloadDoxygen-2f7c7c94d82598f82bc9908bd2bf2cfec4a467f7.zip
Doxygen-2f7c7c94d82598f82bc9908bd2bf2cfec4a467f7.tar.gz
Doxygen-2f7c7c94d82598f82bc9908bd2bf2cfec4a467f7.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src')
-rw-r--r--src/fortranscanner.l2
-rw-r--r--src/translator_fr.h73
-rw-r--r--src/translator_ru.h177
3 files changed, 213 insertions, 39 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 327febf..c6b47d3 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -2109,7 +2109,7 @@ static void handleCommentBlock(const QCString &doc,bool brief)
int lineNr = brief ? current->briefLine : current->docLine;
while (parseCommentBlock(
g_thisParser,
- docBlockInBody ? last_entry : current,
+ docBlockInBody ? subrCurrent.first() : current,
doc, // text
yyFileName, // file
lineNr,
diff --git a/src/translator_fr.h b/src/translator_fr.h
index 45ff252..28468e7 100644
--- a/src/translator_fr.h
+++ b/src/translator_fr.h
@@ -1076,9 +1076,8 @@ class TranslatorFrench : public Translator
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
- "Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT "
- "du fichier de configuration, cela génèrera le graphe suivant :"
- "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
+ "Cela aboutira au graphe suivant :"
+ "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center></p>\n"
"<p>\n"
"Les rectangles du graphe ci-dessus ont la signification suivante :\n"
"<ul>\n"
@@ -1870,7 +1869,7 @@ class TranslatorFrench : public Translator
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" };
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)
{
QCString stime;
@@ -1903,37 +1902,37 @@ class TranslatorFrench : public Translator
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
- { return "detail level"; }
+ { return "Niveau de détails"; }
/*! Section header for list of template parameters */
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 */
virtual QCString trAndMore(const QCString &number)
- { return "and "+number+" more..."; }
+ { return "et "+number+" de plus..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
- { QCString result = "The documentation for this enum was generated from the following file";
- if (!single) result += "s";
- result+=":";
+ { QCString result = "La documentation pour cette énumération a été générée à partir ";
+ if (!single) result += "du fichier suivant"; else result += "des fichiers suivants";
+ result+=" :";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
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 */
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
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
- { return "Additional Inherited Members"; }
+ { return "Membres hérités additionnels"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
@@ -1945,8 +1944,8 @@ class TranslatorFrench : public Translator
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
- QCString opt = enable ? "enable" : "disable";
- return "click to "+opt+" panel synchronisation";
+ QCString opt = enable ? "activer" : "désactiver";
+ return "cliquez pour "+opt+" la synchronisation du panel";
}
/*! Used in a method of an Objective-C class that is declared in a
@@ -1955,7 +1954,7 @@ class TranslatorFrench : public Translator
*/
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.
@@ -1964,7 +1963,7 @@ class TranslatorFrench : public Translator
*/
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.
@@ -1972,7 +1971,7 @@ class TranslatorFrench : public Translator
*/
virtual QCString trClassMethods()
{
- return "Class Methods";
+ return "Méthodes de classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
@@ -1980,14 +1979,14 @@ class TranslatorFrench : public Translator
*/
virtual QCString trInstanceMethods()
{
- return "Instance Methods";
+ return "Méthodes d'instance";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
- return "Method Documentation";
+ return "Documentation des méthodes";
}
/*! Used as the title of the design overview picture created for the
@@ -1995,7 +1994,7 @@ class TranslatorFrench : public Translator
*/
virtual QCString trDesignOverview()
{
- return "Design Overview";
+ return "Vue d'ensemble";
}
//////////////////////////////////////////////////////////////////////////
@@ -2004,53 +2003,53 @@ class TranslatorFrench : public Translator
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
- { return "Exported Interfaces"; }
+ { return "Interfaces exportées"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
- { return "Included Services"; }
+ { return "Services inclus"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
- { return "Constant Groups"; }
+ { return "Groupes constants"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
- QCString result=namespaceName;
- result+=" Constant Group Reference";
+ QCString result="Référence du groupe constant ";
+ result+=namespaceName;
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
- QCString result=(QCString)sName;
- result+=" Service Reference";
+ QCString result="Référence du service ";
+ result+=(QCString)sName;
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
- QCString result=(QCString)sName;
- result+=" Singleton Reference";
+ QCString result="Référence du singleton ";
+ result+=(QCString)sName;
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
- QCString result=(QCString)"The documentation for this service "
- "was generated from the following file";
- if (single) result+=":"; else result+="s:";
+ QCString result=(QCString)"La documentation pour ce service "
+ "a été générée par ";
+ if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
- QCString result=(QCString)"The documentation for this singleton "
- "was generated from the following file";
- if (single) result+=":"; else result+="s:";
+ QCString result=(QCString)"La documentation pour ce singleton "
+ "a été générée par ";
+ if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result;
}
@@ -2058,4 +2057,4 @@ class TranslatorFrench : public Translator
};
-#endif
+#endif \ No newline at end of file
diff --git a/src/translator_ru.h b/src/translator_ru.h
index 7bd40f1..07aa63b 100644
--- a/src/translator_ru.h
+++ b/src/translator_ru.h
@@ -26,7 +26,7 @@
#ifndef TRANSLATOR_RU_H
#define TRANSLATOR_RU_H
-class TranslatorRussian : public TranslatorAdapter_1_7_5
+class TranslatorRussian : public Translator
{
public:
/*! Used for identification of the language. */
@@ -1794,6 +1794,181 @@ class TranslatorRussian : public TranslatorAdapter_1_7_5
}
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