(NL) Implement 'No Information Is Available' string
This commit is contained in:
parent
7d85936e2b
commit
0dd1f1d858
|
@ -16,7 +16,8 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <rhash.h>
|
|
||||||
|
#include <compat/strl.h>
|
||||||
|
|
||||||
#include "../menu_hash.h"
|
#include "../menu_hash.h"
|
||||||
|
|
||||||
|
@ -754,6 +755,7 @@ int menu_hash_get_help_nl(uint32_t hash, char *s, size_t len)
|
||||||
switch (hash)
|
switch (hash)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
|
strlcpy(s, "Geen informatie beschikbaar.", len);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2257,7 +2257,8 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len)
|
||||||
"Positive Y axis is down.");
|
"Positive Y axis is down.");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
strlcpy(s, "No information is available.", len);
|
if (s[0] == '\0')
|
||||||
|
strlcpy(s, "No information is available.", len);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue