Repository navigation
Description
Replace simple tokens with their text
In numerous places in the documentation in the dotnet/docs repo, tokens are used to provide text that may change. At build time, the token's text is inserted into a topic. In many cases, however, tokens are used to insert simple static text that will not change. In these cases, the token offers no advantages, and the presence of the
token (a file reference included in the documentation) is distracting and makes the topic difficult to read.
Instances where the tokens are used should be replaced with their token text, and then the tokens should be deleted. Each PR can focus on replacing the text of one token and removing that token; checked items have been addressed in individual PRs. The tokens include:
- tla2sharptla-visualb-md.md (token text: Visual Basic)
- tla2sharptla-visualbnet-md.md (token text: Microsoft Visual Basic .NET)
- tlasharptla-vba-md.md:Microsoft (token text: Visual Basic for Applications (VBA))
- tlasharptla-visualb-md.md (token text: Microsoft Visual Basic)
- tlasharptla-visualbnet-md.md (token text: Microsoft Visual Basic .NET))
- tlasharptla-visualbscrpt-md.md (token text: Microsoft Visual Basic Scripting Edition (VBScript))
- vb-current-short-md.md (token text: Visual Basic)
- vbprvb-md.md (token text: Visual Basic) -- in the dotnet/docs repo
- vbprvb-md.md (token text: Visual Basic) -- in the dotnet/dotnet-api-docs repo
- csharp-current-short-md.md (token text: Visual C#)
- csprcs-md.md (token text: Visual C#)
- csprcsxpr-md.md (token text: Visual C# Express)
- tla2sharptla-cshrp-md.md (token text: C#)
- tla2sharptla-lhcshrp-md.md (token text: C#)
- tlasharptla-cshrp-md.md (token text: C#)
- tlasharptla-lhcshrp-md.md (token text: C#)
- tlasharptla-vcshrp-md.md (token text: Microsoft Visual C#)
- vs-current-short-md.md (token text: Visual Studio)
- vsprvs-md.md (token text: Visual Studio)
- tla2sharptla-avalonwinfx-md.md (token text:.NET Framework)
- tla2sharptla-winfx-md.md (token text:.NET Framework)
- tlasharptla-avalonwinfx-md.md (token text: Microsoft .NET Framework)
- tlasharptla-netframewk-md.md (token text: Microsoft .NET Framework)
- tlasharptla-titlewinfx-md.md (token text: .NET Framework)
- tlasharptla-winfx-md.md (token text: Microsoft .NET Framework)
- avalon1-md.md (token text: Windows Presentation Foundation (WPF))
- tla2sharptla-mswin-md.md (token text: Windows)
- tla2sharptla-win-md.md (token text: Windows)
- tla2sharptla-winforms-md.md (token text: Windows Forms)
- tla2sharptla-winformssharpinitcap-md.md (token text: Windows Forms)
- tlasharptla-winsharpinitcap-md.md (token text: Microsoft Windows)
- tlasharptla-workflow-md.md (token text: Windows Workflow Foundation)
- tlasharptla-wpf-md.md (token text: Windows Presentation Foundation (WPF))
- vsindigo-md.md (token text: Windows Communication Foundation (WCF))
- wf-md.md (token text: Windows Workflow Foundation (WF))
- wf2-md.md (token text: Windows Workflow Foundation)
- ssnoversion-md.md (token text: SQL Server)
- crabout-md.md (token text: For more information about)
- crdefault-md.md (token text: For more information, see)
- crexample-md.md (token text: For an example of)
- crlist-md.md (token text: For a list of) - only two uses
- indigo1-md.md (token text: Windows Communication Foundation (WCF)) -- in the docs repo
- indigo1-md.md (token text: Windows Communication Foundation (WCF)) -- in dotnet-api-docs
- indigo2-md.md (token text: WCF) -- in the dotnet/docs repo
- indigo2-md.md (token text: WCF) -- in the dotnet/dotnet-api-docs repo
- null-md.md (token text: null) - only two uses
The following are tokens that should be replaced by their token text and removed from the dotnet/dotnet-api-docs repo. (They have already been removed from the dotnet/docs repo.) A checkmark indicates that the item has already been removed.
- ajax-current-ext-md.md (token text: Microsoft Ajax)
- atlaslib-currrent-ext-md.md (token text: Microsoft Ajax Library)
- cppwrt-md.md (token text: Visual C++ component extensions)
- infocard1-md.md (token text: CardSpace)
- net-2015-md.md (token text: .NET Framework 4.6)
- net-client-v35-long-md.md (token text: .NET Framework Client Profile)
- ofprexcel-md.md (token text: Microsoft Excel)
- tla2sharptla-ado-md.md (token text: ADO)
- tla2sharptla-aes-md.md (token text: AES)
- tla2sharptla-ascii-md.md (token text: ASCII)
- tla2sharptla-clrsharpinitcap-md.md (token text: CLR)
- tla2sharptla-dib-md.md (token text: DIB)
- tla2sharptla-guid-md.md (token text: GUID)
- tla2sharptla-id-md.md (token text: ID)
- tla2sharptla-jpegorg-md.md (token text: JPEG)
- tla2sharptla-ms-md.md (token text: Microsoft)
- tla2sharptla-rtf-md.md (token text: RTF)
- tla2sharptla-whistler-md.md (token text: Windows XP)
- tla2sharptla-whistler2-md.md (token text: Windows XP)
- tla2sharptla-xamlsharpinitcap-md.md (token text: XAML)
- tlasharptla-ado-md.md (token text: Microsoft ActiveX Data Objects (ADO))
- tlasharptla-aes-md.md (token text: AES)
- tlasharptla-ansi-md.md (token text: ANSI)
- tlasharptla-bmpsharpinitcap-md.md (token text: Bitmap (BMP))
- tlasharptla-dib-md.md (token text: device-independent bitmap (DIB))
- tlasharptla-guid-md.md (token text: globally unique identifier (GUID))
- tlasharptla-http-md.md (token text: HTTP)
- tlasharptla-notepad-md.md (token text: Microsoft Notepad)
- tlasharptla-oem-md.md (token text: OEM)
- tlasharptla-titlewinfx-md.md (token text: .NET Framework)
- tlasharptla-vba-md.md (token text: Microsoft Visual Basic for Applications (VBA))
- tlasharptla-whistler-md.md (token text: Microsoft Windows XP)
- tlasharptla-whistler2-md.md (token text: Microsoft Windows XP)
- tlasharptla-winsharpinitcap-md.md (token text: Microsoft Windows)
- tlasharptla-vstecmsbuild-md.md (token text: MSBuild)
- tlasharptla-vwprvw-md.md (token text: Visual Web Developer)
- tlasharptla-winxppro-md.md (token text: Windows XP Professional)
Activity
pkulikov commentedon Mar 27, 2018
May I suggest more?
rpetrusha commentedon Mar 27, 2018
Thanks, @pkulikov. Of course you can suggest more. I'd focused on product names (though I'd missed the WCF tokens that you listed). I've updated the list above to incorporate the tokens you've recommended.
ErlendLandro commentedon Apr 17, 2018
I'd be happy to take care of this one.
rpetrusha commentedon Apr 20, 2018
Thanks, @Mackiovello. Since this is a fairly substantial amount of work, the best way to approach this is to submit a separate PR for each token.
replace Visual Basic token with plain text for dotnet#4801
Replace Microsoft Visual Basic .NET token for dotnet#4801
Replace Microsoft Visual Basic .NET token for #4801 (#4980)
replace Visual Basic token with plain text for #4801 (#4979)
mairaw commentedon Apr 20, 2018
should we just check off when both repos have been updated @rpetrusha? or maybe track each entry for each repo?
161 remaining items
ErlendLandro commentedon May 17, 2018
@rpetrusha is there anything left for this issue?
rpetrusha commentedon May 17, 2018
There are just two tokens left, @Mackiovello:
Replace Windows Communication Foundation (WCF) token
Replace Microsoft Ajax Library token
Replace Windows Communication Foundation (WCF) token (#196)
Replace Microsoft Ajax Library token (#197)
mairaw commentedon Jun 12, 2018
Can we close this issue @rpetrusha?
rpetrusha commentedon Jun 12, 2018
Yes, we can, @mairaw.
nokura commentedon Jul 25, 2018
As feedback from Loc team, this practice is caused a large amount of re-translating. $65K for https://github.com/dotnet/dotnet-api-docs. We are looking for a way to replace the tokens with values without sending to translators, but not find it yet.