LOCALE: Mark uses of remaining '%' with xgettext:no-php-format.

This commit is contained in:
Rom Walton 2015-03-04 11:51:10 -05:00
parent 6b60946346
commit 7a0bb1bae5
2 changed files with 7 additions and 0 deletions

View File

@ -45,12 +45,14 @@ $cpu_prefs = array(
tra("Usage limits"),
new PREF_NUM(
tra("Use at most"),
// xgettext:no-php-format
tra("Keep some CPUs free for other applications. Example: 75% means use 6 cores on an 8-core CPU."),
"max_ncpus_pct",
new NUM_SPEC(tra("% of the CPUs"), 1, 100, 100)
),
new PREF_NUM(
tra("Use at most"),
// xgettext:no-php-format
tra("Suspend/resume computing every few seconds to reduce CPU temperature and energy usage. Example: 75% means compute for 3 seconds, wait for 1 second, and repeat."),
"cpu_usage_limit",
new NUM_SPEC(tra("% of CPU time"), 1, 100, 100)
@ -144,6 +146,7 @@ $disk_prefs = array(
tra("Use no more than"),
tra("Limit the percentage of disk space used by BOINC on the volume where it stores data."),
"disk_max_used_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("% of total"), 0, 100, $dp->disk_max_used_pct)
),
);
@ -153,12 +156,14 @@ $mem_prefs = array(
tra("When computer is in use, use at most"),
tra("Limit the memory used by BOINC when you're using the computer."),
"ram_max_used_busy_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("%"), 1, 100, 50)
),
new PREF_NUM(
tra("When computer is not in use, use at most"),
tra("Limit the memory used by BOINC when you're not using the computer."),
"ram_max_used_idle_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("%"), 1, 100, 90)
),
new PREF_BOOL(
@ -171,6 +176,7 @@ $mem_prefs = array(
tra("Page/swap file: use at most"),
tra("Limit the swap space (page file) used by BOINC."),
"vm_max_used_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("%"), 1, 100, 75)
),
);

View File

@ -51,6 +51,7 @@ function option($name, $val) {
}
define('COLOR_DESC', tra('Color scheme for graphics'));
// xgettext:no-php-format
define("MAX_GFX_CPU_PCT_DESC", tra("Maximum CPU % for graphics%10 ... 100%2", "<br><p class=\"text-muted\">", "</p>"));
define('APP_SELECT_DESC', tra('Run only the selected applications'));
define('APP_SELECT_TOOLTIP', tra('Only get tasks for certain applications. Useful to focus on particular applications, or to exclude them.'));