mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[i18n] translate HTTP proxy
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									80b44fc9a9
								
							
						
					
					
						commit
						df66c2d2dc
					
				
					 6 changed files with 120 additions and 56 deletions
				
			
		| 
						 | 
				
			
			@ -187,6 +187,8 @@ namespace http
 | 
			
		|||
 | 
			
		||||
		params.clear();
 | 
			
		||||
		for (const auto& it : tokens) {
 | 
			
		||||
			if (!it.length()) // empty
 | 
			
		||||
				continue;
 | 
			
		||||
			std::size_t eq = it.find ('=');
 | 
			
		||||
			if (eq != std::string::npos) {
 | 
			
		||||
				auto e = std::pair<std::string, std::string>(it.substr(0, eq), it.substr(eq + 1));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,7 @@
 | 
			
		|||
#include "Identity.h"
 | 
			
		||||
#include "RouterInfo.h"
 | 
			
		||||
#include "Garlic.h"
 | 
			
		||||
#include "I18N_langs.h"
 | 
			
		||||
 | 
			
		||||
namespace i2p
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -50,11 +51,6 @@ namespace garlic
 | 
			
		|||
		eRouterErrorSymmetricNAT = 3
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	enum Lang {
 | 
			
		||||
		eEnglish = 0,
 | 
			
		||||
		eRussian
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	class RouterContext: public i2p::garlic::GarlicDestination
 | 
			
		||||
	{
 | 
			
		||||
		private:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue