]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/dest-localization.c
Merge changes from CUPS 1.6svn-r10188, including changes for <rdar://problem/10127258...
[thirdparty/cups.git] / cups / dest-localization.c
1 /*
2 * "$Id$"
3 *
4 * Destination localization support for CUPS.
5 *
6 * Copyright 2012 by Apple Inc.
7 *
8 * These coded instructions, statements, and computer programs are the
9 * property of Apple Inc. and are protected by Federal copyright
10 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
11 * which should have been included with this file. If this file is
12 * file is missing or damaged, see the license at "http://www.cups.org/".
13 *
14 * This file is subject to the Apple OS-Developed Software exception.
15 *
16 * Contents:
17 *
18  * cupsLocalizeDestOption() - Get the localized string for a destination
19 * option.
20 * cupsLocalizeDestValue() - Get the localized string for a destination
21 * option+value pair.
22 */
23
24 /*
25 * Include necessary headers...
26 */
27
28 #include "cups-private.h"
29
30
31 /*
32 * 'cupsLocalizeDestOption()' - Get the localized string for a destination
33 * option.
34 *
35 * The returned string is stored in the localization array and will become
36 * invalid if the localization array is deleted.
37 *
38 * @since CUPS 1.6@
39 */
40
41 const char * /* O - Localized string */
42 cupsLocalizeDestOption(
43 http_t *http, /* I - Connection to destination */
44 cups_dest_t *dest, /* I - Destination */
45 cups_dinfo_t *dinfo, /* I - Destination information */
46 const char *option) /* I - Option to localize */
47 {
48 return (option);
49 }
50
51
52 /*
53 * 'cupsLocalizeDestValue()' - Get the localized string for a destination
54 * option+value pair.
55 *
56 * The returned string is stored in the localization array and will become
57 * invalid if the localization array is deleted.
58 *
59 * @since CUPS 1.6@
60 */
61
62 const char * /* O - Localized string */
63 cupsLocalizeDestValue(
64 http_t *http, /* I - Connection to destination */
65 cups_dest_t *dest, /* I - Destination */
66 cups_dinfo_t *dinfo, /* I - Destination information */
67 const char *option, /* I - Option to localize */
68 const char *value) /* I - Value to localize */
69 {
70 return (value);
71 }
72
73
74 /*
75 * End of "$Id$".
76 */