Sentence casing

+ avoid spaces at the end of a translatable string, as those can
easily be missed by the translators.

Change-Id: Ic41e613b44e4248529d1f68f6bab13a048e66f3e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3612
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Humdinger 2021-01-09 10:43:26 +01:00 committed by humdinger
parent d12e6085a0
commit 8ff235aa28
3 changed files with 8 additions and 8 deletions

View File

@ -30,12 +30,12 @@ static const uint32 kMsgUpdateControls = 'UCTL';
// labels
static const char *kLabelIPCP = "TCP/IP";
static const char *kLabelIPAddress = "IP Address: ";
static const char *kLabelIPAddress = "IP address: ";
static const char *kLabelPrimaryDNS = "Primary DNS: ";
static const char *kLabelSecondaryDNS = "Secondary DNS: ";
static const char *kLabelOptional = "(Optional)";
static const char *kLabelExtendedOptions = "Extended Options:";
static const char *kLabelEnabled = "Enable TCP/IP Protocol";
static const char *kLabelExtendedOptions = "Extended options:";
static const char *kLabelEnabled = "Enable TCP/IP protocol";
// add-on descriptions
static const char *kKernelModuleName = "ipcp";

View File

@ -353,16 +353,16 @@ NetworkStatusView::_ShowConfiguration(BMessage* message)
networkInterface.GetAddressAt(i, address);
switch (address.Address().Family()) {
case AF_INET:
text << "\n" << B_TRANSLATE("IPv4 Address: ")
text << "\n" << B_TRANSLATE("IPv4 address:") << " "
<< address.Address().ToString()
<< "\n" << B_TRANSLATE("Broadcast: ")
<< "\n" << B_TRANSLATE("Broadcast:") << " "
<< address.Broadcast().ToString()
<< "\n" << B_TRANSLATE("Netmask: ")
<< "\n" << B_TRANSLATE("Netmask:") << " "
<< address.Mask().ToString()
<< "\n";
break;
case AF_INET6:
text << "\n" << B_TRANSLATE("IPv6 Address: ")
text << "\n" << B_TRANSLATE("IPv6 address:") << " "
<< address.Address().ToString()
<< "/" << address.Mask().PrefixLength()
<< "\n";

View File

@ -76,7 +76,7 @@ InterfaceAddressView::InterfaceAddressView(int family,
float minimumWidth = be_control_look->DefaultItemSpacing() * 15;
fAddressField = new IPAddressControl(fFamily, B_TRANSLATE("IP Address:"),
fAddressField = new IPAddressControl(fFamily, B_TRANSLATE("IP address:"),
NULL);
fAddressField->SetToolTip(B_TRANSLATE("Your IP address"));
fAddressField->TextView()->SetExplicitMinSize(