What is a good way to get resource strings to a class in a dependency injection world?
得到的资源字符串中的类的依赖注入的世界有什么好的办法吗?
In addition to class library support, this component also provides an add-in tool for Visual Studio that converts resource strings between Simplified and Traditional Chinese.
除了类库的支持,这个组件还提供了VisualStudio上的一个插件工具,可将资源字符串在简繁体中文之间转换。
Provides step-by-step instructions for manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties.
提供手动向托管项目中添加资源文件、访问资源、显示静态资源以及将资源字符串赋值给属性的逐步介绍。
You can add new strings to the theme by adding new resource bundles to this directory.
您可以通过添加新的资源包到这个目录来增加新的字符串到主题。
The resource files will contain the strings to localize. If you have images, include them in the resource as well.
资源文件包括要本地化的字符串,如果有图片的话,也要将其包含在资源文件里面。
To display the native strings in different languages, you need to prepare the resource files for different locales.
要用不同的语言来显示本地字符串,就需要准备不同地区的资源文件。
Isolate all use of text strings, and obtain a locale-specific string from a resource bundle instead.
分离所有使用的字符串,代之以从资源绑定获得一个特定于地区的字符串。
With the resource files, you could manage the localized strings for different locales and put the image binaries as a common resource for all locales.
使用资源文件管理不同地区的本地化字符串,将图片的二进制文件转换为所有地区都可以使用的通用资源。
Youe'll use the WPS tag or resource bundle to get the strings into the LP file.
您将使用WPS标记或资源包来将这些字符串获取到LP文件中。
The values you store can in any form you wish, not just strings like most resource dictionaries.
和其他很多资源字典不同的是,其中存储的值不仅可以是字符串,而且还可以是任何你想要的类型。
You could read the Nokia 238 ri readme for the steps, but basically, you need to write a resource XML file for your strings and image and run the ResourceMaker tool to get the binary file.
可以阅读Nokia 238RI的自述文件了解相关步骤,但基本上,您需要为字符串和图片编写一个xml资源文件,运行ResourceMaker工具获得二进制文件。
When you want to access resources such as strings from the project-level resource file, you can access them directly from within the My.Resources class.
如果要访问项目级资源文件中的资源(如字符串),可直接从My . resources类中访问。
Notice here that you specify two trace strings separated by ':', one for the WebSphere Application Server resource adaptor, and one for the database (JDBC driver).
注意,这里可以指定两个跟踪字符串,之间用‘:’隔开,一个用于WebSphereApplicationServer资源适配器,另一个用于数据库(JDBC驱动程序)。
Fortunately, we have Lotus Domino Global Workbench, which can help us to resource out the Lotus Notes’ strings and build the translated strings into applications in target languages.
幸运的是,LotusDominoGlobaglobalbench可以帮助我们找出 LotusNotes字符串,然后将用目标语言翻译的字符串放置到应用程序中。
As you can see, accessing strings from a resource file using a strongly typed resource class is pretty easy.
正如您看到的,使用强类型资源类访问资源文件中的字符串比较简单。
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
标签必须设置一个对字符串资源的参照值,这样它就能够像其他字符串一样在用户界面上显示。
Externalizing the strings also allows you to localize your app to different languages by providing alternative definitions for each string resource.
外化字符串也允许你通过提供可供选择的字符串资源,来支持不同的语言。
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
标签应该被设置为一个指向字符串资源的引用,使它可以像用户界面中的其它字符串那样被本地化。
Gets or sets the path of the resource file that contains message parameter strings for the source.
获取或设置资源文件的路径,该文件包含源的消息参数字符串。
That means to store localized strings, images, and so forth in resource files for neutral cultures rather than specific cultures whenever possible.
这意味着应尽可能为非特定区域性而非特定区域性在资源文件中存储已本地化的字符串、图像等。
Resource keys are not necessarily strings.
资源键不一定是字符串。
A resource can be an icon, a table with strings, menu, dialog, bitmap, user defined data etc.
一个资源可以是图标,字符串的表格,菜单,位图,用户定义的数据等。
For example, strings are the most common type of resource to be localized.
例如,字符串是要本地化的最常见资源类型。
The database is simply available as a JNDI resource as soon as it is deployed - there is no need to chase down JDBC drivers, connection strings and configure JNDI.
可用的数据库只是作为JNDI资源尽快部署,不需要追逐JDBC驱动程序,并配置JNDI连接字符串。
You can place the strings for each language version of your application in a separate resource DLL and have the different language versions load the appropriate resources.
您可以将应用程序每种语言版本的字串放在不同的资源DLL中,并且让不同语言的版本载入适当的资源。
If you provide resource files that contain strings in each target language for your application, you can emit event log messages in the language that is used on that computer.
如果您提供的资源档案包含您应用程序每个目标语言中的字串,您可以使用该电脑上使用的语言发出事件记录讯息。
If you provide resource files that contain strings in each target language for your application, you can emit event log messages in the language that is used on that computer.
如果您提供的资源档案包含您应用程序每个目标语言中的字串,您可以使用该电脑上使用的语言发出事件记录讯息。
应用推荐