1 |
efrain |
1 |
<?php
|
|
|
2 |
// This file is part of Moodle - http://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* Redis Cache Store - English language strings
|
|
|
19 |
*
|
|
|
20 |
* @package cachestore_redis
|
|
|
21 |
* @copyright 2013 Adam Durana
|
|
|
22 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
defined('MOODLE_INTERNAL') || die();
|
|
|
26 |
|
|
|
27 |
$string['ca_file'] = 'CA file path';
|
|
|
28 |
$string['ca_file_help'] = 'Location of Certificate Authority file on local filesystem';
|
|
|
29 |
$string['clustermode'] = 'Cluster mode';
|
|
|
30 |
$string['clustermode_help'] = 'Enabling cluster mode will run the Redis Cluster function, allowing your server to serve multiple servers to handle concurrent requests simultaneously.';
|
|
|
31 |
$string['clustermodeunavailable'] = 'Redis Cluster is currently unavailable. Please ensure that the PHP Redis extension supports Redis Cluster functionality.';
|
|
|
32 |
$string['compressor_none'] = 'No compression.';
|
|
|
33 |
$string['compressor_php_gzip'] = 'Use gzip compression.';
|
|
|
34 |
$string['compressor_php_zstd'] = 'Use Zstandard compression.';
|
|
|
35 |
$string['encrypt_connection'] = 'Use TLS encryption.';
|
|
|
36 |
$string['encrypt_connection_help'] = 'Use TLS to connect to Redis. Do not use \'tls://\' in the hostname for Redis, use this option instead.';
|
|
|
37 |
$string['password'] = 'Password';
|
|
|
38 |
$string['password_help'] = 'This sets the password of the Redis server.';
|
|
|
39 |
$string['pluginname'] = 'Redis';
|
|
|
40 |
$string['prefix'] = 'Key prefix';
|
|
|
41 |
$string['prefix_help'] = 'This prefix is used for all key names on the Redis server.
|
|
|
42 |
* If you only have one Moodle instance using this server, you can leave this value default.
|
|
|
43 |
* Due to key length restrictions, a maximum of 5 characters is permitted.';
|
|
|
44 |
$string['prefixinvalid'] = 'Invalid prefix. You can only use a-z A-Z 0-9-_.';
|
|
|
45 |
$string['privacy:metadata:redis'] = 'The Redis cachestore plugin stores data briefly as part of its caching functionality. This data is stored on an Redis server where data is regularly removed.';
|
|
|
46 |
$string['privacy:metadata:redis:data'] = 'The various data stored in the cache';
|
|
|
47 |
$string['serializer_igbinary'] = 'The igbinary serializer.';
|
|
|
48 |
$string['serializer_php'] = 'The default PHP serializer.';
|
|
|
49 |
$string['server'] = 'Server(s)';
|
|
|
50 |
$string['server_help'] = 'Redis server to use for testing.
|
|
|
51 |
|
|
|
52 |
Some example values:
|
|
|
53 |
|
|
|
54 |
* testredis.abc.com - To connect to a Redis server by hostname (Port 6379 by default).
|
|
|
55 |
* testredis.abc.com:1234 - To connect to a Redis server by hostname with a specific port.
|
|
|
56 |
* 1.2.3.4 - To connect to a Redis server by IP address (Port 6379 by default).
|
|
|
57 |
* 1.2.3.4:1234 - To connect to a Redis server by IP address with a specific port.
|
|
|
58 |
* unix:///var/redis.sock - To connect to a Redis server using a Unix socket.
|
|
|
59 |
* /var/redis.sock - To connect to a Redis server using a Unix socket (alternative format).
|
|
|
60 |
|
|
|
61 |
If cluster mode is enabled, specify servers separated by a new line, for example:<br>
|
|
|
62 |
172.23.0.11<br>
|
|
|
63 |
172.23.0.12<br>
|
|
|
64 |
172.23.0.13<br>
|
|
|
65 |
|
|
|
66 |
For further information, see <a href="https://redis.io/docs/reference/clients/#accepting-client-connections">Accepting Client Connections</a> and <a href="https://redis.io/resources/clients/#php">Redis PHP clients</a>.';
|
|
|
67 |
$string['task_ttl'] = 'Free up memory used by expired entries in Redis caches';
|
|
|
68 |
$string['test_clustermode'] = 'Cluster mode';
|
|
|
69 |
$string['test_clustermode_desc'] = 'Enable Test in Redis Cluster mode.';
|
|
|
70 |
$string['test_password'] = 'Test server password';
|
|
|
71 |
$string['test_password_desc'] = 'Redis test server password.';
|
|
|
72 |
$string['test_serializer'] = 'Serializer';
|
|
|
73 |
$string['test_serializer_desc'] = 'Serializer to use for testing.';
|
|
|
74 |
$string['test_server'] = 'Test server';
|
|
|
75 |
$string['test_server_desc'] = 'Redis server to use for testing.
|
|
|
76 |
|
|
|
77 |
Some example values:
|
|
|
78 |
|
|
|
79 |
* testredis.abc.com - To connect to a Redis server by hostname (Port 6379 by default).
|
|
|
80 |
* testredis.abc.com:1234 - To connect to a Redis server by hostname with a specific port.
|
|
|
81 |
* 1.2.3.4 - To connect to a Redis server by IP address (Port 6379 by default).
|
|
|
82 |
* 1.2.3.4:1234 - To connect to a Redis server by IP address with a specific port.
|
|
|
83 |
* unix:///var/redis.sock - To connect to a Redis server using a Unix socket.
|
|
|
84 |
* /var/redis.sock - To connect to a Redis server using a Unix socket (alternative format).
|
|
|
85 |
|
|
|
86 |
If cluster mode is enabled, specify servers separated by a new line, for example:<br>
|
|
|
87 |
172.23.0.11<br>
|
|
|
88 |
172.23.0.12<br>
|
|
|
89 |
172.23.0.13<br>
|
|
|
90 |
|
|
|
91 |
For further information, see <a href="https://redis.io/docs/reference/clients/#accepting-client-connections">Accepting Client Connections</a> and <a href="https://redis.io/resources/clients/#php">Redis PHP clients</a>.';
|
|
|
92 |
$string['test_ttl'] = 'Testing TTL';
|
|
|
93 |
$string['test_ttl_desc'] = 'Run the performance test using a cache that requires TTL (slower sets).';
|
|
|
94 |
$string['usecompressor'] = 'Use compressor';
|
|
|
95 |
$string['usecompressor_help'] = 'Specifies the compressor to use after serializing. It is done at Moodle Cache API level, not at php-redis level.';
|
|
|
96 |
$string['useserializer'] = 'Use serializer';
|
|
|
97 |
$string['useserializer_help'] = 'Specifies the serializer to use for serializing.
|
|
|
98 |
The valid serializers are Redis::SERIALIZER_PHP or Redis::SERIALIZER_IGBINARY.
|
|
|
99 |
The latter is supported only when phpredis is configured with --enable-redis-igbinary option and the igbinary extension is loaded.';
|