Skip to content

Commit

Permalink
Misc translation fixes from https://forum.freecadweb.org/viewtopic.ph…
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 23, 2019
1 parent eb08c67 commit 090fc64
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 370 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchMaterial.py
Expand Up @@ -403,7 +403,7 @@ def __setstate__(self,state):
def claimChildren(self):
ch = []
if hasattr(self,"Object"):
for o in FreeCAD.ActiveDocument.Objects:
for o in self.Object.Document.Objects:
if o.isDerivedFrom("App::MaterialObject"):
if o.Material:
if "Father" in o.Material:
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchPanel.py
Expand Up @@ -932,7 +932,7 @@ def setProperties(self,obj):
obj.addProperty("App::PropertyLength","TagSize","PanelCut",QT_TRANSLATE_NOOP("App::Property","The size of the tag text"))
obj.TagSize = 10
if not "TagPosition" in pl:
obj.addProperty("App::PropertyVector","TagPosition","PanelCut",QT_TRANSLATE_NOOP("App::Property","The position of the tag text. Keep (0,0,0) for automatic center position"))
obj.addProperty("App::PropertyVector","TagPosition","PanelCut",QT_TRANSLATE_NOOP("App::Property","The position of the tag text. Keep (0,0,0) for center position"))
if not "TagRotation" in pl:
obj.addProperty("App::PropertyAngle","TagRotation","PanelCut",QT_TRANSLATE_NOOP("App::Property","The rotation of the tag text"))
if not "FontFile" in pl:
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchStairs.py
Expand Up @@ -356,7 +356,7 @@ def setProperties(self,obj):

# TODO - To be combined into Width when PropertyLengthList is available
if not "WidthOfLanding" in pl:
obj.addProperty("App::PropertyFloatList","WidthOfLanding","Stairs",QT_TRANSLATE_NOOP("App::Property","The width of a Landing (Second edge and after - First edge follows Width property"))
obj.addProperty("App::PropertyFloatList","WidthOfLanding","Stairs",QT_TRANSLATE_NOOP("App::Property","The width of a Landing (Second edge and after - First edge follows Width property)"))

# steps properties
if not "NumberOfSteps" in pl:
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Arch/Resources/ui/DialogBimServerLogin.ui
Expand Up @@ -19,7 +19,7 @@
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Bim server URL:</string>
<string>BimServer URL:</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -59,7 +59,7 @@
<item>
<widget class="QCheckBox" name="checkStore">
<property name="text">
<string>Keep me logged across FreeCAD sessions</string>
<string>Keep me logged in across FreeCAD sessions</string>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Start/Gui/DlgStartPreferences.ui
Expand Up @@ -607,7 +607,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Close &amp; switch on file open</string>
<string>Close &amp; switch on opening file</string>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Start/StartPage/TranslationTexts.py
Expand Up @@ -69,7 +69,7 @@ def translate(context,text):
T_RECENTCOMMITS = translate("StartPage", "Recent commits")
T_DESCR_RECENTCOMMITS = translate("StartPage", "Below are the latest changes added to the <a href=\"http://github.com/FreeCAD/FreeCAD/\">FreeCAD source code</a>. These changes might not reflect yet in the FreeCAD version that you are currently running. Check the <a href=\"https://www.freecadweb.org/wiki/Downloads\">available options</a> if you wish to obtain a development version.")
T_SEEONGITHUB = translate("StartPage", "See all commits on github")
T_CUSTOM = translate("StartPage", "You can configure a custom folder to display here in menu Edit -> Preferences -> Start -> Custom folder")
T_CUSTOM = translate("StartPage", "You can configure a custom folder to display here in menu Edit -> Preferences -> Start -> Show additional folder")
T_VERSION = translate("StartPage", "version")
T_BUILD = translate("StartPage", "build")
T_CREATENEW = translate("StartPage", "Create new...")
Expand Down
2 changes: 0 additions & 2 deletions src/Mod/Web/Gui/Resources/Web.qrc
Expand Up @@ -10,8 +10,6 @@
<file>icons/actions/web-zoom-out.svg</file>
<file>icons/actions/web-sketchfab.svg</file>
<file>icons/WebWorkbench.svg</file>
<file>icons/Sketchfab.svg</file>
<file>ui/TaskDlgSketchfab.ui</file>
<file>translations/Web_de.qm</file>
<file>translations/Web_af.qm</file>
<file>translations/Web_zh-CN.qm</file>
Expand Down
133 changes: 0 additions & 133 deletions src/Mod/Web/Gui/Resources/icons/Sketchfab.svg

This file was deleted.

0 comments on commit 090fc64

Please sign in to comment.