Skip to content

Commit 988076f

Browse files
committed
indenter sample code; added FR translation, fixed Twitter handle
1 parent 425b732 commit 988076f

File tree

3 files changed

+53
-11
lines changed

3 files changed

+53
-11
lines changed

RetailCoder.VBE/UI/RubberduckUI.Designer.cs

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RetailCoder.VBE/UI/RubberduckUI.fr.resx

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -59,7 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6363
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6464
<xsd:element name="root" msdata:IsDataSet="true">
6565
<xsd:complexType>
@@ -1586,4 +1586,45 @@ Tous ceux qui nous ont donné une étoile ou un "like"
15861586
<data name="ReparseToolTipText" xml:space="preserve">
15871587
<value>{0}. Cliquez pour rafraîchir.</value>
15881588
</data>
1589-
</root>
1589+
<data name="IndenterSettings_PreviewCode" xml:space="preserve">
1590+
<value>Public Enum ExempleEnum
1591+
' commentaire enum.
1592+
Foo
1593+
Bar ' commentaire membre enum.
1594+
End Enum
1595+
1596+
' Procédure exemple
1597+
Sub ExampleProc()
1598+
1599+
' SMART INDENTER
1600+
' Code VB6 original gracieusement offert au projet Rubberduck par Stephen Bullen et Rob Bovey
1601+
' © 2016 Rubberduck VBA.
1602+
1603+
Dim count As Integer
1604+
Static name As String
1605+
1606+
If VousAimezRubberduck Then
1607+
' Donnez-nous une étoile sur GitHub http://github.com/rubberduck-vba/Rubberduck
1608+
' Suivez-nous sur Twitter @rubberduckvba
1609+
' Visitez http://rubberduckvba.com pour les nouvelles et mises à jour
1610+
1611+
Select Case X
1612+
Case "A"
1613+
' Si vous avez des commentaires ou suggestions, _
1614+
ou si vous trouvez du code VBA valide qui ne s'indente pas correctement,
1615+
1616+
#If VBA6 Then
1617+
MsgBox "Contactez contact@rubberduck-vba.com"
1618+
#End If
1619+
1620+
Case "Les chaînes de caractères et paramètres peuvent être" _
1621+
&amp; "alignés pour une lecture plus facile, en ignorant facultativement" _
1622+
&amp; "les opérateurs (&amp;+, etc) au début d'une ligne."
1623+
1624+
Debug.Print "X&lt;&gt;1"
1625+
End Select 'Case X
1626+
End If 'Plus d'outils? Suggestions http://github.com/rubberduck-vba/Rubberduck/Issues/New
1627+
1628+
End Sub</value>
1629+
</data>
1630+
</root>

RetailCoder.VBE/UI/RubberduckUI.resx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -59,7 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6363
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6464
<xsd:element name="root" msdata:IsDataSet="true">
6565
<xsd:complexType>
@@ -1818,7 +1818,7 @@ Static name As String
18181818

18191819
If YouLikeRubberduck Then
18201820
' Star us on GitHub http://github.com/rubberduck-vba/Rubberduck
1821-
' Follow us on Twitter @rubberduck-vba/contributors
1821+
' Follow us on Twitter @rubberduckvba
18221822
' Visit http://rubberduckvba.com for news and updates
18231823

18241824
Select Case X
@@ -1836,8 +1836,8 @@ Case "Continued strings and parameters can be" _
18361836

18371837
Debug.Print "X&lt;&gt;1"
18381838
End Select 'Case X
1839-
End If 'More Tools?
1839+
End If 'More Tools? Suggestions http://github.com/rubberduck-vba/Rubberduck/Issues/New
18401840

18411841
End Sub</value>
18421842
</data>
1843-
</root>
1843+
</root>

0 commit comments

Comments
 (0)