|
Wersja 903, 449 bytes
(wprowadzona przez alina, 16 years temu)
|
|
re #215 dodanie linka wyloguj na stronie z potwierdzeniem gdy platnosc ok, wydzielenie funkcji do tłumaczen
|
| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using System.Collections.Generic;
|
|---|
| 3 | using System.Linq;
|
|---|
| 4 | using System.Web;
|
|---|
| 5 | using Platnosci.Core.Interface;
|
|---|
| 6 |
|
|---|
| 7 | namespace Platnosci.Core.Linq
|
|---|
| 8 | {
|
|---|
| 9 | public class Translate: ITranslate
|
|---|
| 10 | {
|
|---|
| 11 | public string TranslateStr(string className, string keyName)
|
|---|
| 12 | {
|
|---|
| 13 | string strName = HttpContext.GetGlobalResourceObject(className, keyName).ToString();
|
|---|
| 14 | return strName;
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | }
|
|---|
| 19 | }
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.