summaryrefslogtreecommitdiff
path: root/scaddins/inc/datefunc.hrc
blob: f4a370ae1e44ae01ed84e633b62f4592dbe566f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#pragma once

#include <unotools/resmgr.hxx>

#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))

const TranslateId DATE_FUNCDESC_DiffWeeks[] =
{
    NC_("DATE_FUNCDESC_DiffWeeks", "Calculates the number of weeks in a specific period"),
    NC_("DATE_FUNCDESC_DiffWeeks", "Start date"),
    NC_("DATE_FUNCDESC_DiffWeeks", "First day of the period"),
    NC_("DATE_FUNCDESC_DiffWeeks", "End date"),
    NC_("DATE_FUNCDESC_DiffWeeks", "Last day of the period"),
    NC_("DATE_FUNCDESC_DiffWeeks", "Type"),
    NC_("DATE_FUNCDESC_DiffWeeks", "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.")
};

const TranslateId DATE_FUNCDESC_DiffMonths[] =
{
    NC_("DATE_FUNCDESC_DiffMonths", "Determines the number of months in a specific period."),
    NC_("DATE_FUNCDESC_DiffMonths", "Start date"),
    NC_("DATE_FUNCDESC_DiffMonths", "First day of the period."),
    NC_("DATE_FUNCDESC_DiffMonths", "End date"),
    NC_("DATE_FUNCDESC_DiffMonths", "Last day of the period."),
    NC_("DATE_FUNCDESC_DiffMonths", "Type"),
    NC_("DATE_FUNCDESC_DiffMonths", "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.")
};

const TranslateId DATE_FUNCDESC_DiffYears[] =
{
    NC_("DATE_FUNCDESC_DiffYears", "Calculates the number of years in a specific period."),
    NC_("DATE_FUNCDESC_DiffYears", "Start date"),
    NC_("DATE_FUNCDESC_DiffYears", "First day of the period"),
    NC_("DATE_FUNCDESC_DiffYears", "End date"),
    NC_("DATE_FUNCDESC_DiffYears", "Last day of the period"),
    NC_("DATE_FUNCDESC_DiffYears", "Type"),
    NC_("DATE_FUNCDESC_DiffYears", "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.")
};

const TranslateId DATE_FUNCDESC_IsLeapYear[] =
{
    NC_("DATE_FUNCDESC_IsLeapYear", "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE)."),
    NC_("DATE_FUNCDESC_IsLeapYear", "Date"),
    NC_("DATE_FUNCDESC_IsLeapYear", "Any day in the desired year")
};

const TranslateId DATE_FUNCDESC_DaysInMonth[] =
{
    NC_("DATE_FUNCDESC_DaysInMonth", "Returns the number of days of the month in which the date entered occurs"),
    NC_("DATE_FUNCDESC_DaysInMonth", "Date"),
    NC_("DATE_FUNCDESC_DaysInMonth", "Any day in the desired month")
};

const TranslateId DATE_FUNCDESC_DaysInYear[] =
{
    NC_("DATE_FUNCDESC_DaysInYear", "Returns the number of days of the year in which the date entered occurs."),
    NC_("DATE_FUNCDESC_DaysInYear", "Date"),
    NC_("DATE_FUNCDESC_DaysInYear", "Any day in the desired year")
};

const TranslateId DATE_FUNCDESC_WeeksInYear[] =
{
    NC_("DATE_FUNCDESC_WeeksInYear", "Returns the number of weeks of the year in which the date entered occurs"),
    NC_("DATE_FUNCDESC_WeeksInYear", "Date"),
    NC_("DATE_FUNCDESC_WeeksInYear", "Any day in the desired year")
};

const TranslateId DATE_FUNCDESC_Rot13[] =
{
    NC_("DATE_FUNCDESC_Rot13", "Encrypts or decrypts a text using the ROT13 algorithm"),
    NC_("DATE_FUNCDESC_Rot13", "Text"),
    NC_("DATE_FUNCDESC_Rot13", "Text to be encrypted or text already encrypted")
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */