Arch: Residual trailing \n chars removed from translate()
This commit is contained in:
@@ -229,13 +229,13 @@ class _CommandBuilding:
|
||||
warning = True
|
||||
if warning :
|
||||
message = translate( "Arch" , "You can put anything but Site and Building object in a Building object.\n\
|
||||
Building object are not allowed to accept Site and Building object.\n\
|
||||
Building object is not allowed to accept Site and Building object.\n\
|
||||
Site and Building objects will be removed from the selection.\n\
|
||||
You can change that in the preferences.\n" )
|
||||
You can change that in the preferences.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
if sel and len(buildingobj) == 0:
|
||||
message = translate( "Arch" , "There is no valid object in the selection.\n\
|
||||
Building creation aborted.\n" )
|
||||
Building creation aborted.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
else :
|
||||
ss = "[ "
|
||||
|
||||
@@ -90,11 +90,11 @@ class _CommandFloor:
|
||||
message = translate( "Arch" , "You can put anything but Site, Building, Floor object in a Floor object.\n\
|
||||
Floor object are not allowed to accept Site or Building object.\n\
|
||||
Site, Building and Floor objects will be removed from the selection.\n\
|
||||
You can change that in the preferences.\n" )
|
||||
You can change that in the preferences.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
if sel and len(floorobj) == 0:
|
||||
message = translate( "Arch" , "There is no valid object in the selection.\n\
|
||||
Floor creation aborted.\n" )
|
||||
Floor creation aborted.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
else :
|
||||
ss = "[ "
|
||||
|
||||
@@ -281,11 +281,11 @@ class _CommandSite:
|
||||
message = translate( "Arch" , "Please select only Building objects or nothing!\n\
|
||||
Site are not allowed to accept other object than Building.\n\
|
||||
Other objects will be removed from the selection.\n\
|
||||
You can change that in the preferences." )
|
||||
You can change that in the preferences.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
if sel and len(siteobj) == 0:
|
||||
message = translate( "Arch" , "There is no valid object in the selection.\n\
|
||||
Site creation aborted." )
|
||||
Site creation aborted.") + "\n"
|
||||
ArchCommands.printMessage( message )
|
||||
else :
|
||||
ss = "[ "
|
||||
|
||||
Reference in New Issue
Block a user