Orb/Doxygen/src/translator_en.h
changeset 4 468f4c8d3d5b
parent 0 42188c7ea2d9
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
     1 /******************************************************************************
     1 /******************************************************************************
     2  *
     2  *
     3  * 
     3  * 
     4  *
     4  *
     5  * Copyright (C) 1997-2008 by Dimitri van Heesch.
     5  * Copyright (C) 1997-2010 by Dimitri van Heesch.
     6  *
     6  *
     7  * Permission to use, copy, modify, and distribute this software and its
     7  * Permission to use, copy, modify, and distribute this software and its
     8  * documentation under the terms of the GNU General Public License is hereby 
     8  * documentation under the terms of the GNU General Public License is hereby 
     9  * granted. No representations are made about the suitability of this software 
     9  * granted. No representations are made about the suitability of this software 
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    10  * for any purpose. It is provided "as is" without express or implied warranty.
    72     virtual QCString latexLanguageSupportCommand()
    72     virtual QCString latexLanguageSupportCommand()
    73     {
    73     {
    74       return "";
    74       return "";
    75     }
    75     }
    76 
    76 
    77     /*! return the language charset. This will be used for the HTML output */
    77     /*! return the language charset. This will be used 
       
    78         when transcoding the translatable strings in this file to UTF-8 */
    78     virtual QCString idLanguageCharset()
    79     virtual QCString idLanguageCharset()
    79     {
    80     {
    80       return "iso-8859-1";
    81       return "iso-8859-1";
    81     }
    82     }
    82 
    83 
  1812     virtual QCString trNoMatches()
  1813     virtual QCString trNoMatches()
  1813     {
  1814     {
  1814       return "No Matches";
  1815       return "No Matches";
  1815     }
  1816     }
  1816 
  1817 
       
  1818 //////////////////////////////////////////////////////////////////////////
       
  1819 // new since 1.6.3 (missing items for the directory pages)
       
  1820 //////////////////////////////////////////////////////////////////////////
       
  1821 
       
  1822     /*! introduction text for the directory dependency graph */
       
  1823     virtual QCString trDirDependency(const char *name)
       
  1824     {
       
  1825       return (QCString)"Directory dependency graph for "+name;
       
  1826     }
       
  1827 
       
  1828     /*! when clicking a directory dependency label, a page with a
       
  1829      *  table is shown. The heading for the first column mentions the
       
  1830      *  source file that has a relation to another file.
       
  1831      */
       
  1832     virtual QCString trFileIn(const char *name)
       
  1833     {
       
  1834       return (QCString)"File in "+name;
       
  1835     }
       
  1836 
       
  1837     /*! when clicking a directory dependency label, a page with a
       
  1838      *  table is shown. The heading for the second column mentions the
       
  1839      *  destination file that is included.
       
  1840      */
       
  1841     virtual QCString trIncludesFileIn(const char *name)
       
  1842     {
       
  1843       return (QCString)"Includes file in "+name;
       
  1844     }
       
  1845 
       
  1846     /** Compiles a date string. 
       
  1847      *  @param year Year in 4 digits
       
  1848      *  @param month Month of the year: 1=January
       
  1849      *  @param day Day of the Month: 1..31
       
  1850      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
       
  1851      *  @param hour Hour of the day: 0..23
       
  1852      *  @param minutes Minutes in the hour: 0..59
       
  1853      *  @param seconds Seconds within the minute: 0..59
       
  1854      *  @param includeTime Include time in the result string?
       
  1855      */
       
  1856     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
       
  1857                                 int hour,int minutes,int seconds,
       
  1858                                 bool includeTime)
       
  1859     {
       
  1860       static const char *days[]   = { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
       
  1861       static const char *months[] = { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
       
  1862       QCString sdate;
       
  1863       sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
       
  1864       if (includeTime)
       
  1865       {
       
  1866         QCString stime;
       
  1867         stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
       
  1868         sdate+=stime;
       
  1869       }
       
  1870       return sdate;
       
  1871     }
       
  1872 
       
  1873 
  1817 };
  1874 };
  1818 
  1875 
  1819 #endif
  1876 #endif